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
Suggested Answer

Error in retail posting

(0) ShareShare
ReportReport
Posted on by 10

Hi All,

kindly need your support i have one retail  statement d365 f&o during post statement i received error related to aggregation in sales orders

when i open aggregated transactions from statement page i found i below error 

Error : While processing the aggregation state Sales order is created for this aggregation. and transaction state Customer order created in statement 00000007-000000001, UpdateConflictException exception was encountered for this aggregation 5637144576 with the error : Update conflict is not recovered after 4 retries; log error and continue with the next aggregation.

Please help to fix this

I have the same question (1)
  • Suggested answer
    Ramune Profile Picture
    Microsoft Employee on at

    Hi Manisha,

    Per our assumption, the error is coming from the logic responsible for keeping the standard cost in inventory. The promise of standard cost is that the inventory value is always equal to qty * std cost price – with the accuracy down to the rounding error of the currency.

    To better illustrate the problem let me give you an example. Let’s assume that we defined our cost to be 10$ for 3 pieces giving us a unit cost of 3.3333333 $

    When we receive 1 piece into inventory the system is going to check the current on hand (0) and based on that it is going to stamp the cost price of 3.33.

    When we receive a second piece the system is going to check the on hand again (1pcs * 3.33) and it is going to figure out that now it must stamp 3.34 to make sure that the amount is correct (6.6666666 should get rounded to 6.67).

    Let’s assume that in meantime another transaction would like to post the third piece in parallel to the second one. The third transaction doesn’t see the other one yet so it also assumes that it needs to round the cost up stamping 3.34. If that would be allowed we would end up with the total inventory value of 10.01 for 3 pcs which is different than the standard cost. The check that is throwing the error is preventing this situation from happening.

    We would recommend that you focus on preconditions to this problem. There are two preconditions:

    1. The problem occurs only when standard cost in combination with the units being sold results in rounding. This is a setup data – can you try to change your standard cost to avoid roundings?

    2. The problem occurs only when the item is processed in parallel by multiple transactions in the same site (std cost is always per site).

    This is also recommended for future to use Moving Weighted Average model group instead of Standard cost:

    We would recommend you changing to MWA Moving average. This methods is also perpetual but it does not have the same rounding constraints as Std. cost on Sales orders.

    The MWA is a known inventory valuation method in retail industry. This method can be considered for retail implementations.

    MWA may throw update conflicts on the Purchase side if you Invoice purchase orders in batch by end of month and same item has been purchased X times during the month.

    I hope this helps.

  • Manisha Shahani Profile Picture
    5 on at

    Hi Ramune,

    Thanks for your reply.

    I'm using Weighted average model group for item costing. Any other setup that I might need to look into?

    Thanks

  • Suggested answer
    Ramune Profile Picture
    Microsoft Employee on at

    Hi Manisha,

    not what I am aware. Please create a support case for us to look at the issue deeper.

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 254

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 188 Super User 2026 Season 1

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans