i need to insert a finish journal to a workorder by x++. how to set the dimensions, first of all location correctly?
finish journal and referring line is created, but location isn't set, so booking gives an error:
"Lagerungsdimension 'Lagerort' ist eine primäre Ein-/Ausgabedimension und muss daher festgelegt werden."
should be something like "dimension 'location' is a primary dimension and has to be set" in english.
i tried:
prodJournalProd.InventDimId = ProdTable::find( myProdID ).InventDimId;
without success.
thanks so much for help in advance!