QP Modifier Copy Upload

Description

Categories
Enginatics, R12 only, Upload
Repository
GitHub
Copies modifier lists, one row per modifier list, as the Copy Modifier List window of Advanced Pricing (Modifiers > Copy) does.

Upload Mode Create, Update downloads the selected modifier lists; Create gives an empty sheet to paste rows into.

Enter a New Modifier Number and New Modifier Name to copy the row's modifier list with its qualifiers and the lines active today. The copy keeps the type and version of its source.

A list number can exist in several versions. List Version then selects the modifier list, and a row without it is rejected.

Change List Effective To to end-date the row's modifier list, for example the day before the new list starts. Only a modifier list without an end date can be end-dated: an existing end date cannot be changed or removed, and a blank List Effective To leaves the modifier list unchanged.

The copy is saved as soon as it runs. A row that fails afterwards keeps the new modifier list and its message says so: end-date the source in a separate row instead of uploading the row again.

SQL 32 lines

Parameters 7

ParameterTypeList of values SQL
Upload ModeLOV
List TypeLOV
qslhv.list_type_code=:list_type
List NumberLOV
qslhv.name=:list_number
List Number LikeChar
qslhv.name like :list_number_like
List Number FromLOV
qslhv.name>=:list_number_from
List Number ToLOV
qslhv.name<=:list_number_to
Effective DateDate
nvl(qslhv.start_date_active,:effective_date)<=:effective_date and nvl(qslhv.end_date_active,:effective_date)>=:effective_date