Passing a View Dataset (dsCustMltPlr) as a parameter to ERP Function. In Function define UD01 Tableset variable as tblUD01. In Function try to fill the table with Custom Code statement tblUD01 = dsCustMltplr.Tables[0]; To Update Ice.Tableset.UD01 with tblUD01 using BO Update widgets. Get syntax error from tblUD01 = dsCustMltplr.Tables[0]; β Cannot Implicitly convert type. System.Data.Dataset to Ice.Tablesets.UD01Tableset.
Is there a conversion option ? Do I need to read dsCustMltplr line by line adding to tblUD01 using custom code ?
Tried search for solution specific to issue without luck. Any wisdom is appreciated. thanks.
As additional info. Had everything working, selecting rows to be updated, passing fields into ERP Function , doing a GetByID to fill UD01 table w BO widget. Found when alot of rows selected for update, some rows did not get updated. As if the function could not keep up w the calls being made to it. Assuming it is not synchronous. It this issue can be resolved , would solve the above issue as I tried using the whole view (all rows) as input.