hi I am importing in some items through codeunit / xmlport and not validating buom.
when i add those items on PO system pops up with message
Microsoft Dynamics NAV Classic
The Item Unit of Measure does not exist.
Identification fields and values:
Item No.='X180023',Code='PCS'
Item No.: X180023, Code: PCS
OK
To fix it, i have to open item card and manually asign the UOM's .
can some one advise a solution?
Ill be importing in 100's of items on daily basis so manually assigning them is not a solution.
Kind regards,
KS
0
Answers
For existing items, I'd create a processing only report that runs through the Item table, and creates Item Unit of Measures for the base unit, using the same logic.
Come to think of it, I'd probably create a function in the item table that creates an item unit of measure, so that I can call it from other objects as well. Now creating the processing only report and the import routine can use this function, and you only have to write it in one place.
RIS Plus, LLC
MVP - Business Apps
Ill try that.
regards,
what do you suggest?
regards,
Every Item should have at least one record in the "Item Unit of Measure" table, to designate a unit of measure for that item, which is set up in the "Base Unit of Measure" field of the Item table. Both the Sales and Purchase Unit of Measure fields also look up into the Item Unit of Measure table.
What you can do for each new Item, is create a record into table 5404 first, and then enter the unit of measure into the base unit of measure field, using the VALIDATE statement. This will automatically put the same code into all three unit of measure fields.
RIS Plus, LLC
MVP - Business Apps
I have done till record insertion. I'll just validate it against item. its a good hint.
thanks.
regards,