Bulk Reject/Recount Cycle Count Adjustment Records
This API is used to bulk reject/recount pending Cycle Count (CC) adjustment record(s).
URL
POST .../wms/lgfapi/v10/entity/cc_adjustment_hdr/bulk_reject/
Request Parameters
| Category | Parameter/Field Name | Type | Required | Description |
|---|---|---|---|---|
| parameters | facility_id | Integer | No | Facility context by id. |
| parameters | facility_id__code | String | No | Facility context by code. |
| parameters | company_id | Integer | No | Company context by id. |
| parameters | company_id__code | String | No | Company context by code. |
| parameters | group_nbr__in | String | Yes | Group numbers of CC adjustment records. You can pass a single or multiple group numbers. |
| options | comment | String | No | 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. |
| options | cc_task_type | String | No | Valid item-driven cycle task type description to create item-driven count tasks. You can pass only item-driven cycle count task type description in the payload. |
| options | priority | Integer | Conditional | Task Priority. If cc_task_type value is passed, then you must pass a value in the priority field. |
| options | commit_frequency | Integer | No |
Frequency at which the changes are applied to each resource or group of resources being processed. Supported values:
|
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.
- When rejecting location-driven cc adjustment records, if reject/recount cc trigger is enabled, the system creates location level cycle count task. For more details on validations, refer “Create Item Driven Cycle Count Tasks for Rejected Counts” section in Online Help.
- When an MHE-driven cycle count adjustment populated with an MHE system is rejected through this API and a task is created, the system sends Cycle Count Task Info to that specific MHE system.
Request Body
{
"parameters":
{
"facility_id": 648,
"company_id": 369,
"group_nbr__in": [101, 102, 103]
},
"options":
{
"cc_task_type": "CC By Item",
"priority": 20,
"comment": "CC rejected due to conflict",
"commit_frequency": 1
}
}
Sample Response
{
"record_count": 3,
"success_count": 3,
"failure_count": 0,
"data": null,
"details": null
}