BatchServices Class |
Namespace: FactoryLogix.xTend.Production
The BatchServices type exposes the following members.
Name | Description | |
---|---|---|
![]() | BatchServices | Initializes a new instance of the BatchServices class |
Name | Description | |
---|---|---|
![]() | AddBatchToOrder | |
![]() | CreateBatch |
Creates a new production or receiving batch (GRN). If the type of the new batch is BatchType.Production,
then the ProcessId property must align with a valid production process for the new Batch.
If the type of the new batch is BatchType.Receiving, then the ProcessId property must align
with a valid receiving process for the new Batch.
|
![]() | CreateWorkOrder |
Creates a new production or receiving work order (GRN). If the type of the new batch is WorkOrderType.Production,
then the ProcessId property must align with a valid production process for the new Batch.
|
![]() | DeleteBatch | |
![]() | DeleteWorkOrder | |
![]() | ExecuteApprovalItemAction |
Approves or Rejects an approval item on behalf of a particular user.
This method may also be used to change the current status of the from under construction to pending approval, or vice versa.
|
![]() | FindBatchByName |
Finds an existing Batch given its name (which must be unique within the system).
Returns null if the specified order cannot be found.
|
![]() | FindBatches |
Searches the system for Batches matching the specified search criteria.
|
![]() | FindWorkOrderByNumber |
Finds an existing WorkOrder given its order number (which must be unique within the system).
Returns null if the specified order cannot be found.
|
![]() | GetBatchApproval |
Retrieves a list of the approvals associated with the specified Batch.
This includes the historical records of actions taken by individual users
against these approvals.
|
![]() | RemoveBatchFromOrder | |
![]() | UpdateBatch |
Updates the editable properties of an existing Batch, such as priorty, status, etc..
|
![]() | UpdateWorkOrder |
Updates the editable properties of an existing WorkOrder, such as status, etc..
|
![]() | UpdateWorkOrderLineItems |
Creates or updates the line items associated with a particular material purchase order
(represented by a WorkOrder of type ReceivingOrder). Any existing line items
will be deleted when this method is called, and replaced by the specified line items.
|