BeyondERP.Newsletter
Menu

Setup step on the Update return quantities page · Retail and Commerce

Schedule Update return quantities with the P job

Let stores validate returns when the real-time call to headquarters fails.

See how to set it up Back to Retail and Commerce

Used by
Retail operations manager, Retail service
Business process
Process customer returns and exchanges
Menu item
RetailUpdateReturnedQuantitiesScheduler
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, “Store sees updated return quantity”, 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 batch job page that recalculates the quantity still available to return on every sales order in Commerce headquarters, so that stores can validate returns even when the real-time call to headquarters fails.
What you do hereUse this page to schedule the Update return quantities job to run frequently, at the same cadence as the P job that pulls channel transactions into headquarters, and then send the result to channel databases with the Return quantities (1200) distribution job.
ExampleFor example, when stores on different Commerce Scale Units cannot see each other's returns, running this job and the 1200 job at high frequency keeps the Available to return quantity in POS accurate.
Update return quantities 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.

When to run it

When to run itWhen stores must validate returns even if the real-time call to headquarters fails, for example in offline returns.
How oftenFrequently, at the same cadence as the P job.
Batch settingsRecurring batch job at the P job's frequency, followed by 1200.
What the output showsQuantities still available for return for every sales order in headquarters, sent to stores with job 1200. If statement posting fails for an over-returned quantity, the job or 1200 didn't run often enough.

Source: Microsoft Learn

Setup steps on this page

Schedule Update return quantities with the P job

Let stores validate returns when the real-time call to headquarters fails.

Steps from Microsoft

  1. Go to Retail and Commerce > Order management > Returns > Update return quantities.
  2. Plan the schedule first: run this job as often as the P job that pulls channel transactions into headquarters.
  3. Under Run in the background, set Batch processing, the Task description and Batch group, and select Recurrence to repeat it.
  4. After each run, the Return quantities (1200) distribution job must send the result to channel databases.
  5. Afterwards, return an item at the POS while it can't reach headquarters: the Available to return quantity reflects returns made in other stores.

Source: Microsoft Learn

Common errors and fixes

MessageWhat to do
Statement posting fails for an over-returned quantityThe quantities still available to return were out of date in the store. Run this job, and then the Return quantities (1200) distribution job, at the same frequency as the P job. Microsoft Learn
Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Schedule Update return quantities with the P jobA recurring batch job at the same frequency as the P job, followed by the Return quantities (1200) distribution job.The job recalculates the quantity still available to return on every sales order, and job 1200 sends it to the channel databases.How often should return quantities be updated?Running the job rarely, so an offline return can be accepted twice and statement posting later fails.Test: Store sees updated return quantity

Feature management and licence

Licence or add-inIn this system 2 roles can open this page, among them Retail service and Retail operations manager.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyEvery sales order in Commerce headquarters: the job recalculates the quantity still available to return on all of them. Microsoft Learn
Can it be undoneReversible: Each run recalculates the quantities; nothing to reverse.
If you change it laterIf the job runs infrequently, the Available to return quantities in the channel can be stale, so an offline return may be accepted twice and statement posting may later fail for the over-returned quantity. Microsoft Learn
Technical architect

6Technical

Menu itemRetailUpdateReturnedQuantitiesScheduler Checked in Dynamics 365
FormDialog Checked in Dynamics 365
Who can open it

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

  • RoleRetail operations managerRetailOperationsManager
    • DutyMaintain retail batchesRetailBatchesMaintain
      • PrivilegeThe UpdateReturnedQuantitiesScheduler processes return RetailTransactionSalesTrans records to update the return quantities in RetailReturnedQuantities.RetailUpdateReturnedQuantitiesSchedulerMaintain
  • RoleRetail serviceRetailService
    • DutyMaintain retail batchesRetailBatchesMaintain
      • PrivilegeThe UpdateReturnedQuantitiesScheduler processes return RetailTransactionSalesTrans records to update the return quantities in RetailReturnedQuantities.RetailUpdateReturnedQuantitiesSchedulerMaintain
Roles worked out from Microsoft's standard security setup and checked in a working Dynamics 365 system (version 10.0.49)
Roles to set it up and use itTo use itRetail service RetailServiceRetail operations manager RetailOperationsManagerGive people one of these roles. On this system, 2 roles can run this page.Checked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=RetailUpdateReturnedQuantitiesScheduler
Data migrationLoad order: Update return quantities has no data entity in Data management, so it can't be loaded from a file or a configuration template. It is a batch job: schedule it in each environment, followed by the 1200 distribution job.Microsoft Learn
Everyone

8Sources

To cite this step: RC-INV-110, Schedule Update return quantities with the P job. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/RC-INV-110