Announcements
No record found.
i want to add field to value entry and fill it from purchase invoice when it is posted, which codeunit should I use?
Hi,
You can use Codeunit No. - 12 and use below event
OnBeforeInsertValueEntry(ValueEntry, ItemJnlLine, ItemLedgEntry, ValueEntryNo, InventoryPostingToGL, CalledFromAdjustment,
OldItemLedgEntry, Item, TransferItem, GlobalValueEntry);
I can not find this event in codeunit 12
I found it in codeunit 22
Hi, just adding some info.
You can use the shortcut key "Alt + Shift + E" to search for event directly in VS Code.
Hope this helps as well.
Thanks.
ZHU
My apologies, It was codeunit 22, it was typo mistake, glad you found that. let me know if its helping you.
Thanks for your answer I really appreciate that. Yes i solved the problem
Thank you this is really helpful
Thanks for update.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 2,055 Super User 2026 Season 1
YUN ZHU 1,063 Super User 2026 Season 1
Dhiren Nagar 1,014 Super User 2026 Season 1