Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Update custom field in GeneralJournalEntry/GeneralJournalAccEntry upon vendor invoice posting

(0) ShareShare
ReportReport
Posted on by 50

 

Hi Experts,

I have a requirement where the PO number should update on voucher transactions after PO invoice is posted.

I looked into following classes PurchFormLetter_Invoice, LedgerVoucher, LedgerPostingGeneralJournalController. Record is created when LedgerPostingGeneralJournalController.transfer is called.

But most of the methods are private. Also if any method is available for extension, I am unable to find the reference to the record.

Can anyone give me a hint on how to proceed with this particular requirement please?

Regards

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,711 Super User 2024 Season 2 on at
    Update custom field in GeneralJournalEntry/GeneralJournalAccEntry upon vendor invoice posting
    Hi Samurah,

    I would suggest against attempting to change the posting logic. It is the core of the application. What is the purpose of adding a PO number? A vendor invoice can already be related to multiple POs. Maybe you can better use Financial tags for this? Note that vendor invoice posting is managed by a sub-ledger posting framework where accounting entries can be posted in a summarized manner. In that case, the accounting entry can cover multiple vouchers and POs.
     
    If you can tell the exact business requirement and purpose, we might be able to think along with you for a better alternative.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans