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

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

(0) ShareShare
ReportReport
Posted on by 1,443
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
I have the same question (0)
  • Mirza Mujib Ur Rahman Baig Profile Picture
    1,443 on at
    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

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

#1
Martin Dráb Profile Picture

Martin Dráb 611 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans