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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Inventory marking error - Transaction has been changed

(0) ShareShare
ReportReport
Posted on by 680

Hi All,

When creating a Transfer order from a PO after updating a quantity, update has been canceled because transaction has been changed according to messages in UI.

I debugged it and found the following code caused these messages and canceled the update. 

 /// 
/// The InventUpdateMarking class is responsible for marking and unmarking inventory transactions.
/// 
public class InventUpdateMarking
 
 ....
 
    /// 
    /// Adds marking information to the marking inventory transactions.
    /// 
 protected InventDimId addMarkingTransactions(
         int                 _markingStage, 
        InventDim           _inventDimTransSelect, 
        TmpInventTransMark  _tmpInventTransMark, 
        InventQty           _remainingQty)
 
 
 
         if (remainingQty && _markingStage == FinalSearchMarkingStage)
        {
            checkFailed("@SYS5149"); //Transaction has been changed 
            throw error("@SYS18447"); // Update has been canceled 
        }

why does this happen and how can we bypass this and let it be updated? 

Thank you. 

I have the same question (0)
  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Shawn,

    Are you getting this error on doing any customization or from the standard application? Which version are you on and what are the steps you performed before you got this error?

  • WillWU Profile Picture
    22,363 on at

    Hi ShawnDEV,

    Please have a look at the code in the addMarking() method.

    pastedimage1611910411415v1.png

    Check the Inventory>Transactions for the POline, it must be one of the states in the code.

  • ShawnDEV Profile Picture
    680 on at

    Hi, well.

    InventTrans.StatusIssue value is changing per iteration, it changes from  None to reservedOrder. I don't know the pattern..

    Additionally, when there are no more (invent) transactions that are to be marked, but still remaining qty exists (>0), the code above hits and gets errors.

    Thank you.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 658

#2
André Arnaud de Calavon Profile Picture

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

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 333 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans