Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5895
Table Type: Company
Table Name: Inventory Adjustment Buffer
Database Table Name: CRONUS UK Ltd_$Inventory Adjustment Buffer$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 Adjustment Buffer can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Inventory Adjustment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Entry No_]
,[Item No_]
,[Posting Date]
,[Document No_]
,[Location Code]
,[Item Ledger Entry No_]
,[Item Ledger Entry Quantity]
,[Cost Amount (Actual)]
,[Cost Amount (Actual) (ACY)]
,[Expected Cost]
,[Valued By Average Cost]
,[Valuation Date]
,[Entry Type]
,[Variance Type]
,[Cost Amount (Expected)]
,[Cost Amount (Expected) (ACY)]
,[Variant Code]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Inventory Adjustment Buffer$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 Adjustment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Adjustment Buffer]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Inventory Adjustment Buffer].[Location Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
ON
[Inventory Adjustment Buffer].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
[User] AS [User]
ON
[Inventory Adjustment Buffer].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Inventory Adjustment Buffer].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Inventory Adjustment Buffer table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Entry No. | Entry No. | Normal | Integer | 4 | Entry No_ | int |
2 | Item No. | Item No. | Normal | Code | 20 | Item No_ | nvarchar(40) |
Key to join to the Item table.Show/hide example querySELECT [Inventory Adjustment Buffer].[Item No_] ,[Item].[No_] FROM [CRONUS UK Ltd_$Inventory Adjustment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Adjustment Buffer] LEFT JOIN [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Inventory Adjustment Buffer].[Item No_] = [Item].[No_] | |||||||
3 | Posting Date | Posting Date | Normal | Date | 4 | Posting Date | datetime |
6 | Document No. | Document No. | Normal | Code | 20 | Document No_ | nvarchar(40) |
8 | Location Code | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [Inventory Adjustment Buffer].[Location Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Inventory Adjustment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Adjustment Buffer] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Inventory Adjustment Buffer].[Location Code] = [Location].[Code] | |||||||
11 | Item Ledger Entry No. | Item Ledger Entry No. | Normal | Integer | 4 | Item Ledger Entry No_ | int |
Key to join to the Item Ledger Entry table.Show/hide example querySELECT [Inventory Adjustment Buffer].[Item Ledger Entry No_] ,[Item Ledger Entry].[Entry No_] FROM [CRONUS UK Ltd_$Inventory Adjustment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Adjustment Buffer] LEFT JOIN [CRONUS UK Ltd_$Item Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Ledger Entry] ON [Inventory Adjustment Buffer].[Item Ledger Entry No_] = [Item Ledger Entry].[Entry No_] | |||||||
13 | Item Ledger Entry Quantity | Item Ledger Entry Quantity | Normal | Decimal | 12 | Item Ledger Entry Quantity | decimal(38,38) |
43 | Cost Amount (Actual) | Cost Amount (Actual) | Normal | Decimal | 12 | Cost Amount (Actual) | decimal(38,38) |
68 | Cost Amount (Actual) (ACY) | Cost Amount (Actual) (ACY) | Normal | Decimal | 12 | Cost Amount (Actual) (ACY) | decimal(38,38) |
98 | Expected Cost | Expected Cost | Normal | Boolean | 4 | Expected Cost | tinyint |
100 | Valued By Average Cost | Valued By Average Cost | Normal | Boolean | 4 | Valued By Average Cost | tinyint |
104 | Valuation Date | Valuation Date | Normal | Date | 4 | Valuation Date | datetime |
105 | Entry Type | Entry Type | Normal | Option | 4 | Entry Type | int |
Available options are:
| |||||||
106 | Variance Type | Variance Type | Normal | Option | 4 | Variance Type | int |
Available options are:
| |||||||
151 | Cost Amount (Expected) | Cost Amount (Expected) | Normal | Decimal | 12 | Cost Amount (Expected) | decimal(38,38) |
156 | Cost Amount (Expected) (ACY) | Cost Amount (Expected) (ACY) | Normal | Decimal | 12 | Cost Amount (Expected) (ACY) | decimal(38,38) |
5402 | Variant Code | Variant Code | Normal | Code | 10 | Variant Code | nvarchar(20) |
Key to join to the Item Variant table.Show/hide example querySELECT [Inventory Adjustment Buffer].[Variant Code] ,[Item Variant].[Code] FROM [CRONUS UK Ltd_$Inventory Adjustment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Adjustment Buffer] LEFT JOIN [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant] ON [Inventory Adjustment Buffer].[Variant Code] = [Item Variant].[Code] | |||||||
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 Adjustment Buffer].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Inventory Adjustment Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Inventory Adjustment Buffer] LEFT JOIN [User] AS [User] ON [Inventory Adjustment Buffer].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |