All lists for a given price code have lines based on the same structure. The validity dates are linked to the list and are the same for every line.
The main OBJect is automatically detected with the main key corresponding to the price code and the list number.
The details lines are detected according to two criteria in this order:
1. Search with the line number if it is set up and assigned.
If the line exists, it is modified otherwise it is created.
This line number assigned during creation is unknown to the provider that transmits its prices. It is less suitable for line modification.
2. Search with the import line number IMPNUMLIG if it is set up and assigned.
If the line exists, it is modified otherwise it is created.
This line number is not specified during price creation. It is incremented during price import and enables to keep a number transmitted by the provider. If the import line number is zero, it is a creation.
The following tables are used by the function. Their content must be updated if necessary :
Table | Table description |
---|---|
PPRICLIST [PPL] | Supplier price lists |
In file PPRICLIST, criteria are grouped in a single element PLI.
In the template, they must be separately defined in the global variables.
A specific variable is assigned to each criterion.
These correspondences must not be swapped.
This template can be used in import and export modes. The data is updated in the following tables :
Table | Table description |
---|---|
BPARTNER [BPR] | |
BPSUPPLIER [BPS] | |
BPSUPPMVT [MVS] | Supplier transactions |
ITMBPS [ITP] | |
ITMFACILIT [ITF] | |
ITMMASTER [ITM] | |
PPREASON [PPR] | |
PPRICCONF [PPC] | |
PPRICFICH [PPF] | |
PPRICLIST [PPL] | Supplier price lists |
PRICSTRUCT [PRS] | |
TABCUR [TCU] | |
TABUNIT [TUN] |