I am getting an error in trying to get the SOH for an Inventory Item the error is "Index (zero based) must be greater than or equal to zero and less than the size of the argument list." I am not sure if it's something I am doing wrong or a possible bug in the API?
The code producing the error reads as
- Code: Select all
IN_SOHQuery sohqry = new IN_SOHQuery();
sohqry.InventoryID = InventoryID;
//sohqry.QuantityLeftGreaterThan = 0;
ServiceStack.QueryResponse<IN_SOH> IN_SOHQueryResponse;
IN_SOHQueryResponse = client.Get<ServiceStack.QueryResponse<IN_SOH>>(sohqry);