Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Adding New Field to Item Ledger Entry (ILE) Table and Update from Item Receipt Posting

(0) ShareShare
ReportReport
Posted on by 8,177

Hi all,

I'm trying to pass value to Newly Added Field to ILE table  , when the time of posting Purchase Receipt Lines.
so from the details i found to achieve this i need to do modifications on Code Unit 22 Item Journal Post  and Code Unit 90 Purchase-Post.
I've already added that field in to ILE, Item Journal Lines , Purchase Receipt Lines.
But i'm clue less what to do as next step , really appreciate if some one can help me , since i'm new to CAL.

Thanks & Regards,

Amith Prasanna

  • Verified answer
    Suresh Kulla Profile Picture
    Suresh Kulla 44,614 on at
    RE: Adding New Field to Item Ledger Entry (ILE) Table and Update from Item Receipt Posting

    is this new field on the Item Card or on the Purchase Line?

    If it is on the Purchase Line then you need to add the code or subscribe to the event of the CopyFromPurchLine function in the table Item Journal Line and then add the code in the InsertItemLedgEntry function or subscriber to the event in that function called OnBeforeInsertItemLedgEntry and pass the value from ItemJnlLine to Item Ledger Entry.

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.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans