Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/1232
Table Type: Company
Table Name: Positive Pay Entry Detail
Database Table Name: CRONUS UK Ltd_$Positive Pay Entry Detail$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 Positive Pay Entry Detail can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Positive Pay Entry Detail$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Bank Account No_]
,[Upload Date-Time]
,[No_]
,[Check No_]
,[Currency Code]
,[Document Type]
,[Document Date]
,[Amount]
,[Payee]
,[User ID]
,[Update Date]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Positive Pay Entry Detail$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Positive Pay Entry Detail$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Positive Pay Entry Detail]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Positive Pay Entry Detail].[Currency Code] = [Currency].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Sales Header Archive$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header Archive]
ON
[Positive Pay Entry Detail].[Document Type] = [Sales Header Archive].[Document Type]
AND
[Positive Pay Entry Detail].[Document No_] = [Sales Header Archive].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header]
ON
[Positive Pay Entry Detail].[Document Type] = [Sales Header].[Document Type]
AND
[Positive Pay Entry Detail].[Document No_] = [Sales Header].[No_]
LEFT JOIN
[User] AS [User]
ON
[Positive Pay Entry Detail].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Positive Pay Entry Detail].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Positive Pay Entry Detail table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Bank Account No. | Bank Account No. | Normal | Code | 20 | Bank Account No_ | nvarchar(40) |
Key to join to the Bank Account table.Show/hide example querySELECT [Positive Pay Entry Detail].[Bank Account No_] ,[Bank Account].[No_] FROM [CRONUS UK Ltd_$Positive Pay Entry Detail$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Positive Pay Entry Detail] LEFT JOIN [CRONUS UK Ltd_$Bank Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bank Account] ON [Positive Pay Entry Detail].[Bank Account No_] = [Bank Account].[No_] | |||||||
2 | Upload Date-Time | Upload Date-Time | Normal | DateTime | 8 | Upload Date-Time | datetime |
3 | No. | No. | Normal | Integer | 4 | No_ | int |
5 | Check No. | Check No. | Normal | Code | 20 | Check No_ | nvarchar(40) |
6 | Currency Code | Currency Code | Normal | Code | 10 | Currency Code | nvarchar(20) |
Key to join to the Currency table.Show/hide example querySELECT [Positive Pay Entry Detail].[Currency Code] ,[Currency].[Code] FROM [CRONUS UK Ltd_$Positive Pay Entry Detail$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Positive Pay Entry Detail] LEFT JOIN [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency] ON [Positive Pay Entry Detail].[Currency Code] = [Currency].[Code] | |||||||
7 | Document Type | Document Type | Normal | Option | 4 | Document Type | int |
Available options are:
| |||||||
8 | Document Date | Document Date | Normal | Date | 4 | Document Date | datetime |
9 | Amount | Amount | Normal | Decimal | 12 | Amount | decimal(38,38) |
10 | Payee | Payee | Normal | Text | 100 | Payee | nvarchar(200) |
11 | User ID | User ID | Normal | Code | 50 | User ID | nvarchar(100) |
12 | Update Date | Update Date | Normal | Date | 4 | Update Date | datetime |
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 [Positive Pay Entry Detail].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Positive Pay Entry Detail$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Positive Pay Entry Detail] LEFT JOIN [User] AS [User] ON [Positive Pay Entry Detail].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |