Jun 13, 2025
2 min read

BC Friday Tips #35 Item Journal Posting and Warehouse Entries

Here's BCFridayTips for BC developers. đź’ˇDid you know there are two common ways to post an item journal in AL?
Share:

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! 🚀

Related Posts