Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5813
Table Type: Company
Table Name: Inventory Posting Setup
Database Table Name: CRONUS UK Ltd_$Inventory Posting Setup$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 Inventory Posting Setup can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Inventory Posting Setup$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Location Code]
,[Invt_ Posting Group Code]
,[Inventory Account]
,[Description]
,[View All Accounts on Lookup]
,[Inventory Account (Interim)]
,[WIP Account]
,[Material Variance Account]
,[Capacity Variance Account]
,[Mfg_ Overhead Variance Account]
,[Cap_ Overhead Variance Account]
,[Subcontracted Variance Account]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Inventory Posting Setup$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Inventory Posting Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Posting Setup]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Inventory Posting Setup].[Location Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account]
ON
[Inventory Posting Setup].[Inventory Account] = [G/L Account].[No_]
LEFT JOIN
[CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account]
ON
[Inventory Posting Setup].[Inventory Account (Interim)] = [G/L Account].[No_]
LEFT JOIN
[CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account]
ON
[Inventory Posting Setup].[WIP Account] = [G/L Account].[No_]
LEFT JOIN
[CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account]
ON
[Inventory Posting Setup].[Material Variance Account] = [G/L Account].[No_]
LEFT JOIN
[CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account]
ON
[Inventory Posting Setup].[Capacity Variance Account] = [G/L Account].[No_]
LEFT JOIN
[CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account]
ON
[Inventory Posting Setup].[Subcontracted Variance Account] = [G/L Account].[No_]
LEFT JOIN
[User] AS [User]
ON
[Inventory Posting Setup].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Inventory Posting Setup].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Inventory Posting Setup table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Location Code | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [Inventory Posting Setup].[Location Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Inventory Posting Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Posting Setup] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Inventory Posting Setup].[Location Code] = [Location].[Code] | |||||||
2 | 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 [Inventory Posting Setup].[Invt_ Posting Group Code] ,[Inventory Posting Group].[Code] FROM [CRONUS UK Ltd_$Inventory Posting Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Posting Setup] LEFT JOIN [CRONUS UK Ltd_$Inventory Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Posting Group] ON [Inventory Posting Setup].[Invt_ Posting Group Code] = [Inventory Posting Group].[Code] | |||||||
6 | Inventory Account | Inventory Account | Normal | Code | 20 | Inventory Account | nvarchar(40) |
Key to join to the G/L Account table.Show/hide example querySELECT [Inventory Posting Setup].[Inventory Account] ,[G/L Account].[No_] FROM [CRONUS UK Ltd_$Inventory Posting Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Posting Setup] LEFT JOIN [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] ON [Inventory Posting Setup].[Inventory Account] = [G/L Account].[No_] | |||||||
20 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
21 | View All Accounts on Lookup | View All Accounts on Lookup | Normal | Boolean | 4 | View All Accounts on Lookup | tinyint |
5800 | Inventory Account (Interim) | Inventory Account (Interim) | Normal | Code | 20 | Inventory Account (Interim) | nvarchar(40) |
Key to join to the G/L Account table.Show/hide example querySELECT [Inventory Posting Setup].[Inventory Account (Interim)] ,[G/L Account].[No_] FROM [CRONUS UK Ltd_$Inventory Posting Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Posting Setup] LEFT JOIN [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] ON [Inventory Posting Setup].[Inventory Account (Interim)] = [G/L Account].[No_] | |||||||
99000750 | WIP Account | WIP Account | Normal | Code | 20 | WIP Account | nvarchar(40) |
Key to join to the G/L Account table.Show/hide example querySELECT [Inventory Posting Setup].[WIP Account] ,[G/L Account].[No_] FROM [CRONUS UK Ltd_$Inventory Posting Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Posting Setup] LEFT JOIN [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] ON [Inventory Posting Setup].[WIP Account] = [G/L Account].[No_] | |||||||
99000753 | Material Variance Account | Material Variance Account | Normal | Code | 20 | Material Variance Account | nvarchar(40) |
Key to join to the G/L Account table.Show/hide example querySELECT [Inventory Posting Setup].[Material Variance Account] ,[G/L Account].[No_] FROM [CRONUS UK Ltd_$Inventory Posting Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Posting Setup] LEFT JOIN [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] ON [Inventory Posting Setup].[Material Variance Account] = [G/L Account].[No_] | |||||||
99000754 | Capacity Variance Account | Capacity Variance Account | Normal | Code | 20 | Capacity Variance Account | nvarchar(40) |
Key to join to the G/L Account table.Show/hide example querySELECT [Inventory Posting Setup].[Capacity Variance Account] ,[G/L Account].[No_] FROM [CRONUS UK Ltd_$Inventory Posting Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Posting Setup] LEFT JOIN [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] ON [Inventory Posting Setup].[Capacity Variance Account] = [G/L Account].[No_] | |||||||
99000755 | Mfg. Overhead Variance Account | Mfg. Overhead Variance Account | Normal | Code | 20 | Mfg_ Overhead Variance Account | nvarchar(40) |
Key to join to the G/L Account table.Show/hide example querySELECT [Inventory Posting Setup].[Mfg_ Overhead Variance Account] ,[G/L Account].[No_] FROM [CRONUS UK Ltd_$Inventory Posting Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Posting Setup] LEFT JOIN [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] ON [Inventory Posting Setup].[Mfg_ Overhead Variance Account] = [G/L Account].[No_] | |||||||
99000756 | Cap. Overhead Variance Account | Cap. Overhead Variance Account | Normal | Code | 20 | Cap_ Overhead Variance Account | nvarchar(40) |
Key to join to the G/L Account table.Show/hide example querySELECT [Inventory Posting Setup].[Cap_ Overhead Variance Account] ,[G/L Account].[No_] FROM [CRONUS UK Ltd_$Inventory Posting Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Posting Setup] LEFT JOIN [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] ON [Inventory Posting Setup].[Cap_ Overhead Variance Account] = [G/L Account].[No_] | |||||||
99000757 | Subcontracted Variance Account | Subcontracted Variance Account | Normal | Code | 20 | Subcontracted Variance Account | nvarchar(40) |
Key to join to the G/L Account table.Show/hide example querySELECT [Inventory Posting Setup].[Subcontracted Variance Account] ,[G/L Account].[No_] FROM [CRONUS UK Ltd_$Inventory Posting Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Posting Setup] LEFT JOIN [CRONUS UK Ltd_$G_L Account$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Account] ON [Inventory Posting Setup].[Subcontracted Variance Account] = [G/L Account].[No_] | |||||||
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 [Inventory Posting Setup].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Inventory Posting Setup$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Posting Setup] LEFT JOIN [User] AS [User] ON [Inventory Posting Setup].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |