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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

No Virtual transaction is marked with inventory transaction LOT350108

(0) ShareShare
ReportReport
Posted on by 1,675

Hi all,

I am facing a error while Cancelling the Product Receipt on a Purchase order.

When I click 'Cancel' button on the Product receipt journal form, it prompts following Infolog message and says.

"No virtual transaction marked with inventory transaction LOT350108".

I am wondering what could be the easy fix/work around to avoid this error while Cancelling Product Receipts. Just to share that I have quite a few Product Receipts which require Partial Cancellation or "Correction" if we call it.

I will appreciate any feedback/clues on how to avoid / work around this error to proceed Cancelling or Correction Product Receipts in Purchasing. 

*This post is locked for comments

I have the same question (0)
  • Muhammad Asim Khan Profile Picture
    1,675 on at
    RE: No Virtual transaction is marked with inventory transaction LOT350108

    Just to further share that I am having this scenario on AX 2012 R2 CU7.

  • Mark Prouty Profile Picture
    1,312 on at
    RE: No Virtual transaction is marked with inventory transaction LOT350108

    In AX2009, this is related to the Scrap flag set on the PO line. Unsetting this flag should resolve problem.

  • grajkumarmscax Profile Picture
    720 on at
    RE: No Virtual transaction is marked with inventory transaction LOT350108

    Hi
    Did you fix this issue. Please tell me what is solution for this. 

    Thanks

    Rajkumar

  • Muhammad Yousaf Profile Picture
    1,339 on at
    RE: No Virtual transaction is marked with inventory transaction LOT350108

    hi Raj

    Were you ever able to solve this issue.... Please share if you did

    Regards

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: No Virtual transaction is marked with inventory transaction LOT350108

    Hello the fix for this is to recreated the reference line as another poster had mentioned.

    No virtual transaction marked with inventory transaction

    requires two checks

    1- Confirm the LOT id numbers you need them to mark the PO to the SO

    2- Check the table PurchTable.PurchId to match the SO to PO

    3- Write a Job in the AOT to insert that combination

    static void InsertNoVirtualDataFix(Args _args)
    {
    PurchTable purchTable;InterCompanyPurchSalesReference interCompanyPurchSalesReference; select firstOnly purchTable where purchTable.PurchId == 'THEPONUMBER'; ttsBegin;
    if (!InterCompanyPurchSalesReference::exist('TheESONumber', purchTable.PurchId))
    { select forUpdate interCompanyPurchSalesReference;interCompanyPurchSalesReference.SalesId = 'TheSONumber';interCompanyPurchSalesReference.PurchId = purchTable.PurchId;interCompanyPurchSalesReference.insert(); info("SO # Record inserted");} ttsCommit; info("GO Ahead and recieve");}

  • Suggested answer
    guk1964 Profile Picture
    10,888 on at
    RE: No Virtual transaction is marked with inventory transaction LOT350108

    Is the PO related to  a project?

    If s then refresh the project id links and the problem should clear. otherwise check if there is any reservation or marking, and remove it.

    Those are the most usual causes of this error. It was quite common in Ax 2009 but in Ax 2012 some validation was added.

  • Community Member Profile Picture
    on at
    RE: No Virtual transaction is marked with inventory transaction LOT350108

    hello Mark, very old thread so apologies, but do you have any more information on this in 9 ?  

    Thanks

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

#2
NNaumenko Profile Picture

NNaumenko 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans