Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5876
Table Type: Company
Table Name: Phys. Invt. Order Line
Database Table Name: CRONUS UK Ltd_$Phys_ Invt_ Order Line$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 Phys. Invt. Order Line can be queried.
Show/hide an example select of all columns
Show/hide an example select of all columns by name
Show/hide an example select of all columns including those from all joined tables
Show/hide columns in Phys. Invt. Order Line table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Document No. ![]() | Document No. | Normal | Code | 20 | Document No_ | nvarchar(40) |
2 | Line No. ![]() ![]() | Line No. | Normal | Integer | 4 | Line No_ | int |
12 | On Recording Lines ![]() ![]() | On Recording Lines | Normal | Boolean | 4 | On Recording Lines | tinyint |
20 | Item No. ![]() | Item No. | Normal | Code | 20 | Item No_ | nvarchar(40) |
Key to join to the Item table.Show/hide example query | |||||||
21 | Variant Code ![]() | Variant Code | Normal | Code | 10 | Variant Code | nvarchar(20) |
Key to join to the Item Variant table.Show/hide example query | |||||||
22 | Location Code ![]() | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example query | |||||||
23 | Bin Code ![]() | Bin Code | Normal | Code | 20 | Bin Code | nvarchar(40) |
Key to join to the Bin table.Show/hide example query | |||||||
30 | Description ![]() | Description | Normal | Text | 100 | Description | nvarchar(200) |
31 | Description 2 ![]() | Description 2 | Normal | Text | 50 | Description 2 | nvarchar(100) |
32 | Unit of Measure ![]() | Unit of Measure | Normal | Text | 50 | Unit of Measure | nvarchar(100) |
Key to join to the Unit of Measure table.Show/hide example query | |||||||
40 | Base Unit of Measure Code ![]() | Base Unit of Measure Code | Normal | Code | 10 | Base Unit of Measure Code | nvarchar(20) |
Key to join to the Unit of Measure table.Show/hide example query | |||||||
50 | Qty. Expected (Base) ![]() | Qty. Expected (Base) | Normal | Decimal | 12 | Qty_ Expected (Base) | decimal(38,38) |
51 | Qty. Exp. Calculated ![]() | Qty. Exp. Calculated | Normal | Boolean | 4 | Qty_ Exp_ Calculated | tinyint |
52 | Qty. Exp. Item Tracking (Base) ![]() | Qty. Exp. Item Tracking (Base) | FlowField | Decimal | 12 | ||
53 | Use Item Tracking ![]() | Use Item Tracking | Normal | Boolean | 4 | Use Item Tracking | tinyint |
55 | Last Item Ledger Entry No. ![]() | Last Item Ledger Entry No. | Normal | Integer | 4 | Last Item Ledger Entry No_ | int |
Key to join to the Item Ledger Entry table.Show/hide example query | |||||||
60 | Unit Amount ![]() | Unit Amount | Normal | Decimal | 12 | Unit Amount | decimal(38,38) |
62 | Unit Cost ![]() | Unit Cost | Normal | Decimal | 12 | Unit Cost | decimal(38,38) |
70 | No. Finished Rec.-Lines ![]() | No. Finished Rec.-Lines | Normal | Integer | 4 | No_ Finished Rec_-Lines | int |
71 | Qty. Recorded (Base) ![]() | Qty. Recorded (Base) | Normal | Decimal | 12 | Qty_ Recorded (Base) | decimal(38,38) |
72 | Quantity (Base) ![]() | Quantity (Base) | Normal | Decimal | 12 | Quantity (Base) | decimal(38,38) |
73 | Entry Type ![]() | Entry Type | Normal | Option | 4 | Entry Type | int |
Available options are:
| |||||||
74 | Pos. Qty. (Base) ![]() | Pos. Qty. (Base) | Normal | Decimal | 12 | Pos_ Qty_ (Base) | decimal(38,38) |
75 | Neg. Qty. (Base) ![]() | Neg. Qty. (Base) | Normal | Decimal | 12 | Neg_ Qty_ (Base) | decimal(38,38) |
76 | Without Difference ![]() | Without Difference | Normal | Boolean | 4 | Without Difference | tinyint |
80 | Recorded Without Order ![]() | Recorded Without Order | Normal | Boolean | 4 | Recorded Without Order | tinyint |
90 | Shortcut Dimension 1 Code ![]() | Shortcut Dimension 1 Code | Normal | Code | 20 | Shortcut Dimension 1 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example query | |||||||
91 | Shortcut Dimension 2 Code ![]() | Shortcut Dimension 2 Code | Normal | Code | 20 | Shortcut Dimension 2 Code | nvarchar(40) |
Key to join to the Dimension table.Show/hide example query | |||||||
100 | Shelf No. ![]() | Shelf No. | Normal | Code | 10 | Shelf No_ | nvarchar(20) |
110 | 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 query | |||||||
111 | 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 query | |||||||
112 | Inventory Posting Group ![]() | Inventory Posting Group | Normal | Code | 20 | Inventory Posting Group | nvarchar(40) |
Key to join to the Inventory Posting Group table.Show/hide example query | |||||||
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 query | |||||||
5704 | Item Category Code ![]() | Item Category Code | Normal | Code | 20 | Item Category Code | nvarchar(40) |
Key to join to the Item Category table.Show/hide example query | |||||||
5725 | Item Reference No. ![]() | Item Reference No. | Normal | Code | 50 | Item Reference No_ | nvarchar(100) |
5726 | Item Reference Unit of Measure ![]() | Item Reference Unit of Measure | Normal | Code | 10 | Item Reference Unit of Measure | nvarchar(20) |
5727 | Item Reference Type ![]() | Item Reference Type | Normal | Option | 4 | Item Reference Type | int |
Available options are:
| |||||||
5728 | Item Reference Type No. ![]() | Item Reference Type No. | Normal | Code | 30 | Item Reference Type No_ | nvarchar(60) |
7380 | Phys Invt Counting Period Code ![]() | Phys Invt Counting Period Code | Normal | Code | 10 | Phys Invt Counting Period Code | nvarchar(20) |
Key to join to the Phys. Invt. Counting Period table.Show/hide example query | |||||||
7381 | Phys Invt Counting Period Type ![]() | Phys Invt Counting Period Type | Normal | Option | 4 | Phys Invt Counting Period Type | int |
Available options are:
| |||||||
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 query | |||||||
2000000003 | SystemModifiedAt ![]() | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy ![]() | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |