Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

How to Add field to Value Entry

Posted on by 184

i want to add field to value entry and fill it from purchase invoice when it is posted, which codeunit should I use?

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: How to Add field to Value Entry

    Thanks for update.

  • Muaaz Deyab Profile Picture
    Muaaz Deyab 184 on at
    RE: How to Add field to Value Entry

    Thank you this is really helpful

  • Muaaz Deyab Profile Picture
    Muaaz Deyab 184 on at
    RE: How to Add field to Value Entry

    Thanks for your answer I really appreciate that. Yes i solved the problem

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: How to Add field to Value Entry

    My apologies, It was codeunit 22, it was typo mistake, glad you found that. let me know if its helping you.

    Thanks.

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,696 Super User 2024 Season 2 on at
    RE: How to Add field to Value Entry

    Hi, just adding some info.

    You can use the shortcut key "Alt + Shift + E" to search for event directly in VS Code.

    pastedimage1675731156261v1.png

    Hope this helps as well.

    Thanks.

    ZHU

  • Muaaz Deyab Profile Picture
    Muaaz Deyab 184 on at
    RE: How to Add field to Value Entry

    I found it in codeunit 22

  • Muaaz Deyab Profile Picture
    Muaaz Deyab 184 on at
    RE: How to Add field to Value Entry

    I  can not find this event in codeunit 12

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: How to Add field to Value Entry

    Hi,

    You can use Codeunit No. - 12 and use below event

    OnBeforeInsertValueEntry(ValueEntry, ItemJnlLine, ItemLedgEntry, ValueEntryNo, InventoryPostingToGL, CalledFromAdjustment,

                   OldItemLedgEntry, Item, TransferItem, GlobalValueEntry);

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans