BC Friday Tips #35 Item Journal Posting and Warehouse Entries

Codeunit 23 Item Jnl.-Post Batch

Here’s BCFridayTips for BC developers.

💡Did you know there are two common ways to post an item journal in AL?

➡️ Codeunit 22 “Item Jnl.-Post Line”
➡️ Codeunit 23 “Item Jnl.-Post Batch”

Most developers know the difference:

➡️Codeunit 22 posts one journal line.
➡️Codeunit 23 posts the entire batch.

Here’s the catch 👇

If you’re working with warehouse entries, don’t use Codeunit 22 “Item Jnl.-Post Line”.

Why not ?

👉 Posting with Codeunit 22 doesn’t create warehouse entries. It won’t even throw an error.

✅ Always use Codeunit 23 “Item Jnl.-Post Batch” when warehouse entries are involved. Even if you’re only posting one line.

Share to help others ♻️ and follow for more tips! 🚀

thatnavguy

Experienced NZ-based NAV Developer and Consultant with 15+ years of experience leading multiple IT projects, performing business analyst, developing, implementing, and upgrading Dynamics NAV and Business Central. Passionate to deliver solution that focuses on user-friendly interface while keeping high standard of compliance with the needs.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *