Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/303
Table Type: Company
Table Name: Finance Charge Memo Line
Database Table Name: CRONUS UK Ltd_$Finance Charge Memo Line$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 Memo Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Finance Charge Memo Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Finance Charge Memo No_]
,[Line No_]
,[Attached to Line No_]
,[Type]
,[Entry No_]
,[Posting Date]
,[Document Date]
,[Due Date]
,[Document Type]
,[Document No_]
,[Description]
,[Original Amount]
,[Remaining Amount]
,[No_]
,[Amount]
,[Interest Rate]
,[Gen_ Prod_ Posting Group]
,[VAT _]
,[VAT Calculation Type]
,[VAT Amount]
,[Tax Group Code]
,[VAT Prod_ Posting Group]
,[VAT Identifier]
,[Line Type]
,[VAT Clause Code]
,[Detailed Interest Rates Entry]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Finance Charge Memo Line$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 Memo Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Finance Charge Memo Line]
LEFT JOIN
[CRONUS UK Ltd_$Sales Header Archive$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header Archive]
ON
[Finance Charge Memo Line].[Document Type] = [Sales Header Archive].[Document Type]
AND
[Finance Charge Memo Line].[Document No_] = [Sales Header Archive].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header]
ON
[Finance Charge Memo Line].[Document Type] = [Sales Header].[Document Type]
AND
[Finance Charge Memo Line].[Document No_] = [Sales Header].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Tax Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Group]
ON
[Finance Charge Memo Line].[Tax Group Code] = [Tax Group].[Code]
LEFT JOIN
[CRONUS UK Ltd_$VAT Clause$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Clause]
ON
[Finance Charge Memo Line].[VAT Clause Code] = [VAT Clause].[Code]
LEFT JOIN
[User] AS [User]
ON
[Finance Charge Memo Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Finance Charge Memo Line].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Finance Charge Memo Line table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Finance Charge Memo No. | Finance Charge Memo No. | Normal | Code | 20 | Finance Charge Memo No_ | nvarchar(40) |
2 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
3 | Attached to Line No. | Attached to Line No. | Normal | Integer | 4 | Attached to Line No_ | int |
4 | Type | Type | Normal | Option | 4 | Type | int |
Available options are:
| |||||||
5 | Entry No. | Entry No. | Normal | Integer | 4 | Entry No_ | int |
7 | Posting Date | Posting Date | Normal | Date | 4 | Posting Date | datetime |
8 | Document Date | Document Date | Normal | Date | 4 | Document Date | datetime |
9 | Due Date | Due Date | Normal | Date | 4 | Due Date | datetime |
10 | Document Type | Document Type | Normal | Option | 4 | Document Type | int |
Available options are:
| |||||||
11 | Document No. | Document No. | Normal | Code | 20 | Document No_ | nvarchar(40) |
12 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
13 | Original Amount | Original Amount | Normal | Decimal | 12 | Original Amount | decimal(38,38) |
14 | Remaining Amount | Remaining Amount | Normal | Decimal | 12 | Remaining Amount | decimal(38,38) |
15 | No. | No. | Normal | Code | 20 | No_ | nvarchar(40) |
16 | Amount | Amount | Normal | Decimal | 12 | Amount | decimal(38,38) |
17 | Interest Rate | Interest Rate | Normal | Decimal | 12 | Interest Rate | decimal(38,38) |
18 | Gen. Prod. Posting Group | Gen. Prod. Posting Group | Normal | Code | 20 | Gen_ Prod_ Posting Group | nvarchar(40) |
Key to join to the Gen. Product Posting Group table.Show/hide example querySELECT [Finance Charge Memo Line].[Gen_ Prod_ Posting Group] ,[Gen. Product Posting Group].[Code] FROM [CRONUS UK Ltd_$Finance Charge Memo Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Finance Charge Memo Line] LEFT JOIN [CRONUS UK Ltd_$Gen_ Product Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Product Posting Group] ON [Finance Charge Memo Line].[Gen_ Prod_ Posting Group] = [Gen. Product Posting Group].[Code] | |||||||
19 | VAT % | Tax % | Normal | Decimal | 12 | VAT _ | decimal(38,38) |
20 | VAT Calculation Type | VAT Calculation Type | Normal | Option | 4 | VAT Calculation Type | int |
Available options are:
| |||||||
21 | VAT Amount | Tax Amount | Normal | Decimal | 12 | VAT Amount | decimal(38,38) |
22 | Tax Group Code | Tax Group Code | Normal | Code | 20 | Tax Group Code | nvarchar(40) |
Key to join to the Tax Group table.Show/hide example querySELECT [Finance Charge Memo Line].[Tax Group Code] ,[Tax Group].[Code] FROM [CRONUS UK Ltd_$Finance Charge Memo Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Finance Charge Memo Line] LEFT JOIN [CRONUS UK Ltd_$Tax Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Tax Group] ON [Finance Charge Memo Line].[Tax Group Code] = [Tax Group].[Code] | |||||||
23 | VAT Prod. Posting Group | VAT Prod. Posting Group | Normal | Code | 20 | VAT Prod_ Posting Group | nvarchar(40) |
Key to join to the VAT Product Posting Group table.Show/hide example querySELECT [Finance Charge Memo Line].[VAT Prod_ Posting Group] ,[VAT Product Posting Group].[Code] FROM [CRONUS UK Ltd_$Finance Charge Memo Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Finance Charge Memo Line] LEFT JOIN [CRONUS UK Ltd_$VAT Product Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Product Posting Group] ON [Finance Charge Memo Line].[VAT Prod_ Posting Group] = [VAT Product Posting Group].[Code] | |||||||
24 | VAT Identifier | Tax Identifier | Normal | Code | 20 | VAT Identifier | nvarchar(40) |
25 | Line Type | Line Type | Normal | Option | 4 | Line Type | int |
Available options are:
| |||||||
26 | VAT Clause Code | Tax Clause Code | Normal | Code | 20 | VAT Clause Code | nvarchar(40) |
Key to join to the VAT Clause table.Show/hide example querySELECT [Finance Charge Memo Line].[VAT Clause Code] ,[VAT Clause].[Code] FROM [CRONUS UK Ltd_$Finance Charge Memo Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Finance Charge Memo Line] LEFT JOIN [CRONUS UK Ltd_$VAT Clause$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [VAT Clause] ON [Finance Charge Memo Line].[VAT Clause Code] = [VAT Clause].[Code] | |||||||
30 | Detailed Interest Rates Entry | Detailed Interest Rates Entry | Normal | Boolean | 4 | Detailed Interest Rates Entry | tinyint |
101 | System-Created Entry | System-Created Entry | Normal | Boolean | 4 | ||
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 Memo Line].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Finance Charge Memo Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Finance Charge Memo Line] LEFT JOIN [User] AS [User] ON [Finance Charge Memo Line].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |