I am attempting to process multi-company direct on demand in a BPM to ensure a globally linked record is immediately available for further processing. I am getting stuck on TableSets vs DataSets (I think). Take a look at the following:
The problem is the establishment of the MDS tableset (dataset?). In my code, the error seems to be on the line:
MultiCompanyDirectTableset MDS = MultiCompanyDirect.GetNewParameters();
That got it to compile! However it then had an error on execution which led me to the core problem: I had used Erp.Proxy.Proc.MultiCompanyDirectImpl and should have been using Erp.Contracts.MultiCompanyDirectSvcContract. Once changed, it compiled with the original variable declarations and ran flawlessly. Thanks for the help!