Quality Check Reject
The Quality Check Reject API allows you to reject QC marked containers, so you can perform the quality check from an external QC module without accessing the Oracle WMS Cloud platform.
API URL: Lookup by ID
POST.../entity/iblpn/{id}/qc_reject/
API URL: Lookup by Filters
POST.../entity/iblpn/qc_reject/
| Category | Name | Required | Type | Description |
|---|---|---|---|---|
| parameters | facility_id | Integer | Facility context by id | |
| parameters | facility_id__code | string | Facility context by code | |
| parameters | company_id | Integer | Company context by id | |
| parameters | company_id__code | string | Company context by code | |
| parameters | container_nbr | X | string | IBLPN subjected to QC |
| Category | Name | Type | Description |
|---|---|---|---|
| Options | vendor_perf_code | String | Vendor performance code, users want to pass for the QC transaction |
| Options | lock_code | string | Unallocatable lock code bring the QC rejected inventory within WMS |
- If facility and/or company are provided, set login context accordingly.
- Only one of `facility_id` or `facility_id__code` may be provided.
- Only one of `company_id` or `company_id__code` may be provided.
- Lock code is an optional parameter. If users do not send the lock code, the rejected LPNs should get cancelled. If the lock code parameter is populated with a unallocatable lock code, the system should mark the LPN as received with QC status as QC Rejected. Users cannot provide allocatable lock codes to reject an IBLPN.
Bulk Reject URL
POST.../entity/iblpn/bulk_qc_reject/
Request Body
{
"parameters": {
"id__in": [1, 2, 3]
},
"options": {
"lock_code": "KHLOC01"
"vendor_perf_code": "KHVND001",
"commit_frequency": 1,
}
}
The commit frequency is by default set to 0. If it is set to 0, the system should roll back on first error/ If the commit frequency is set to 1, the system should commit per object.
Additionally, users should be able to send either container ID or container number in the parameter body. Hence, if users are sending container IDs, they can send as "id_in": [40129, 20138]. If users are sending container number, they can send [KHLPN01, KHLPN02].
Validations
- If the container number or either of the ids sent as the request is not present in the system, the system should throw the following error "%LPN not found".
- If the container number or either of the ids sent as the request is not marked with QC (status not equals to 'Quality Check' the system should throw the following error "%LPN is not in valid status"
- If users send allocatable lock codes, the system should throw the following error, "Cannot reject with an allocatable lock code"
- During bulk reject, that if some of the LPNs already have the lock code applied which is also being sent in the request body, the system should reject the LPNs which do not have the lock code applied by default.
- If the LPN is present in a different facility then the API should respond with the following message " "%LPN not found"".
- If users send an invalid Vendor Performance code, the API should respond with the following message "Invalid vendor code".