Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/1293
Table Type: Company
Table Name: Payment Application Proposal
Database Table Name: CRONUS UK Ltd_$Payment Application Proposal$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 Application Proposal can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Payment Application Proposal$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]
,[Applied Pmt_ Discount]
,[Quality]
,[Posting Date]
,[Document Type]
,[Document No_]
,[Description]
,[Currency Code]
,[Due Date]
,[External Document No_]
,[Match Confidence]
,[Pmt_ Disc_ Due Date]
,[Remaining Pmt_ Disc_ Possible]
,[Pmt_ Disc_ Tolerance Date]
,[Applied Amt_ Incl_ Discount]
,[Remaining Amount]
,[Remaining Amt_ Incl_ Discount]
,[Type]
,[Sorting Order]
,[Stmt To Rem_ Amount Difference]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Payment Application Proposal$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 Application Proposal$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Application Proposal]
LEFT JOIN
[CRONUS UK Ltd_$Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header]
ON
[Payment Application Proposal].[Document Type] = [Sales Header].[Document Type]
AND
[Payment Application Proposal].[Document No_] = [Sales Header].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Sales Header Archive$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header Archive]
ON
[Payment Application Proposal].[Document Type] = [Sales Header Archive].[Document Type]
AND
[Payment Application Proposal].[Document No_] = [Sales Header Archive].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Payment Application Proposal].[Currency Code] = [Currency].[Code]
LEFT JOIN
[User] AS [User]
ON
[Payment Application Proposal].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Payment Application Proposal].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Payment Application Proposal 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 [Payment Application Proposal].[Bank Account No_] ,[Bank Account].[No_] FROM [CRONUS UK Ltd_$Payment Application Proposal$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Application Proposal] LEFT JOIN [CRONUS UK Ltd_$Bank Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bank Account] ON [Payment Application Proposal].[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 [Payment Application Proposal].[Account No_] ,[G/L Account].[No_] FROM [CRONUS UK Ltd_$Payment Application Proposal$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Application Proposal] LEFT JOIN [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] ON [Payment Application Proposal].[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) |
25 | Applied | Applied | Normal | Boolean | 4 | Applied | tinyint |
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 [Payment Application Proposal].[Currency Code] ,[Currency].[Code] FROM [CRONUS UK Ltd_$Payment Application Proposal$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Application Proposal] LEFT JOIN [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency] ON [Payment Application Proposal].[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:
| |||||||
51 | Pmt. Disc. Due Date | Pmt. Disc. Due Date | Normal | Date | 4 | Pmt_ Disc_ Due Date | datetime |
52 | Remaining Pmt. Disc. Possible | Remaining Pmt. Disc. Possible | Normal | Decimal | 12 | Remaining Pmt_ Disc_ Possible | decimal(38,38) |
53 | Pmt. Disc. Tolerance Date | Pmt. Disc. Tolerance Date | Normal | Date | 4 | Pmt_ Disc_ Tolerance Date | datetime |
60 | Applied Amt. Incl. Discount | Applied Amt. Incl. Discount | Normal | Decimal | 12 | Applied Amt_ Incl_ Discount | decimal(38,38) |
61 | Remaining Amount | Remaining Amount | Normal | Decimal | 12 | Remaining Amount | decimal(38,38) |
62 | Remaining Amt. Incl. Discount | Remaining Amt. Incl. Discount | Normal | Decimal | 12 | Remaining Amt_ Incl_ Discount | decimal(38,38) |
63 | Type | Type | Normal | Option | 4 | Type | int |
Available options are:
| |||||||
100 | Sorting Order | Sorting Order | Normal | Integer | 4 | Sorting Order | int |
101 | Stmt To Rem. Amount Difference | Stmt To Rem. Amount Difference | Normal | Decimal | 12 | Stmt To Rem_ Amount Difference | decimal(38,38) |
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 Application Proposal].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Payment Application Proposal$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Payment Application Proposal] LEFT JOIN [User] AS [User] ON [Payment Application Proposal].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |