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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

POS configure button action throws 'Invalid object name' error

(0) ShareShare
ReportReport
Posted on by 75

Hello AXperts,

I encountered an error 'Invalid object name' when configuring a POS button action to override transaction tax.

This error occurs when I click '...' button of the Override name field. I'm wondering if anyone has come across this before or know where to find the source code to debug with?

The environment is AX 2012 R2 CU7 with retail component installed correctly.

pastedimage1571328027965v2.png

I have the same question (0)
  • Suggested answer
    Israel Gonzalez Profile Picture
    746 on at

    Hi Michael,

    The message "Invalid object name RETAILSTORETABLE", means the framework could not find the table mentioned (RETAILSTORETABLE). I have not worked with retail component but the message is clear.

  • Michael Mao Profile Picture
    75 on at

    Hi Israel,

    Thank you for your prompt response. I've checked that the RetailStoreTable is an AOT table that inherits from RetailChannelTable. Would you know why the framework failed to find it? And what steps I could do to troubleshoot it?

    I've done full compile and database sync in attempt to solve this but nothing has worked.

    Thanks,

    Michael

  • Israel Gonzalez Profile Picture
    746 on at

    Hi, please show the error message complete

  • Michael Mao Profile Picture
    75 on at

    Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

    Invalid object name 'RETAILSTORETABLE'.

    See the end of this message for details on invoking

    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************

    System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'RETAILSTORETABLE'.

      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.SqlDataReader.TryConsumeMetaData()

      at System.Data.SqlClient.SqlDataReader.get_MetaData()

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

      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.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)

      at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)

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

      at LSRetailPosis.ButtonGrid.TaxOverrideSearchForm.GetOverrideList(Int32 fromRow, String searchString)

      at LSRetailPosis.ButtonGrid.TaxOverrideSearchForm.OnLoad(EventArgs e)

      at System.Windows.Forms.Form.OnCreateControl()

      at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

      at System.Windows.Forms.Control.CreateControl()

      at System.Windows.Forms.Control.WmShowWindow(Message& m)

      at System.Windows.Forms.Control.WndProc(Message& m)

      at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

      at System.Windows.Forms.Form.WmShowWindow(Message& m)

      at System.Windows.Forms.Form.WndProc(Message& m)

      at DevExpress.XtraEditors.XtraForm.WndProc(Message& msg)

      at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

      at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

      at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ClientConnectionId:2e1654db-1bd2-4119-a5e4-1d43f2eff5fa

    Error Number:208,State:1,Class:16

    ************** Loaded Assemblies **************

    mscorlib

       Assembly Version: 4.0.0.0

       Win32 Version: 4.7.2650.0 built by: NET471REL1LAST_B

       CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

    ----------------------------------------

    Ax32

       Assembly Version: 6.2.0.0

       Win32 Version: 6.2.1000.8707

       CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20AX/60/Client/Bin/Ax32.exe

    ----------------------------------------

    msvcm90

       Assembly Version: 9.0.30729.4974

       Win32 Version: 9.00.30729.4974

       CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4974_none_50940634bcb759cb/msvcm90.dll

    ----------------------------------------

    Microsoft.Dynamics.Kernel.Client

       Assembly Version: 6.2.0.0

       Win32 Version: 6.2.1000.8707

       CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Dynamics%20AX/60/Client/Bin/Microsoft.Dynamics.Kernel.Client.DLL

    ----------------------------------------

    System.Windows.Forms

       Assembly Version: 4.0.0.0

       Win32 Version: 4.7.2634.0 built by: NET471REL1LAST_C

       CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

    ----------------------------------------

    System

       Assembly Version: 4.0.0.0

       Win32 Version: 4.7.2634.0 built by: NET471REL1LAST_C

       CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

    ----------------------------------------

    System.Drawing

       Assembly Version: 4.0.0.0

       Win32 Version: 4.7.2634.0 built by: NET471REL1LAST_C

       CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

    ----------------------------------------

    Microsoft.Dynamics.Framework.UI.WinForms.Controls

       Assembly Version: 1.4.0.0

       Win32 Version: 1.4.11343.17

       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.Dynamics.Framework.UI.WinForms.Controls/1.4.0.0__31bf3856ad364e35/Microsoft.Dynamics.Framework.UI.WinForms.Controls.dll

    ----------------------------------------

    System.Configuration

       Assembly Version: 4.0.0.0

       Win32 Version: 4.7.2053.0 built by: NET47REL1

       CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

    ----------------------------------------

    System.Core

       Assembly Version: 4.0.0.0

       Win32 Version: 4.7.2634.0 built by: NET471REL1LAST_C

       CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

    ----------------------------------------

    System.Xml

       Assembly Version: 4.0.0.0

       Win32 Version: 4.7.2634.0 built by: NET471REL1LAST_C

       CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

    ----------------------------------------

    Microsoft.Dynamics.Framework.UI.Navigation

       Assembly Version: 1.4.0.0

       Win32 Version: 1.4.11064.00

       CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.Dynamics.Framework.UI.Navigation/1.4.0.0__31bf3856ad364e35/Microsoft.Dynamics.Framework.UI.Navigation.dll

    ----------------------------------------

    PresentationCore

       Assembly Version: 4.0.0.0

       Win32 Version: 4.7.2634.0 built by: NET471REL1LAST_C

       CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll

    ----------------------------------------

  • Michael Mao Profile Picture
    75 on at

    Any other ideas folks?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 804

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 639 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 528

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans