Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/372
Table Type: Company
Table Name: Payment Buffer
Database Table Name: CRONUS UK Ltd_$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 Payment Buffer can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Payment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Vendor No_]
,[Currency Code]
,[Vendor Ledg_ Entry No_]
,[Dimension Entry No_]
,[Global Dimension 1 Code]
,[Global Dimension 2 Code]
,[Document No_]
,[Amount]
,[Vendor Ledg_ Entry Doc_ Type]
,[Vendor Ledg_ Entry Doc_ No_]
,[Creditor No_]
,[Payment Reference]
,[Payment Method Code]
,[Applies-to Ext_ Doc_ No_]
,[Exported to Payment File]
,[Dimension Set ID]
,[Remit-to Code]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$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_$Payment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Buffer]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Payment Buffer].[Currency Code] = [Currency].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[Payment Buffer].[Global Dimension 1 Code] = [Dimension].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension]
ON
[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
[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
[Payment Buffer].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
LEFT JOIN
[User] AS [User]
ON
[Payment Buffer].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Payment Buffer].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Payment Buffer table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Vendor No. | Vendor No. | Normal | Code | 20 | Vendor No_ | nvarchar(40) |
Key to join to the Vendor table.Show/hide example querySELECT [Payment Buffer].[Vendor No_] ,[Vendor].[No_] FROM [CRONUS UK Ltd_$Payment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Buffer] LEFT JOIN [CRONUS UK Ltd_$Vendor$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor] ON [Payment Buffer].[Vendor No_] = [Vendor].[No_] | |||||||
2 | Currency Code | Currency Code | Normal | Code | 10 | Currency Code | nvarchar(20) |
Key to join to the Currency table.Show/hide example querySELECT [Payment Buffer].[Currency Code] ,[Currency].[Code] FROM [CRONUS UK Ltd_$Payment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Buffer] LEFT JOIN [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency] ON [Payment Buffer].[Currency Code] = [Currency].[Code] | |||||||
3 | Vendor Ledg. Entry No. | Vendor Ledg. Entry No. | Normal | Integer | 4 | Vendor Ledg_ Entry No_ | int |
Key to join to the Vendor Ledger Entry table.Show/hide example querySELECT [Payment Buffer].[Vendor Ledg_ Entry No_] ,[Vendor Ledger Entry].[Entry No_] FROM [CRONUS UK Ltd_$Payment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Buffer] LEFT JOIN [CRONUS UK Ltd_$Vendor Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Vendor Ledger Entry] ON [Payment Buffer].[Vendor Ledg_ Entry No_] = [Vendor 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 [Payment Buffer].[Global Dimension 1 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Payment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Buffer] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [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 [Payment Buffer].[Global Dimension 2 Code] ,[Dimension].[Code] FROM [CRONUS UK Ltd_$Payment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Buffer] LEFT JOIN [CRONUS UK Ltd_$Dimension$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension] ON [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 | Vendor Ledg. Entry Doc. Type | Vendor Ledg. Entry Doc. Type | Normal | Option | 4 | Vendor Ledg_ Entry Doc_ Type | int |
Available options are:
| |||||||
10 | Vendor Ledg. Entry Doc. No. | Vendor Ledg. Entry Doc. No. | Normal | Code | 20 | Vendor 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 [Payment Buffer].[Payment Method Code] ,[Payment Method].[Code] FROM [CRONUS UK Ltd_$Payment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Buffer] LEFT JOIN [CRONUS UK Ltd_$Payment Method$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Payment Method] ON [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 [Payment Buffer].[Dimension Set ID] ,[Dimension Set Entry].[Dimension Set ID] FROM [CRONUS UK Ltd_$Payment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Buffer] LEFT JOIN [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry] ON [Payment Buffer].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID] | |||||||
1000 | Remit-to Code | Remit-to Code | Normal | Code | 20 | Remit-to Code | nvarchar(40) |
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 [Payment Buffer].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Payment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Buffer] LEFT JOIN [User] AS [User] ON [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 |