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)

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

(1) ShareShare
ReportReport
Posted on by

Hi All,

I am receiving ''Error number: 1010 An error occurred displaying the transaction'' on Retail POS R3-CU8 while adding Sales person to transaction by activating it from the RetailOperations Table. on the other hand event viewer is showing following error:

LSRetailPosis.POSProcesses.POSApp: System.Data.SqlClient.SqlException (0x80131904): Invalid column name 'STAFF'.
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)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at LSRetailPosis.DataAccess.DataUtil.DBUtil.Execute(SqlInsert SqlInsert)
at LSRetailPosis.DataAccess.TransactionItemData.Save(SaleLineItem saleItem)
at LSRetailPosis.DataAccess.TransactionData.SaveRetailTransaction(RetailTransaction transAction)
at LSRetailPosis.DataAccess.TransactionData.Save(PosTransaction transAction)
at LSRetailPosis.BusinessLogic.TransactionSystem.SaveTransaction(PosTransaction posTransaction)
at LSRetailPosis.BusinessLogic.TransactionSystem.ConcludeTransaction(IPosTransaction transaction)
ClientConnectionId:580cd89e-cc82-41eb-858c-396d5f7f3ecd.

Can anyone help me to resolve this error and to proceed my sales transaction with sales person ID.

Thanks.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Please check whether the transaction service is configured correctly and service is running and also  go to Account receivable ->setup->Account receivable parameters ->See the number sequence code for reference Customer account. You need to check continuous instead of manual in the selected number sequence setup.

  • Community Member Profile Picture
    on at

    Hi DhanaReddy,

    Thanks for your answer, but this is related to sales person ID which I want to add on sales transaction at POS and they are configured as workers in AX.

  • Suggested answer
    sumit0417 Profile Picture
    2,890 on at

    Add Salesperson is one of the depreciated feature for AX 2012, which is why it was deactivated from backend. If you want to make it work - Add a new column in the Retailtransactionsalestrans by running the below query-

    alter table ax.RETAILTRANSACTIONSALESTRANS add STAFF nvarchar(25)

    and also add the STAFF column in the Retailtransactionsalestrans view.

    Let me know if you are able to make it work.

  • Community Member Profile Picture
    on at

    Hi Summit,

    In CU8 version this table Retailtransactionsalestrans already have column for 'Staff id'. Do we still need another for column in ax.RETAILTRANSACTIONSALESTRANS new column of STAFF nvarchar(25) and also to add the STAFF column in the Retailtransactionsalestrans view?

  • echo Profile Picture
    595 on at

    Yes.  An additional field named STAFF is required to be created and it needs to be added to the mentioned view.  STAFFID has cashier number,  and STAFF is for the salesperson.  

  • Community Member Profile Picture
    on at

    Hi sumit,

    add the STAFF column in store DB or HQ DB?

    or both ?

  • sumit0417 Profile Picture
    2,890 on at

    In Store DB.

    Make sure you are adding the STAFF column to ax.RETAILTRANSACTIONSALESTRANS - nvarchar(25)

    and also add the STAFF column in the Retailtransactionsalestrans view.

  • Muhammad Yasir Profile Picture
    1,023 on at

    Hi,

    Is this solution resolve the problem, i am getting the same. Also tell me at where do we  we have to insert the data for the newly created STAFF column.or it will automaticaaly insert the STAFF value when a transaction is done ?

  • Community Member Profile Picture
    on at

    Hello,

    It worked at POS but unable to see data on AX retail Headquarter.

    @Summit can you please help me to view data at Retail Headquarter.

    Thanks.

  • Suggested answer
    sumit0417 Profile Picture
    2,890 on at

    You mean that you want to see the salesperson in Retail transactions in Back office. Try finding the same field in the transactions.

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