Skip to main content

Notifications

Announcements

No record found.

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

  • Michael Mao Profile Picture
    Michael Mao 75 on at
    RE: POS configure button action throws 'Invalid object name' error

    Any other ideas folks?

  • Michael Mao Profile Picture
    Michael Mao 75 on at
    RE: POS configure button action throws 'Invalid object name' error

    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

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

  • Israel Gonzalez Profile Picture
    Israel Gonzalez 733 on at
    RE: POS configure button action throws 'Invalid object name' error

    Hi, please show the error message complete

  • Michael Mao Profile Picture
    Michael Mao 75 on at
    RE: POS configure button action throws 'Invalid object name' error

    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

  • Suggested answer
    Israel Gonzalez Profile Picture
    Israel Gonzalez 733 on at
    RE: POS configure button action throws 'Invalid object name' error

    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.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans