Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/1294
Table Type: Company
Table Name: Applied Payment Entry
Database Table Name: CRONUS UK Ltd_$Applied Payment Entry$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 Applied Payment Entry can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Applied Payment Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Bank Account No_]
,[Statement No_]
,[Statement Line No_]
,[Statement Type]
,[Account Type]
,[Account No_]
,[Applies-to Entry No_]
,[Applied Amount]
,[Applied Pmt_ Discount]
,[Quality]
,[Posting Date]
,[Document Type]
,[Document No_]
,[Description]
,[Currency Code]
,[Due Date]
,[External Document No_]
,[Match Confidence]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Applied Payment Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Applied Payment Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Applied Payment Entry]
LEFT JOIN
[CRONUS UK Ltd_$Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header]
ON
[Applied Payment Entry].[Document Type] = [Sales Header].[Document Type]
AND
[Applied Payment Entry].[Document No_] = [Sales Header].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Sales Header Archive$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header Archive]
ON
[Applied Payment Entry].[Document Type] = [Sales Header Archive].[Document Type]
AND
[Applied Payment Entry].[Document No_] = [Sales Header Archive].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Applied Payment Entry].[Currency Code] = [Currency].[Code]
LEFT JOIN
[User] AS [User]
ON
[Applied Payment Entry].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Applied Payment Entry].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Applied Payment Entry 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
[Applied Payment Entry].[Bank Account No_]
,[Bank Account].[No_]
FROM
[CRONUS UK Ltd_$Applied Payment Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Applied Payment Entry]
LEFT JOIN
[CRONUS UK Ltd_$Bank Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bank Account]
ON
[Applied Payment Entry].[Bank Account No_] = [Bank Account].[No_] | |||||||
2 | Statement No. ![]() ![]() | Statement No. | Normal | Code | 20 | Statement No_ | nvarchar(40) |
3 | Statement Line No. ![]() ![]() | Statement Line No. | Normal | Integer | 4 | Statement Line No_ | int |
20 | Statement Type ![]() ![]() | Statement Type | Normal | Option | 4 | Statement Type | int |
Available options are:
| |||||||
21 | Account Type ![]() ![]() | Account Type | Normal | Option | 4 | Account Type | int |
Available options are:
| |||||||
22 | Account No. ![]() ![]() | Account No. | Normal | Code | 20 | Account No_ | nvarchar(40) |
Key to join to the G/L Account table.Show/hide example querySELECT
[Applied Payment Entry].[Account No_]
,[G/L Account].[No_]
FROM
[CRONUS UK Ltd_$Applied Payment Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Applied Payment Entry]
LEFT JOIN
[CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account]
ON
[Applied Payment Entry].[Account No_] = [G/L Account].[No_] | |||||||
23 | Applies-to Entry No. ![]() ![]() | Applies-to Entry No. | Normal | Integer | 4 | Applies-to Entry No_ | int |
24 | Applied Amount ![]() | Applied Amount | Normal | Decimal | 12 | Applied Amount | decimal(38,38) |
29 | Applied Pmt. Discount ![]() | Applied Pmt. Discount | Normal | Decimal | 12 | Applied Pmt_ Discount | decimal(38,38) |
30 | Quality ![]() | Quality | Normal | Integer | 4 | Quality | int |
31 | Posting Date ![]() | Posting Date | Normal | Date | 4 | Posting Date | datetime |
32 | Document Type ![]() | Document Type | Normal | Option | 4 | Document Type | int |
Available options are:
| |||||||
33 | Document No. ![]() | Document No. | Normal | Code | 20 | Document No_ | nvarchar(40) |
34 | Description ![]() | Description | Normal | Text | 100 | Description | nvarchar(200) |
35 | Currency Code ![]() | Currency Code | Normal | Code | 10 | Currency Code | nvarchar(20) |
Key to join to the Currency table.Show/hide example querySELECT
[Applied Payment Entry].[Currency Code]
,[Currency].[Code]
FROM
[CRONUS UK Ltd_$Applied Payment Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Applied Payment Entry]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Applied Payment Entry].[Currency Code] = [Currency].[Code] | |||||||
36 | Due Date ![]() | Due Date | Normal | Date | 4 | Due Date | datetime |
37 | External Document No. ![]() | External Document No. | Normal | Code | 35 | External Document No_ | nvarchar(70) |
50 | Match Confidence ![]() | Match Confidence | Normal | Option | 4 | Match Confidence | int |
Available options are:
| |||||||
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
[Applied Payment Entry].[$systemCreatedBy]
,[User].[User Security ID]
FROM
[CRONUS UK Ltd_$Applied Payment Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Applied Payment Entry]
LEFT JOIN
[User] AS [User]
ON
[Applied Payment Entry].[$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
[Applied Payment Entry].[$systemModifiedBy]
,[User].[User Security ID]
FROM
[CRONUS UK Ltd_$Applied Payment Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Applied Payment Entry]
LEFT JOIN
[User] AS [User]
ON
[Applied Payment Entry].[$systemModifiedBy] = [User].[User Security ID] |