BPM Method Directive works with 10.1.400 but not 10.2.700

Hi,

I am upgrading from 10.1.400 to 10.2.700 and I have a Post-Processing BPM Method Directive that does not work anymore.

The error I get is :“There is no argument given that corresponds to the required formal parameter ‘ds’ of ‘SalesOrderSvcContract.MasterUpdate(bool, bool, string, int, int, bool, out bool, out string, out string, out string, out string, out string, out string, ref SalesOrderTableset)’”

The line that causes the error is :“hSO.MasterUpdate(b1 , b2 , s1 , OrderNum , CustNum , b3 , out ob1 , out os1 , out os2 , out os3 , out os4 , out os5 , ref SalesOrderDataSet );”

Ths hSO variable is defined as such:
Erp.Contracts.SalesOrderSvcContract hSO = null;|
hSO = Ice.Assemblies.ServiceRenderer.GetService<Erp.Contracts.SalesOrderSvcContract>(Db);

Any help would be greatly appreciated.

Daniel Cardoso

The signature of that method prob changed, you’ll need to post your code to get real help.
Basically though you’ll just need to fix the method call and pass in the appropriate parameters.

Like Aaron said, the method changed.

Looks like there are now 6 string ‘out’ parameters, where your current code is only providing 5.

Yes, that was it, the method in 10.2.700 has one more “out string” that the one in 10.1.400. Just took forever to download the help file and make it work with Win 10.

Thank you!

1 Like