WorkOrderTextRetrievalFunction

Retrieve Work Order Text Function (F4802)

Minor Business Rule

Object Name: N48S0612

Parent DLL: CCRIN

Location: Client/Server

Language: NER

Data Structure

D48S0612 - Retrieve Work Order Text  Data Structure

Parameter NameData ItemData TypeReq/OptI/O/Both
cWorkOrderRecordType_R06PR06PcharREQINPUT

A code that associates a work order description with a record type. The record type helps to divide the text into meaningful categories. For 
example, the system stores the extended description displayed on the Work Order Entry form as record type "A". Identify the record type of 
the text that you want to print. Valid values for these record types are setup in User Defined Codes,system 00/ user code RT.

mnStartingTextPosition_R27PR27PMATH_NUMERICREQINPUT

Use this parameter to specify the number that relates to the position in the text that will be the beginning character to be printed on this line 
on the invoice. If you wish to begin printing the text where the previous line ended,enter a '-1'.  You use this parameter in conjunction with the 
parameter,Number of Characters To Print, to control the text printing. For example, you may have a paragraph of text that you wish to display on 
the invoice, but have only 40 characters per line to print this information. To display the entire paragraph, you will need to insert multiple 
smart fields. Set the Starting Text Position parameter for the first Smart Field to '1', and set the Number Of Characters to Print parameter '40'. 
Control all subsequent text lines by additional smart fields with the following parameter settings: Starting Text Position set to '-1' and Number Of 
Characters To Print set to  '40'.

mnNumberOfCharsToPrint_R28PR28PMATH_NUMERICREQINPUT

Use this parameter to control the printing of text on an invoice. This parameter is used in conjunction with the Starting Text Position entry. 
Enter the number of characters to be printed.  Valid values are '1' through '60'.

cSubledgerType_SBLTSBLTcharREQINPUT

A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger 
editing. On the User Defined Codes form, the second line of the description controls how the system performs editing. This is either hard-coded 
or user defined. Valid values include: A Alphanumeric field, do not edit   N Numeric field, right justify and zero fill   C Alphanumeric field, right 
justify and blank fill  

szSubledger_SBLSBLcharREQINPUT

A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an 
address book number. If you enter a subledger, you must also specify the subledger type.

cPrevSubledgerType_SBLTSBLTcharREQINPUT

A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger 
editing. On the User Defined Codes form, the second line of the description controls how the system performs editing. This is either hard-coded 
or user defined. Valid values include: A Alphanumeric field, do not edit   N Numeric field, right justify and zero fill   C Alphanumeric field, right 
justify and blank fill  

szPrevSubledger_SBLSBLcharREQINPUT

A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an 
address book number. If you enter a subledger, you must also specify the subledger type.

cFooterSection_FTSCFTSCcharREQINPUT

A hidden flag, embedded in the Invoice Print with Smart Fields program (R48507), that indicates whether a section is a footer or non-footer 
section. These values are passed into the smart fields when you design a version of the Invoice Print with Smart Fields program to determine 
whether the logic should use the Business View field or Previous Business View field. Valid values are: Blank Non-footer section. 1 Footer 
section.

szAlphaField_SRDSSRDScharOPTOUTPUT

A detailed narrative description to explain the pending work order or engineering change order. The field offers unlimited text. You can 
format it on the Record Types screen to divide a work order into sections.

szErrorCode_ERNOERNOcharOPTOUTPUT

The error number assigned by the JDE edit/update programs designating the exact error that occured.

Related Functions

None

Related Tables

None