Use this entry point to adjust the intervals in the numbering of the purchase and sales delivery requests in order to allow a maximum number of insertions.
There is no transaction in progress when the entry point is called from the entry of the purchase and sales delivery requests.
A transaction is in progress when the generation of the purchase delivery request is carried out from the workbenches (screen PURMGT [PMG] open).
A log file is open when the generation of the purchase delivery requests is carried out from the workbenches (screen PURMGT [PMG] open).
The entry point is called every time a delivery request is created.
Screen POD1 [POD1] in case of manual entry of the purchase delivery requests.
Screen SOQ1 [SOQ1] in case of manual entry of the sales delivery requests.
Screen PURMGT [PMG] in case of automatic generation of the delivery requests.
The following variables can be modified via the entry point:
STEP1 Interval between two consecutive daily dates
Values between 1000 and 10000, default value is 1000
STEP2 Interval between two identical dates
Values between 5 and 1000, default value is 50
Examples:
With STEP1 = 1000, the duration of the contract is 100 years
- STEP2 = 5: 200 identical dates and 5 partial receipts or deliveries by delivery request.
- STEP2 = 10: 100 identical dates and 10 partial receipts or deliveries by delivery request.
- STEP2 = 50: 20 identical dates and 50 partial receipts or deliveries by delivery request.
- STEP2 = 100: 10 identical dates and 100 partial receipts or deliveries by delivery request.
- STEP2 = 500: 2 identical dates and 500 partial receipts or deliveries by delivery request.
- STEP2 = 1000: 1 identical date and 1000 partial receipts or deliveries by delivery request.
With STEP1 = 10000, the duration of the contract is 10 years
- STEP2 = 5: 2000 identical dates and 5 partial receipts or deliveries by delivery request.
- STEP2 = 10: 1000 identical dates and 10 partial receipts or deliveries by delivery request.
- STEP2 = 50: 200 identical dates and 50 partial receipts or deliveries by delivery request.
- STEP2 = 100: 100 identical dates and 100 partial receipts or deliveries by delivery request.
- STEP2 = 500: 20 identical dates and 500 partial receipts or deliveries by delivery request.
- STEP2 = 1000: 10 identical dates and 1000 partial receipts or deliveries by delivery request.
Use this entry point to modify the BP used to load the payment conditions.
There is no transaction in progress when the entry point is called.
There is no open log file.
The entry point is called every time you want to initialize the payment conditions from a BP (customer or paying supplier, customer or invoice supplier).
The [L]WBPR variable contains the BP initializing the payment conditions. This variable can be changed with this entry point.
The BPCUSTOMER[F:BPC] or BPSUPPLIER[F:BPS] file is open and can be modified. A recovery can be performed after the entry point. Its content is not significant.
Use this entry point to replace the standard processing for taxes (reading of the TVC table).
There is no transaction in progress when the entry point is called.
There is no open log file.
The entry point is called every time taxes are searched.
The GPE variable initialized to 1 can be used to replace the standard processing.
It is set in the TRT_RECHVATCOD label of the TRTX3 processing, right before the FOR loops of the TVC table.
Use this entry point to adjust intervals in the numbering of the purchase and sales delivery requests in case of a split in order to allow a maximum number of insertions.
There is no transaction in progress.
Log file
There is no log file open
The entry point is called upon accessing the receipt (GESPTH) or delivery (GESSDH, FUNAUTDLV and FUNPREDLV) functions.
The following variable can be modified by the entry point:
GSTEP3: Interval between two delivery requests in case of split.
Values between 1 and value of STEP2 (STEP2=50 by default but can be modified using the SEQDEMDLV entry point).
Default value of GESTEP3=4.