Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/1914
Table Type: Company
Table Name: MigrationQB Vendor
Database Table Name:
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 MigrationQB 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 [MigrationQB Vendor]
LEFT JOIN
[User] AS [User]
ON
[MigrationQB Vendor].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[MigrationQB Vendor].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in MigrationQB Vendor table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Id | Id | Normal | Text | 250 | ||
2 | GivenName | GivenName | Normal | Text | 25 | ||
3 | FamilyName | FamilyName | Normal | Text | 25 | ||
4 | CompanyName | CompanyName | Normal | Text | 50 | ||
5 | DisplayName | DisplayName | Normal | Text | 100 | ||
6 | BillAddrLine1 | BillAddrLine1 | Normal | Text | 250 | ||
7 | BillAddrLine2 | BillAddrLine2 | Normal | Text | 250 | ||
8 | BillAddrCity | BillAddrCity | Normal | Text | 250 | ||
9 | BillAddrCountry | BillAddrCountry | Normal | Text | 250 | ||
10 | BillAddrState | BillAddrState | Normal | Text | 30 | ||
11 | BillAddrPostalCode | BillAddrPostalCode | Normal | Text | 31 | ||
12 | BillAddrCountrySubDivCode | BillAddrCountrySubDivCode | Normal | Text | 250 | ||
13 | PrimaryPhone | PrimaryPhone | Normal | Text | 30 | ||
14 | PrimaryEmailAddr | PrimaryEmailAddr | Normal | Text | 100 | ||
15 | WebAddr | WebAddr | Normal | Text | 250 | ||
16 | Fax | Fax | Normal | Text | 30 | ||
17 | ListId | ListId | Normal | Text | 40 | ||
2000000000 | $systemId | System ID | Normal | GUID | 16 | ||
2000000001 | SystemCreatedAt | Created At | Normal | DateTime | 8 | ||
2000000002 | SystemCreatedBy | Created By | Normal | GUID | 16 | ||
Key to join to the User table.Show/hide example querySELECT [MigrationQB Vendor].[] ,[User].[User Security ID] FROM [] AS [MigrationQB Vendor] LEFT JOIN [User] AS [User] ON [MigrationQB Vendor].[] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | ||
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 |