Quantcast
Channel: Dynamics 365 Business Central/NAV User Group
Viewing all articles
Browse latest Browse all 11285

Forum Post: RE: Code Unit 80: Posting item charges in value entries

$
0
0
If the item charges have been inserted into table 37 (sales line), then when you post the sales order/invoice, then codeunit 80 automatically posts it for you. The function as such is used by calling first codeunit 81 directly from the sales order (using it as the variable in a CODEUNIT.RUNMODAL(Rec), which brings up the Yes/No to post. Or you can call it directly. You cannot filter on the lines, in order just to post the item charges. If you want to do this, then its done by changing the qty to ship to 0 in the other lines.

Viewing all articles
Browse latest Browse all 11285

Trending Articles