PO Printed Planning Schedule

Description

Categories
Enginatics
Repository
GitHub
Migration of the Oracle standard concurrent program Printed Planning Schedule (XML) (CHVPRSCH_XML) from Supplier Scheduling. Shows, for each confirmed planning/shipping schedule, the time-phased demand grid sent to the supplier - one row per schedule, item and time bucket - with forecast, released, total and cumulative (CUM+) quantities per bucket, plus the schedule header, item, CUM and authorization context. The horizontal schedule grid (chv_horizontal_schedules, up to 60 bucket columns) is un-pivoted into rows for analysis in Excel.

SQL 97 lines

Parameters 9

ParameterTypeList of values SQL
OrganizationLOV
ood.organization_code=:organization
SupplierLOV
pov.vendor_name=:supplier
Supplier SiteLOV
povs.vendor_site_code=:supplier_site
Schedule TypeLOV
csh.schedule_type=:schedule_type
Schedule NumberLOV
csh.schedule_num=:schedule_number
Schedule StatusLOV
csh.schedule_status=:schedule_status
Horizon FromDate
csh.schedule_horizon_start>=:horizon_from
Horizon ToDate
csh.schedule_horizon_start<:horizon_to+1
Exclude Zero Quantity BucketsLOV
(to_number(b.forecast_qty_str)<>0 or to_number(b.release_qty_str)<>0 or to_number(b.total_qty_str)<>0 or to_number(b.cum_qty_str)<>0)