F4211CWGetSalesOrderRecords

F4211 CW Get SalesOrder Records

Minor Business Rule

Object Name: B32C0090

Parent DLL: CMFG

Location: Client/Server

Language: C

Data Structure

D32C0090 - F4211 CW Get SalesOrder Records

Parameter NameData ItemData TypeReq/OptI/O/Both
szOrderCompanyKCOOcharOPTINPUT

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.

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

szOrderTypeDCTOcharOPTINPUT

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

mnLineNumberLNIDMATH_NUMERICOPTOUTPUT

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.

szLastStatusLTTRcharOPTOUTPUT

A code (system 40/type AT) specifying the last step in the processing cycle that this order line has successfully completed.

szNextStatusNXTRcharOPTOUTPUT

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

szLineTypeLNTYcharOPTOUTPUT

A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as 
General Ledger, Job Cost, Accounts Payable, Accounts Receivable, and Inventory Management. It also specifies the conditions under 
which a line prints on reports, and it is included in calculations. Codes include the following: S Stock item   J Job cost   N Nonstock item   F Freight  
T Text information   M Miscellaneous charges and credits   W Work order

mnOrderQuantityUORGMATH_NUMERICOPTOUTPUT

The quantity of units affected by this transaction.

szWorkOrderNumberRORNcharOPTOUTPUT

A number that identifies a secondary purchase order, sales order, or work order that is associated with the original order. This number is for 
informational purposes only.

cRequestTypeEV01charOPTINPUT

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

cEndOfFileEV01charOPTOUTPUT

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

idhRequestF4211GENLNGIDOPTBOTH

General purpose ID variable.

Related Functions

None

Related Tables

F4211 Sales Order Detail File