GP Vendor

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

Table Type: Company

Table Name: GP Vendor
Database Table Name:

Table Number: 4096

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 Vendor 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 Vendor]
LEFT JOIN
   [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
      ON
         [GP Vendor].[VENDORID] = [Vendor].[No_]
LEFT JOIN
   [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
      ON
         [GP Vendor].[City] = [Post Code].[City]
LEFT JOIN
   [User] AS [User]
      ON
         [GP Vendor].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [GP Vendor].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in GP Vendor table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1VENDORID SearchVendor IDNormalText75
Key to join to the Vendor table.

Show/hide example query

SELECT
	       [GP Vendor].[]
	       ,[Vendor].[No_]
	FROM
	       [] AS [GP Vendor]
	LEFT JOIN
	       [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor]
	              ON
	                     [GP Vendor].[] = [Vendor].[No_]
2VENDNAME Primary Key SearchVendor NameNormalText65
3SEARCHNAME SearchSearch NameNormalText65
4VNDCHKNM SearchVendor Check NameNormalText65
5ADDRESS1 SearchAddressNormalText61
6ADDRESS2 SearchAddress 2NormalText61
7CITY SearchCityNormalText35
Key to join to the Post Code table.

Show/hide example query

SELECT
	       [GP Vendor].[]
	       ,[Post Code].[City]
	FROM
	       [] AS [GP Vendor]
	LEFT JOIN
	       [CRONUS UK Ltd_$Post Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Post Code]
	              ON
	                     [GP Vendor].[] = [Post Code].[City]
8VNDCNTCT SearchVendor ContactNormalText61
9PHNUMBR1 SearchPhone NumberNormalText21
10PYMTRMID SearchPayment Terms IDNormalText21
11SHIPMTHD SearchShipment Method CodeNormalText15
12COUNTRY SearchCountryNormalText61
13PYMNTPRI SearchPayment PriorityNormalText3
14AMOUNT SearchAmountNormalDecimal12
15FAXNUMBR SearchFax NumberNormalText30
16ZIPCODE SearchZIP CodeNormalText11
17STATE SearchStateNormalText29
18INET1 SearchInternet Information 1NormalText200
19INET2 SearchInternet Information 2NormalText200
20TAXSCHID SearchTax Schedule IDNormalText15
21UPSZONE SearchUPS ZoneNormalText3
22TXIDNMBR SearchTax ID NumberNormalText11
2000000000$systemId SearchSystem IDNormalGUID16
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8
2000000002SystemCreatedBy SearchCreated ByNormalGUID16
Key to join to the User table.

Show/hide example query

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

Leave a Reply

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