Use Queries select the group of parts you want to work with. You create a query either in the conditions dialog or you can write an SQL inspired query, we are talking about the WHERE Clause part of an SELECT statement. This will make it more flexible to find the parts you want to take a closer look at. It is also possible to get the query result aggregated so that you will get the Forecast Table and Forecast Graph show the aggregated result of the query. You can the manipulate all parts in the query the same way that you will manipulate a group selection. The other option is to list out all parts matching the query you can then click on one of the matching parts this will select this part and you can use the GUI to manipulate the forecast for this part. Below you can se witch operators and fields that are supported.
A unary operator uses only one operand. A unary operator typically appears with its operand in the following format:
operator operand
Operator | Explanation |
Unary + | Makes operand positive |
Unary - | Negates operand |
* | Multiplication |
/ | Division |
+ | Addition |
- | Subtraction |
< | Less than test |
<= | Less than or equal |
= | Equality test |
> | Greater than test |
>= | Greater than or equal test |
!= | Inequality test |
<> | Inequality test |
; or , | List operator, depends on the local settings of the PC |
LIKE | The LIKE operator is used to compare a value to similar values using wildcard operators. |
NOT | Returns TRUE if the following condition is FALSE. Returns FALSE if it is TRUE |
AND | Returns TRUE if both component conditions are TRUE. Returns FALSE if either is FALSE. |
OR | Returns TRUE if either component condition is TRUE. Returns FALSE if both are FALSE. |
TO_DATE | Converts from text to a date, TO_DATE(string1, 'format_mask') |
Supported TO_DATE format mask parameters
Parameter | Explanation |
YYYY | 4-digit year |
MM | Month (01-12; JAN = 01) |
DD | Day of week (1-7) |
HH24 | Hour of day (0-23). |
HH | Hour of day (1-12) |
MI | Minute (0-59). |
SS | Second (0-59). |
A.M. | Meridian indicator, before midday |
P.M. | Meridian indicator, after midday |
Query Name | In Demand Planning |
PART_NO | The part number |
PART_DESCRIPTION | The parts description |
FLOW_ID | The flow id |
FLOW_DESCRIPTION | The flows description |
CLASSIFICATION | The classification group of the part (new parts, intermittent, season, level...) |
SEASON_PROFILE_ID | The parts season profile (the id / number), see Detail View |
PERIOD PROFILE_ID | The parts period profile, see Detail View |
ALPHA | The parts standard alpha value, see Detail View |
BETA | The parts standard beta value, see Detail View |
RHO | The parts standard rho value, see Detail View |
DELTA | The parts delta value, see Detail View |
FORECAST_MODEL | The parts standard forecast model, see Detail View |
PERIODICAL_LEAD_TIME | The parts periodical lead time, see Detail View |
FORECAST_COMMENT | The parts forecast comment, see forecast comment |
MANUAL_YEARLY_FORECAST | The parts standard manual yearly, see Detail View |
MOV_AV_PER | The parts standard moving average periods, see Detail View |
TRACKING_SIGNAL | The parts tracking signal, see Detail View |
MAE | The parts MAE (mean absolute error), see Detail View |
MAPE | The parts MAPE (mean absolute percentage error), see Detail View |
ME | The parts ME (mean error), see Detail View |
MAE_VALUE | The parts Value of MAE, see Detail View |
PVE | The parts PVE (percent variation explained), see Detail View |
MSE | The parts MSE (mean squared error), see Detail View |
ADJUSTMENT_FACTOR | The pars adjustment factor, see Detail View |
WMAPE | The parts WMAPE (weighted mean absolute percentage error), see Detail View |
EXPECTED_DEMAND_SIZE | The parts expected demand size, see Detail View |
INTER_ARRIVAL_TIME | The parts inter arrival time, see Detail View |
PERCENT_USED | How much of the planned forecasted quantity that is sold until now in the period. See Aggregate Daily |
INVENTORY_VALUE | The parts inventory value / cost price, see Detail View |
PLANNED_SALES_PRICE | The parts sales price, see Detail View |
NET_WEIGHT | The parts net weight, see Detail View |
PART_FLOW_VALUE | The parts flow value, see Detail View |
In addition you can use any of the user selected groups that are using in a query, the field name of the group is then used as query name. If you use the any of the standard available groups these will be the names.
PART_PRODUCT_FAMILY
PART_PRODUCT_CODE
ABC_CLASS
TYPE_CODE_DB
LEAD_TIME_CODE_DB
PLANNER_BUYER
ASSET_CLASS
PRIME_COMMODITY
SECOUND_COMMODITY
DEMAND_MODEL
LIFECYCLE_STAGE
FREQUENCY_CLASS
And any other that you include your self is available, how to include new groups, see selected groups and release notes.
Note that for the fields Forecast Model, Season Profile, Period Profile and Weekly Profile you must use the ID / Number when you write your query. For group fields with description you most use the ID for the group when writing the query.