Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

Inventory lookup for sales under MPOS (retail) showing application error (AX 2012 R3 CU11)

Posted on by 1,422
Dear all,
 
Could you please help is resovling the above issue. I can create, fetch customer and can receive pending transfer order on the MPOS but couldnt able to make sales as the inventory lookup is not working as expected. Please find below error fyr.
 
Dynamics-Error:     Unhandled App error: Invalid parameter; 
 StackTrace: ; ErrorUrl: 'ms-appx://microsoft.dynamics.retail.pos/Commerce.Core.js'; ErrorObject: ''    1693490511397mS
 
If I'm trying to search product from search option then another error log is coming as shown below.
 
The Commerce Runtime Request with request id 'ffe7e0de-aeaa-6484-304b-c4ef06a6daa3' and request url 'crt://online/ProductManager/Search' failed.  Error: {/odata.error/:{/code/:/Microsoft_Dynamics_Server_Internal_Error/,/message/:{/value/:/{///DatabaseErrorCode///:0,///Message///:///Failed to read from the database. See inner exception for details////r///DatabaseErrorCode: 0///,///CausedByConnectionError///:false,///ErrorResourceId///:///Microsoft_Dynamics_Commerce_Runtime_CriticalStorageError///,///Data///:{},///InnerException///:{///ErrorCode///:0,///Message///:///Violation of PRIMARY KEY constraint 'PK__#AC8C112__A9A5B3BBACC1BCA8'. Cannot insert duplicate key in object 'dbo.@tvp_SearchedProductIds'. The duplicate key value is (5637224826).////r///The statement has been terminated.///,///Data///:{},///InnerException///:{///ClientConnectionId///:///dfb08ecf-eea1-4b32-97e9-a7aaccde026b///,///Class///:14,///LineNumber///:35,///Number///:2627,///Procedure///:///GETPRODUCTSBYKEYWORD///,///Server///:///GT-AXAOS-SRV////////MSSQLSERVERAOS///,///State///:1,///ErrorCode///:-2146232060,///Message///:///Violation of PRIMARY KEY constraint 'PK__#AC8C112__A9A5B3BBACC1BCA8'. Cannot insert duplicate key in object 'dbo.@tvp_SearchedProductIds'. The duplicate key value is (5637224826).////r///The statement has been terminated.///,///Data///:{///HelpLink.ProdName///:///Microsoft SQL Server///,///HelpLink.ProdVer///:///12.00.5000///,///HelpLink.EvtSrc///:///MSSQLServer///,///HelpLink.EvtID///:///2627///,///HelpLink.BaseHelpUrl///:///http://go.microsoft.com/fwlink///,///HelpLink.LinkId///:///20476///}}}}/}}}.
 
Thank you
  • Inventory lookup for sales under MPOS (retail) showing application error (AX 2012 R3 CU11)
    Dear AX memebers,
    Appreciate your support on the above issue. 

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans