Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5822
Table Type: Company
Table Name: Invt. Post to G/L Test Buffer
Database Table Name:
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 Invt. Post to G/L Test Buffer can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[]
Show/hide an example select of all columns by name
SELECT
[Line No_]
,[Account No_]
,[Posting Date]
,[Document No_]
,[Description]
,[Amount]
,[Source Code]
,[Gen_ Bus_ Posting Group]
,[Gen_ Prod_ Posting Group]
,[Additional-Currency Posting]
,[Source Currency Code]
,[Source Currency Amount]
,[Value Entry No_]
,[Location Code]
,[Invt_ Posting Group Code]
,[Inventory Account Type]
,[Dimension Set ID]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Invt_ Post to G_L Test Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Invt. Post to G/L Test Buffer]
LEFT JOIN
[CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code]
ON
[Invt. Post to G/L Test Buffer].[Source Code] = [Source Code].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Invt. Post to G/L Test Buffer].[Source Currency Code] = [Currency].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Invt. Post to G/L Test Buffer].[Location Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry]
ON
[Invt. Post to G/L Test Buffer].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID]
LEFT JOIN
[User] AS [User]
ON
[Invt. Post to G/L Test Buffer].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Invt. Post to G/L Test Buffer].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Invt. Post to G/L Test Buffer table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Line No. | Line No. | Normal | Integer | 4 | Line No_ | int |
2 | Account No. | Account No. | Normal | Code | 20 | Account No_ | nvarchar(40) |
Key to join to the G/L Account table.Show/hide example querySELECT [Invt. Post to G/L Test Buffer].[Account No_] ,[G/L Account].[No_] FROM [] AS [Invt. Post to G/L Test Buffer] LEFT JOIN [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] ON [Invt. Post to G/L Test Buffer].[Account No_] = [G/L Account].[No_] | |||||||
3 | Posting Date | Posting Date | Normal | Date | 4 | Posting Date | datetime |
4 | Document No. | Document No. | Normal | Code | 20 | Document No_ | nvarchar(40) |
5 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
6 | Amount | Amount | Normal | Decimal | 12 | Amount | decimal(38,38) |
8 | Source Code | Source Code | Normal | Code | 10 | Source Code | nvarchar(20) |
Key to join to the Source Code table.Show/hide example querySELECT [Invt. Post to G/L Test Buffer].[Source Code] ,[Source Code].[Code] FROM [] AS [Invt. Post to G/L Test Buffer] LEFT JOIN [CRONUS UK Ltd_$Source Code$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Source Code] ON [Invt. Post to G/L Test Buffer].[Source Code] = [Source Code].[Code] | |||||||
9 | System-Created Entry | System-Created Entry | Normal | Boolean | 4 | ||
10 | Gen. Bus. Posting Group | Gen. Bus. Posting Group | Normal | Code | 20 | Gen_ Bus_ Posting Group | nvarchar(40) |
Key to join to the Gen. Business Posting Group table.Show/hide example querySELECT [Invt. Post to G/L Test Buffer].[Gen_ Bus_ Posting Group] ,[Gen. Business Posting Group].[Code] FROM [] AS [Invt. Post to G/L Test Buffer] LEFT JOIN [CRONUS UK Ltd_$Gen_ Business Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Business Posting Group] ON [Invt. Post to G/L Test Buffer].[Gen_ Bus_ Posting Group] = [Gen. Business Posting Group].[Code] | |||||||
11 | 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 [Invt. Post to G/L Test Buffer].[Gen_ Prod_ Posting Group] ,[Gen. Product Posting Group].[Code] FROM [] AS [Invt. Post to G/L Test Buffer] LEFT JOIN [CRONUS UK Ltd_$Gen_ Product Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Product Posting Group] ON [Invt. Post to G/L Test Buffer].[Gen_ Prod_ Posting Group] = [Gen. Product Posting Group].[Code] | |||||||
13 | Additional-Currency Posting | Additional-Currency Posting | Normal | Option | 4 | Additional-Currency Posting | int |
Available options are:
| |||||||
14 | Source Currency Code | Source Currency Code | Normal | Code | 10 | Source Currency Code | nvarchar(20) |
Key to join to the Currency table.Show/hide example querySELECT [Invt. Post to G/L Test Buffer].[Source Currency Code] ,[Currency].[Code] FROM [] AS [Invt. Post to G/L Test Buffer] LEFT JOIN [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency] ON [Invt. Post to G/L Test Buffer].[Source Currency Code] = [Currency].[Code] | |||||||
15 | Source Currency Amount | Source Currency Amount | Normal | Decimal | 12 | Source Currency Amount | decimal(38,38) |
16 | Value Entry No. | Value Entry No. | Normal | Integer | 4 | Value Entry No_ | int |
Key to join to the Value Entry table.Show/hide example querySELECT [Invt. Post to G/L Test Buffer].[Value Entry No_] ,[Value Entry].[Entry No_] FROM [] AS [Invt. Post to G/L Test Buffer] LEFT JOIN [CRONUS UK Ltd_$Value Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Value Entry] ON [Invt. Post to G/L Test Buffer].[Value Entry No_] = [Value Entry].[Entry No_] | |||||||
17 | Location Code | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [Invt. Post to G/L Test Buffer].[Location Code] ,[Location].[Code] FROM [] AS [Invt. Post to G/L Test Buffer] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Invt. Post to G/L Test Buffer].[Location Code] = [Location].[Code] | |||||||
18 | Invt. Posting Group Code | Invt. Posting Group Code | Normal | Code | 20 | Invt_ Posting Group Code | nvarchar(40) |
Key to join to the Inventory Posting Group table.Show/hide example querySELECT [Invt. Post to G/L Test Buffer].[Invt_ Posting Group Code] ,[Inventory Posting Group].[Code] FROM [] AS [Invt. Post to G/L Test Buffer] LEFT JOIN [CRONUS UK Ltd_$Inventory Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Posting Group] ON [Invt. Post to G/L Test Buffer].[Invt_ Posting Group Code] = [Inventory Posting Group].[Code] | |||||||
19 | Inventory Account Type | Inventory Account Type | Normal | Option | 4 | Inventory Account Type | int |
Available options are:
| |||||||
480 | Dimension Set ID | Dimension Set ID | Normal | Integer | 4 | Dimension Set ID | int |
Key to join to the Dimension Set Entry table.Show/hide example querySELECT [Invt. Post to G/L Test Buffer].[Dimension Set ID] ,[Dimension Set Entry].[Dimension Set ID] FROM [] AS [Invt. Post to G/L Test Buffer] LEFT JOIN [CRONUS UK Ltd_$Dimension Set Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Dimension Set Entry] ON [Invt. Post to G/L Test Buffer].[Dimension Set ID] = [Dimension Set Entry].[Dimension Set ID] | |||||||
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 [Invt. Post to G/L Test Buffer].[$systemCreatedBy] ,[User].[User Security ID] FROM [] AS [Invt. Post to G/L Test Buffer] LEFT JOIN [User] AS [User] ON [Invt. Post to G/L Test Buffer].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |