Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5
Table Type: Company
Table Name: Finance Charge Terms
Database Table Name: CRONUS UK Ltd_$Finance Charge Terms$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 Finance Charge Terms can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Finance Charge Terms$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Code]
,[Interest Rate]
,[Minimum Amount (LCY)]
,[Additional Fee (LCY)]
,[Description]
,[Interest Calculation Method]
,[Interest Period (Days)]
,[Grace Period]
,[Due Date Calculation]
,[Interest Calculation]
,[Post Interest]
,[Post Additional Fee]
,[Line Description]
,[Add_ Line Fee in Interest]
,[Detailed Lines Description]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Finance Charge Terms$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Finance Charge Terms$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Finance Charge Terms]
LEFT JOIN
[User] AS [User]
ON
[Finance Charge Terms].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Finance Charge Terms].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Finance Charge Terms table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Code | Code | Normal | Code | 10 | Code | nvarchar(20) |
2 | Interest Rate | Interest Rate | Normal | Decimal | 12 | Interest Rate | decimal(38,38) |
3 | Minimum Amount (LCY) | Minimum Amount ($) | Normal | Decimal | 12 | Minimum Amount (LCY) | decimal(38,38) |
5 | Additional Fee (LCY) | Additional Fee ($) | Normal | Decimal | 12 | Additional Fee (LCY) | decimal(38,38) |
7 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
8 | Interest Calculation Method | Interest Calculation Method | Normal | Option | 4 | Interest Calculation Method | int |
Available options are:
| |||||||
9 | Interest Period (Days) | Interest Period (Days) | Normal | Integer | 4 | Interest Period (Days) | int |
10 | Grace Period | Grace Period | Normal | DateFormula | 32 | Grace Period | varchar(32) |
11 | Due Date Calculation | Due Date Calculation | Normal | DateFormula | 32 | Due Date Calculation | varchar(32) |
12 | Interest Calculation | Interest Calculation | Normal | Option | 4 | Interest Calculation | int |
Available options are:
| |||||||
13 | Post Interest | Post Interest | Normal | Boolean | 4 | Post Interest | tinyint |
14 | Post Additional Fee | Post Additional Fee | Normal | Boolean | 4 | Post Additional Fee | tinyint |
15 | Line Description | Line Description | Normal | Text | 100 | Line Description | nvarchar(200) |
16 | Add. Line Fee in Interest | Add. Line Fee in Interest | Normal | Boolean | 4 | Add_ Line Fee in Interest | tinyint |
30 | Detailed Lines Description | Detailed Lines Description | Normal | Text | 100 | Detailed Lines Description | nvarchar(200) |
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 [Finance Charge Terms].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Finance Charge Terms$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Finance Charge Terms] LEFT JOIN [User] AS [User] ON [Finance Charge Terms].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |