Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5225
Table Type: Company
Table Name: Employee Payment Buffer
Database Table Name: CRONUS UK Ltd_$Employee Payment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972
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 Employee Payment Buffer can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Employee Payment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Employee No_]
,[Currency Code]
,[Employee Ledg_ Entry No_]
,[Dimension Entry No_]
,[Global Dimension 1 Code]
,[Global Dimension 2 Code]
,[Document No_]
,[Amount]
,[Employee Ledg_ Entry Doc_ Type]
,[Employee Ledg_ Entry Doc_ No_]
,[Creditor No_]
,[Payment Reference]
,[Payment Method Code]
,[Applies-to Ext_ Doc_ No_]
,[Exported to Payment File]
,[Dimension Set ID]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Employee Payment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Employee Payment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Employee Payment Buffer]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Employee Payment Buffer].[Currency Code] = [Currency].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Employee Payment Buffer].[Global Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Employee Payment Buffer].[Global Dimension 2 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Payment Method$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Payment Method]
ON
[Employee Payment Buffer].[Payment Method Code] = [Payment Method].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
ON
[Employee Payment Buffer].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
LEFT JOIN
[User] AS [User]
ON
[Employee Payment Buffer].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Employee Payment Buffer].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Employee Payment Buffer table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Employee No. ![]() ![]() | Employee No. | Normal | Code | 20 | Employee No_ | nvarchar(40) |
Key to join to the Employee table.Show/hide example querySELECT
[Employee Payment Buffer].[Employee No_]
,[Employee].[No_]
FROM
[CRONUS UK Ltd_$Employee Payment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Employee Payment Buffer]
LEFT JOIN
[CRONUS UK Ltd_$Employee$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Employee]
ON
[Employee Payment Buffer].[Employee No_] = [Employee].[No_] | |||||||
2 | Currency Code ![]() ![]() | Currency Code | Normal | Code | 10 | Currency Code | nvarchar(20) |
Key to join to the Currency table.Show/hide example querySELECT
[Employee Payment Buffer].[Currency Code]
,[Currency].[Code]
FROM
[CRONUS UK Ltd_$Employee Payment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Employee Payment Buffer]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Employee Payment Buffer].[Currency Code] = [Currency].[Code] | |||||||
3 | Employee Ledg. Entry No. ![]() ![]() | Employee Ledg. Entry No. | Normal | Integer | 4 | Employee Ledg_ Entry No_ | int |
Key to join to the Employee Ledger Entry table.Show/hide example querySELECT
[Employee Payment Buffer].[Employee Ledg_ Entry No_]
,[Employee Ledger Entry].[Entry No_]
FROM
[CRONUS UK Ltd_$Employee Payment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Employee Payment Buffer]
LEFT JOIN
[CRONUS UK Ltd_$Employee Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Employee Ledger Entry]
ON
[Employee Payment Buffer].[Employee Ledg_ Entry No_] = [Employee Ledger Entry].[Entry No_] | |||||||
4 | Dimension Entry No. ![]() ![]() | Dimension Entry No. | Normal | Integer | 4 | Dimension Entry No_ | int |
5 | Global Dimension 1 Code ![]() | Global Dimension 1 Code | Normal | Code | 20 | Global Dimension 1 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT
[Employee Payment Buffer].[Global Dimension 1 Code]
,[Dimension].[Code]
FROM
[CRONUS UK Ltd_$Employee Payment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Employee Payment Buffer]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Employee Payment Buffer].[Global Dimension 1 Code] = [Dimension].[Code] | |||||||
6 | Global Dimension 2 Code ![]() | Global Dimension 2 Code | Normal | Code | 20 | Global Dimension 2 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example querySELECT
[Employee Payment Buffer].[Global Dimension 2 Code]
,[Dimension].[Code]
FROM
[CRONUS UK Ltd_$Employee Payment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Employee Payment Buffer]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Employee Payment Buffer].[Global Dimension 2 Code] = [Dimension].[Code] | |||||||
7 | Document No. ![]() | Document No. | Normal | Code | 20 | Document No_ | nvarchar(40) |
8 | Amount ![]() | Amount | Normal | Decimal | 12 | Amount | decimal(38,38) |
9 | Employee Ledg. Entry Doc. Type ![]() | Employee Ledg. Entry Doc. Type | Normal | Option | 4 | Employee Ledg_ Entry Doc_ Type | int |
Available options are:
| |||||||
10 | Employee Ledg. Entry Doc. No. ![]() | Employee Ledg. Entry Doc. No. | Normal | Code | 20 | Employee Ledg_ Entry Doc_ No_ | nvarchar(40) |
170 | Creditor No. ![]() | Creditor No. | Normal | Code | 20 | Creditor No_ | nvarchar(40) |
171 | Payment Reference ![]() | Payment Reference | Normal | Code | 50 | Payment Reference | nvarchar(100) |
172 | Payment Method Code ![]() | Payment Method Code | Normal | Code | 10 | Payment Method Code | nvarchar(20) |
Key to join to the Payment Method table.Show/hide example querySELECT
[Employee Payment Buffer].[Payment Method Code]
,[Payment Method].[Code]
FROM
[CRONUS UK Ltd_$Employee Payment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Employee Payment Buffer]
LEFT JOIN
[CRONUS UK Ltd_$Payment Method$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Payment Method]
ON
[Employee Payment Buffer].[Payment Method Code] = [Payment Method].[Code] | |||||||
173 | Applies-to Ext. Doc. No. ![]() | Applies-to Ext. Doc. No. | Normal | Code | 35 | Applies-to Ext_ Doc_ No_ | nvarchar(70) |
290 | Exported to Payment File ![]() | Exported to Payment File | Normal | Boolean | 4 | Exported to Payment File | tinyint |
480 | Dimension Set ID ![]() | Dimension Set ID | Normal | Integer | 4 | Dimension Set ID | int |
Key to join to the Dimension Set Entry table.Show/hide example querySELECT
[Employee Payment Buffer].[Dimension Set ID]
,[Dimension Set Entry].[Dimension Set ID]
FROM
[CRONUS UK Ltd_$Employee Payment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Employee Payment Buffer]
LEFT JOIN
[CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
ON
[Employee Payment Buffer].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID] | |||||||
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
[Employee Payment Buffer].[$systemCreatedBy]
,[User].[User Security ID]
FROM
[CRONUS UK Ltd_$Employee Payment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Employee Payment Buffer]
LEFT JOIN
[User] AS [User]
ON
[Employee Payment Buffer].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt ![]() | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy ![]() | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |
Key to join to the User table.Show/hide example querySELECT
[Employee Payment Buffer].[$systemModifiedBy]
,[User].[User Security ID]
FROM
[CRONUS UK Ltd_$Employee Payment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Employee Payment Buffer]
LEFT JOIN
[User] AS [User]
ON
[Employee Payment Buffer].[$systemModifiedBy] = [User].[User Security ID] |