Process RECTXTUTI: RECTXTUTI
ADDTXTUTI: Addition of specific/custom texts
Reminder: In version 140, the user texts for the OBJects (example: Purchase texts etc) are saved in the ACB type fields (Clob).
This entry point located in the RECTXTUTI process, is used to process the custom/specific defined texts.
Context and operating mode
Transaction
There is no transaction in progress.
Log file
There is no open log file.
Call context
This entry point is called after the creation of the internal grids for the definition of the standard texts.
The grids are used to construct the lines of the mask for the selection of the type of text to be created (Rich text or plain text). It is not possible to create, modify or delete the line in the mask. The entry point is designed to complete these initialization grids before the display of the mask.
Available variables and masks
Internal grid with 150 lines
Local Char TABLE (15) (0..150) : # Table
Local Integer NLIEN (0..150) : # Link ( Do not modify )
Local Char FIELD1 (15) (0..150) : # Text field 1
Local Char FIELD2 (15) (0..150) : # Text field 2
A table or the text(s) for the table are used as an index. If a table contains more than 2 texts, an index line + 1 is necessary (see the SDELIVERY table). It is not possible to modify the value of the NLIEN grid.
Index |
TABLE
|
FIELD1 1st text field |
FIELD2 2nd text field |
0 |
ITMMASTER |
PURTEX |
MFGTEX |
1 |
|
|
|
2 |
ITMSALES |
ITSTEX |
ITPTEX |
3 |
|
|
|
4 |
ITMBPC |
ITSTEX |
ITPTEX |
5 |
|
|
|
6 |
ITMBPS |
TEX |
|
7 |
|
|
|
8 |
BPCUSTOMER |
INVTEX |
ORDTEX |
9 |
|
|
|
10 |
BPDLVCUST |
DLVTEX |
PRPTEX |
11 |
|
|
|
12 |
BPSUPPLIER |
ORDTEX |
RTNTEX |
13 |
|
|
|
14 |
BOM |
HEATEX |
|
15 |
|
|
|
16 |
BOMD |
BOMTEXNUM |
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
PREQUIS |
TEX1 |
TEX2 |
21 |
|
|
|
22 |
PREQUISD |
LINTEX |
|
23 |
|
|
|
24 |
PQUOTAT |
TEX1 |
TEX2 |
25 |
|
|
|
26 |
PQUOTATD |
LINTEX |
|
27 |
|
|
|
28 |
PORDER |
TEX1 |
TEX2 |
29 |
|
|
|
30 |
PORDERC |
TEX |
|
31 |
|
|
|
32 |
PORDERQ |
LINTEX |
|
33 |
|
|
|
34 |
PRECEIPT |
TEX1 |
TEX2 |
35 |
|
|
|
36 |
PRECEIPTD |
LINTEX |
|
37 |
|
|
|
38 |
PRETURN |
TEX1 |
TEX2 |
39 |
|
|
|
40 |
PRETURND |
LINTEX |
|
41 |
|
|
|
42 |
PINVOICEV |
TEX1 |
TEX2 |
43 |
|
|
|
44 |
PINVOICED |
LINTEX |
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
SQUOTE |
SQHTEX1 |
SQHTEX2 |
49 |
|
|
|
50 |
SQUOTED |
SQDTEX |
|
51 |
|
|
|
52 |
SORDER |
SOHTEX1 |
SOHTEX2 |
53 |
|
|
|
54 |
SORDERQ |
SOQTEX |
|
55 |
|
|
|
56 |
SORDERC |
SOCTEX |
|
57 |
|
|
|
58 |
SDELIVERY |
SDHTEX1 |
SDHTEX2 |
59 |
SDELIVERY |
PRPTEX1 |
PRPTEX2 |
60 |
|
|
|
61 |
SDELIVERYD |
SDDTEX |
PRPTEX |
62 |
|
|
|
63 |
SRETURN |
SRHTEX1 |
SRHTEX2 |
64 |
|
|
|
65 |
SRETURND |
SRDTEX |
|
66 |
|
|
|
67 |
SINVOICEV |
SIHTEX1 |
SIHTEX2 |
68 |
|
|
|
69 |
SINVOICED |
SIDTEX |
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
ROUTING |
TEXNUM |
|
74 |
|
|
|
75 |
ROUOPE |
ROOTEX |
|
76 |
|
|
|
77 |
ROUOPESTD |
OPETEXNUM |
|
78 |
|
|
|
79 |
MFGHEAD |
MFGTEX |
|
80 |
|
|
|
81 |
MFGMAT |
MFMTEX |
|
82 |
|
|
|
83 |
MFGOPE |
MFOTEX |
|
84 |
|
|
|
85 |
MFGHEADTRK |
MTKTEX |
|
86 |
|
|
|
87 |
MFGMATTRK |
MKMTEX |
|
88 |
|
|
|
89 |
MFGOPETRK |
MKOTEX |
|
90 |
|
|
|
91 |
CAPVAR |
VARTEX |
|
92 |
HANDLING |
TEX |
|
93 |
|
|
|
94 |
SCALES |
TEX |
|
95 |
|
|
|
|
|
|
|
Method of operation:
Content of the entry point
- Addition of custom/specific text SPETEX1 for the table ITMBPS
FIELD2(6)="SPETEX1"
- Addition of custom/specific text SPETEX2 for the table ITMBPC
TABLE(5)="ITMBPC": FIELD1(5)="SPETEX2"
- Addition of custom/specific text SPETEX3 for the table BPCARRIER without standard text
TABLE(18)="BPCARRIER": FIELD1(18)="SPETEX3"
WARNING :
If the ADDTXTUTI entry point is used for a table defined as specific, the tables ATABLE, ATABIND, ATABZON, ATEXTE must be opened in the entry point under the folder that will be entered in the launch mask.