Purchase item charges posted direcly to a production order

naveksanaveksa Member Posts: 5
Navision 5.0 sp1 W1/DK

Can someone tell me why it is impossible to post a purchase item charge invoice (f.ex. freight) to a production order.

It goes OK with ordering, receiving and invoicing the purchase and with a reference to a production order and line.
But if I hereafter wants to post the freight invoice, using a purchase type item line type Charge (Item) line and 1) run the function Item Charge Assignment, 2) get the receipt lines, and run the run the 3) Suggest item Charge assignment, everything is fine. When I try to post the invoice, I get an error: Try to Divide by zero.
This because the qty to assign remains at zero in table 39. In the code it seems this has been deliberately programmed if you have a production order reference. But why?
Regards Bent at Naveksa
Sign In or Register to comment.