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

Community site session details

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

Creating payment journal fee x++

(1) ShareShare
ReportReport
Posted on by 592
Hello:
Surprisingly, I haven't been able to find much on this topic. 
The situation is, when a customer uses a credit card to pay their invoice, while creating the LedgerJournalTrans records for the payment, I need to also create the necessary credit card fee associated with the payment. This fee would be captured in the Customer payment journal at the line, under the Payment fee tab. From what I've been able to find, the fee would require another LedgerJournalTrans record with a corresponding CustVendPaymJournalFee record (maybe there are others). Thank you
Categories:
I have the same question (0)
  • CU29041349-0 Profile Picture
    592 on at
    Creating payment journal fee x++
    I was looking to do it with X++. I think I worked my way back in the standard code to a solution, which I will post for review. Thanks!
  • Suggested answer
    Syed Haris Shah Profile Picture
    736 on at
    Creating payment journal fee x++
     
    I am not entirely sure whether your intention is to achieve this through X++ customization or by using a standard setup to automatically calculate the fee.

    If you are aiming to use standard functionality, you can configure the Payment fee under the relevant Method of payment. This setup enables the system to automatically calculate and apply the fee based on a defined percentage or fixed amount whenever a payment is processed.
     
    If you find this answer helpful, please consider verifying the answer. 👍
     
    Regards,
    Syed Haris Shah

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

Responsible AI policies

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

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,339

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 600 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans