Dear All,
I have configured work flow for purchase approval. I have created purchase request. when I tried to add lines the following stop error is appear after choosing an item. I tried for another items, dut the problem is same.
Error executing code: Wrong argument types in variable assignment.
(C)\Classes\ReqSetup\itemId - line 4
(C)\Classes\ReqSetup\newItemId - line 9
(C)\Classes\ReqSetupDim\newInventTable - line 14
(C)\Data Dictionary\Tables\InventTable\Methods\primaryVendorId - line 11
(C)\Data Dictionary\Tables\PurchReqLine\Methods\findPrimaryVendor - line 7
(C)\Data Dictionary\Tables\PurchReqLine\Methods\initVendAccount - line 3
(C)\Data Dictionary\Tables\PurchReqLine\Methods\initFromInventTable - line 25
(C)\Data Dictionary\Tables\PurchReqLine\Methods\modifiedField - line 80
(C)\Classes\FormDataObject\modified
(C)\Forms\PurchReqTable\Data Sources\PurchReqLine\Fields\ItemId\Methods\modified
(C)\Classes\FormStringControl\modified
(C)\Classes\FormStringControl\leave
(C)\Classes\FormRun\selectControl
(C)\Classes\FormRun\canClose
0
Comments
You need to compile forward the class in order to remove the specified error.
AOT->Class->ReqSetup->Add ins->Compile Forward
Regards,
Vinay
http://blog.vinaysingh.in/
Committed to winning