VerifyPOLineStatusCode

Verify PO Line Status Code

Minor Business Rule

Object Name: B4300260

Parent DLL: CDIST

Location: Client/Server

Language: C

This funtion will determine whether all lines of a Purchase Order are less than, equal to or greater than a given status 
code. The Purchase Order detail line NEXT status code is checked against the status code provided in the data structure 

of the business function.


This business function will read through ALL the lines of a purchase  order and should therefore be used with caution^

Data Structure

D4300260 - VerifyPOLinesStatusCode

Parameter NameData ItemData TypeReq/OptI/O/Both
szOrderTypeDCTOcharNONENONE

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

mnOrderNumberDOCOMATH_NUMERICNONENONE

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.

szOrderCompanyKCOOcharNONENONE

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.

szOrderSuffixSFXOcharNONENONE

In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies 
multiple transactions for an original order. For purchase orders, the code is always 000. For sales orders with multiple partial receipts against an 
order, the first receiver used to record receipt has a suffix of 000, the next has a suffix of 001, the next 002, and so on.

szEvaluationRuleERULcharNONENONE

Keywords which decribe an editing technique applied when data is entered. Validation applied to the data after Enter is pressed. The rule 
will be applied as specified in the F9207 table at the screen/report and/or the action code as desired. The developer can override these rules 
at the time of program creation. The current list of these rules is kept in the User Defined Codes at SYSTEM = 98 and RECORD TYPE = ER.

szStatusCodeToCheckNXTRcharNONENONE

A user defined code (system 40/type AT) indicating the next step in the order flow of the line type.

cEvaluationStatusFlagEV01charNONENONE

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

Related Functions

None

Related Tables

F4311 Purchase Order Detail File