web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Unanswered

Retail POS Return on Customer Order Invoiced Fails at Statement Posting

(0) ShareShare
ReportReport
Posted on by 25
 

Dear Dynamics 365 Commerce Community,

I am facing a recurring issue related to POS Return transactions on items that are Batch-tracked, and I would appreciate any insights from those who have encountered or resolved a similar scenario.

Scenario:

    • A customer returns an item from POS (either as a "Return by receipt" referencing an original Customer Order, or as a Blind Return).

    • The item is Batch-tracked (Inventory Dimension Group has Batch Number dimension set as Active & Primary).

    • The return transaction is captured in POS and aggregated correctly, but fails during Statement Posting at HQ.

    • Error Message:

      "While processing the state Customer order invoiced, generic exception encountered in retail statement XXX-XXXXXX in the controller: Posting"
      "Batch number group is not specified on item and can therefore not automatically be created."
      "Inventory dimension Batch number must be specified."
      "Update has been canceled."

      Root Cause Analysis:
      The system fails to automatically resolve the Batch Number during the posting of the return transaction. When the return is linked to an original Customer Order invoice, the system is expected to inherit the batch number from the original sales line — however, it does not do so in our case. For blind returns (without referencing an original receipt), the system has no batch number to reference, and without a valid Batch Number Group or a Default Batch ID configured, it cannot create or assign one automatically.

      What We Have Already Tried (All Configurations Are in Place):

    • Batch Number Group â€” A valid Batch Number Group is created and assigned to our item.

    • Accounts Receivable Parameters â€” Auto Batch Reservation is set to "Yes", and Reservation is set to "Automatic".

    • Commerce Parameters â€” "Use default batch ID when batch numbers are not found" is enabled, and a valid Default Batch ID is configured for the relevant items.

    • Despite all of the above, the system does not automatically pick up or generate a Batch Number during the return posting, forcing our store staff to manually register/enter the batch number on the return line from within POS — which is neither a supported nor a practical workflow.

      The Question:
      Is there a standard or supported way in Dynamics 365 Commerce to enable automatic batch number resolution on POS return transactions (both return-by-receipt and blind returns) without requiring manual batch entry at the POS level? Or is this a known limitation that requires a customization/extensions to resolve?

      If anyone has successfully implemented a similar scenario — or is aware of a configuration/patch/customization approach — I would greatly appreciate your guidance.

      Thank you in advance for your time and support.

      Best regards,

Categories:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 123 Super User 2026 Season 1

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 122 Super User 2026 Season 1

#3
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 82

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans