lb_s_l_scm_forecast_import
Libraryserver/subroutinebase
lb_s_l_scm_forecast_import — Library server/subroutine program in the standard Ross ERP 8.0 application. References 3 Data Dictionary tables, writes 2. Metadata only; no source.
Open lb_s_l_scm_forecast_import in the interactive Program Explorer →Part of Library programs · all programs
How it runs
- rolls back its work on failure
Tables used · 3 · 2 written
C = creates rows · U = updates rows · D = deletes rows · U? = probable update. Tables without a letter are only read.
Columns it sets on FORECAST_ITERATIONS: COMPANY_CODE, DESCRIPTION, FORECAST_ITERATION
Columns it sets on PLANNING_FORECASTS: BUCKET_END_DATE, BUCKET_OFFSET, BUCKET_START_DATE, COMPANY_CODE, FACTORY, FORECAST_ITERATION, FORECAST_METHOD, FORECAST_QUANTITY, FORECAST_TYPE, PART_CODE, PLANNING_LEVEL_CODE, PLANNING_PRODUCT, PP_REFERENCE, REQUIRED_DATE, STOCK_TYPE, UNIT_OF_MEASURE, WAREHOUSE
Messages it can show · 11
- P_28478 — Planning Bucket Type has not been set up for planning level !AS.
- P_13271 — !AS requires at least one !AS record
- P_04012 — Failed to add Forecast iteration
- P_04028 — Failed to add new forecast record
- P_04150 — Invalid Iteration Code
- P_04182 — Invalid planning level code !AS
- P_10329 — Forecast Import has failed
- P_10330 — Forecast import is completed successfully
- P_10341 — Forecast Import started
- P_10343 — New Iteration Code !AS added successfully
- P_10344 — Not processed, Order: !AS Line: !AS Sequence: !AS
Depends on
- system parameters it reads:
FORECAST_BY_PERIOD,SF_DEFAULT_PLAN_FCAST_TYPE,SF_DEFAULT_PLAN_STOCK_TYPE
Calls · 3
lb_s_l_load_messagepp_s_l_date_translations (DETERMINE_BUCKET_NUMBER, DETERMINE_BUCKET_START_END_DATE)lb_get_quantity_mask