Reject/Recount a Cycle Count Adjustment Record
This API is used to reject/recount a pending Cycle Count (CC) adjustment record.
URL
POST .../wms/lgfapi/v10/entity/cc_adjustment_hdr/reject/
Request Parameters
| Category | Parameter/Field Name | Type | Required | 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 | location_barcode | String | C | Location barcode subjected to CC adjustment record. |
| parameters | group_nbr | String | C | Group number of a specific CC adjustment record. |
| options | comment | String | CC adjustment rejection comments. This field supports a maximum of 250 characters. If you pass a value longer than the 250 characters, the API fails with an error message. |
Note:
- This API is supported only in the synchronous mode.
- If facility or company context isn’t provided, the API will use your default facility/company.
- You must pass either one or both “location_barcode” and “group_nbr” fields.
- If the “location_barcode” is provided without “group_nbr” and multiple pending CC adjustment records are found for the specified location, the API returns an error message “Multiple pending CC adjustment records found for the location %LOCATION_BARCODE. Please provide group_nbr”. This validation prevents unintended bulk rejection of pending CC records when you perform item driven cycle count for a location.
Request Body
{
"parameters":
{
"facility_id": 648,
"company_id": 369,
"location_barcode": "ACTR000107",
"group_nbr": 33457
},
"options":
{
"comment": "CC rejected due to conflict"
}
}