Then my last suggestion is for you to use the debugger. Then make an order with an item where COGS is calculated and one you created. You could also use Code Coverage, but I don't know which version of NAV you are running. And as you asked this question in the developer forum then I assume that you are a developer and knows how to use this tool.
↧