Production Order

Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/5405

Table Type: Company

Table Name: Production Order
Database Table Name: CRONUS UK Ltd_$Production Order$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 5405

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 Production Order can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Production Order$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [timestamp]
   ,[Status]
   ,[No_]
   ,[Description]
   ,[Search Description]
   ,[Description 2]
   ,[Creation Date]
   ,[Last Date Modified]
   ,[Source Type]
   ,[Source No_]
   ,[Routing No_]
   ,[Variant Code]
   ,[Inventory Posting Group]
   ,[Gen_ Prod_ Posting Group]
   ,[Gen_ Bus_ Posting Group]
   ,[Starting Time]
   ,[Starting Date]
   ,[Ending Time]
   ,[Ending Date]
   ,[Due Date]
   ,[Finished Date]
   ,[Blocked]
   ,[Shortcut Dimension 1 Code]
   ,[Shortcut Dimension 2 Code]
   ,[Location Code]
   ,[Bin Code]
   ,[Replan Ref_ No_]
   ,[Replan Ref_ Status]
   ,[Low-Level Code]
   ,[Quantity]
   ,[Unit Cost]
   ,[Cost Amount]
   ,[No_ Series]
   ,[Planned Order No_]
   ,[Firm Planned Order No_]
   ,[Simulated Order No_]
   ,[Starting Date-Time]
   ,[Ending Date-Time]
   ,[Dimension Set ID]
   ,[Assigned User ID]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Production Order$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [CRONUS UK Ltd_$Production Order$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Production Order]
LEFT JOIN
   [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
      ON
         [Production Order].[Location Code] = [Location].[Code]

Show/hide columns in Production Order table

Column IDColumn NameData Type
1timestamp Searchtimestamp
2Status Primary Key Searchint
3No_ Primary Key Searchnvarchar(40)
4Description Searchnvarchar(200)
5Search Description Searchnvarchar(200)
6Description 2 Searchnvarchar(100)
7Creation Date Searchdatetime
8Last Date Modified Searchdatetime
9Source Type Searchint
10Source No_ Searchnvarchar(40)
11Routing No_ Searchnvarchar(40)
12Variant Code Searchnvarchar(20)
13Inventory Posting Group Searchnvarchar(40)
14Gen_ Prod_ Posting Group Searchnvarchar(40)
15Gen_ Bus_ Posting Group Searchnvarchar(40)
16Starting Time Searchdatetime
17Starting Date Searchdatetime
18Ending Time Searchdatetime
19Ending Date Searchdatetime
20Due Date Searchdatetime
21Finished Date Searchdatetime
22Blocked Searchtinyint
23Shortcut Dimension 1 Code Searchnvarchar(40)
24Shortcut Dimension 2 Code Searchnvarchar(40)
25Location Code Searchnvarchar(20)
Key to join to the Location table.

Show/hide example query

SELECT
       [Production Order].[Location Code]
       ,[Location].[Code]
FROM
       [CRONUS UK Ltd_$Production Order$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Production Order]
LEFT JOIN
       [CRONUS UK Ltd_$Location$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Location]
              ON
                     [Production Order].[Location Code] = [Location].[Code]
26Bin Code Searchnvarchar(40)
27Replan Ref_ No_ Searchnvarchar(40)
28Replan Ref_ Status Searchint
29Low-Level Code Searchint
30Quantity Searchdecimal(38,38)
31Unit Cost Searchdecimal(38,38)
32Cost Amount Searchdecimal(38,38)
33No_ Series Searchnvarchar(40)
34Planned Order No_ Searchnvarchar(40)
35Firm Planned Order No_ Searchnvarchar(40)
36Simulated Order No_ Searchnvarchar(40)
37Starting Date-Time Searchdatetime
38Ending Date-Time Searchdatetime
39Dimension Set ID Searchint
40Assigned User ID Searchnvarchar(100)
41$systemId Searchuniqueidentifier
42$systemCreatedAt Searchdatetime
43$systemCreatedBy Searchuniqueidentifier
44$systemModifiedAt Searchdatetime
45$systemModifiedBy Searchuniqueidentifier

Show/hide tables related from Production Order table

Leave a Reply

Your email address will not be published. Required fields are marked *