Terminate#
The task allows the user to Terminate a Material.
Example
Trigger:
- Task Name:
MaterialRetrievePost_1 - Meaning: After performing Retrieve Material.
Condition:
- Input Expression:
{{$MaterialRetrievePost.Material.PrimaryQuantity<=1}} - Meaning: If the Primary Quantity of the Material that was retrieved is less or equal to 1.
Action:
- Input:
{{$MaterialRetrievePost.Material}}"Discarded Leftover"
- Meaning: The Material that was retrieved is terminated with the reason
"Discarded Leftover".
Behavior#
The user will define a Material.
Inputs#
| Name | Data Type | Description | Expression |
|---|---|---|---|
Material | Material | The Material that will be terminated | -{{$<task_name>.Material}} - <material_name> |
LossReason | Reason | The Material Loss reason | - <reason_name> |
LossClassification1 | String | The Loss Classification 1 | |
LossClassification2 | String | The Loss Classification 2 | |
LossClassification3 | String | The Loss Classification 3 | |
LossClassification4 | String | The Loss Classification 4 | |
Comment | String | An optional comment that will be associated with the operation that is being executed |
Outputs#
| Name | Data Type | Description |
|---|---|---|
Material | Material | The Material that was terminated |
Remarks#
The Material input can be defined by the user as a simple name or an expression, such as {{$task.Material}} where task is the name of a block that has the Material as input/output.
