BatchField coding group

Defines the possible fields for the batch header and unit field assignment.

Lua access code

To access the code of the codings below, append the coding group name and coding name to inmation.model.codes, see an example below.

return inmation.model.codes.BatchField.ACQUISITIONTYPE

Codings

Name Code Description
ACQUISITIONTYPE 125 Specifies the acquisition type of the batch record. Can be one of 'Historical Data', 'Actual Data' and 'Real-Time Data'
ANNOTATIONPROHIBITED 82 Annotation Prohibited
BATCHCONTROLID 94 Batch Control ID
BATCHERPID 31 Batch ERP ID
BATCHERPORDERNUMBER 30 Batch ERP Order Number
BATCHID 16 Batch ID
BATCHMESID 32 Batch MES ID
BATCHNUMBER 17 Batch Number
BATCHSIZE 33 Batch Size
BATCHSIZEEU 34 Batch Size Eng. Unit
BATCHSOURCEID 95 Batch Source ID
BATCHSTATUS 19 Batch Status
BATCHSYSTEMID 96 Batch System ID
CAMPAIGNERPID 37 Campaign ERP ID
CAMPAIGNERPORDERNUMBER 38 Campaign ERP Order Number
CAMPAIGNID 35 Campaign ID
CAMPAIGNMESID 36 Campaign MES ID
CAMPAIGNSIZE 39 Campaign Size
CAMPAIGNSIZEEU 40 Campaign Size Eng. Unit
CLEANINGACTUAL 83 Cleaning Actual
CLEANINGCODE 84 Cleaning Code
CLEANINGEU 85 Cleaning Eng. Unit
CLEANINGNAME 86 Cleaning Name
CLEANINGSETPOINT 87 Cleaning Setpoint
CONTROLRECIPENAME 14 Control Recipe Name
CUSTOMMEASUREMENT 43 Custom Measurement
CUSTOMQUALITY 46 Custom Quality
CUSTOMSTATE 45 Custom State
CUSTOMTIMESTAMP 44 Custom Timestamp
DATAACQUISITIONTYPE 124 Data Acquisition Type
DOWNTIME 77 Down-Time
DOWNTIMECAUSE 88 Down-Time Cause
DOWNTIMEEU 78 Down-Time Eng. Unit
EDUCTACTUAL 11 Educt Actual
EDUCTCODE 13 Educt Code
EDUCTEU 9 Educt Eng. Unit
EDUCTNAME 8 Educt Name
EDUCTSETPOINT 10 Educt Setpoint
ENDTIME 2 End Time
ENERGYCONSUMPTION 89 Energy Consumption
ENERGYCONSUMPTIONCOST 92 Energy Consumption Cost
ENERGYCONSUMPTIONCOSTCURRENCY 93 Energy Consumption Cost Currency
ENERGYCONSUMPTIONEU 90 Energy Consumption Eng. Unit
ENERGYCONSUMPTIONLIMIT 91 Energy Consumption Limit
EQUIPMENTACTIVE 26 Must return true or false in order to determine equipment active state
EQUIPMENTSTATE 27 Must return one of the standardized OMAC states for the equipment
ERPORDER 28 Must return the ERP order ident for the batch
EVENTNUMBER 122
EVENTTIME 123
EXTENSIONPROHIBITED 81 BPR Extension Prohibited
EXTENSIONTIME 79 BPR Extension Time
EXTENSIONTIMEEU 80 BPR Extension Time Eng. Unit
LOTID 65 Lot ID
MASTERRECIPENAME 15 Master Recipe Name
MASTERRECIPEVERSION 7 Master Recipe Version
MATERIALDEFINITIONID 66 Material Definition ID
MATERIALTYPE 20 Material Type
MATERIALTYPECODE 21 Material Type Code
MESID 29 Must return the MES Batch ID in case different than the equipment batch ident
OPERATIONID 63 Operation ID
OPERATIONINSTANCE 112 Operation Instance Number
OPERATIONNAME 64 Operation Name
OPERATIONSEQUENCE 111 Operation Sequence Number
OPERATORNAME 113 Operator Name, responsible for Batch, Procedure, Operation etc.
PHASEID 114 Phase ID
PHASEINSTANCE 115 Phase Instance Number
PHASENAME 116 Phase Name
PHASESEQUENCE 117 Phase Sequence Number
PRODUCTACTUAL 6 Product Actual
PRODUCTCODE 12 Product Code
PRODUCTEU 4 Product Eng. Unit
PRODUCTIONVERSION 25 Production Version
PRODUCTNAME 3 Product Name
PRODUCTSETPOINT 5 Product Setpoint
RECIPETYPE 18 Recipe Type
RECORDTYPE 108 S88 Record Type
REINSERTACTUAL 72 Reinsert Actual
REINSERTCODE 73 Reinsert Code
REINSERTEU 74 Reinsert Eng. Unit
REINSERTNAME 75 Reinsert Name
REINSERTSETPOINT 76 Reinsert Setpoint
RUNTIME 110 The runtime of a distinct batch, procedure, operation etc.
SAMPLEANALYSISUSED 58 The statistical sampling analysis used to determine the result. No standard CodeType is defined. Example: Average, Minimum, Maximum
SAMPLEDOCUMENT 62 A JSON document according to B2MML
SAMPLEEXPECTEDRESULTS 61 The expected value or values returned from the test.
SAMPLEEXPIRATION 50 The date the sample expires
SAMPLEPHYSICALASSETID 51 A reference to a physical asset element that is associated with the sample
SAMPLEPULLREASON 49 The reason the sample was pulled
SAMPLERESULT 60 The actual value or values returned from the test
SAMPLESIZE 47 The amount of material taken for the sample
SAMPLESOPREFERENCE 52 The standard operating procedure (SOP) that is associated with the sample pull
SAMPLETEST 53 The tests on the sample
SAMPLETESTCODE 54 The test procedure used
SAMPLETESTDISPOSITION 57 An indication if the test results were acceptable. No standard identifiers defined. Example: Pass, Fail
SAMPLETESTNAME 55 The name associated with the test performed
SAMPLETESTRESULT 56 The result from a sample test
SAMPLETESTRESULTEXPIRATION 59 The date and time that the sample test results expire
SAMPLETYPE 48 The type of sample pulled. There are no standard codes defined. Examples: Receiving Sample, Online Sample, Lab Sample
SCHEDULEDENDTIME 103 Scheduled End Time
SCHEDULEDSTARTTIME 102 Scheduled Start Time
SHIFTCODE 41 Shift Code
SHIFTNAME 42 Shift Name
SOURCEBATCHAREA 105 Source Batch Area
SOURCEBATCHDATASOURCE 104 Source Batch Datasource
SOURCEDATASOURCE 100 Source Datasource
SOURCEINTERFACE 99 Source Interface
SOURCELOCALTIME 107 Source Local Time
SOURCEPRODUCT 98 Source Product
SOURCETIMESTAMP 101 Source Timestamp
SOURCETIMEZONE 106 Source Timezone
SOURCEVENDOR 97 Source Vendor
STARTTIME 1 Start Time
UNIQUEBATCHID 22 Unique Batch ID
UNITASSETCODE 24 Unit Asset Code
UNITDESCRIPTION 109 Batch Unit Description
UNITNAME 23 Unit Name
UNITPROCEDUREID 118 Unit Procedure ID
UNITPROCEDUREINSTANCE 119 Unit Procedure Instance Number
UNITPROCEDURENAME 120 Unit Procedure Name
UNITPROCEDURESEQUENCE 121 Unit Procedure Sequence Number
WASTEACTUAL 67 Waste Actual
WASTECODE 68 Waste Code
WASTEEU 69 Waste Eng. Unit
WASTENAME 70 Waste Name
WASTESETPOINT 71 Waste Setpoint