Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/1003
Table Type: Company
Table Name: Job Planning Line
Database Table Name: CRONUS UK Ltd_$Job Planning 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 Job Planning Line can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Job Planning Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Line No_]
,[Job No_]
,[Planning Date]
,[Document No_]
,[Type]
,[No_]
,[Description]
,[Quantity]
,[Direct Unit Cost (LCY)]
,[Unit Cost (LCY)]
,[Total Cost (LCY)]
,[Unit Price (LCY)]
,[Total Price (LCY)]
,[Resource Group No_]
,[Unit of Measure Code]
,[Qty_ Rounding Precision]
,[Qty_ Rounding Precision (Base)]
,[Location Code]
,[Last Date Modified]
,[User ID]
,[Work Type Code]
,[Customer Price Group]
,[Country_Region Code]
,[Gen_ Bus_ Posting Group]
,[Gen_ Prod_ Posting Group]
,[Document Date]
,[Planning Due Date]
,[Job Task No_]
,[Line Amount (LCY)]
,[Unit Cost]
,[Total Cost]
,[Unit Price]
,[Total Price]
,[Line Amount]
,[Line Discount Amount]
,[Line Discount Amount (LCY)]
,[Cost Factor]
,[Serial No_]
,[Lot No_]
,[Line Discount _]
,[Line Type]
,[Currency Code]
,[Currency Date]
,[Currency Factor]
,[Schedule Line]
,[Contract Line]
,[Job Contract Entry No_]
,[VAT Unit Price]
,[VAT Line Discount Amount]
,[VAT Line Amount]
,[VAT _]
,[Description 2]
,[Job Ledger Entry No_]
,[Status]
,[Ledger Entry Type]
,[Ledger Entry No_]
,[Usage Link]
,[Remaining Qty_]
,[Remaining Qty_ (Base)]
,[Remaining Total Cost]
,[Remaining Total Cost (LCY)]
,[Remaining Line Amount]
,[Remaining Line Amount (LCY)]
,[Qty_ Posted]
,[Qty_ to Transfer to Journal]
,[Posted Total Cost]
,[Posted Total Cost (LCY)]
,[Posted Line Amount]
,[Posted Line Amount (LCY)]
,[Qty_ to Transfer to Invoice]
,[Qty_ to Invoice]
,[Reserve]
,[Planned]
,[Variant Code]
,[Bin Code]
,[Qty_ per Unit of Measure]
,[Quantity (Base)]
,[Requested Delivery Date]
,[Promised Delivery Date]
,[Planned Delivery Date]
,[Service Order No_]
,[Package No_]
,[Price Calculation Method]
,[Cost Calculation Method]
,[Qty_ Picked]
,[Qty_ Picked (Base)]
,[Completely Picked]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Job Planning Line$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Job Planning Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Planning Line]
LEFT JOIN
[CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
ON
[Job Planning Line].[Location Code] = [Location].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Work Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Type]
ON
[Job Planning Line].[Work Type Code] = [Work Type].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Customer Price Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer Price Group]
ON
[Job Planning Line].[Customer Price Group] = [Customer Price Group].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency]
ON
[Job Planning Line].[Currency Code] = [Currency].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant]
ON
[Job Planning Line].[Variant Code] = [Item Variant].[Code]
LEFT JOIN
[CRONUS UK Ltd_$Bin$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bin]
ON
[Job Planning Line].[Bin Code] = [Bin].[Code]
LEFT JOIN
[User] AS [User]
ON
[Job Planning Line].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Job Planning Line].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Job Planning Line 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 | Job No. | Job No. | Normal | Code | 20 | Job No_ | nvarchar(40) |
Key to join to the Job table.Show/hide example querySELECT [Job Planning Line].[Job No_] ,[Job].[No_] FROM [CRONUS UK Ltd_$Job Planning Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Planning Line] LEFT JOIN [CRONUS UK Ltd_$Job$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job] ON [Job Planning Line].[Job No_] = [Job].[No_] | |||||||
3 | Planning Date | Planning Date | Normal | Date | 4 | Planning Date | datetime |
4 | Document No. | Document No. | Normal | Code | 20 | Document No_ | nvarchar(40) |
5 | Type | Type | Normal | Option | 4 | Type | int |
Available options are:
| |||||||
7 | No. | No. | Normal | Code | 20 | No_ | nvarchar(40) |
8 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
9 | Quantity | Quantity | Normal | Decimal | 12 | Quantity | decimal(38,38) |
11 | Direct Unit Cost (LCY) | Direct Unit Cost ($) | Normal | Decimal | 12 | Direct Unit Cost (LCY) | decimal(38,38) |
12 | Unit Cost (LCY) | Unit Cost ($) | Normal | Decimal | 12 | Unit Cost (LCY) | decimal(38,38) |
13 | Total Cost (LCY) | Total Cost ($) | Normal | Decimal | 12 | Total Cost (LCY) | decimal(38,38) |
14 | Unit Price (LCY) | Unit Price ($) | Normal | Decimal | 12 | Unit Price (LCY) | decimal(38,38) |
15 | Total Price (LCY) | Total Price ($) | Normal | Decimal | 12 | Total Price (LCY) | decimal(38,38) |
16 | Resource Group No. | Resource Group No. | Normal | Code | 20 | Resource Group No_ | nvarchar(40) |
Key to join to the Resource Group table.Show/hide example querySELECT [Job Planning Line].[Resource Group No_] ,[Resource Group].[No_] FROM [CRONUS UK Ltd_$Job Planning Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Planning Line] LEFT JOIN [CRONUS UK Ltd_$Resource Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Resource Group] ON [Job Planning Line].[Resource Group No_] = [Resource Group].[No_] | |||||||
17 | Unit of Measure Code | Unit of Measure Code | Normal | Code | 10 | Unit of Measure Code | nvarchar(20) |
18 | Qty. Rounding Precision | Qty. Rounding Precision | Normal | Decimal | 12 | Qty_ Rounding Precision | decimal(38,38) |
19 | Qty. Rounding Precision (Base) | Qty. Rounding Precision (Base) | Normal | Decimal | 12 | Qty_ Rounding Precision (Base) | decimal(38,38) |
20 | Location Code | Location Code | Normal | Code | 10 | Location Code | nvarchar(20) |
Key to join to the Location table.Show/hide example querySELECT [Job Planning Line].[Location Code] ,[Location].[Code] FROM [CRONUS UK Ltd_$Job Planning Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Planning Line] LEFT JOIN [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location] ON [Job Planning Line].[Location Code] = [Location].[Code] | |||||||
29 | Last Date Modified | Last Date Modified | Normal | Date | 4 | Last Date Modified | datetime |
30 | User ID | User ID | Normal | Code | 50 | User ID | nvarchar(100) |
32 | Work Type Code | Work Type Code | Normal | Code | 10 | Work Type Code | nvarchar(20) |
Key to join to the Work Type table.Show/hide example querySELECT [Job Planning Line].[Work Type Code] ,[Work Type].[Code] FROM [CRONUS UK Ltd_$Job Planning Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Planning Line] LEFT JOIN [CRONUS UK Ltd_$Work Type$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Work Type] ON [Job Planning Line].[Work Type Code] = [Work Type].[Code] | |||||||
33 | Customer Price Group | Customer Price Group | Normal | Code | 10 | Customer Price Group | nvarchar(20) |
Key to join to the Customer Price Group table.Show/hide example querySELECT [Job Planning Line].[Customer Price Group] ,[Customer Price Group].[Code] FROM [CRONUS UK Ltd_$Job Planning Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Planning Line] LEFT JOIN [CRONUS UK Ltd_$Customer Price Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Customer Price Group] ON [Job Planning Line].[Customer Price Group] = [Customer Price Group].[Code] | |||||||
79 | Country/Region Code | Country/Region Code | Normal | Code | 10 | Country_Region Code | nvarchar(20) |
80 | 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 [Job Planning Line].[Gen_ Bus_ Posting Group] ,[Gen. Business Posting Group].[Code] FROM [CRONUS UK Ltd_$Job Planning Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Planning Line] LEFT JOIN [CRONUS UK Ltd_$Gen_ Business Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Business Posting Group] ON [Job Planning Line].[Gen_ Bus_ Posting Group] = [Gen. Business Posting Group].[Code] | |||||||
81 | 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 [Job Planning Line].[Gen_ Prod_ Posting Group] ,[Gen. Product Posting Group].[Code] FROM [CRONUS UK Ltd_$Job Planning Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Planning Line] LEFT JOIN [CRONUS UK Ltd_$Gen_ Product Posting Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Gen. Product Posting Group] ON [Job Planning Line].[Gen_ Prod_ Posting Group] = [Gen. Product Posting Group].[Code] | |||||||
83 | Document Date | Document Date | Normal | Date | 4 | Document Date | datetime |
84 | Planning Due Date | Planning Due Date | Normal | Date | 4 | Planning Due Date | datetime |
1000 | Job Task No. | Job Task No. | Normal | Code | 20 | Job Task No_ | nvarchar(40) |
1001 | Line Amount (LCY) | Line Amount ($) | Normal | Decimal | 12 | Line Amount (LCY) | decimal(38,38) |
1002 | Unit Cost | Unit Cost | Normal | Decimal | 12 | Unit Cost | decimal(38,38) |
1003 | Total Cost | Total Cost | Normal | Decimal | 12 | Total Cost | decimal(38,38) |
1004 | Unit Price | Unit Price | Normal | Decimal | 12 | Unit Price | decimal(38,38) |
1005 | Total Price | Total Price | Normal | Decimal | 12 | Total Price | decimal(38,38) |
1006 | Line Amount | Line Amount | Normal | Decimal | 12 | Line Amount | decimal(38,38) |
1007 | Line Discount Amount | Line Discount Amount | Normal | Decimal | 12 | Line Discount Amount | decimal(38,38) |
1008 | Line Discount Amount (LCY) | Line Discount Amount ($) | Normal | Decimal | 12 | Line Discount Amount (LCY) | decimal(38,38) |
1015 | Cost Factor | Cost Factor | Normal | Decimal | 12 | Cost Factor | decimal(38,38) |
1019 | Serial No. | Serial No. | Normal | Code | 50 | Serial No_ | nvarchar(100) |
1020 | Lot No. | Lot No. | Normal | Code | 50 | Lot No_ | nvarchar(100) |
1021 | Line Discount % | Line Discount % | Normal | Decimal | 12 | Line Discount _ | decimal(38,38) |
1022 | Line Type | Line Type | Normal | Option | 4 | Line Type | int |
Available options are:
| |||||||
1023 | Currency Code | Currency Code | Normal | Code | 10 | Currency Code | nvarchar(20) |
Key to join to the Currency table.Show/hide example querySELECT [Job Planning Line].[Currency Code] ,[Currency].[Code] FROM [CRONUS UK Ltd_$Job Planning Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Planning Line] LEFT JOIN [CRONUS UK Ltd_$Currency$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Currency] ON [Job Planning Line].[Currency Code] = [Currency].[Code] | |||||||
1024 | Currency Date | Currency Date | Normal | Date | 4 | Currency Date | datetime |
1025 | Currency Factor | Currency Factor | Normal | Decimal | 12 | Currency Factor | decimal(38,38) |
1026 | Schedule Line | Budget Line | Normal | Boolean | 4 | Schedule Line | tinyint |
1027 | Contract Line | Billable Line | Normal | Boolean | 4 | Contract Line | tinyint |
1030 | Job Contract Entry No. | Job Contract Entry No. | Normal | Integer | 4 | Job Contract Entry No_ | int |
1035 | Invoiced Amount (LCY) | Invoiced Amount ($) | FlowField | Decimal | 12 | ||
1036 | Invoiced Cost Amount (LCY) | Invoiced Cost Amount ($) | FlowField | Decimal | 12 | ||
1037 | VAT Unit Price | Tax Unit Price | Normal | Decimal | 12 | VAT Unit Price | decimal(38,38) |
1038 | VAT Line Discount Amount | VAT Line Discount Amount | Normal | Decimal | 12 | VAT Line Discount Amount | decimal(38,38) |
1039 | VAT Line Amount | VAT Line Amount | Normal | Decimal | 12 | VAT Line Amount | decimal(38,38) |
1041 | VAT % | Tax % | Normal | Decimal | 12 | VAT _ | decimal(38,38) |
1042 | Description 2 | Description 2 | Normal | Text | 50 | Description 2 | nvarchar(100) |
1043 | Job Ledger Entry No. | Job Ledger Entry No. | Normal | Integer | 4 | Job Ledger Entry No_ | int |
Key to join to the Job Ledger Entry table.Show/hide example querySELECT [Job Planning Line].[Job Ledger Entry No_] ,[Job Ledger Entry].[Entry No_] FROM [CRONUS UK Ltd_$Job Planning Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Planning Line] LEFT JOIN [CRONUS UK Ltd_$Job Ledger Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Ledger Entry] ON [Job Planning Line].[Job Ledger Entry No_] = [Job Ledger Entry].[Entry No_] | |||||||
1048 | Status | Status | Normal | Option | 4 | Status | int |
Available options are:
| |||||||
1050 | Ledger Entry Type | Ledger Entry Type | Normal | Option | 4 | Ledger Entry Type | int |
Available options are:
| |||||||
1051 | Ledger Entry No. | Ledger Entry No. | Normal | Integer | 4 | Ledger Entry No_ | int |
Key to join to the G/L Entry table.Show/hide example querySELECT [Job Planning Line].[Ledger Entry No_] ,[G/L Entry].[Entry No_] FROM [CRONUS UK Ltd_$Job Planning Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Planning Line] LEFT JOIN [CRONUS UK Ltd_$G_L Entry$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [G/L Entry] ON [Job Planning Line].[Ledger Entry No_] = [G/L Entry].[Entry No_] | |||||||
1052 | System-Created Entry | System-Created Entry | Normal | Boolean | 4 | ||
1053 | Usage Link | Usage Link | Normal | Boolean | 4 | Usage Link | tinyint |
1060 | Remaining Qty. | Remaining Qty. | Normal | Decimal | 12 | Remaining Qty_ | decimal(38,38) |
1061 | Remaining Qty. (Base) | Remaining Qty. (Base) | Normal | Decimal | 12 | Remaining Qty_ (Base) | decimal(38,38) |
1062 | Remaining Total Cost | Remaining Total Cost | Normal | Decimal | 12 | Remaining Total Cost | decimal(38,38) |
1063 | Remaining Total Cost (LCY) | Remaining Total Cost ($) | Normal | Decimal | 12 | Remaining Total Cost (LCY) | decimal(38,38) |
1064 | Remaining Line Amount | Remaining Line Amount | Normal | Decimal | 12 | Remaining Line Amount | decimal(38,38) |
1065 | Remaining Line Amount (LCY) | Remaining Line Amount ($) | Normal | Decimal | 12 | Remaining Line Amount (LCY) | decimal(38,38) |
1070 | Qty. Posted | Qty. Posted | Normal | Decimal | 12 | Qty_ Posted | decimal(38,38) |
1071 | Qty. to Transfer to Journal | Qty. to Transfer to Journal | Normal | Decimal | 12 | Qty_ to Transfer to Journal | decimal(38,38) |
1072 | Posted Total Cost | Posted Total Cost | Normal | Decimal | 12 | Posted Total Cost | decimal(38,38) |
1073 | Posted Total Cost (LCY) | Posted Total Cost ($) | Normal | Decimal | 12 | Posted Total Cost (LCY) | decimal(38,38) |
1074 | Posted Line Amount | Posted Line Amount | Normal | Decimal | 12 | Posted Line Amount | decimal(38,38) |
1075 | Posted Line Amount (LCY) | Posted Line Amount ($) | Normal | Decimal | 12 | Posted Line Amount (LCY) | decimal(38,38) |
1080 | Qty. Transferred to Invoice | Qty. Transferred to Invoice | FlowField | Decimal | 12 | ||
1081 | Qty. to Transfer to Invoice | Qty. to Transfer to Invoice | Normal | Decimal | 12 | Qty_ to Transfer to Invoice | decimal(38,38) |
1090 | Qty. Invoiced | Qty. Invoiced | FlowField | Decimal | 12 | ||
1091 | Qty. to Invoice | Qty. to Invoice | Normal | Decimal | 12 | Qty_ to Invoice | decimal(38,38) |
1100 | Reserved Quantity | Reserved Quantity | FlowField | Decimal | 12 | ||
1101 | Reserved Qty. (Base) | Reserved Qty. (Base) | FlowField | Decimal | 12 | ||
1102 | Reserve | Reserve | Normal | Option | 4 | Reserve | int |
Available options are:
| |||||||
1103 | Planned | Planned | Normal | Boolean | 4 | Planned | tinyint |
5402 | Variant Code | Variant Code | Normal | Code | 10 | Variant Code | nvarchar(20) |
Key to join to the Item Variant table.Show/hide example querySELECT [Job Planning Line].[Variant Code] ,[Item Variant].[Code] FROM [CRONUS UK Ltd_$Job Planning Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Planning Line] LEFT JOIN [CRONUS UK Ltd_$Item Variant$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Item Variant] ON [Job Planning Line].[Variant Code] = [Item Variant].[Code] | |||||||
5403 | Bin Code | Bin Code | Normal | Code | 20 | Bin Code | nvarchar(40) |
Key to join to the Bin table.Show/hide example querySELECT [Job Planning Line].[Bin Code] ,[Bin].[Code] FROM [CRONUS UK Ltd_$Job Planning Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Planning Line] LEFT JOIN [CRONUS UK Ltd_$Bin$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Bin] ON [Job Planning Line].[Bin Code] = [Bin].[Code] | |||||||
5404 | Qty. per Unit of Measure | Qty. per Unit of Measure | Normal | Decimal | 12 | Qty_ per Unit of Measure | decimal(38,38) |
5410 | Quantity (Base) | Quantity (Base) | Normal | Decimal | 12 | Quantity (Base) | decimal(38,38) |
5790 | Requested Delivery Date | Requested Delivery Date | Normal | Date | 4 | Requested Delivery Date | datetime |
5791 | Promised Delivery Date | Promised Delivery Date | Normal | Date | 4 | Promised Delivery Date | datetime |
5794 | Planned Delivery Date | Planned Delivery Date | Normal | Date | 4 | Planned Delivery Date | datetime |
5900 | Service Order No. | Service Order No. | Normal | Code | 20 | Service Order No_ | nvarchar(40) |
6515 | Package No. | Package No. | Normal | Code | 50 | Package No_ | nvarchar(100) |
7000 | Price Calculation Method | Price Calculation Method | Normal | Option | 4 | Price Calculation Method | int |
Available options are:
| |||||||
7001 | Cost Calculation Method | Cost Calculation Method | Normal | Option | 4 | Cost Calculation Method | int |
Available options are:
| |||||||
7300 | Pick Qty. | Pick Qty. | FlowField | Decimal | 12 | ||
7301 | Qty. Picked | Qty. Picked | Normal | Decimal | 12 | Qty_ Picked | decimal(38,38) |
7302 | Qty. Picked (Base) | Qty. Picked (Base) | Normal | Decimal | 12 | Qty_ Picked (Base) | decimal(38,38) |
7303 | Completely Picked | Completely Picked | Normal | Boolean | 4 | Completely Picked | tinyint |
7304 | Pick Qty. (Base) | Pick Qty. (Base) | FlowField | Decimal | 12 | ||
7305 | Qty. on Journal | Qty. on Journal | FlowField | Decimal | 12 | ||
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 [Job Planning Line].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Job Planning Line$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Job Planning Line] LEFT JOIN [User] AS [User] ON [Job Planning Line].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |