Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/1918
Table Type: Company
Table Name: MigrationQB Account Setup
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 Account Setup 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 Account Setup]
LEFT JOIN
[User] AS [User]
ON
[MigrationQB Account Setup].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[MigrationQB Account Setup].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in MigrationQB Account Setup table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Id | Id | Normal | Integer | 4 | ||
2 | SalesAccount | SalesAccount | Normal | Code | 20 | ||
3 | SalesCreditMemoAccount | SalesCreditMemoAccount | Normal | Code | 20 | ||
4 | SalesLineDiscAccount | SalesLineDiscAccount | Normal | Code | 20 | ||
5 | SalesInvDiscAccount | SalesInvDiscAccount | Normal | Code | 20 | ||
6 | PurchAccount | PurchAccount | Normal | Code | 20 | ||
7 | PurchCreditMemoAccount | PurchCreditMemoAccount | Normal | Code | 20 | ||
8 | PurchLineDiscAccount | PurchLineDiscAccount | Normal | Code | 20 | ||
9 | PurchInvDiscAccount | PurchInvDiscAccount | Normal | Code | 20 | ||
10 | COGSAccount | COGSAccount | Normal | Code | 20 | ||
11 | InventoryAdjmtAccount | InventoryAdjmtAccount | Normal | Code | 20 | ||
12 | InventoryAccount | InventoryAccount | Normal | Code | 20 | ||
13 | ReceivablesAccount | ReceivablesAccount | Normal | Code | 20 | ||
14 | ServiceChargeAccount | ServiceChargeAccount | Normal | Code | 20 | ||
15 | PayablesAccount | PayablesAccount | Normal | Code | 20 | ||
16 | PurchServiceChargeAccount | PurchServiceChargeAccount | Normal | Code | 20 | ||
17 | UnitOfMeasure | UnitOfMeasure | Normal | Code | 20 | ||
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 Account Setup].[] ,[User].[User Security ID] FROM [] AS [MigrationQB Account Setup] LEFT JOIN [User] AS [User] ON [MigrationQB Account Setup].[] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | ||
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 |