Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/186
Table Type: Company
Table Name: Exch. Rate Adjmt. Ledg. Entry
Database Table Name: CRONUS UK Ltd_$Exch_ Rate Adjmt_ Ledg_ 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 Exch. Rate Adjmt. Ledg. Entry can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Exch_ Rate Adjmt_ Ledg_ Entry$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Register No_]
,[Entry No_]
,[Account No_]
,[Posting Date]
,[Document Type]
,[Document No_]
,[Due Date]
,[Account Type]
,[Account Name]
,[Currency Code]
,[Currency Factor]
,[Base Amount]
,[Base Amount (LCY)]
,[Adjustment Amount]
,[Detailed Ledger Entry Type]
,[Detailed Ledger Entry No_]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Exch_ Rate Adjmt_ Ledg_ 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_$Exch_ Rate Adjmt_ Ledg_ Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Exch. Rate Adjmt. Ledg. Entry]
LEFT JOIN
[CRONUS UK Ltd_$Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header]
ON
[Exch. Rate Adjmt. Ledg. Entry].[Document Type] = [Sales Header].[Document Type]
AND
[Exch. Rate Adjmt. Ledg. Entry].[Document No_] = [Sales Header].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Sales Header Archive$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header Archive]
ON
[Exch. Rate Adjmt. Ledg. Entry].[Document Type] = [Sales Header Archive].[Document Type]
AND
[Exch. Rate Adjmt. Ledg. Entry].[Document No_] = [Sales Header Archive].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Exch. Rate Adjmt. Ledg. Entry].[Currency Code] = [Currency].[Code]
LEFT JOIN
[User] AS [User]
ON
[Exch. Rate Adjmt. Ledg. Entry].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Exch. Rate Adjmt. Ledg. Entry].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Exch. Rate Adjmt. Ledg. Entry table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Register No. | No. | Normal | Integer | 4 | Register No_ | int |
Key to join to the Logged Segment table.Show/hide example querySELECT [Exch. Rate Adjmt. Ledg. Entry].[Register No_] ,[Logged Segment].[Entry No_] FROM [CRONUS UK Ltd_$Exch_ Rate Adjmt_ Ledg_ Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Exch. Rate Adjmt. Ledg. Entry] LEFT JOIN [CRONUS UK Ltd_$Logged Segment$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Logged Segment] ON [Exch. Rate Adjmt. Ledg. Entry].[Register No_] = [Logged Segment].[Entry No_] | |||||||
2 | Entry No. | No. | Normal | Integer | 4 | Entry No_ | int |
3 | Account No. | Account No. | Normal | Code | 20 | Account No_ | nvarchar(40) |
Key to join to the G/L Account table.Show/hide example querySELECT [Exch. Rate Adjmt. Ledg. Entry].[Account No_] ,[G/L Account].[No_] FROM [CRONUS UK Ltd_$Exch_ Rate Adjmt_ Ledg_ Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Exch. Rate Adjmt. Ledg. Entry] LEFT JOIN [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] ON [Exch. Rate Adjmt. Ledg. Entry].[Account No_] = [G/L Account].[No_] | |||||||
4 | Posting Date | Posting Date | Normal | Date | 4 | Posting Date | datetime |
5 | Document Type | Document Type | Normal | Option | 4 | Document Type | int |
Available options are:
| |||||||
6 | Document No. | Document No. | Normal | Code | 20 | Document No_ | nvarchar(40) |
8 | Due Date | Due Date | Normal | Date | 4 | Due Date | datetime |
9 | Account Type | Account Type | Normal | Option | 4 | Account Type | int |
Available options are:
| |||||||
10 | Account Name | Account Name | Normal | Text | 100 | Account Name | nvarchar(200) |
11 | Currency Code | Currency Code | Normal | Code | 10 | Currency Code | nvarchar(20) |
Key to join to the Currency table.Show/hide example querySELECT [Exch. Rate Adjmt. Ledg. Entry].[Currency Code] ,[Currency].[Code] FROM [CRONUS UK Ltd_$Exch_ Rate Adjmt_ Ledg_ Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Exch. Rate Adjmt. Ledg. Entry] LEFT JOIN [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency] ON [Exch. Rate Adjmt. Ledg. Entry].[Currency Code] = [Currency].[Code] | |||||||
12 | Currency Factor | Currency Factor | Normal | Decimal | 12 | Currency Factor | decimal(38,38) |
15 | Base Amount | Base Amount | Normal | Decimal | 12 | Base Amount | decimal(38,38) |
16 | Base Amount (LCY) | Base Amount ($) | Normal | Decimal | 12 | Base Amount (LCY) | decimal(38,38) |
17 | Adjustment Amount | Adjustment Amount | Normal | Decimal | 12 | Adjustment Amount | decimal(38,38) |
19 | Detailed Ledger Entry Type | Entry Type | Normal | Option | 4 | Detailed Ledger Entry Type | int |
Available options are:
| |||||||
20 | Detailed Ledger Entry No. | Detailed Ledger Entry No. | Normal | Decimal | 12 | Detailed Ledger Entry No_ | 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 [Exch. Rate Adjmt. Ledg. Entry].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Exch_ Rate Adjmt_ Ledg_ Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Exch. Rate Adjmt. Ledg. Entry] LEFT JOIN [User] AS [User] ON [Exch. Rate Adjmt. Ledg. Entry].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |