Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/925
Table Type: Company
Table Name: Item Availability Buffer
Database Table Name: CRONUS UK Ltd_$Item Availability 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 Item Availability Buffer can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Item Availability Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Item No_]
,[Period Type]
,[Period Name]
,[Period Start]
,[Period End]
,[Gross Requirement]
,[Scheduled Receipt]
,[Planned Order Receipt]
,[Projected Available Balance]
,[Inventory]
,[Qty_ on Purch_ Order]
,[Qty_ on Sales Order]
,[Qty_ on Service Order]
,[Qty_ on Job Order]
,[Trans_ Ord_ Shipment (Qty_)]
,[Qty_ in Transit]
,[Trans_ Ord_ Receipt (Qty_)]
,[Qty_ on Asm_ Comp_ Lines]
,[Qty_ on Assembly Order]
,[Expected Inventory]
,[Available Inventory]
,[Scheduled Receipt (Qty_)]
,[Scheduled Issue (Qty_)]
,[Planned Order Releases]
,[Net Change]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Item Availability 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_$Item Availability Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Availability Buffer]
LEFT JOIN
[User] AS [User]
ON
[Item Availability Buffer].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Item Availability Buffer].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Item Availability Buffer table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Item No. | Item No. | Normal | Code | 20 | Item No_ | nvarchar(40) |
Key to join to the Item table.Show/hide example querySELECT [Item Availability Buffer].[Item No_] ,[Item].[No_] FROM [CRONUS UK Ltd_$Item Availability Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Availability Buffer] LEFT JOIN [CRONUS UK Ltd_$Item$437dbf0e-84ff-417a-965d-ed2bb9650972$ext] AS [Item] ON [Item Availability Buffer].[Item No_] = [Item].[No_] | |||||||
5 | Period Type | Period Type | Normal | Option | 4 | Period Type | int |
Available options are:
| |||||||
6 | Period Name | Period Name | Normal | Text | 50 | Period Name | nvarchar(100) |
7 | Period Start | Period Start | Normal | Date | 4 | Period Start | datetime |
8 | Period End | Period End | Normal | Date | 4 | Period End | datetime |
10 | Gross Requirement | Gross Requirement | Normal | Decimal | 12 | Gross Requirement | decimal(38,38) |
11 | Scheduled Receipt | Scheduled Receipt | Normal | Decimal | 12 | Scheduled Receipt | decimal(38,38) |
12 | Planned Order Receipt | Planned Order Receipt | Normal | Decimal | 12 | Planned Order Receipt | decimal(38,38) |
13 | Projected Available Balance | Projected Available Balance | Normal | Decimal | 12 | Projected Available Balance | decimal(38,38) |
14 | Inventory | Inventory | Normal | Decimal | 12 | Inventory | decimal(38,38) |
15 | Qty. on Purch. Order | Qty. on Purch. Order | Normal | Decimal | 12 | Qty_ on Purch_ Order | decimal(38,38) |
16 | Qty. on Sales Order | Qty. on Sales Order | Normal | Decimal | 12 | Qty_ on Sales Order | decimal(38,38) |
17 | Qty. on Service Order | Qty. on Service Order | Normal | Decimal | 12 | Qty_ on Service Order | decimal(38,38) |
18 | Qty. on Job Order | Qty. on Job Order | Normal | Decimal | 12 | Qty_ on Job Order | decimal(38,38) |
19 | Trans. Ord. Shipment (Qty.) | Trans. Ord. Shipment (Qty.) | Normal | Decimal | 12 | Trans_ Ord_ Shipment (Qty_) | decimal(38,38) |
20 | Qty. in Transit | Qty. in Transit | Normal | Decimal | 12 | Qty_ in Transit | decimal(38,38) |
21 | Trans. Ord. Receipt (Qty.) | Trans. Ord. Receipt (Qty.) | Normal | Decimal | 12 | Trans_ Ord_ Receipt (Qty_) | decimal(38,38) |
22 | Qty. on Asm. Comp. Lines | Qty. on Asm. Comp. Lines | Normal | Decimal | 12 | Qty_ on Asm_ Comp_ Lines | decimal(38,38) |
23 | Qty. on Assembly Order | Qty. on Assembly Order | Normal | Decimal | 12 | Qty_ on Assembly Order | decimal(38,38) |
24 | Expected Inventory | Expected Inventory | Normal | Decimal | 12 | Expected Inventory | decimal(38,38) |
25 | Available Inventory | Available Inventory | Normal | Decimal | 12 | Available Inventory | decimal(38,38) |
26 | Scheduled Receipt (Qty.) | Scheduled Receipt (Qty.) | Normal | Decimal | 12 | Scheduled Receipt (Qty_) | decimal(38,38) |
27 | Scheduled Issue (Qty.) | Scheduled Issue (Qty.) | Normal | Decimal | 12 | Scheduled Issue (Qty_) | decimal(38,38) |
28 | Planned Order Releases | Planned Order Releases | Normal | Decimal | 12 | Planned Order Releases | decimal(38,38) |
29 | Net Change | Net Change | Normal | Decimal | 12 | Net Change | 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 [Item Availability Buffer].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Item Availability Buffer$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Availability Buffer] LEFT JOIN [User] AS [User] ON [Item Availability Buffer].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |