RetrieveContractText

Retrieve Contract Text Function (F00165)

Minor Business Rule

Object Name: N48S0613

Parent DLL: CCRIN

Location: Client/Server

Language: NER

Data Structure

D48S0613 - Retrieve Contract Text Data Structure

Parameter NameData ItemData TypeReq/OptI/O/Both
cContractTextLevel_R30PR30PcharOPTINPUT

Use this parameter to determine which level of text to print. This function applies to Contract Billing only. Valid values are:    1   Contract 
Master    2   Contract Change Order    3   Contract Billing Line If this field is left blank, the system uses '1'.

mnStartingTextPosition_R27PR27PMATH_NUMERICOPTINPUT

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_NUMERICOPTINPUT

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'.

mnDocumentOrderInvoice_DOCODOCOMATH_NUMERICOPTINPUT

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szOrderType_DCTODCTOcharOPTINPUT

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szCompanyKeyOrderNo_KCOOKCOOcharOPTINPUT

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

szContractChangeNum_COCHCOCHcharOPTINPUT

The change number of the contract. The change order number of the base contract is always initialized to 000. Each time you enter a 
change order for a contract, the system automatically increases the change order number by one. For example, the base contract is the change 
order number 000, the first change order is 001, the second is 002, and so on.

mnLineNumber_LNIDLNIDMATH_NUMERICOPTINPUT

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

cFooterSection_FTSCFTSCcharOPTINPUT

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.

mnPrevDocOrderInvoice_DOCODOCOMATH_NUMERICOPTINPUT

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szPrevOrderType_DCTODCTOcharOPTINPUT

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szPrevCompanyKeyOrderNo_KCOOKCOOcharOPTINPUT

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

szPrevContractChangeNum_COCHCOCHcharOPTINPUT

The change number of the contract. The change order number of the base contract is always initialized to 000. Each time you enter a 
change order for a contract, the system automatically increases the change order number by one. For example, the base contract is the change 
order number 000, the first change order is 001, the second is 002, and so on.

mnPrevLineNumber_LNIDLNIDMATH_NUMERICOPTINPUT

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

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