Automate Cycle Count Task Creation via External Systems Using API

Oracle Warehouse Management Cloud (WMS) executes inventory operations, while inventory planning can happen from external systems. We have added a new enhancement that allows external systems to plan cycle counts based on cycle count schedules. Consequently, external systems can now create cycle count tasks by executing task creation templates in WMS or directly create location-driven cycle count tasks based on location IDs.

We are introducing new APIs for external systems to create cycle count tasks in WMS. This allows external systems to initiate cycle count tasks and WMS performs the actual counting of the inventories. This ensures better inventory planning and accuracy.

This enhancement provides new APIs to:

  • Query task creation templates from WMS
  • Execute cycle count task creation templates in WMS
  • Bulk create location-level cycle count tasks directly in WMS

GET SUPPORT FOR TASK CREATION TEMPLATES

To access task creation template information without navigating to the UI screen, you can now use a GET request to query task creation templates for your default company and facility.

URL TO FETCH ALL RESULTS (PAGINATED LIST):

GET .../wms/lgfapi/v10/entity/task_template/

URL TO FETCH ONLY ONE RESULT BASED ON ‘ID’:

GET .../wms/lgfapi/v10/entity/task_template/{id}

NOTE: This API allows you to query task creation templates of Cycle Count (CC), Regular, and Putaway template types.

API TO EXECUTE A CYCLE COUNT TASK CREATION TEMPLATE

This API allows external planning systems to execute a Cycle Count Task Creation template in WMS.

NOTE: This API supports execution of only Cycle Count task creation templates.

To execute the template, you can use either ID or description of a task creation template. The following table outlines the details of this API:

API Description URL Sample Payload

Execute a task creation template using template’s ID.

POST .../wms/lgfapi/v10/entity/task_template/{id}/run_cc_template/

Not required as specific task creation template id is passed in the URL.

Execute a task creation template using task template description.

NOTE: Facility and Company codes are mandatory to send.

POST .../wms/lgfapi/v10/entity/task_template/run_cc_template/

{

    "parameters":{

        "company_id__code": "Company1",

        "facility_id__code": "Facility1",

        "description": "SS CC Location by Item"

    }

}

API TO BULK CREATE LOCATION-LEVEL CYCLE COUNT TASKS DIRECTLY

You can use the Bulk Create API to create location-driven cycle count tasks directly in bulk, bypassing the need to execute a cycle count task creation template.

You can utilize this API to create location-driven cycle count tasks in WMS, based on scheduling rules. For example, if you want to cycle count locations with higher activities, such as frequently used pick locations, you can use this API to create location-driven cc tasks based on cycle count schedules.

URL:

POST .../wms/lgfapi/v10/entity/location/cc_loc_task/bulk_create

Sample Payload:

{
   "parameters": {

       "id__in": [132440,130200,132888],

       "facility_id__code": "Facility01"

   },

   "options": {

       "priority":2,

       "description": "CC_LOCATION_DTL",

       "commit_frequency": 10

   }

}

NOTE:

  • This API supports creation of only location-based cycle count tasks and does not support bulk creation of item-driven cycle count tasks.
  • You can pass one or more location IDs in the payload to create tasks for the specified locations at once.
  • This API supports only active or reserve locations to pass in the payload.

For detailed API documentation, refer to the WMS REST API Guide.

Steps to Enable

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