Process MFGSELLIB: Production Order Selection
ADDCOL: Possibility to choose the columns in the range selection window
This entry point is used to insert additional logic upon selection of a range. It gives the possibility to choose the columns to be displayed in the selection window.
Context and operating mode
Transaction
There is no transaction in progress.
Log file
There is no open log file.
Different call cases - Available variables and masks
According to the calling context
The ITMMASTER table will be loaded if there is a creation/copy of a range at the call to the entry point.
Otherwise, the ROUTING table will be loaded.
The following parameters are loaded as such:
- START char(250): value that will be entered in the field once the choice is made
- ORDER char(250): sort order of the records
|
Context = creation / copy of a range |
Other context |
START = |
ITMREF |
ITMREF |
ORDER = |
ITMREF |
ITMREF;ROUALT |
Use
This entry point is designed to take control during the choice of columns in the selection window.
The GPE variable is used. It is set to the value 0 by default. It must be set to 1 in the specific/custom process linked to the entry point if this entry point takes control of the columns' construction. On returning to the standard processing, the GPE value is tested. If it is different than 0, the lines where the columns are defined are short-circuited.
At the time of the call, the following parameters are available:
Variable |
Definition |
Value |
NBCOL integer |
Column number. |
0 |
COL char (50) |
Name of the fields to display in the column. |
|
The syntax used is as follows:
NBCOL += 1: COL(NBCOL)="ITMREF" : Gosub TEXTE from MFGSELLIB
The TEXTE subprogram is used to launch the loading of the columns and their description.
Note: The value retrieved is the value from ITMREF, therefore the first column will have to be loaded by this field.
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 |
MFGITM |
No |
Released products |
ROUTING |
No |
Routing header |
ADDCOLTRO: Selection of columns for the routing code selection window
This entry point is used to insert additional logic upon selection of a routing code (SELROUNUM action). It gives the possibility to choose the columns to be displayed in the selection window.
Context and operating method
Transaction
There is no transaction in progress.
Log file
There is no open log file.
Different call cases - Available variables and masks
The ROUTING table is loaded when the entry point is called.
The following parameters are loaded as follows:
- START char(250): value that will be entered in the field once the choice is made
- ORDER char(250): sort order of the records
NIVEAU parameter for the SELROUNUM action = |
'1' |
'2' |
START = |
ITMREF |
ROUALT |
ORDER = |
ROUALT |
ROUALT |
Use
This entry point is designed to take control during the choice of columns in the selection window.
The GPE variable is used. It is set to the value 0 by default. It must be set to 1 in the specific/custom process linked to the entry point if this entry point takes control of the columns' construction. On returning to the standard processing, the GPE value is tested. If it is different than 0, the lines where the columns are defined are short-circuited.
At the time of the call, the following parameters are available:
Variable |
Definition |
Value |
NBCOL integer |
Column number. |
0 |
COL char (50) |
Name of the fields to display in the column. |
The syntax used is as follows:
NBCOL += 1: COL(NBCOL)="ITMREF": Gosub TEXTE from MFGSELLIB
The TEXTE subprogram is used to launch the loading of the columns and their description.
Note: The value retrieved is the value from ITMREF, therefore the first column will have to be loaded by this field.
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 |
TABROUALT |
No |
BOM routings |
ROUTING |
No |
Routing header |