Retrieve records from the print message report default file (F4017) for each document in the UDC 
table 40/OR to determine if the print on report flag is a No or a Yes
D4001080 - Get Report Defaults
| 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 
  | ||||
| szPrintMessageProgramID | 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 
  | ||||
| cReturnCode | EV01 | char | NONE | NONE | 
An option that specifies the type of processing for an event.  | ||||
| cWriteRecord | EV02 | char | NONE | NONE | 
An option that specifies the type of processing for an event.  | ||||
| szProgramID | PIDP | char | NONE | NONE | 
The RPG program name defined in the Software Inventory Master file.  See the JDE Numbering Conventions in General Overview (section 
  | ||||
| B9800100 Get Audit Information | 
| F4017 Print Message Report Defaults |