JobExec Class Members
- Last UpdatedNov 06, 2025
- 12 minute read
The following tables list the members exposed by JobExec.
| Name | Description | |
|---|---|---|
![]() | AllowZeroQtySplit | The AllowZeroQtySplit property is a read-only property that contains the Allow Zero Qty Split flag, which determines if the start quantity of a job created from splitting another job can be zero. |
![]() | AutoAllocateQtyToRunningJob | The AutoAllocateQtyToRunningJob property is a read-only property that contains the Auto Allocate Qty to Running Job flag. This flag determines whether quantities from the original job's quantity that is left to be produced can be allocated to a job split-off. |
![]() | CanRunWithoutOperator | The CanRunWithoutOperator property is a read-only property that contains the Can Run Without Operator flag, which determines whether the current job can continue to run if an operator is not logged onto the job. |
![]() | CertExecObject | The CertExecObject property is a read-only property that contains the Cert Exec object to give access to certification information. The Cert Exec object determines if a job requires certifications and, if so, which ones and what level of certification the user needs to have to sign off on this job. |
![]() | CurGoodQty | The CurGoodQty property is a read-only property that contains the current good quantity. |
![]() | CurJobState | The CurJobState property is a read-only property that contains the current job state. |
![]() | CurOperId | The CurOperId property is a read-only property that contains the current operation ID running on this JobExec object instance. |
![]() | CurRejectQty | The CurRejectQty property is a read-only property that contains the current reject quantity. |
![]() | CurSeqNo | The CurSeqNo property is a read-only property that contains the current sequence number of the job running on this JobExec object instance. |
![]() | CurWOId | The CurWOId property read-only property that contains the current work order running on this JobExec object instance. |
![]() | DefConsReasCD | The DefConsReasCD property is a read-only property that contains the default consumption reason code for this JobExec object instance. |
![]() | DefConsReasDesc | The DefConsReasDesc property is a read-only property that contains the default consumption reason description for this JobExec object instance. |
![]() | DefFromEntID | The DefFromEntID property is a read-only property that contains the ID of the default entity from which items are consumed for this JobExec object instance. |
![]() | DefFromEntName | The DefFromEntName property is a read-only property that contains the Default From Ent Name for this JobExec object instance. |
![]() | DefLotNo | The DefLotNo property is a read-only property that contains the default lot number. |
![]() | DefProdReasCD | The DefProdReasCD property is a read-only property that contains the default production reason code for this JobExec object instance. |
![]() | DefProdReasDesc | The DefProdReasDesc is a read-only property that contains the default production reason description for this JobExec object instance. |
![]() | DefToEntID | The DefToEntID property read-only property that contains the Default To Ent ID for this JobExec object instance. |
![]() | DefToEntName | The DefToEntName property is a read-only property that contains the Default To Ent Name for this JobExec object instance. |
![]() | JobPos | The JobPos property is a read-only property that contains the job position on the entity for this JobExec object instance. |
![]() | JobStepExecObject | The JobStepExecObject property is a read-only property that contains the JobStepExec object. A JobStepExec object is created for a job running at this job position if the job has defined steps. |
![]() | SpecExecObject | The SpecExecObject property is a read-only property that contains the SpecExec object. A SpecExec object is created for the job running at this job position if the job can gather specifications. |
![]() | SuppressStartSomeQtyPrompt | The SuppressStartSomeQtyPrompt property is a read-only property that contains a flag that, when the request to start some of a job is made, determines whether to present the Start Some dialog or to use default quantity values. |
![]() | UserLoggedIn | The UserLoggedIn property is a read-only property that contains the User Logged In flag, which indicates whether the current user is logged on. |
| Name | Description | |
|---|---|---|
![]() | AddCons | The AddCons() method adds consumption for the specified BOM item for the job running on the current job position. |
![]() | AddConsByLot | Overloaded. This overload of the AddConsByLot() method adds consumption for the item of the specified lot if the inventory of the lot has an item grade, item status, item quantity, and item entity defined. The consumption is added for the current job if there is a job for the entity on which the user is working. Consumption by lot cannot be added if there is no current job for the entity. For this overload of the method, all the quantity in inventory is consumed. |
![]() | AddJobEvent | The AddJobEvent() method adds a job event to the current job. |
![]() | AddProd | Overloaded. The AddProd() method adds production to the job running on the current job position. This overload of the method allows you to specify values for the production parameters. |
![]() | CalculateProductionTarget | The CalculateProductionTarget() method returns a DataSet containing a single row and a column for the target quantity, the target rate, and the target rate units. |
![]() | EndJob | The EndJob() method ends the specified job. The job is specified by a work order ID, an operation ID, and an operation sequence number. If the job is part of a batch, an attempt is made to end all jobs in the batch. Ending a job sets the job state to Completed. |
![]() | GetAvailLots | The GetAvailLots() method retrieves the available lots for the current job running on the current entity. |
![]() | GetBatchOfJobs | The GetBatchOfJobs() method retrieves a batch of jobs for an entity based on the supplied concurrent link. |
![]() | GetConsData | The GetConsData() method retrieves the consumption data for the current job. The consumption data can be filtered by user and by shift. |
![]() | GetJobBomAvailSubst | The GetJobBomAvailSubst() method retrieves a DataView containing all available substitute items for consumption. Available substitutes items are defined as those items that are the intersection of the substitutes for the current job, and the union of the substitutes of all the upstream jobs that produce the same item as the current one at the job's BOM position 0. |
![]() | GetJobBOMData | The GetJobBOMData() method retrieves the BOM data for the current job. If a BOM position is specified, only the BOM data for that item is returned. |
![]() | GetJobBOMProducibles | The GetJobBOMProducibles() method retrieves a DataView containing all the items that can be produced by the current job. The producible items are the item produced at BOM position 0 and any of its substitutes, along with all by-products and their substitutes. If a substitute is produced, the column current_subst in the returned DataView contains an integer value identifying the alternative item being produced. Otherwise, the current_subst column contains a null. A DataView is returned because the Middleware returns consumables as well as producibles, so the consumables are filtered out in the DataView and the rows are sorted by job position and preference. |
![]() | GetJobBomSubst | The GetJobBOMSubst() method retrieves a DataView containing all substitute items for a job at the BOM position specified. |
![]() | GetJobBOMWithSubData | The GetJobBOMWithSubData() method retrieves the BOM data and BOM substitute data for the current job. If a BOM position is specified, only the BOM data for that item is returned. |
![]() | GetJobEvents | The GetJobEvents() method returns a DataSet containing all job event data for the current job. Job events include certification sign-off, adding production, adding consumption, reclassifying production, reclassifying consumption, completing a step, changing job specifications, and changing a job state. The job event data can be filtered by step number and/or lot number. |
![]() | GetJobSchedData | The GetJobSchedData() method retrieves a DataSet of the job schedule properties for the current entity. The job schedule properties contain the sort order of the job queue for the entity. |
![]() | GetProdData | The GetProdData() method retrieves the production data for a current job. The production data can be filtered by user and shift. |
![]() | GetProduction | The GetProduction() method returns a DataSet containing a single row with a column for the current production of good items for the shift and a column for the projected production for the shift. The projected production is based on the current rate of production. |
![]() | GetQueue | The GetQueue() method retrieves the job queue for the specified entity. The job queue consists of all jobs queued to the entity. Optionally, the jobs can be filtered by job state, the required-by date, and/or job priority. Pass the DataSet to populate by reference so the existing instance can continually be refreshed. |
![]() | GetShortages | The GetShortages() method retrieves a DataSet containing any item shortages at the current entity based on its configured parameters. |
![]() | PauseJob | Overloaded. The PauseJob() method pauses the specified job by putting it in the New, On Hold, or Suspended state. The job is specified by a work order ID, an operation ID, and an operation sequence number. For this overload of the method, the current session object and current job exec object will be refreshed automatically. |
![]() | PopUpAddConsDlg | Overloaded. The PopUpAddConsDlg() method opens the Add Consumption dialog. This dialog allows the user to enter consumption for a specified BOM component of the current job. |
![]() | PopupAddProdDlg | Overloaded. This overload of the PopUpAddConsDlg() method opens the Add Production dialog. This dialog allows the user to enter production for the current job. |
![]() | PopupAddWasteDlg | The PopupAddWasteDlg() method opens the Reject form to allow the user to mark an amount of a consumed item as wasted. |
![]() | PopupCreateJobDialog | The PopupCreateJobDialog() method opens a dialog to select which item shortage on the current entity a work order must be created for. The method then opens the form for creating the work order from the process used to create the item. |
![]() | PopupEditConsDlg | The PopupEditConsDlg() method opens the Reclassify Consumption dialog. This dialog allows the user to reclassify a portion of the consumption quantity entered for the item to a different item reason. The quantity entered is removed from the current consumption amount with the original item reason and reclassified as consumption under a new item reason. |
![]() | PopupEditProdDlg | Overloaded. The PopupEditProdDlg() method opens the Reject Production dialog to allow the user to change the reported production reason for some or all of the reported quantity for a row in the Item_Prod table. |
![]() | PopupJobEventDlg | The PopupJobEventDlg() method opens the Job Event dialog for the current job. |
![]() | PopupReduceConsDlg | Overloaded. The PopupReduceConsDlg() overload method opens the Reduce Consumption dialog. This allows the user to adjust down the amount of consumption reported in a row in the Item_Cons table passing NULL value to sublot_no. |
![]() | PopupReduceProdDlg | Overloaded. This overload of the PopupReduceProdDlg() method opens the Reduce Production dialog for a lot. This dialog allows the user to adjust down the amount of production reported in a row in the Item_Prod table. |
![]() | PopupSetConsLotDataDlg | The PopupSetConsLotDataDlg() method opens the Set Lot Data dialog for consumption. The dialog allows the user to set the lot number for the consumed item and the entity in which the item is to be stored. |
![]() | PopupSetProdLotDataDlg | The PopupSetProdLotDataDlg() method opens the Set Lot Data dialog for production. The dialog allows the user to set the item being produced, the lot number for the produced item, and the entity in which the item is to be stored. |
![]() | ReadyJob | The ReadyJob() method changes the state of the specified job to Ready. The job is specified by a work order ID, an operation ID, and an operation sequence number. |
![]() | Refresh | The Refresh() method reloads this JobExec's dynamic data from the database. |
![]() | RejectProd | The RejectProd() method marks previously reported production as rejected. |
![]() | SetCurLotdata | The SetCurLotdata() method sets the current lot information for the running job. |
![]() | StartDataEntryJob | The StartDataEntryJob() method starts the specified data entry job on the current entity. A data entry job is a job that is created on the fly on the shop floor. It is specified by supplying a work order ID and an operation ID. Since no BOM 0 record exists, an item must be specified along with a default production rate and, optionally, the ID for the unit of measure used for the item. |
![]() | StartJob | The StartJob() method starts the specified job on the entity. The job is specified by a work order ID, an operation ID, and an operation sequence number. |
![]() | UnreadyJob | The UnreadyJob() method changes the state of the specified job to New. The job is specified by a work order ID, an operation ID, and an operation sequence number. |

