Hi, Readers.
Today I would like to share an interesting setting in Business Central, Increment Batch Name in Item/General Journal Templates.
Journal batches are created based on the journal templates. All journal batches that are created from a specific template have the same structure, default settings, and information defined in the template. However, because these settings are defaults, you can change them for a specific journal batch. For example, from General Journal Templates page: (For each general journal template, a default general journal batch is automatically created, which contains default information from the journal template)

From General Journals:

Typically, you would use batches to separate one user’s entries from another. You can define your own journal batch for the general journal that has your personal layout and settings, such as a dedicated number series.

The Batch Name will be saved in posted tables and entry tables. For example,
General Ledger Entries:

Item Registers:

So is it possible to use a different Journal Batch Name for each posting? For example, the posting following ZY001 is automatically named ZY002. Yes, there is a standard feature that does that.
In the Item Journal Templates and General Journal Templates pages, you can find the Increment Batch Name setting.
In Item Journal Templates:
Increment Batch Name
Specifies if batch names using this template are automatically incremented. Example: The posting following BATCH001 is automatically named BATCH002.

In General Journal Templates:

This has a prerequisite for the Batch Name, which must contain a number at the end. For example,

Then after posting, the Batch Name will be automatically updated.

The journal lines were successfully posted. You are now in the ZY002 journal.

Great.


The same is true in the General Journals and other Journals.

Test video:
This can simply show how many times this Batch has been posted which can meet some special needs. Give it a try!!!😁
PS: Dynamics 365 Business Central: How to set General Journal Batch via AL
END
Hope this will help.
Thanks for reading.
ZHU
コメント