FUNPREDLV processing: FUNPREDLV
AUTDLVDET: After creating a delivery line from a preparation line
Use this entry point to carry out additional updates following the creation of a delivery line from a preparation line.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
There is an open log file.
Different call cases - Significant variables
This entry point is located in the $ALI_SOQSDD and $ALI_REOSTA_SDD labels (based on the value of the [F:PRE]ORITYP field) of the STKALL processing.
If [F:PRE]ORITYP=1 or 2, this is the delivery of an order line
If [F:PRE]ORITYP=3, this is the delivery of a subcontract reorder requirement
If [F:PRE]ORITYP=4, this is the delivery of subcontract shortages
Open tables
In the table below, the significant content flag indicates that the content matches the context (the current customer is loaded…).
Table |
Significant content |
Table Title |
SDELIVERYD |
Yes |
Delivery detail |
STOPRED |
Yes |
Pick ticket detail |
STOPREH |
Yes |
Pick ticket header |
AUTDLVMAJ: After creating a delivery header from pickings
Use this entry point to carry out additional updates following the creation of a delivery header from pickings.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
There is an open log file.
Different call cases - Significant variables
This entry point is located in the $ECR_SDH label of the STKALL processing.
Open tables
In the table below, the significant content flag indicates that the content matches the context (the current customer is loaded…).
Table |
Significant content |
Table Title |
SDELIVERY |
Yes |
Delivery header |
PREDLVFIL: Addition of selection criteria for the pickings to deliver
Use this entry point to take over during the definition of selection criteria for pickings to deliver.
It is used to add extra filters on these pickings.
It is called in the FUNPREDLV processing for the automatic delivery of pickings.
Context and operating mode
Transaction
There is no transaction in progress.
Log file
There is an open log file.
Call context
This entry point is called during the definition of the selection criteria.
Available variables and masks
The PREDLV picking selection mask is still available.
The standard criteria are loaded in the CRITERE variable. They concern the picking header file (STOPREH).
The FILSUPENT variable has been created to add these additional criteria. This variable is sized at 250 characters. To ensure operations during the evaluation, FILSUP is initialized to the string "1=1" if it has not been loaded by the entry point.
It is sufficient to complete it in the entry point.
For example: Addition of an extra filter on the ship-to customer that must start with "CLI".
FILSUP -= ‘ & BPCORD >= « CLI »’
FILSUP is evaluated at the same time as CRITERE during the filter on the STOPREH file. The criteria must refer to fields on the STOPREH file that is open under the PRH abbreviation.
Open tables
In the table below, the significant content flag indicates that the content matches the context (the current customer is loaded…).
Table |
Significant content |
Table Title |
STOPRED |
No |
Pick ticket detail |
STOPREH |
No |
Pick ticket header |
PREDLVSEL: Addition of authorization controls for a picking to deliver
Use this entry point to take over at the end of the authorization control for the delivery of a picking. It is thus used to add extra tests used to reject the picking.
It is called in the FUNPREDLV processing for the automatic delivery of pickings.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
There is an open log file.
Different call cases
The entry point is called in the automatic delivery of pickings function before the characteristics of the picking are written in the SWRKDLV work table.
To reject the delivery of the picking, the GOK variable must be set to 0.
Open tables
In the table below, the significant content flag indicates that the content matches the context (the current customer is loaded…). It is usually the case for the file containing the header, but not for the file containing the lines…
Table |
Significant content |
Table Title |
STOPREH |
Yes |
Picking header |
STOPRED |
Yes, 1rst picking line |
Picking line |
SORDER |
Yes |
Order headers |
PREDLVGROUP: Enrichment of the grouping criteria
Use this entry point to enrich the discriminating fields of the SWRKDLV work table (used in the processing for the automatic delivery of pick tickets).
It is called in the FUNPREDLV processing for the automatic delivery of pickings.
Context and operating mode
Transaction
There is one transaction in progress.
Log file
There is an open log file.
Different call cases
The entry point is called in the automatic delivery of pickings function before the characteristics of the picking are written in the SWRKDLV work table.
In order to force the non-grouping of pick tickets on a same delivery, the SWDDATA field must be enriched with other discriminating information. The assignment of a new number for the SWDKEYD grouping field will thus be forced.
Open tables
In the table below, the significant content flag indicates that the content matches the context (the current customer is loaded…). It is usually the case for the file containing the header, but not for the file containing the lines…
Table |
Significant content |
Table Title |
STOPREH |
Yes |
Picking header |
STOPRED |
Yes, 1rst preparation line |
Line preparation |
SORDER |
Yes |
Order headers |