Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Generate several ledge...
Finance forum
Suggested answer

Generate several ledger postings for Cash Discount in Vendor Payment Journals

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
    PedroSpain 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
    Ludwig Reinhard 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
    PedroSpain 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)

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,513 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,862 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans