Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Apply to Oldest

(1) ShareShare
ReportReport
Posted on by 12
Hi everyone,
 
We are new to business central, been using it for a few months now.  A key point in the various sets of books we manage is that our particular clients use Journal entries and NOT invoicing.  Each client is batched a monthly levy run and that is that.
All customers are set to Apply to Oldest, but this seems to be hit and miss.  If it misses it affects the aging and in turn any automated processes that sends out payment reminders etc.
The problem we are experiencing is the Balance Due issue when we try to grab the Aging via power automate.
In the example below, you will notice that Entry number 158112 has been applied, instead of the entry before it 157136.  This causes the Aging to show that a small amount is outstanding i.e 30days+.
Our payment terms have been set to calculate the Due date as CD (I believe that that would bake the due date the same as the posting date)
 
We also have an external automated bank reconciliation process that is centralized since we have 70 companies that work exactly the same. (The normal thinking of doing things in 1 company does not apply here, since they need to be replicated over many more companies)
 
I need to figure out how to fix the /Apply to/ so that it does not skip over older posting dates.  Or I need to find a way to grab the Balance at the end of each period (not Balance Due, since the Balance Due relies on the Open items to be applied correctly).  With each period I mean that I want to obtain and use the Running balance on the last day of each period (for 6 periods [months]) with an API or power automate to use externally on a regular basis.
 
  • Suggested answer
    KasparsSemjonovs Profile Picture
    KasparsSemjonovs 4,075 Super User 2025 Season 1 on at
    Apply to Oldest
    Gave it some more thought, and I think it has to do with Allowed posting date. Could be that the previous period was already blocked in General Ledger Setup Allowed Posting From/To, therefore the amount was not possible to be posted to that period. I think @Jun Wang was referring to this as cutoff date.
  • Suggested answer
    KasparsSemjonovs Profile Picture
    KasparsSemjonovs 4,075 Super User 2025 Season 1 on at
    Apply to Oldest
    One more idea is to check if the Document Types are entered. I'm not fully sure, but it could be that if Document Type is empty, then the application skips such entries, and only Payments/Credit Memos are applied to Invoices/Refunds.
    But some developer might help out by checking how the standard code finds the entries that will be applied.
  • Casper Profile Picture
    Casper 12 on at
    Apply to Oldest
    @Jun Wang thanks for the feedback.  If you say cut of date, are you referring to due date?
     
    I will be testing this with the due date blank if that is possible, and see if that works.
     
    @KasparsSemjonovs - the on Hold is empty, this happens with all the accounts across multiple companies.  It is not limited to a single account.
     
    I still want to resolve this, we have in the meantime built a flow that generates an Age Analysis for us and basically recalculates the entire account from 180 Days + back to current to ensure that all outstanding amounts reflect in the correct period.  This is an intensive flow that has a lot of actions, but it gets the job done.
     
    I will let everyone know if I find a solution.
  • gdrenteria Profile Picture
    gdrenteria 14,573 Most Valuable Professional on at
    Apply to Oldest
  • Suggested answer
    Jun Wang Profile Picture
    Jun Wang 7,604 Super User 2025 Season 1 on at
    Apply to Oldest
    my guess is user didn't populate payment terms when creating entries via journal so BC doesn't know when the invoice is due. You could add the column if missing via personalization and test if the issue could be fixed going forward. 
  • JR-31121841-0 Profile Picture
    JR-31121841-0 4 on at
    Apply to Oldest
    Were you ever able to get a resolution to this?  We have a subscription model business running into exactly the same issue, we bill on the 20th but post it for the 1st of the next month.  If customers pay early, the application is not made.
  • Casper Profile Picture
    Casper 12 on at
    Apply to Oldest
    Hi Jun, thank you for the response.  If you say cut of date field, do you mean due date?
    Due to the nature of our business, we only make journal entries, not invoicing (long story).  As such any credits must simply be applied to oldest.  Manual application is a slower process when it comes to our bank reconciliations (we have a custom-built recon process)
     
    @Kaspars, I checked, On Hold is blank.
     
    I think something worth mentioning is that often billing ahead, so on say 20 February 2024 we would make the charges with posting and due date 1 March 2024.  The statements are then sent to the clients, and they often make payment before 1 March 2024, see example below. (again here are payments made but the March items are not applied)
     
  • Suggested answer
    Jun Wang Profile Picture
    Jun Wang 7,604 Super User 2025 Season 1 on at
    Apply to Oldest
    if you used apply to the oldest, you need to keep the cut off date field open so BC pulls in all due invoices. If you put in a cut off date, there will be older invoices prior to the cut off date ignored by BC. actually, I believe manually apply is a better option since user has more control on what to apply.

    hope it helps.
    Jun Wang
  • KasparsSemjonovs Profile Picture
    KasparsSemjonovs 4,075 Super User 2025 Season 1 on at
    Apply to Oldest
    Check if the Column "On Hold" is empty for this entry 157136 (maybe someone accidentally added a symbol there, and if it is not empty, it is skipped in payments/applications.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,432 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans