Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Unanswered

Not getting any Customer payments in v2 REST

(2) ShareShare
ReportReport
Posted on by 4
Hi folks, I am new to Business Central. I was exploring how to make a new payment in BC and came across 2 methods
1. Creating via Cash Receipt Journals
2. Doing a new Payment Registration in Customer Ledger.
 
I am able to create a payment and apply it to few invoices, but not able to get a REST response with payment details, its associated applied invoices and applied amounts to invoices.  I went through official docs of BC however not getting what i am missing. I have a got a customerPaymentJournal id from REST endpoint however there are no response available for Customer payments on that journal id. I found few other community thread with the same qn which is left open. Please let me know how to get Payment response for v2 api.
  • Suggested answer
    Tonya Profile Picture
    Tonya 16 on at
    Not getting any Customer payments in v2 REST
    Hello!
    This is the way we handled this scenario. 
    We created two different APIs - one for Vendor Ledger Entries, and one for Applied Vendor Ledger Entries. 
     
    The Vendor Ledger Entries has a part for the Applied Vendor Ledger Entries.
    Make sure your Applied Vendor Ledger Entries API page has the property SourceTableTemporary set to true. 
     
    Within the Applied Vendor Ledger Entries API Page - OnOpenPage() we call a TryFunction to FindAppliedVendorLedgerEntries. 
    This is the code on the Applied Vendor Entries page - procedure FindApplnEntriesDtldLedgEntry(). 
     
     
  • PK-20051639-0 Profile Picture
    PK-20051639-0 11 on at
    Not getting any Customer payments in v2 REST
    Hi. Were you able to figure it out? I am also stuck here. I created custom apply customer entry al page, able to create the payment and apply it to the customer entries but not able to fetch the customer payment using API. Please help.

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,602 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,340 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans