RetrieveInvoiceBatchText

Retrieve Invoice Batch Text Function (F00165)

Minor Business Rule

Object Name: N48S0616

Parent DLL: CCRIN

Location: Client/Server

Language: NER

Data Structure

D48S0616 - Retrieve Invoice Batch Text Data Structure

Parameter NameData ItemData TypeReq/OptI/O/Both
cInvoiceTextLevel_R15PR15PcharOPTINPUT

A code that determines which level of text within a batch of invoices you wish to access and print. Valid values are:    1   Batch Level.  Print 
text that is associated with the entire batch of invoices.    2   Invoice Level.  Print text that is associated with an individual invoice.    3   Pay Item.  
Print text defined by specific pay item.    4   Transaction.  Print text that has been entered for individual transactions. Note: If you leave this field 
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'.

mnBatchNumber_ICUICUMATH_NUMERICOPTINPUT

A number that identifies a group of transactions that the system processes and balances as a unit. When you enter a batch, you can either 
assign a batch number or let the system assign it using the Next Numbers program.

mnDocumentOrderAlt_DOCZDOCZMATH_NUMERICOPTINPUT

The original document number.  This can be a voucher, an invoice, unapplied cash, a journal entry number, etc.  Matching document 
numbers are also used to identify related documents in the Accounts Receivable and Accounts Payable systems.  See matching document 
(DOCM).  This document number (DOCO) is always the original document number, and the matching document number (DOCM) is the check, 
adjustment, or credit to be applied against the original document. For example: A/P Automated/Manual Payment: Original (DOCO) - Voucher; 
Matching Document (DOCM) - Payment  A/R Original Invoice: Original (DOCO) - Invoice  Receipt Application: Original (DOCO) - Invoice; Matching 
Document (DOCM) - Receipt Credit Memo/Adjustment: Original (DOCO) - Invoice; Matching Document (DOCM) -Credit Memo  Unapplied 
Case: Original (DOCO) - Receipt

szDocTypeInvoiceOnly_DCTIDCTIcharOPTINPUT

A user defined (00/DI) document type for invoice entry. Any document type set up for invoice-only entry should begin with the letter R 
(receivables). The default is RI, RR, or RM. Reserved document types have been defined for vouchers, invoices, receipts, and time sheets. The 
reserved document types are: P_ Accounts Payable Documents R_Accounts Receivable Documents T_ Payroll Documents I_Inventory 
Documents O_ Order Processing Documents  Note: Verify that the default document type for invoices is set up in both UDC 00/DT and UDC 00/DI.

szDocumentCompanyInvoice_KCOIKCOIcharOPTINPUT

Invoice Document Company.

szDocumentPayItem_SFXSFXcharOPTINPUT

A number that identifies the pay item for a voucher or an invoice. The system assigns the pay item number. If the voucher or invoice has 
multiple pay items, the numbers are sequential.

mnBillingControlId_BCIBCIMATH_NUMERICOPTINPUT

A unique number that the system assigns to each billing record. The system assigns the number from the Next Numbers - Automatic table 
(F0002) for system 15, line 2 (Billing Control).

jdDtForGLAndVouch1_DGLDGLJDEDATEOPTINPUT

A date that identifies the financial period to which the transaction is to be posted.  The company constants specify the date range for each 
financial period. You can have as many as 14 periods. Generally, period 14 is used for audit adjustments. The system validates this field for 
PBCO (posted before cutoff), PYEB (prior year ending balance), PACO (post after cutoff), and WACO (post way after cutoff) messages.

mnSequenceNbrSrvcBilling_SBSQSBSQMATH_NUMERICOPTINPUT

A number that provides an audit trail for the billing detail transactions related to the same billing control ID. The system initially assigns 001 
as the sequence number (SBSQ) of the original transaction. If you split a transaction, the system increments the number to the next available 
sequence numbers (SBSQ) for the resulting transactions.

mnParentSequenceNbr_PRSQPRSQMATH_NUMERICOPTINPUT

A number that provides an audit trail to the original transaction of a billing detail transaction. The system initially assigns 000 as the parent 
sequence number. The number remains 000 unless you split the transaction. In this case,the sequence number (SBSQ) of the original 
transaction becomes the parent sequence number (PRSQ) for the resulting transactions.

mnSecondarySequence_SCSQSCSQMATH_NUMERICOPTINPUT

A number you can use to track the changes applied to a billing detail transaction. The system initially assigns 001 as the secondary 
sequence number (SCSQ). Each time you modify the billing detail transaction, the system increases the number by 1.

mnSplitLink_SLNKSLNKMATH_NUMERICOPTINPUT

The split link field ties component records to their base record when a transaction split occurs.

mnComponentLink_CLNKCLNKMATH_NUMERICOPTINPUT

A code that attaches the component record to its base work file record.

szComponentCode_CCODCCODcharOPTINPUT

A component code identifies a provisional burden that is accounted for at the billing detail transaction level.

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.

mnPrevBatchNumber_ICUICUMATH_NUMERICOPTINPUT

A number that identifies a group of transactions that the system processes and balances as a unit. When you enter a batch, you can either 
assign a batch number or let the system assign it using the Next Numbers program.

mnPrevDocumentOrderAlt_DOCZDOCZMATH_NUMERICOPTINPUT

The original document number.  This can be a voucher, an invoice, unapplied cash, a journal entry number, etc.  Matching document 
numbers are also used to identify related documents in the Accounts Receivable and Accounts Payable systems.  See matching document 
(DOCM).  This document number (DOCO) is always the original document number, and the matching document number (DOCM) is the check, 
adjustment, or credit to be applied against the original document. For example: A/P Automated/Manual Payment: Original (DOCO) - Voucher; 
Matching Document (DOCM) - Payment  A/R Original Invoice: Original (DOCO) - Invoice  Receipt Application: Original (DOCO) - Invoice; Matching 
Document (DOCM) - Receipt Credit Memo/Adjustment: Original (DOCO) - Invoice; Matching Document (DOCM) -Credit Memo  Unapplied 
Case: Original (DOCO) - Receipt

szPrevDocTypeInvoiceOnly_DCTIDCTIcharOPTINPUT

A user defined (00/DI) document type for invoice entry. Any document type set up for invoice-only entry should begin with the letter R 
(receivables). The default is RI, RR, or RM. Reserved document types have been defined for vouchers, invoices, receipts, and time sheets. The 
reserved document types are: P_ Accounts Payable Documents R_Accounts Receivable Documents T_ Payroll Documents I_Inventory 
Documents O_ Order Processing Documents  Note: Verify that the default document type for invoices is set up in both UDC 00/DT and UDC 00/DI.

szPrevDocCompanyInvoice_KCOIKCOIcharOPTINPUT

Invoice Document Company.

szPrevDocumentPayItem_SFXSFXcharOPTINPUT

A number that identifies the pay item for a voucher or an invoice. The system assigns the pay item number. If the voucher or invoice has 
multiple pay items, the numbers are sequential.

mnPrevBillingControlId_BCIBCIMATH_NUMERICOPTINPUT

A unique number that the system assigns to each billing record. The system assigns the number from the Next Numbers - Automatic table 
(F0002) for system 15, line 2 (Billing Control).

jdPrevDtForGLAndVouch1_DGLDGLJDEDATEOPTINPUT

A date that identifies the financial period to which the transaction is to be posted.  The company constants specify the date range for each 
financial period. You can have as many as 14 periods. Generally, period 14 is used for audit adjustments. The system validates this field for 
PBCO (posted before cutoff), PYEB (prior year ending balance), PACO (post after cutoff), and WACO (post way after cutoff) messages.

mnPrevSeqNbrServiceBill_SBSQSBSQMATH_NUMERICOPTINPUT

A number that provides an audit trail for the billing detail transactions related to the same billing control ID. The system initially assigns 001 
as the sequence number (SBSQ) of the original transaction. If you split a transaction, the system increments the number to the next available 
sequence numbers (SBSQ) for the resulting transactions.

mnPrevParentSequenceNbr_PRSQPRSQMATH_NUMERICOPTINPUT

A number that provides an audit trail to the original transaction of a billing detail transaction. The system initially assigns 000 as the parent 
sequence number. The number remains 000 unless you split the transaction. In this case,the sequence number (SBSQ) of the original 
transaction becomes the parent sequence number (PRSQ) for the resulting transactions.

mnPrevSecondarySequence_SCSQSCSQMATH_NUMERICOPTINPUT

A number you can use to track the changes applied to a billing detail transaction. The system initially assigns 001 as the secondary 
sequence number (SCSQ). Each time you modify the billing detail transaction, the system increases the number by 1.

mnPrevSplitLink_SLNKSLNKMATH_NUMERICOPTINPUT

The split link field ties component records to their base record when a transaction split occurs.

mnPrevComponentLink_CLNKCLNKMATH_NUMERICOPTINPUT

A code that attaches the component record to its base work file record.

szPrevComponentCode_CCODCCODcharOPTINPUT

A component code identifies a provisional burden that is accounted for at the billing detail transaction level.

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