--- alias: user-guide-automation-task-oib-newpackagingunitrequestresult tags: - automation tasks description: "This task processes packaging unit data requests, providing result details and status updates" --- # New PackagingUnit Data Request Result The `New PackagingUnit Data Request Result` task uses the `GetNewPackagingUnitData()` method on ISiplaceSetupCenterExternalControl interface. This task is normally used in conjunction with the `NewPackagingUnitDataRequest` task. This task outputs the task inputs back to the driver. ![1562171137862](./images/newpackagingunitrequestresult_parameters.png) ## Inputs | Name | Data Type | Description | |------------------------------|-----------|--------------------------------------------------------------------------------------| | externalControlResultMessage | `string` | Message describing the reason for the failing operation | | resultState | `number` | The result status of the returned ExternalControlResult. | | componentName | `string` | Component name within SIPLACE Pro. Range: 1- 256 signs | | quantity | `number` | The actual quantity of the packaging unit. | | originalQuantity | `number` | The original quantity is the ticketed initial size (quantity) of the packaging unit. | | batchId | `string` | Unique identification for a component lot of one or more packaging units | | expiryDate | `string` | Component expiry date (the Date is transferred as UTC times). | | msdOpenDate | `string` | MSD open date (the Date is transferred as UTC times). | | msdLevel | `number` | JEDEC Moisture Sensitivity Level 1-6. | | consumptionDate | `string` | This is the time stamp from the consuming operation performed by Setup Center | | extraParameters | `Object` | Object to allow setting of remaining parameters on PackagingUnit | | Activate | `Any` | Activate the task | ## Outputs | Name | Data Type | Description | | ------- | --------- | ------------------------------------------------ | | reply | `any` | Reply received from the command | | Success | `Boolean` | Triggered when the task is executed with success | | Error | `Error` | Triggered when the task failed for some reason | ## Settings This task doesn't have any settings. ![1562259678207](./images/newpackagingunitrequestresult_settings.png) ## Behavior In a typical usage scenario, this task replies to the `NewPackagingUnitDataRequest` task. ## Remarks None.