This entry point is used to insert additional logic at the end of the authorization controls for the shipment of an order line. It therefore makes it possible to add tests that are used to reject the order line.
It is called in the automatic shipment process FUNAUTDLV
There is no transaction in process.
To refuse the order line, it is necessary to set the OK variable to 1.
There is an open log file.
This entry point is called:
in the automatic shipment function at the end of the authorization controls on the shipment of each order line.
The order selection mask SAD1 is available.
To refuse the order line, it is necessary to set the OK variable to 1.
To force the shipment of non allocated orders as well as shipment of quantities with shortages (if the ‘SHTDLV’ setup authorizes it and if negative stocks are authorized), it is necessary to set the global variable GLIVSPE to 1.
To force the generation of a break corresponding to the allocated non-deliverable quantity (count under progress, analysis request etc.), the local variable WRUP must be set to 1.
In the table below, the significant content flag indicates that the content is in phase with the context (the current customer is loaded...). Traditionally, this is the case for the file that contains the header and not the file that contains the lines...
Table | Significant content | Table Title |
SDELIVERY | No | Shipment header |
SDELIVERYD | No | Shipment line |
SORDER | Yes | Order headers |
SORDERQ | Yes | Order line quantities |
SORDERP | Yes (if standard order) | Order line prices |
SORDERC | No | Product / customer orders (contract orders) |
BPARTNER | No | BP |
BPCUSTOMER | No | Customers |
BPDLVCUST | No | Ship-to customers |
BPCUSTMVT | No | Customer transactions |
SALESREP | No | Sales representatives |
BPCARRIER | No | Carriers |
ITMMASTER | No | Products |
ITMSALES | No | Products - Sales |
ITMBPC | No | Products - Customers |
ITMFACILIT | No | Products - Sites |
TABMODELIV | No | Shipment methods |
FACILITY | No | Sites |
This entry point is used to insert additional logic before the write to the work file of each order line to be shipped entry. Thus it is used to add data that serves as shortage criteria in the data of the work file (SWDDATA field) or to modify the key (SWDKEY field).
It is called in the automatic shipment process FUNAUTDLV.
There is no transaction in process.
There is an open log file.
This entry point is called:
in the automatic shipment function for each posting of an entry to the work file.
The order selection mask SAD1 is available.
To add shortage criteria, it is necessary to load the required information in the SWDDATA field.
Eg.: [F :SWD]SWDDATA += [F :SOH]xxx
Warning: In the SWDDATA field, there are only 19 characters available.
Any modification involving the key field SWDKEY can become problematic concerning the generated shipments.
In the table below, the significant content flag indicates that the content is in phase with the context (the current customer is loaded...). Traditionally, this is the case for the file that contains the header and not the file that contains the lines...
Table | Significant content | Table Title |
SWRKDLV | Yes | Automatic shipment work file |
SORDER | Yes | Order headers |
SORDERQ | Yes | Order line quantities |
SORDERP | Yes if [F :SOH]SOHCAT<>4 | Order line prices |
SORDERC | No | Product open order |
SDELIVERY | No | Shipment header |
SDELIVERYD | No | Shipment line |
BPARTNER | No | BP |
BPCUSTOMER | No | Customers |
BPDLVCUST | No | Ship-to customers |
BPCUSTMVT | No | Customer transactions |
ITMMASTER | No | Products |
ITMSALES | No | Products - Sales |
|
|
|
This entry point is used to insert additional logic after the write to the work file of each order line to be shipped entry. It is also used to insert logic before the shipment creation process by identifying the lines to be processed. It will for example be possible to launch an urgent reorder process for the picking fields concerned in order to avoid shortages during the shipment.
It is called in the automatic shipment process FUNAUTDLV.
There is no transaction in process.
There is an open log file.
This entry point is called:
in the automatic shipment function after the write to the work file.
The order selection mask SAD1 is available.
The work table SWRKDLV contains the identification of all the order lines that are to be shipped.
In the table below, the significant content flag indicates that the content is in phase with the context (the current customer is loaded...). Traditionally, this is the case for the file that contains the header and not the file that contains the lines...
Table | Significant content | Table Title |
SWRKDLV | No | Automatic shipment work file |
SORDER | No | Order headers |
SORDERQ | No | Order line quantities |
SORDERP | No | Order line prices |
SORDERC | No | Product open order |
SDELIVERY | No | Shipment header |
SDELIVERYD | No | Shipment line |
BPARTNER | No | BP |
BPCUSTOMER | No | Customers |
BPDLVCUST | No | Ship-to customers |
BPCUSTMVT | No | Customer transactions |
ITMMASTER | No | Products |
ITMSALES | No | Products - Sales |
|
|
|
This entry point is used to insert additional logic at the end of the shipment line detail process.
It is called in the automatic shipment process FUNAUTDLV
There is one transaction in progress. It is the shipment creation transaction.
To cancel the transaction if there is a problem, the GOK variable must be set to 0.
There is an open log file.
This is the shipment creation transaction. The shipment header has been loaded, it has not yet been created.
We find ourselves not at the level of a line detail process at the end of the process. The detail line has been created, the updates related this line have been carried out (Order update, Credit management and the allocations).
The order selection mask SAD1 is available.
The order header record to be shipped is loaded in [F:SOH].
The shipment header record to be created is loaded in [F:SDH] but it is not yet created.
The entries for the line detail of the order to be shipped are loaded in [F:SOP] and [F:SOQ].
The entry of the shipment detail is loaded in [F:SDD] and it has been created.
In the table below, the significant content flag indicates that the content is in phase with the context (the current customer is loaded...). Traditionally, this is the case for the file that contains the header and not the file that contains the lines...
Table | Significant content | Table Title |
SWRKDLV | No | Work file |
SDELIVERY | Yes | Shipment header |
SDELIVERYD | Yes | Shipment line |
SORDER | Yes | Order headers |
SORDERQ | Yes | Order line quantities |
SORDERP | Yes | Order line prices |
SORDERC | Yes | Product / customer orders (contract orders) |
BPARTNER | Yes (BP invoice) | BP |
BPCUSTOMER | Yes (Bill to customer ) | Customers |
BPDLVCUST | Yes | Ship-to customers |
BPCUSTMVT | No | Customer transactions |
SALESREP | No | Sales representatives |
BPCARRIER | Yes | Carriers |
ITMMASTER | Yes | Products |
ITMSALES | Yes | Products - Sales |
ITMBPC | Yes | Products - Customers |
ITMFACILIT | No | Products - Sites |
TABMODELIV | Yes | Shipment methods |
FACILITY | No | Sites |
SPRICLINK | No | Search sales prices (link) |
ACTIV | No | Activity codes |
This entry point is used to take over when the transaction was determined in standard mode in order to modify it in contextual mode.
It is called in the automatic shipment process FUNAUTDLV
There is no transaction in progress.
To cancel the transaction if there is a problem, the OK variable must be set to 1.
There is an open log file.
This entry point is called:
in the automatic delivery function, after determining the default delivery transaction.
The order selection mask SAD1 is available.
Variable WFLGLIG has value 1 if this is a normal delivery.
Variable WFLGLND has value 1 if this is a loan delivery.
The default transaction is stored in WTRS variable. This value can be modified to adapt the specific context.
In the table below, the significant content flag indicates that the content is in phase with the context (the current customer is loaded...). Traditionally, this is the case for the file that contains the header and not the file that contains the lines...
Table | Significant content | Table Title |
SWRKDLV | No | Automatic shipment work file |
SORDER | No | Order headers |
SORDERQ | No | Order line quantities |
SORDERP | No | Order line prices |
SORDERC | No | Product open order |
SDELIVERY | No | Shipment header |
SDELIVERYD | No | Shipment line |
BPARTNER | No | BP |
BPCUSTOMER | No | Customers |
BPDLVCUST | No | Ship-to customers |
BPCUSTMVT | No | Customer transactions |
ITMMASTER | No | Products |
ITMSALES | No | Products - Sales |
|
|
|