In NAV 2017, there is a Template feature, for example in Item card.
We can setup the Template, with the default value we want to fill the master card with. For example: for Retail items, the Gen. Prod. Posting Group is RETAIL, while for Manufactured items, must be MANUFACT.
Then, each time we create a new item card, we can fill those fields with the default values, based on the template card. Saves time, and reduce human error as well.
But, the fields are limited. Luckily, we can extend the functionality by adding the new fields we need.
As you may know, that Description in Item Ledger Entry is always blank, except if you change the Description in Journal Lines or Order Lines, so that it would be not exactly the same with the Item Description (Reference).
However, this is a standard design. But, if you want to alter this behaviour, you can change the code in:
Codeunit 22 Item Jnl.-Post Line
LOCAL InitItemLedgEntry(VAR ItemLedgEntry : Record "Item Ledger Entry")
IF ItemLedgEntry.Description = Item.Description THEN
ItemLedgEntry.Description := '';
Maybe all of you already know how to filter the Sales Orders that partially shipped. I will write it here just for a simple reminder.
When using Journal, if the Journal Batch Name contains any number, then if all the lines are posted, and none lines remaining, then NAV will automatically delete the Batch Name, and create a new Batch Name by incrementing the Batch Name, ie. BATCH-01A will be BATCH-02A.
Although this feature is not used publicly by the customers, this feature is existing and no setup to manage that.
However, the code responsible for that job lies in: Continue reading