validateSOPPlan
chainalign-backend / services/constraintValidationService / validateSOPPlan
Function: validateSOPPlan()
validateSOPPlan(
tenantId,sopPlanData):Promise<any[]>
Defined in: services/constraintValidationService.js:131
Validates an S&OP plan against defined hard and soft constraints dynamically.
Parameters
tenantId
UUID
The ID of the tenant.
sopPlanData
any[]
The S&OP plan data to validate. Each object represents a data point for a period.
Returns
Promise<any[]>
A promise that resolves to an array of detected constraint violations.