GetReportDefaults

Get Report Defaults

Minor Business Rule

Object Name: B4001080

Parent DLL: COPBASE

Location: Client/Server

Language: C

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

Data Structure

D4001080 - Get Report Defaults

Parameter NameData ItemData TypeReq/OptI/O/Both
szPrintMessageINMGcharNONENONE

A user defined code that you assign to each print message. Examples of text used in messages are engineering specifications, hours of 
operation during holiday periods, and special delivery instructions.

szPrintMessageProgramIDPIDcharNONENONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

cReturnCodeEV01charNONENONE

An option that specifies the type of processing for an event.

cWriteRecordEV02charNONENONE

An option that specifies the type of processing for an event.

szProgramIDPIDPcharNONENONE

The RPG program name defined in the Software Inventory Master file.  See the JDE Numbering Conventions in General Overview (section 
00.270) for a full explanation.  The numbering system is illustrated below. T SS XXX     o where T = Specific member ID number     o where SS = 
System number (e.g., 01 = Address Book)     o where XXX = Member type (e.g., P = Program, R = Report, etc.)

Related Functions

B9800100 Get Audit Information

Related Tables

F4017 Print Message Report Defaults