Functional Description
Purpose
This function will perform all of the deletes associated with the deletion of a print message. If
the message deleted is for the base language all other languages that the message is set up for will
also be deleted. The Generic Text containing the message will be deleted. The print message will also
be removed from the UDC table 40/OR.
Technical Specification
2.4Processing
1.If the language preference field is blank then
delete all records in the Print Message file (F4016) using IMNG and ITM as the key
Else
delete records in the Print Message file (F4016) using INMG, ITM and LNGP as the key
2.If F4017 Flag is equal to '1' and Language Preference is blank
Delete the Report Default records (F4017) using two keys INMG and ITM
If PrintMessage passed in is blank, load ITM with "-9999999" .
If PrintMessage passed in is not blank, load ITM with "0".
Else
Do nothing
3.If DeleteUDCFlag = '1' and Language Preference is blank, delete print message value out of the
user defined code F0005.
4.If Language Preference is not blank, delete print message value out of the user defined code
F0005D.
D4001070 - Delete Text Messages
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szPrintMessage | INMG | char | NONE | NONE |
A user defined code that you assign to each print message. Examples of text used in messages are engineering specifications, hours of
| ||||
mnShortItemNumber | ITM | MATH_NUMERIC | NONE | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
szLanguagePreference | LNGP | char | NONE | NONE |
A user defined code (01/LP) that specifies the language to use on forms and printed reports. Before you specify a language, a code for that
| ||||
cDeleteUDCFlag | EV01 | char | NONE | NONE |
Special Input Expected
| ||||
szProgramID | PID | char | NONE | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
cDeleteF4017Flag | EV02 | char | NONE | NONE |
Special Input Expected
|
None |
F0005 User Defined Codes | ||||
F0005D User Defined Codes - Alternate Language Descriptions | ||||
F4016 Print Messages | ||||
F4017 Print Message Report Defaults |