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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Need to split cust. ledger entries

(1) ShareShare
ReportReport
Posted on by 132
After sales order posted,we need to split the cust. ledger entry, into multiple entries by due date and amount. I was trying to use following EventSubscriber to implement this. But it was not working.
Codeunit::/Sales-Post (Yes/No)/, OnAfterPost
Codeunit::/Sales-Post/, OnAfterUpdateSalesHeader
I might be missed something or its not right procedure. Please advise.
Thanks
I have the same question (0)
  • Suggested answer
    Gerardo Rentería García Profile Picture
    25,909 Most Valuable Professional on at
  • Suggested answer
    YUN ZHU Profile Picture
    99,552 Super User 2026 Season 1 on at
    Personally, I don’t recommend doing this customization. There are risks. It is recommended to use Dimensions. 
    It is more reasonable to add different Dimensions according to different custom payment methods.
     
    Hope this can give you some hints.
    Thanks.
    ZHU
  • Suggested answer
    Valentin Castravet Profile Picture
    32,366 Super User 2026 Season 1 on at
    Agreed with YUN ZHU - this does not sound like a good idea. What's your business process that requires splitting a sales invoice into multiple entries, why is the customer paying 1 invoice with different payment methods? There are probably better solutions if we knew more details.  
     
     
    Valentin Castravet
    Zander ERP Services
  • D365 Warrior Profile Picture
    132 on at
    Hi,
    Thanks all for your response.
    Sorry to misguide you. Actually, the scenario is,
    1. Customer wants to use customer payment method
    2. 1 invoice split into multiple cust.ledger entries based on due date
    3. Amount also splitted as well
    4. Splitted cust. ledger entries use same payment method.
    Ex. Sales invoice S300 based on selected payment method (CX10D)
    Cust. ledger entries, splitted by 3 entries,
    amount   due date
    $100     1/2/2024
    $100     11/2/2024
    $100     21/2/2024
    Thanks
  • Suggested answer
    Valentin Castravet Profile Picture
    32,366 Super User 2026 Season 1 on at
    So you're looking for installment payments - in that case the Italian version of Business Central has this functionality. You could copy it from there: Set Up Payment Terms (IT) - Business Central | Microsoft Learn
     
    Valentin Castravet
    Zander ERP Services
  • D365 Warrior Profile Picture
    132 on at
    Hi Valentin Castravet,
    Thanks for your response. I am unable to get the git repo for Italian version.
    Could you please share the Italian version git repo? Or any reference link,
    I want to understand, what is the actual flow behind the scene.
    Thanks in advance
  • Verified answer
    YUN ZHU Profile Picture
    99,552 Super User 2026 Season 1 on at
    Hi, this is a bit like deferreds posting, but it is split based on posting date, but you can investigate this standard function, which may give you some tips.
    Business Central 2022 wave 1 (BC20) new features: More control over deferrals posting (Beginning of Next Calendar Year as the Start Date)
     
    Hope this helps.
    Thanks.
    ZHU
  • Verified answer
    Valentin Castravet Profile Picture
    32,366 Super User 2026 Season 1 on at
    Deferrals might give you some hints or tips as they will do what you're trying to achieve with the income statement accounts in the G/L, but they will not touch the customer ledger entry which will remain as 1 entry. 
     
    You can setup a new BC sandbox and select the Country/Region as Italy. You can then connect to it in vs code and read the objects from there to see how it does installments. 
     
     
    Valentin Castravet
    Zander ERP Services

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,028 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,121 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 669 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans