Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/20102
Table Type: Company
Table Name: AMC Bank Pmt. Type
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 AMC Bank Pmt. Type can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[]
Show/hide an example select of all columns by name
SELECT
[Code]
,[Description]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$AMC Bank Pmt_ Type$16319982-4995-4fb1-8fb2-2b1e13773e3b] AS [AMC Bank Pmt. Type]
LEFT JOIN
[User] AS [User]
ON
[AMC Bank Pmt. Type].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[AMC Bank Pmt. Type].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in AMC Bank Pmt. Type table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
20100 | Code | Code | Normal | Text | 50 | Code | nvarchar(100) |
20101 | Description | Description | Normal | Text | 80 | Description | nvarchar(160) |
2000000000 | $systemId | System ID | Normal | GUID | 16 | $systemId | uniqueidentifier |
2000000001 | SystemCreatedAt | Created At | Normal | DateTime | 8 | $systemCreatedAt | datetime |
2000000002 | SystemCreatedBy | Created By | Normal | GUID | 16 | $systemCreatedBy | uniqueidentifier |
Key to join to the User table.Show/hide example querySELECT [AMC Bank Pmt. Type].[$systemCreatedBy] ,[User].[User Security ID] FROM [] AS [AMC Bank Pmt. Type] LEFT JOIN [User] AS [User] ON [AMC Bank Pmt. Type].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |