Aging Categories not being updated before invoice printing (random occurrences)

SOLVED

We are having an issue where the latest payment of a customer is not being reflected in a printed invoice. This issue only happens on very rare occasions, and we do not receive any errors or notifications before it happens.

Below are a few observations:

Our invoice report “Outstanding Balance” Section which we are having issues with is populated with data from the AR_Customer Table.  The formula that is used to calculate the “outstanding balance” is {AR_Customer.CurrentBalance}+{AR_Customer.AgingCategory1}+{AR_Customer.AgingCategory2}+{AR_Customer.AgingCategory3}+{AR_Customer.AgingCategory4}

The aging categories represent the amount still owed - broken down by days ‘past-due’ as follows:
AgingCategory1: 5 days past due
AgingCategory2: 15 days past due
AgingCategory3: 30 days past due
AgingCategory4: 60 days past due

My theory is that Sage has some kind of delay (or something is causing a delay) between when the payment is processed and when these AgingCategory fields are updated (It almost seems like the printing process itself resolves the issue). This would explain why the payment is showing up on the first printed Invoice, but the outstanding balance is not updated. One thing that seem to fit this theory is that the payments for the last two invoices for which we had this issue, were made a few days before the invoice was generated, and as soon as the invoices were reprinted, the issue was resolved.

Any Help or suggestions would be appreciated. I'd be glad to provide any other information needed to solve this issue.

  • 0
    Aging does NOT update itself automatically. This from the Help files.

    To recalculate aging

    In the Accounts Receivable Options window, define how you want the aging information to be calculated and displayed. For more information, see Accounts Receivable Options – Fields.

    Access the Recalc Aging feature using one of the following methods:

    Select Accounts Receivable Main menu > Customer Maintenance. On the Statistics tab, click the Recalc Aging button.

    Select Accounts Receivable Main menu > Customer Maintenance. On the Invoices tab, click the Recalc Aging button.

    Select Accounts Receivable Main menu > Invoice Data Entry. In the Invoice Data Entry window, enter a customer number and then click Credit. In the Customer Credit History window, click Recalc Aging.

    The aging information is recalculated either automatically or based on a specific number of days compared to the last time the aging information was updated.
  • 0 in reply to BigLouie
    You are also given an option to recalculate aging when rebuilding the module sort files which is based on the settings in the AR Options.
  • 0 in reply to Linda KR
    Unfortunately this may be our best option. Thanks.
  • 0 in reply to BigLouie
    Thanks Big Louie,
    We've set all the AR option fields as below:

    Age Invoices By: Dute Date
    Aging Categories to be used: Days
    Automatically Recalculate Aging : Always

    We have a custom invoice made that shows the customer's outstanding balance. This balance is a simple formula adding the current balance with all of the balances in each Aging Category. The problem we are having is that the Aging Categories are not being recalculated until after we print the Invoice. Because the Aging Categories are not recalculated before printing the invoices, some customers' outstanding balance's are not reflecting the true outstanding amount they owe (but for some reason, the vast majority of customers invoices do show the correct balance). It seems like the Aging is being recalculated at some point before we print the invoices, but every once in a while, an invoice is printed for a customer who's aging categories were not recalculated since their last payment. Is aging recalculated after a payment is posted? In other words, if a customers payment shows up in the AR_Cutomer.LastPayment field, does that mean that the aging categories for that customer have been recalculated?

    I hope i wasn't too confusing.
  • 0 in reply to eng-sage
    You only real option is to NOT use the Aging fields but instead to build a sub-report based on the open invoice table.
  • 0 in reply to BigLouie
    verified answer

    Aging is recalculated in a number of ways.

    Access customer maintenance - updates based on the settings selected in A/R options (Always,X days, never)
    Print an accounts receivable aged invoice report.
    Print a customer statement (although there is a bug if you are using National Accounts options that I just reported to tech support last week and they have on their agenda - in some situations it will pick up future dated transactions - verified in 2014 and above).
    Rebuild sort files (with that option selected).

    Unfortunately, it does not automatically recalc when printing an invoice (probably because default invoice formats don't have the aging displayed). In the past, I have tried to figure out a way to trigger an aging via a script, but never figured it out.

  • 0 in reply to BigLouie
    Thanks. We'll look into doing that or scraping our idea in favor of another alternative.
  • 0 in reply to TomTarget
    Thanks Tom. That was very helpful in diagnosing the issue.