Skip to main content

Notifications

Community site session details

Community site session details

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

Generate several ledger postings for Cash Discount in Vendor Payment Journals

(0) ShareShare
ReportReport
Posted on by 260

Hi,

I have a strange requirement for the posting of Vendor Payment Journals, on the vendor settlement  screen, Cash Discount tab I will introduce several cash discounts with several cash discount codes, each one will have its own cash discount amount. On vendor payment journal posting this should generate a ledger transaction per cash discount, the ledger for each cash discount is defined in a customized field. 

There is a standard way to do something like this? If someone did something similar would be nice to hear about which Class should I extend and which strategies could be followed. 

Thanks

Pedro

  • PedroSpain Profile Picture
    260 on at
    RE: Generate several ledger postings for Cash Discount in Vendor Payment Journals

    This is my first project in The Netherlands and is something that I would avoid, at least before going live. Today I told the consultant that this does not makes any sense, but that is not my decision.

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: Generate several ledger postings for Cash Discount in Vendor Payment Journals

    Hi Pedro,

    Good to hear that you found the solution even though this requirement sounds quite 'creative'.

    Can you share additional information why this kind of cash discount posting is needed?

    Many thanks and best regards,

    Ludwig

  • Suggested answer
    PedroSpain Profile Picture
    260 on at
    RE: Generate several ledger postings for Cash Discount in Vendor Payment Journals

    I found the solution to my problem, an extension to CustVendSettle class, CoC over method postDiscTrans would allow me to balance the standard cash disc and distribute it as the customer wish. The distribution information is in our case found in VendTransCashDisc table (The Cash Disc tab in Open Vendor transactions on settlement for payment)

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Martin Dráb Profile Picture

Martin Dráb 601 Most Valuable Professional

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 416

#3
Adis Profile Picture

Adis 384 Super User 2025 Season 1

Product updates

Dynamics 365 release plans