BeyondERP.Newsletter
Menu

Setup step on the Date intervals page · Retail and Commerce

Define date intervals for loyalty tiers

Set how long a tier lasts and which past period of points counts towards it.

See how to set it up Back to Retail and Commerce

Used by
Budget manager, Chief financial officer, Accountant and 6 more roles
Business process
Define loyalty programs in Dynamics 365 Commerce
Menu item
LedgerPeriodCode
Main table
LedgerPeriodCode
Data entity
LedgerDateIntervalEntity
Setup steps
1 on this page

How this guide was checked

Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Tier lasts one year”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA setup page where you define date intervals, the time spans that loyalty programs use for their tiers and tier rules.
What you do hereUse this page to set how long a customer stays in a loyalty tier, and over which period points count towards qualifying for a tier. Date intervals apply only if your loyalty programs use tiers.
ExampleFor example, a one-year interval on a Gold tier keeps a qualifying customer in Gold for a year, and a previous-month interval on a tier rule counts only the points earned last month.
Date intervals page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

Setup steps on this page

Define date intervals for loyalty tiers

Set how long a tier lasts and which past period of points counts towards it.

Steps from Microsoft

  1. Go to Retail and Commerce > Customers > Loyalty > Date intervals.
  2. Select New.
  3. In the Date interval code field, enter a code, such as January.
  4. In the Description field, enter a description.
  5. Under Interval Start, set the From date period type, From date Start/End and From date adjustment unit.
  6. Under Interval End, set the To date period type, To date Start/End, To date +/- and To date adjustment unit.
  7. Select Save.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansTable column
Date interval codeThe code of the interval, chosen on a loyalty tier (how long the customer keeps the tier) or a tier rule (which past window of points counts).Microsoft Learn Code

Common errors and fixes

MessageWhat to do
Customers lose a tier too earlyThe tier's date interval must run into the future from the qualifying date, while the evaluation interval runs into the past. Check that the two aren't swapped. Microsoft Learn

Test checklist

  1. Create a date interval that runs one year into the future for a tier.
  2. Create one that runs one year into the past for the tier rule's evaluation.
  3. Assign them on Loyalty programs and earn enough points on a test card.
  4. Check the tier end date on the card is one year from the qualifying date.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Define date intervals for loyalty tiersTwo kinds of interval: one that runs a year into the future for the tier, and one that runs a year into the past for the tier rule.Learn says the tier interval should extend into the future and the evaluation interval into the past.How long should a tier last?Using the same interval for both, so the tier rule looks at future points.Test: Tier lasts one year

Feature management and licence

Licence or add-inIn this system 9 roles can open this page, among them Budget manager, Chief financial officer, Accountant and Accounting manager.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyPer company: each legal entity has its own records. Microsoft data model
Can it be undoneReversible: Intervals can be edited; issued cards follow after Update loyalty card tiers runs.
If you change it laterA loyalty tier keeps the interval it was set with; edited intervals change later tier calculations, and cards already issued change only after Update loyalty card tiers runs. Microsoft Learn
Technical architect

6Technical

Menu itemLedgerPeriodCode Checked in Dynamics 365
FormLedgerPeriodCode Checked in Dynamics 365
TableLedgerPeriodCodeShown as “Date intervals” in Record infoChecked in Dynamics 365
Data entitiesLedgerDateIntervalEntityDate intervals Microsoft data model
Who can open it

9 security roles. Select a role to see its duties and privileges.

  • RoleBudget managerBudgetBudgetManager
    • DutyInquire into general ledger reference dataLedgerGeneralLedgerReferenceDataInquire
      • PrivilegeView date intervals for ledgersLedgerPeriodCodeView
  • RoleChief financial officerCompanyChiefFinancialOfficer
    • DutyInquire into general ledger reference dataLedgerGeneralLedgerReferenceDataInquire
      • PrivilegeView date intervals for ledgersLedgerPeriodCodeView
  • RoleAccountantLedgerAccountant
    • DutyInquire into general ledger reference dataLedgerGeneralLedgerReferenceDataInquire
      • PrivilegeView date intervals for ledgersLedgerPeriodCodeView
  • RoleAccounting managerLedgerAccountingManager
    • DutyEnable general ledger processLedgerGeneralLedgerProcessEnable
      • PrivilegeMaintain date intervals for ledgersLedgerPeriodCodeMaintain
    • DutyInquire into general ledger reference dataLedgerGeneralLedgerReferenceDataInquire
      • PrivilegeView date intervals for ledgersLedgerPeriodCodeView
  • RoleAccounting supervisorLedgerAccountingSupervisor
    • DutyEnable general ledger processLedgerGeneralLedgerProcessEnable
      • PrivilegeMaintain date intervals for ledgersLedgerPeriodCodeMaintain
    • DutyInquire into general ledger reference dataLedgerGeneralLedgerReferenceDataInquire
      • PrivilegeView date intervals for ledgersLedgerPeriodCodeView
  • RoleFinancial controllerLedgerFinancialController
    • DutyInquire into general ledger reference dataLedgerGeneralLedgerReferenceDataInquire
      • PrivilegeView date intervals for ledgersLedgerPeriodCodeView
  • RoleRental managerRentalManager
    • DutyEnable general ledger processRentalLedgerGeneralLedgerProcessEnable
      • PrivilegeMaintain date intervals for ledgersLedgerPeriodCodeMaintain
  • RoleRental purchasing managerRentalPurchasingManager
    • DutyEnable general ledger processRentalLedgerGeneralLedgerProcessEnable
      • PrivilegeMaintain date intervals for ledgersLedgerPeriodCodeMaintain
  • RoleRental sales managerRentalSalesManager
    • DutyEnable general ledger processRentalLedgerGeneralLedgerProcessEnable
      • PrivilegeMaintain date intervals for ledgersLedgerPeriodCodeMaintain
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itRental manager RentalManagerRental sales manager RentalSalesManagerAccounting manager LedgerAccountingManagerRental purchasing manager RentalPurchasingManagerAccounting supervisor LedgerAccountingSupervisorTo use itAccountant LedgerAccountantFinancial controller LedgerFinancialControllerChief financial officer CompanyChiefFinancialOfficerBudget manager BudgetBudgetManagerGive people one of these roles. On this system, 9 roles can open this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=LedgerPeriodCode
Integrate withLedgerDateIntervalEntity data entity Microsoft data model
Data migrationLedgerDateIntervalEntity (Date intervals): loaded for each company, in Microsoft's default template 025 - General ledger.Load order: Microsoft's default template 025 - General ledger loads Date intervals at execution unit 1, level 25, sequence 10. Lower levels load first, and entities at the same level load in sequence order.Load first: the default templates at lower levels (System setup to Workflow)Microsoft Learn
Table definitionLedgerPeriodCode columns and relations Microsoft data model
Everyone

8Sources