New APIs to Approve/Reject/Cancel Cycle Count Adjustments

We are introducing new APIs to approve, reject, or cancel single or multiple Cycle Count (CC) adjustment records. 

The following table outlines the details of new APIs:

API Name

Description

URL

Sample Payload

Approve a CC Adjustment Record

This API is used to approve a pending CC adjustment record.

POST .../wms/lgfapi/v10/entity/cc_adjustment_hdr/approve/

{ 

    "parameters":

     {   

         "facility_id": 648,

         "company_id": 369,

         "location_barcode": "ACTR000107",

         "group_nbr": 33457

     },

    "options":

    {

        "comment": "CC approval"

     }


}

Reject/Recount a CC Adjustment Record

This API is used to reject/recount a pending CC adjustment record.

POST .../wms/lgfapi/v10/entity/cc_adjustment_hdr/reject/

{ 

    "parameters":

     {   

         "facility_id": 648,

         "company_id": 369,

         "location_barcode": "ACTR000107",

         "group_nbr": 33457

     },

    "options":

    {

        "comment": "CC rejected due to conflict"

     }


}

Cancel a CC Adjustment Record

This API is used to cancel a pending or in-progress CC adjustment record.

POST .../wms/lgfapi/v10/entity/cc_adjustment_hdr/cancel/

{ 

    "parameters":

     {   

         "facility_id": 648,

         "company_id": 369,

         "location_barcode": "ACTR000107",

         "group_nbr": 33457

     }

}

Bulk Approve CC Adjustment Records

This API is used to bulk approve pending CC adjustment record(s).

POST .../wms/lgfapi/v10/entity/cc_adjustment_hdr/bulk_approve/

{ 

    "parameters":

     {   

         "facility_id": 648,

         "company_id": 369,

         "group_nbr__in": [101, 102, 103] 

     },

    "options":

    {

        "comment": "CC approval", 

         "commit_frequency": 1

     }

}

Bulk Reject/Recount CC Adjustment Records

This API is used to bulk reject/recount pending CC adjustment record(s).

POST .../wms/lgfapi/v10/entity/cc_adjustment_hdr/bulk_reject/

{ 

    "parameters":

     {   

         "facility_id": 648,

         "company_id": 369,

             "group_nbr__in": [101, 102, 103] 

     },

"options":

    {

        "comment": "CC rejected due to conflict", 

        "commit_frequency": 1

     }

}

Bulk Cancel CC Adjustment Records

This API is used to bulk cancel pending or in-progress CC adjustment record(s).

POST .../wms/lgfapi/v10/entity/cc_adjustment_hdr/bulk_cancel/

{ 

    "parameters":

     {   

         "facility_id": 648,

         "company_id": 369,

             "group_nbr__in": [101, 102, 103] 

     },

"options":

    {

        "commit_frequency": 1

     }

}

NOTE:

  • The following REST APIs are currently supported only in the synchronous mode.
  • If facility or company context isn’t provided, the API will use the user’s default facility/company.
  • The existing LGF API permissions are applicable for these new APIs.

For more details, refer to the WMS REST API Guide.

Steps to Enable

You don't need to do anything to enable this feature.