Version Nav 6.0
I am trying to create a dataport to import update Items into the system. To keep it simple, I am uploading the "No.", "Description" and "Sales Unit Of Measure" Field.
To ensure validation on the Sales Unit of Measure, I have written the following code in the "onAfterImportRecord" Event:
VALIDATE("Sales Unit of Measure");
MODIFY;
Once I run this routine, I get the following error:
"The Item Unit of Measure Does Not Exist"
Now if I go into the Item Master Card, under the Invoicing Tab, The Sales Unit Of Measure shows "EACH", but when I click on the drop down the "Code Field" is empty. I have to click on that drop down key and select "EACH" from that menu.
What am I missing here????
0
Comments
So one thing you can do is check if the code exist and if it doesn't then INSERT it.
Something Like Below.
OnAfterImportRecord()
http://www.BiloBeauty.com
http://www.autismspeaks.org
Will I have to add the "Item Unit Of Measure" table to the dataport for the Variable Reference?
Add
Variable Name->ItemUOM ->Type "Record"->Subtype "Item Unit Of Measure"
http://www.BiloBeauty.com
http://www.autismspeaks.org
Thank you very much.
http://www.BiloBeauty.com
http://www.autismspeaks.org
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!