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

Customer payment (multiple open customer invoice to a single journal line)

(0) ShareShare
ReportReport
Posted on by 592
Hello:
I have another post in the same vein as this current question, but different enough that a separate post made sense.
The code I'm currently using basically boils down to this...
 
CustTransOpen custTransOpen = CustTransOpen::findRefId(lclCustTrans.RecId);
manager = CustVendOpenTransManager::construct(lclLedgerJourTrans);
manager.updateTransMarked(custTransOpen, NoYes::Yes);
manager.updateSettleAmount(custTransOpen, abs(_settleAmount));
 
The code above let's me mark one open customer invoice to a single journal line. 
 
My issue is, can this code be modified to allow me to mark multiple customer invoices to a single journal line? Pretty much replicating the features of the Enter customer payments button on the Customer payment journal form. Just FYI, as I build the journal lines, I will have specific open customer invoices and amounts I would be using. 
 
Thank you!
Categories:
I have the same question (0)

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,004

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 548 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans