Sales Planning
Aurea CRM's sales planning & optimization functionality uses CRM.server to-dos to perform calculations.
Each function creates a to-do of To-Do Type "Calculate" calling a workflow (Execution Type = "Workflow", Execution Format = "<workflow_name>"), see Automatically Completing To-Dos.
Syntax:
To enter parameters directly in the to-do record (Text field), use the following syntax:
parameter name = <value/>
Example:
"BY=<2013/> FilterFi=<F0='2' AND F1='100'/> FilterP5=</>
RepId=<010000003/>"
Global Parameters
ServerId
: Rep ID of the CRM.server user for asynchronous to-dos.
ExecutionMode
: synchron
| asynchron
(default)
Available Functions (Workflows) and Parameters
Name: U_BL_P5_1
Creates "empty" Sales Optimization records (P5) for the specified year (no values, no quantities).
Parameters:
|
Business year for which the P5 records are generated. If undefined, the previous year is used. |
|
Filters for specific FI records. |
|
Filters by rep. |
|
Filters by country. |
|
Filters for specific P5 records. |
|
If defined, the P5 records are generated for this rep. If a company "belongs" to another rep and its product records are rep-related (i.e. no company or country entered), no P5 records are created. |
Name: U_BL_P5_2
Calculates default target values by reading the actual values from the specified year and adds the percentages specified in P6 or P7.
Parameters:
|
Business year |
|
Filters for specific FI records. |
|
Filters by rep. |
|
Filters by country. |
|
Filters for specific P5 records. |
|
If set to If set to |
|
If set to |
|
Specifies on which product level the target values are calculated, i.e. the planning level. Available values: 1-6 |
|
Specifies the type of plan: 1...company, 2...rep, 3...country, 4...business year. |
Name: U_BL_P5_3
Copies default targets to target values (annual values).
Parameters:
|
Business year |
|
Filters for specific P5 records. |
|
Specifies on which product level the target values are written, i.e. the planning level. Available values: 1-6 |
|
Specifies the type of plan: 1...company, 2...rep, 3...country, 4...business year. |
Name: U_BL_P5_4
Calculates the market growth per product and target values based on the growth.
Parameters:
|
Business year |
|
Filters companies for the calculation (read). |
|
Filters companies for the result (write). |
|
Filters reps for the calculation (read). |
|
Filters reps for the result (write). |
|
Filters countries for the calculation (read). |
|
Filters countries for the result (write). |
|
Filters for specific P5 records. |
|
If set to If set to |
Error Codes
-
BL_ERROR_TODO_PARAMETER
= 280 -
BL_ERROR_READ_FILTER_FORMAT
= 281 -
BL_ERROR_WRITE_FILTER_FORMAT
= 282 -
BL_ERROR_STRING_TO_FILTER
= 283