web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Update custom field in GeneralJournalEntry/GeneralJournalAccEntry upon vendor invoice posting

(0) ShareShare
ReportReport
Posted on by 52

 

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

I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,663 Super User 2025 Season 2 on at
    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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 836 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 452 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 349 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans