Overview
The Plan Comercial module provides GraphQL mutations to create, update, approve, and reject commercial plans and their parametrization settings.Mutations
createPlanComercial
Creates a new commercial plan with promotional activities. Authorization: RequiredCommercial plan data to create
Plan month
Target month for the plan
Cross-reference month
Plan year
Sales channel type
Client type classification
Total investment amount
Total sell-out amount
Total provision amount
List of promotional activities associated with the plan
PlanComercialDTO
Example Mutation:
updatePlanComercial
Updates an existing commercial plan. Authorization: RequiredCommercial plan data with ID to update
createPlanComercial plus:
Plan identifier to update
PlanComercialDTO
Example Mutation:
createParametrizacionPlanComercial
Creates a new parametrization configuration for commercial planning. Authorization: Not requiredParametrization data to create
Sales channel
Client identifier
Number of days before target date allowed for planning
Number of days after target date allowed for planning
ParametrizacionPlanComercialDTO
Example Mutation:
updateParametrizacionPlanComercial
Updates an existing parametrization configuration. Authorization: Not requiredParametrization data with ID to update
createParametrizacionPlanComercial plus:
Parametrization identifier to update
ParametrizacionPlanComercialDTO
Example Mutation:
sendPlanComercialForApproval
Submits a commercial plan for approval workflow. Authorization: Not requiredPlan data to submit for approval
PlanComercialDTO
Example Mutation:
approvePlanComercialById
Approves a commercial plan for a specific approval stage. Authorization: RequiredPlan identifier to approve
Approval stage identifier
PlanComercialDTO
Example Mutation:
rejectPlanComercialById
Rejects a commercial plan with observations. Authorization: RequiredRejection data including plan ID, stage, and observations
Plan identifier to reject
Approval stage identifier
General rejection observation
Specific observations for materials
PlanComercialDTO
Example Mutation:
eliminarPlanComercialPorId
Deletes a commercial plan by ID. Authorization: RequiredPlan identifier to delete
PlanComercialDTO
Example Mutation:
Provision Mutations
sendPlanComercialForProvision
Submits a commercial plan for provision processing. Authorization: Not requiredPlan identifier
Cross-reference month for provision
Total provision amount
PlanComercialDTO
Example Mutation:
loadNegociosAsClusterForProvisiones
Loads business units as clusters for provision management. Authorization: Not required Returns:[CatSateliteAprobadoresClusterEntity!]!
Example Mutation:
approveProvisionNegocio
Approves a provision for a specific business unit. Authorization: Not requiredBusiness unit name
Plan identifier
Approval stage identifier
Optional promotion identifier
PlanComercialDTO
Example Mutation:
rejectNegocioOnProvision
Rejects a provision for a specific business unit with observations. Authorization: Not requiredBusiness unit name
Plan identifier
Approval stage identifier
Rejection observation
Optional promotion identifier
PlanComercialDTO
Example Mutation: