another blog

Icon

About Microsoft Dynamics GP :-)

A save operation on table ‘MO_Order_MSTR’ failed accessing SQL Data

Good Finding!

I was facing same error and found this on community forum.

A save operation on table 'MO_Order_MSTR' failed accessing sql data

fix

Error

[Microsoft][SQL Native Client][SQL Server]Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.

Solution

Removing the row that did not correspond to the result set resolved the issue.

Filed under: dynamics-gp,

Finding Field Name and Table Name of custom table.

This post is specially for our.NET team members who find it difficult to know field names and table names of custom table when need to use in sql scripts for their add on application for Dynamics GP.

Each time they need to come to some dexterity developer and ask for fields and tables, By similar way they can find field and table information of any GP additional product.

 

 

Let take an example of Customer Maintenance. We have added a table evsTable and it’s two fields on a window.

Field 1 and Field 2.

Image

Now what you have to do is to open the window for whose field information you need, lets say we need to know in which table Field 1 will save data and what is the physical name of Field 1 to use in sql.

 Just focus on some other field and press Alt+F8 and save macro file anywhere.

Image

Now focus Field 1.

Again press Alt+F8.

 

Now go to the path where you have saved macro file and open it on notepad. You will find field name in it.

Image

Now to find the table name, go to below navigation and open a window.

Image

Select the product of your window, if you know the core good otherwise you have to use commonsense for window type, like customer means it must be sales.Image

Now you have table name as well as field information.

 

🙂

 

Thanks,

almas

 

Filed under: Dexterity Development, Dynamics GP, dynamics-gp, ,

Finding Field Name and Table Name of custom table.

Finding Field Name and Table Name of custom table.

This post is specially for our.NET team members who find it difficult to know field names and table names of custom table when need to use in sql scripts for their add on application for Dynamics GP.

Each time they need to come to some dexterity developer and ask for fields and tables, By similar way they can find field and table information of any GP additional product.

Let take an example of Customer Maintenance. We have added a table evsTable and it’s two fields on a window. Field 1 and Field 2.

1

Now what you have to do is to open the window for whose field information you need, lets say we need to know in which table Field 1 will save data and what is the physical name of Field 1 to use in SQL.

Just focus on some other field and press Alt+F8 and save macro file anywhere.

2

Now focus Field 1.

Again press Alt+F8.

Now go to the path where you have saved macro file and open it on notepad. You will find field name in it.

3

Now to find the table name, go to below navigation and open a window.

4

Now to find the table name, go to below navigation and open a window.

5

Select the product of your window, if you know the core good otherwise you have to use common sense for window type, like customer means it must be sales.

6

Now you have table name as well as field information.

🙂

Filed under: dynamics-gp

Enter your email address to follow this blog and receive notifications of new posts by email.

Enter your email address to follow this blog and receive notifications of new posts by email.

3rd party database access 3180 adding CR in text field Adding NULL values in dropdown Adding Sample Company Data Adding Symbol to Currency fields Alternate Window Analytical Accounting Attachments cancel button Can I ... Carriage Return chunk CH_SPACE CMMTTEXT Cross Dictionary Dexterity Development Cross Dictionary Triggers Currency Symbol in Dynamics GP windows Damo Data for Dynamics sample company Datatype dex DEX.DIC dexterity Dexterity Currency field Dexterity Dropdown Dexterity finditem() Dexterity Triggers DEX_ROW_TS Dict_GetPathname() Dynamics GP Dynamics GP Posting Issues Finding GP Field finding specific field in tables Finding Table Focus Trigger FP: Script not found errors GETUTCDATE() great plains Grid How to identified product related to error. hyperspace Hyperspace property of dexterity field. Increasing Field Size of Dynamics GP Table INFORMATION_SCHEMA.COLUMNS Link Format Selector Microsoft Dynamics Error Modified Reports Modifier MOP_Order_MSTR Path_MakeNative() Path_SelectPathname() Posted receipts not showing on Enter Match Invoice window.Enter Match Invoice window. Project Accounting For Dynamics GP Reading Folder Redisplay Refill Report Destination Sales Transaction Entry Scroll Sanscript Saving Images Script Error Script Not Found Session access denied SmartList Favourites SQL Script to Find column in tables SQL_Execute SUSER_SNAME() TextFile_ReadLine() TextFile_WriteLine() The SELECT permission was denied on the object "XXX" transaction entry User access Using SQL in Dexterity VBA for Dynamics GP You may not edit this document . it is being edited by another user.

Enter your email address to follow this blog and receive notifications of new posts by email.

Freddys blog

Learn something new... - then Teach someone!

حلقۂ دام خیال

عالم تمام حلقۂ دام خیال ہے

M@ria

~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*

Ghostriver Studios Blog

Sculptural stained glass of Andrew Kosorok

Dynamics GP Builders & Reporting

How to use MS Dynamics SmartList Builder, Excel Report Builder and other Reporting tools to get the data and analysis you need.