Hi Chowrentoys.com
You cannot use Method API to invoke the functions of another API. What you need to do is invoke each API's functions as needed.
I'll illustrate with a brief example in C#(assuming you have all the webservice references added already)
MethodAPI to get products with quantity of 0
MethodAPI.MethodAPISelect_DataSetV2(CompanyAccount, Login, Password, ref InventoryDS, "", "YourInventoryTable", "Recordid", "qty = 0", "", "", "");
When processing this dataset you would then invoke the Store API to turn off each item in the dataset.
The same sort of set up is needed when you process an order.
Use the Store API to get what was sold
Use MethodAPI to update quantiy on hand (for let's say product 75, you now have 5 items left)
string[ arrUpdateFieldsArray = new string[ { "Quantity on hand" };
string[ arrUpdateValueArray = new string[ { "5" };
MethodAPI.MethodAPIUpdateV2(CompanyAccount, Login, Password, "", "YourInventoryTable", arrUpdateFieldsArray, arrUpdateValueArray, "75")
Dave