Process FUNMAUTF: Direct Orders
CHOBOM: Selection of a BOM code
This entry point is used to choose an alternative BOM (Bill of Materials) in automatic generation of WO with back to back.
It is used to insert additional logic in order to load the alternative BOM with which the WO with back to back is to be generated.
Context and operating mode
Transaction
There is no transaction in progress.
Log file
There is an open log file.
Different call cases - Available variables and masks
This entry point is called during the automatic generation of WO with back to back.
It is used to insert additional logic in order to load the alternative BOM with which the WO with back to back is to be generated.
The MFGK screen class is open at the moment of the entry point call.
The variable containing the BOM alternative (that will be used) is [M:MFGK]BOMALT.
On return to this entry point, the value of the [M:MFGK]BOMALT variable is tested. If this value is equal to zero, the BOM alternative recovered to generate the WO will be the first BOM alternative valid for the released product.
Open tables
In the table below, the significant content flag indicates that the content is in phase with the context.
Table |
Significant content |
Table Title |
MFGHEAD |
no |
Works orders - header |
MFGITM |
no |
Works orders - products |
MFGMAT |
no |
Works Orders - components |
MFGOPE |
no |
Works orders - operation. |
MFGPRN |
no |
Works orders - documents |
SCHEDULING |
no |
WO scheduling |
ORDERS |
no |
WIPs |
SORDERQ |
no |
Sales orders - quantities |
ORDCOV |
no |
On hand order history |
TRTAUTFMI: Possibility to prevent the generation of a WO with back to back
This entry point is called during the automatic generation of WO with back to back.
It is used to insert additional logic before the launch of the WO with back-to-back generation in order to avoid this generation from taking place.
Context and operating mode
Transaction
There is no transaction in progress.
Log file
There is an open log file.
Different call cases
This entry point is called during the automatic generation of WO with back to back.
It is used to insert additional logic before the launch of the WO with back-to-back generation in order to avoid this generation from taking place.
Available variables and masks
The GPE variable is used. It is set to the value 0 by default. It will need to be set to 1 in the specific/custom process linked to the entry point if the WO should not be generated for the current sales order. On returning to the standard processing, the GPE value is tested. If it is not equal to 0, the section concerning the WO generation is short-circuited.
The [F:SOH] and [F:SOQ] buffers are loaded at the moment of the entry point call.
The screen class [M :DIA] linked to the automatic back to back order is loaded.
Open tables
In the table below, the significant content flag indicates that the content is in phase with the context.
Table |
Significant content |
Table Title |
MFGHEAD |
no |
Works orders - header |
MFGITM |
no |
Works orders - products |
MFGMAT |
no |
Works Orders - components |
MFGOPE |
no |
Works orders - operation. |
MFGPRN |
no |
Works orders - documents |
SCHEDULING |
no |
WO scheduling |
ORDERS |
no |
WIPs |
SORDERQ |
no |
Sales orders - quantities |
ORDCOV |
no |
On hand order history |
CHOROU: Selection of a routing code
This entry point is used to choose an alternative route in automatic generation of WO with back to back.
It is used to insert additional logic in order to load the alternative route with which the WO with back to back is to be generated.
Context and operating mode
Transaction
There is no transaction in progress.
Log fileThere is an open log file.
Different call cases - Available variables and masksThis entry point is called during the automatic generation of WO with back to back.
It is used to insert additional logic in order to load the alternative route with which the WO with back to back is to be generated.
The MFGK screen class is open at the moment of the entry point call.
The variable containing the alternative route (that will be used) is [M:MFGK]ROUALT.
On return to this entry point, the value of the [M:MFGK]ROUALT variable is tested. If this value is equal to zero, the BOM alternative recovered to generate the WO will be the first BOM alternative valid for the released product.
Open tablesIn the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table Title |
MFGHEAD | no | Works orders - header |
MFGITM | no | Works orders - products |
MFGMAT | no | Works Orders - components |
MFGOPE | no | Works orders - operation. |
MFGPRN | no | Works orders - documents |
SCHEDULING | no | WO scheduling |
ORDERS | no | WIPs |
SORDERQ | no | Sales orders - quantities |
ORDCOV | no | On hand order history |
CUSSELFLT: Inserting additional filters.
This entry point is used to insert additional logic during the creation of selection filters in the processing of the automatic generation of WO with back to back (FUNMAUTF function).
The CUSFLT variable (255 characters) is used to set filters on the fields in the additional files.
The filter can be applied to the product on hand orders file (ORDERS class [F :ORD]).
Context and operating method
Transaction
There is no transaction in progress.
Log file
There is no open log file
Available screen and file classes
The MAUTFMI mask is open and the different selections are loaded.
Open tablesIn the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table Title |
MFGHEAD | no | Works orders - header |
MFGITM | no | Works orders - products |
MFGMAT | no | Works Orders - components |
MFGOPE | no | Works orders - operation. |
MFGPRN | no | Works orders - documents |
SCHEDULING | no | WO scheduling |
ORDERS | no | WIPs |
SORDERQ | no | Sales orders - quantities |
ORDCOV | no | On hand order history |
Transaction
There is no transaction in progress.
Log fileThere is an open log file.
BEFTRTLIG: Before updating the current document
This entry point is used to insert additional logic just before the update of the selected documents.
When set to 0, the GPE variable allows to inhibit the update of this WO.
Context and operating method
Transaction
There is no transaction in progress.
Log file
There is no open log file
Available screen and file classes
The MAUTFMI mask is open and the different selections are loaded.
Open tablesIn the table below, the significant content flag indicates that the content is in phase with the context.
Table | Significant content | Table Title |
MFGHEAD | No | Works orders - header |
MFGITM | No | Works orders - products |
MFGMAT | no | Works Orders - components |
MFGOPE | no | Works orders - operation. |
MFGPRN | no | Works orders - documents |
SCHEDULING | no | WO scheduling |
ORDERS | Yes | WIPs |
SORDERQ | no | Sales orders - quantities |
ORDCOV | no | On hand order history |
Transaction
There is no transaction in progress.
Log fileThere is an open log file.