Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Error number: 1010 An error occurred displaying the transaction (AX Retail POS)

Posted on by 135

Hi Everyone,

Error number: 1010 An error occurred displaying the transaction (AX Retail POS) while billing and duplicate transaction ID error in event viewer.

Changed the ID number to the next number and applied 1160 job. It will work for the next 1 bill and again same error.

Can any one help in this ??

1010.jpg

*This post is locked for comments

  • Suggested answer
    Wilson NJ Profile Picture
    Wilson NJ 135 on at
    RE: Error number: 1010 An error occurred displaying the transaction (AX Retail POS)

    I executed the below query in local DB and restarted the Retail POS and issue has been resolved

    update ax.RETAILPOSSEEDDATA set datavalue=1234 where storenumber='XXXX' and datatype=8

    (1234 is the transaction ID number increased by 1 and XXXX is the store number)

  • Razal Profile Picture
    Razal 200 on at
    RE: Error number: 1010 An error occurred displaying the transaction (AX Retail POS)

    Can you manually increase transactionid and receiptid by 1 in the RetailPOSSeedData  and delete record from "retailtransaction" based on terminal and store and check once?

    when i faced this issue once, i have done this and it got resolved. just have a look and see it is

  • Wilson NJ Profile Picture
    Wilson NJ 135 on at
    RE: Error number: 1010 An error occurred displaying the transaction (AX Retail POS)

    It is getting increased

  • Razal Profile Picture
    Razal 200 on at
    RE: Error number: 1010 An error occurred displaying the transaction (AX Retail POS)

    Once the transaction is completed ax.RetailPOSSeedData table is getting incremented by 1? Can u also check retailtransaction (table) once?

  • Wilson NJ Profile Picture
    Wilson NJ 135 on at
    RE: Error number: 1010 An error occurred displaying the transaction (AX Retail POS)

    LSRetailPosis.POSProcesses.POSApp: System.Data.SqlClient.SqlException (0x80131904): Violation of PRIMARY KEY constraint 'I_-1558077251_-1679712867'. Cannot insert duplicate key in object 'ax.RETAILTRANSACTIONTABLE'. The duplicate key value is (MAAF005, MAAF005, MAAF005-MAAF005-1432, 5637227076, 8000).

    The statement has been terminated.

      at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)

      at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)

      at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)

      at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)

      at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)

      at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)

      at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)

      at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)

      at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()

      at LSRetailPosis.DataAccess.DataUtil.DBUtil.Execute(SqlInsert SqlInsert)

      at LSRetailPosis.DataAccess.TransactionData.SaveRetailTransaction(RetailTransaction transAction)

    ClientConnectionId:47520fbc-f3e2-406a-a829-2a445e4d3754

    Error Number:2627,State:1,Class:14.

  • Shafeeque P. Profile Picture
    Shafeeque P. 6,512 Super User 2024 Season 2 on at
    RE: Error number: 1010 An error occurred displaying the transaction (AX Retail POS)

    Could you please share event viewer from POS  ??

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

Featured topics

Product updates

Dynamics 365 release plans