Skip to main content



No record found.

Business Central forum
Suggested answer

Refund / Payment Journal

Posted on by 162


We have the scenario where the Vendor Ledger Entries have a Payment Entry which is fully applied. The Customer wishes to update the Dimensions they have set for that entry, so manually we would unapply the entries, raise a refund applied to the payment and then process a new payment with updated dimensions and reapply the entries.

I am trying to automate the part where we build the Refund Journal and updated Payment Journal.

How would I be able to ensure I am applying the Refund to the correct Vendor Ledger Entry? Do I need to set the Applies-to ID to something random on the Vendor Ledger Entry and set the Applies to ID on the Gen Jnl to the same value? Should I complete that using the Vend. Entry-SetAppl.ID codeunit?

Has anyone completed development for a similiar scenario?

Thank you!

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: Refund / Payment Journal


    We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist.  If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    I will open this up to the community in case they have something to add.


    Kindest regards,

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 . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Featured topics

Product updates

Dynamics 365 release plans