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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)
Unanswered

Recalling a suspend transaction in POS Error: 1002

(0) ShareShare
ReportReport
Posted on by 159

when we suspend a transaction and try to recall, we are getting the Error: 1002.

in the event viewer we found below details,

LSRetailPosis.POSProcesses.frmSuspendedTrans, Text: : System.InvalidOperationException: Sequence contains more than one matching element
   at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at LSRetailPosis.BusinessLogic.BusinessLogicExtensions.PopulateDimensions(RetailTransaction retailTransaction)
   at LSRetailPosis.POSProcesses.frmSuspendedTrans.LoadTransaction(String transactionId)
   at LSRetailPosis.POSProcesses.frmSuspendedTrans.gridView1_FocusedRowChanged(Object sender, FocusedRowChangedEventArgs e).

Looking forward to suggestions to fix this...

*This post is locked for comments

I have the same question (0)
  • Rodolfo Recalde Profile Picture
    on at

    I Shafraz,

    This transaction has been customized?

    In this type of error , you might try to find out:

    A. Debugging the POS.

    B. Using SQL Server Profiler.

    Probably, Some query is returning two or more records that are not supported by some process element. In SQL Server Profiler, Check the last query performed by the user before the error occurred. You can identify which record is duplicate.

    I Hope this Helps!

    Regards,

    Rodolfo Recalde.

  • Shafraz Khalik Profile Picture
    159 on at

    Hi Rodolfo,

    Thank you for your reply, it is not customized but a normal transaction.

    we found strange is it happened to few transactions..

    As per your suggestion we used SQL profiler, and noticed that while recalling these transaction there are 2 lines with the same item-variants, where as the original suspended transaction has only one Item-variant.

    will this be bug in CU12?

    Regards,

    Shafraz

  • Solozmar Profile Picture
    796 on at

    I tried this out on our CU12 Retail environment (albeit, with our dataset) and can't reproduce this. I do see quite a few hotfixes around retail and recalls but could not find one that matches exactly to your issue.  

  • Rodolfo Recalde Profile Picture
    on at

    I Shafraz,

    I imagine this problem is occurring for some products in specific, correct? If yes, and if you can isolate these products.  Check Product VariandID, Check if there is no inconsistency of data (or some customization that was done in AX that was not transapassed into the POS).

    I do not have the CU12 scenario to test. You can opened a incident at Microsoft.

    I Hope this Helps!

    Regards,
    Rodolfo Recalde.

  • Shafraz Khalik Profile Picture
    159 on at

    Hi Rodolfo,

    Yes you are correct, it happens to few variants. we had done extensive checking from our end and we were unable to find a pattern on this issue.

    As you mentioned we opened an incident and waiting for the reply from Microsoft.

    Regards,

    Shafraz

  • Johnny J. Profile Picture
    on at

    We get the error for products having more than one barcode. But we have yet to find a workaround for it! :-(

  • Shafraz Khalik Profile Picture
    159 on at

    Hi All,

    Thank you for your valuable inputs.

    we log a case with Microsoft and finally they agreed to come up with a Hotfix, and we are waiting for that release.

    Cheers,

    Shafraz

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans