GP Item Location

Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/4016

Table Type: Company

Table Name: GP Item Location
Database Table Name:

Table Number: 4016

Due to how Dynamics BC tables and columns are named, square brackets need to be wrapped around the table name and column names. Below are example queries showing how GP Item Location can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   []

Show/hide an example select of all columns by name

SELECT

FROM
   []

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [] AS [GP Item Location]
LEFT JOIN
   [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
      ON
         [GP Item Location].[City] = [Post Code].[City]
LEFT JOIN
   [User] AS [User]
      ON
         [GP Item Location].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [GP Item Location].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in GP Item Location table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1LOCNCODE SearchLOCNCODENormalText11
2LOCNDSCR Primary Key SearchLOCNDSCRNormalText31
4ADDRESS1 SearchADDRESS1NormalText61
5ADDRESS2 SearchADDRESS2NormalText61
7CITY SearchCITYNormalText35
Key to join to the Post Code table.

Show/hide example query

SELECT
	       [GP Item Location].[]
	       ,[Post Code].[City]
	FROM
	       [] AS [GP Item Location]
	LEFT JOIN
	       [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
	              ON
	                     [GP Item Location].[] = [Post Code].[City]
8STATE SearchSTATENormalText29
9ZIPCODE SearchZIPCODENormalText11
11PHONE1 SearchPHONE1NormalText21
12PHONE2 SearchPHONE2NormalText21
14FAXNUMBR SearchFAXNUMBRNormalText21
2000000000$systemId SearchSystem IDNormalGUID16
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8
2000000002SystemCreatedBy SearchCreated ByNormalGUID16
Key to join to the User table.

Show/hide example query

SELECT
	       [GP Item Location].[]
	       ,[User].[User Security ID]
	FROM
	       [] AS [GP Item Location]
	LEFT JOIN
	       [User] AS [User]
	              ON
	                     [GP Item Location].[] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8
2000000004SystemModifiedBy SearchModified ByNormalGUID16

Leave a Reply

Your email address will not be published. Required fields are marked *