Deferral schedule falls outside the accounting periods

Nia Stevenson 0 Reputation points
2026-03-09T14:57:27.1333333+00:00

I am receiving the following error message, can someone assist?

Details to help troubleshooting:

The deferral schedule falls outside the accounting periods that have been set up for the company. Internal session ID: e44a3079-9743-4ee6-b176-ebb65ff7c4c2 Application Insights session ID: 85248f1b-b418-4fc9-bfb5-87e9922f0f9a Client activity id: dec89099-b11d-34d3-9c42-a009f858b6f3 Time stamp on error: 2026-03-09T14:55:28.5251884Z User telemetry id: 7cd7ef7b-77f5-40e1-96e8-315cd2ac0357 AL call stack: "Deferral Utilities"(CodeUnit 1720).InitializeDeferralHeaderAndSetPostDate line 18 - Base Application by Microsoft "Deferral Utilities"(CodeUnit 1720).CalculateUserDefined line 8 - Base Application by Microsoft "Deferral Utilities"(CodeUnit 1720).CreateDeferralSchedule line 41 - Base Application by Microsoft "Deferral Utilities"(CodeUnit 1720).DeferralCodeOnValidate line 22 - Base Application by Microsoft "Sales Line"(Table 37)."Deferral Code - OnValidate"(Trigger) line 9 - Base Application by Microsoft "Sales Line"(Table 37).InitDeferralCode line 22 - Base Application by Microsoft "Sales Line"(Table 37).CopyFromResource line 21 - Base Application by Microsoft "Sales Line"(Table 37)."No. - OnValidate"(Trigger) line 95 - Base Application by Microsoft "Sales Line iSAMS TNP"(Table 50025).TransferToSalesLine line 31 - Nord Anglia Education by The 365 People "Sales Header iSAMS TNP"(Table 50024).TransferToSalesHeader line 125 - Nord Anglia Education by The 365 People "Sales Invoices from iSAMS TNP"(Page 50042).TransformToInvoice line 72 - Nord Anglia Education by The 365 People "Sales Invoices from iSAMS TNP"(Page 50042)."Transform to Invoice - OnAction"(Trigger) line 2 - Nord Anglia Education by The 365 People

Community Center | Not monitored
0 comments No comments

1 answer

Sort by: Oldest
  1. AI answer

    2026-03-09T14:57:41.6833333+00:00

    The error indicates that the dates in the deferral schedule do not fit within the accounting/accrual periods that are set up for the company. To resolve this, the setup of periods must be corrected so that the full range of dates used by the deferral schedule is covered.

    Use the following checks and corrections (adapted from similar accrual/deferral period issues):

    1. Verify accounting/accrual periods cover all needed years
      • Open the setup page where accounting or accrual periods are defined for the company (for example, fiscal periods, accrual periods, or deferral periods depending on the module being used).
      • Ensure that at least the previous year, current year, and upcoming year are fully defined.
      • Confirm that the deferral start and end dates for the transaction fall within one of these defined periods.
    2. Check for missing, overlapping, or duplicated dates in period setup
      • For each period definition, verify that:
        • There are no gaps between period end and the next period start.
        • No dates are skipped within the year (for example, the last period must run through the final day of the year, such as December 31).
        • No dates appear in more than one period.
      • Correct any missing, overlapping, or duplicated dates and save the setup.
    3. Confirm all period types are set up, even if not used
      • If the system supports multiple period frequencies (weekly, biweekly, semimonthly, monthly, etc.), ensure that all relevant period types are fully set up for the entire year.
      • Even if only one frequency is actively used, incomplete setup in other period types can still cause errors in some configurations.
    4. Re-check the deferral schedule dates
      • Open the specific deferral schedule that is failing.
      • Confirm that the schedule’s start date and end date are within the defined accounting/accrual periods.
      • If necessary, adjust the deferral start date or template so that the calculated schedule does not extend beyond the last defined period.
    5. Retry the operation
      • After correcting the period setup and/or deferral schedule dates, run the same action again (for example, transforming the invoice or validating the deferral code) and confirm that the error no longer occurs.

    If the deferral schedule still fails after these checks, review any customizations (such as the iSAMS-related tables and pages in the call stack) to ensure they are not generating deferral dates outside the configured periods.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.