checkPlanReadinessAndTriggerSimulation
chainalign-backend / services/planReadinessService / checkPlanReadinessAndTriggerSimulation
Function: checkPlanReadinessAndTriggerSimulation()
checkPlanReadinessAndTriggerSimulation(
planId?):Promise<void>
Defined in: services/planReadinessService.js:9
Checks the status of the S&OP plan and triggers a simulation if it's ready. In a real application, this would be triggered by a cron job or a specific user action.
Parameters
planId?
string = 'latest'
The ID of the plan to check.
Returns
Promise<void>