FUNBENCHI processing: Production plan
CUSSELFLT
Use this entry point to take over during the creation of selection filters in the production plan processing (FUNBENCHI function).
The CUSFLT variable (255 characters) is used to set filters on additional file fields.
The filter can be applied to the released product file (MFGITM class [F :MFI]) or to the BOM header file (BOM class [F :BOH]) according to whether the products are to be selected for the WO or the BOM.
Context and operating mode
In the context of the entry point :
- There is no current transaction
- No trace file is open
The following tables are on line :
Table |
Significant content |
Table description |
---|---|---|
FACILITY [FCY] |
Yes |
|
BOM [BOH] |
No |
Header BOMS |
MFGITM [MFI] |
No |
Work orders - products |
MFGHEAD [MFG] |
No |
|
BOMD [BOD] |
No |
Detail BOMs |
ITMMASTER [ITM] |
No |
|
ITMFACILIT [ITF] |
No |
|
ITMMVT [ITV] |
No |
Product-site totals |
Transaction
There is no transaction in progress.
Log file
There is no open log file.
Available screens and file classes
The FUNBENCHI mask is open and the different selections are 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 |
FACILITY |
Yes |
Site |
BOM |
No |
BOM header |
BOD |
No |
BOM detail |
MFGHEAD |
No |
WO header |
MFGITM |
No |
Released products |
ITMMASTER |
No |
Products |
ITMFACILIT |
No |
Products-sites |
ITMMVT |
No |
Product movements |
LOAMSKMBI :
Use this entry point to take over before the display of the production plan grid (FUNBENCHI function) in order to populate it in a specific way.
Context and operating mode
In the context of the entry point :
- There is no current transaction
- No trace file is open
The following tables are on line :
Table |
Significant content |
Table description |
---|---|---|
FACILITY [FCY] |
Yes |
|
BOM [BOH] |
No |
Header BOMS |
MFGITM [MFI] |
No |
Work orders - products |
MFGHEAD [MFG] |
No |
|
BOMD [BOD] |
No |
Detail BOMs |
ITMMASTER [ITM] |
No |
|
ITMFACILIT [ITF] |
No |
|
ITMMVT [ITV] |
No |
Product-site totals |
Transaction
There is no transaction in progress.
Log file
There is no open log file.
Available screens and file classes
The FUNBENCHI mask is open and the different selections are 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 |
FACILITY |
Yes |
Site |
BOM |
No |
BOM header |
BOD |
No |
BOM detail |
MFGHEAD |
No |
WO header |
MFGITM |
No |
Released products |
ITMMASTER |
No |
Products |
ITMFACILIT |
No |
Products-sites |
ITMMVT |
No |
Product movements |
BENMKTMAJ
Use this entry point to take over in production tracking creation, in order to update the specific tables linked to the tracking header.
The entry point is located just before the Write [F:MTK] instruction.
Context and operating mode
In the context of the entry point :
- There is a current transaction
- A trace file is open
The following tables are on line :
Table |
Significant content |
Table description |
---|---|---|
FACILITY [FCY] |
Yes |
|
BOM [BOH] |
No |
Header BOMS |
MFGITM [MFI] |
No |
Work orders - products |
MFGHEAD [MFG] |
No |
|
MFGHEADTRK [MTK] |
Yes |
|
MFGITMTRK [MKI] |
Yes |
Transaction
There is one transaction in progress.
If a problem arises, set the GOK global variable to 0.
Log file
There is an open log file.
Available screens and file classes
The FUNBENCHI mask is open and loaded.
The MTIK invisible mask is open and loaded with the information of the last processed 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 |
FACILITY |
Yes |
Site |
BOM |
Yes |
BOM header |
MFGHEADTRK |
Yes |
Tracking header |
MFGHEAD |
Yes |
WO header |
MFGITM |
No |
Released product |
MFGITMTRK |
No |
Released product tracking |
AFFTRA:
Use this entry point to delete the display of the generated log file in production plan validation.
The GPE global variable must be reset to 0 to prevent the display.
Context and operating mode
In the context of the entry point :
- There is a current transaction
- A trace file is open
The following tables are on line :
Table |
Significant content |
Table description |
---|---|---|
FACILITY [FCY] |
Yes |
|
BOM [BOH] |
No |
Header BOMS |
MFGITM [MFI] |
No |
Work orders - products |
MFGHEAD [MFG] |
No |
|
MFGHEADTRK [MTK] |
Yes |
|
MFGITMTRK [MKI] |
Yes |
Transaction
There is no transaction in progress.
Log file
There is an open log file.
Available screens and file classes
The MTKBENCHI mask is open and the different selections are 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 |
FACILITY |
Yes |
Site |
BOM |
No |
BOM header |
MFGHEADTRK |
No |
Tracking header |
MFGHEAD |
No |
WO header |
MFGITM |
No |
Released product |
MFGITMTRK |
No |
Released product tracking |
CUSTRTSUP :
Use this entry point to take over when exiting the production plan in order to carry out a specific processing, such as launching a print.
Context and operating mode
In the context of the entry point :
- There is a current transaction
- A trace file is open
The following tables are on line :
Table |
Significant content |
Table description |
---|---|---|
FACILITY [FCY] |
Yes |
|
BOM [BOH] |
No |
Header BOMS |
MFGITM [MFI] |
No |
Work orders - products |
MFGHEAD [MFG] |
No |
|
MFGHEADTRK [MTK] |
Yes |
|
MFGITMTRK [MKI] |
Yes |
Transaction
There is no transaction in progress.
Log file
There is an open log file.
Available variables and masks
Variable or mask |
Definition |
Mask MTKBENCHI [MBI] |
Finished product grid |
Char WMTKNUMSTR |
Number of the first tracking created |
Char WMTKNUMEND |
Number of the last tracking created |
Char ERR_TRA(132) |
Log file text |
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 |
FACILITY |
Yes |
Site |
BOM |
No |
BOM header |
MFGHEADTRK |
No |
Tracking header |
MFGHEAD |
No |
WO header |
MFGITM |
No |
Released product |
MFGITMTRK |
No |
Released product tracking |
BENMTKMAJ
Context and operating mode
In the context of the entry point :
- There is no current transaction
- A trace file is open
The following tables are on line :
Table |
Significant content |
Table description |
---|---|---|
FACILITY [FCY] |
Yes |
|
BOM [BOH] |
No |
Header BOMS |
MFGITM [MFI] |
No |
Work orders - products |
MFGHEAD [MFG] |
No |
CUSSELENR: Controls on the released product being analyzed.
Use this entry point to take over in the read loop for the released products to be taken into account in the production plan processing (FUNBENCHI function), thus allowing the possible exclusion of a product.
Deactivating the GPE variable (value=0) is used to avoid the loading of the [MFI] current line in the grid.
Context and operating mode
In the context of the entry point :
- There is no current transaction
- A trace file is open
The following tables are on line :
Table |
Significant content |
Table description |
---|---|---|
FACILITY [FCY] |
Yes |
|
BOM [BOH] |
No |
Header BOMS |
MFGITM [MFI] |
No |
Work orders - products |
MFGHEAD [MFG] |
No |
Transaction
There is no transaction in progress.
Log file
There is no open log file.
Available screens and file classes
The MTKBENCHI mask is open and the different selections are loaded. The released product grid is being loaded and a [MFI] file recording is being analyzed to check whether all the criteria are met in order to load the file in the grid.
The deactivating the GPE variable (value=0) is used to avoid the loading of the [MFI] current line in the grid.
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 |
FACILITY |
Yes |
Site |
ROUTING |
No |
Routing header |
ROUOPE |
No |
Route detail |
MFGHEAD |
Yes |
WO header |
MFGITM |
Yes |
Released product |
WORKSTATIO |
No |
Work centers |
BEFVALID: Before validation
Use this entry point to authorize or not the validation after specific controls.
Context and operating mode
In the context of the entry point :
- There is no current transaction
- A trace file is open
The following tables are on line :
Table |
Significant content |
Table description |
---|---|---|
FACILITY [FCY] |
Yes |
|
BOM [BOH] |
No |
Header BOMS |
MFGITM [MFI] |
No |
Work orders - products |
MFGHEAD [MFG] |
No |
Transaction
There is no transaction in progress.
Log file
There is no open log file.
Available screens and file classes
The MTKBENCHI mask is open and the different selections are loaded. The released product grid is being loaded and a [MFI] file recording is being analyzed to check whether all the criteria are met in order to load the file in the grid.
The activation of the GPE variable (value=1) is used to stop the validation.
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 |
FACILITY |
Yes |
Site |
ROUTING |
No |
Routing header |
ROUOPE |
No |
Route detail |
MFGHEAD |
Yes |
WO header |
MFGITM |
Yes |
Released product |
WORKSTATIO |
No |
Work centers |
MBITRKCRE: Tracking creation order
Use this entry point to take over after the controls authorizing the creation of trackings have been performed.
The standard will sort the grid lines according to IPTDAT, PRODTYP, MFGNUM and CLEFLG. It is then possible to perform a personalized sort. The value 1 must then be added to the WCRETRK variable.
It it also possible for the user to indicate that they want to use the EP according to MBITRKLIN by adding the value 2 to the WCRETRK variable.
Context and operating mode
In the context of the entry point :
- There is no current transaction
- A trace file is open
The following tables are on line :
Table |
Significant content |
Table description |
---|---|---|
FACILITY [FCY] |
Yes |
|
BOM [BOH] |
No |
Header BOMS |
MFGITM [MFI] |
No |
Work orders - products |
MFGHEAD [MFG] |
No |
Transaction
There is no transaction in progress.
Log file
There is an open log file.
Available screens and file classes
The MTKBENCHI mask is open and 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 |
FACILITY |
Yes |
Site |
BOM |
No |
BOM header |
BOMD |
No |
BOM detail |
MFGHEAD |
No |
WO header |
MFGITM |
No |
Released product |
WORKSTATIO |
No |
Work centers |
MBITRKLIN: Force the creation of a new tracking number
This entry point is triggered only if the value 2 has been added to the WCRETRK variable (WCRETRK=2 or 3) in the MBITRKCRE entry point. It it used to force the creation of a new tracking and thus avoid the accumulation of different plan lines into a signle tracking by assigning the value 1 to the WNEW variable.
The standard will always create a new tracking when loading the allocation date.
For example, to force the creation of a new tracking when loading the WO number:
If WWMFGNUM<>[M:MBI]MFGNUM(nolign-1)
WNEW=1
Endif
Context and operating mode
In the context of the entry point :
- There is no current transaction
- A trace file is open
The following tables are on line :
Table |
Significant content |
Table description |
---|---|---|
FACILITY [FCY] |
Yes |
|
BOM [BOH] |
No |
Header BOMS |
MFGITM [MFI] |
No |
Work orders - products |
MFGHEAD [MFG] |
No |
Transaction
There is one transaction in progress.
Log file
There is an open log file.
Available screens and file classes
The MTKBENCHI mask is open and loaded.
Available variables
WNEW: 0 by default Change to 1 to create a new tracking
WWMFGNUM: WO number of the tracking line that has just been created
nolign: line number being processed
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 |
FACILITY |
Yes |
Site |
BOM |
No |
BOM header |
BOMD |
No |
BOM detail |
MFGHEAD |
No |
WO header |
MFGOPE |
No |
WO operations |
WORKSTATIO |
No |
Work centers |