RestockSuggestionForecastSettingsChangesInput
The forecast of the demand from the past consumption: the consumption per day of a period, multiplied by the days the forecast covers. The consumption is the quantity of the sales orders created in the period: what was delivered from the destination warehouse plus what is still open. Only the settings that are sent change; sending null clears a setting that can be empty.
RestockSuggestionForecastSettingsChangesInputFields
Whether and from which period the past consumption is projected onto the coming days. It cannot be cleared.
How many days before the calculation, today included, the consumption is measured; 1 or more. Required exactly when 'forecastType' is 'LAST_DAYS'.
The first day of the measured period, as a calendar day in the time zone of the ERP. Required exactly when 'forecastType' is 'CUSTOM_PERIOD'.
The last day of the measured period, included, as a calendar day in the time zone of the ERP; not before 'periodStart'. Required exactly when 'forecastType' is 'CUSTOM_PERIOD'.
The period relative to the day of the calculation, resolved anew at every calculation as the ERP's period selection does. Required exactly when 'forecastType' is 'RELATIVE_PERIOD'. Known values: THIS_YEAR, LAST_YEAR, YEAR_BEFORE_LAST, LAST_TWO_YEARS, LAST_THREE_YEARS, THIS_QUARTER, LAST_QUARTER, QUARTER_BEFORE_LAST, THIRD_LAST_QUARTER, THIS_AND_LAST_QUARTER, Q1_THIS_YEAR, Q2_THIS_YEAR, Q3_THIS_YEAR, Q4_THIS_YEAR, Q1_LAST_YEAR, Q2_LAST_YEAR, Q3_LAST_YEAR, Q4_LAST_YEAR, Q1_YEAR_BEFORE_LAST, Q2_YEAR_BEFORE_LAST, Q3_YEAR_BEFORE_LAST, Q4_YEAR_BEFORE_LAST, THIS_MONTH, LAST_MONTH, MONTH_BEFORE_LAST, SINCE_START_OF_LAST_MONTH, SINCE_START_OF_MONTH_BEFORE_LAST, THIS_WEEK, LAST_WEEK, WEEK_BEFORE_LAST, SINCE_START_OF_LAST_WEEK, SINCE_START_OF_WEEK_BEFORE_LAST, LAST_SEVEN_DAYS, TODAY, YESTERDAY, DAY_BEFORE_YESTERDAY. A client treats an unknown value as not supported. The server refuses an unknown value.
How many coming days the forecast covers, 0 or more. It cannot be cleared.
Whether the consumption per day is computed over the days on which the item was in stock instead of all days of the period. It changes the suggested quantity only with a forecast. It cannot be cleared.
Whether the quantities returned in the period, from all warehouses, are subtracted from the consumption. It changes the suggested quantity only with a forecast. It cannot be cleared.
When set, a sales order whose quantity in the period exceeds this percentage of the item's average quantity per delivery counts as an order peak and is left out of the consumption; 100 or more. Empty: every sales order counts. It changes the suggested quantity only with a forecast.
Was this page helpful?