F4211CWGetSORecords

F4211 CW Get SO Records

Minor Business Rule

Object Name: B32C0100

Parent DLL: CMFG

Location: Client/Server

Language: C

Data Structure

D32C0100 - F4211 CW Get SO 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.

mnShortItemNumberITMMATH_NUMERICOPTOUTPUT

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szScndItemNumberLITMcharOPTOUTPUT

A number that identifies the item. The system provides three separate item numbers plus an extensive cross-reference capability to 
alternative item numbers. The three types of item numbers are: Item Number (short) An 8-digit, computer-assigned item number. 2nd Item Number A 
25-digit, user defined, alphanumeric item number. 3rd Item Number  Another 25-digit, user defined, alphanumeric item number. In addition to 
these three basic item numbers, the system provides an extensive cross-reference search capability. You can define numerous 
cross-references to alternative part numbers. For example, you can define substitute item numbers, replacements, bar codes, customer numbers, or 
supplier numbers.

szThirdItemNumberAITMcharOPTOUTPUT

The system provides three separate item numbers plus an extensive cross-reference capability to alternate item numbers. These item 
numbers are as follows: 1.  Item Number (short) - An 8-digit, computer-assigned item number. 2.  2nd Item Number - The 25-digit, free-form, user 
defined alphanumeric item number. 3.  3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item number.  In addition to 
these three basic item numbers, an extensive cross-reference search capability has been provided (see XRT). Numerous cross references to 
alternate part numbers can be user defined, such as substitute item numbers, replacements, bar codes, customer numbers, or supplier 
numbers.

szDescription1DSC1charOPTOUTPUT

Brief information about an item; a remark or an explanation.

szDescription2DSC2charOPTOUTPUT

A second, 30-character description, remark, or explanation.

mnForeignUnitPriceFPRCMATH_NUMERICOPTOUTPUT

The list price in the unit of measure of the base price retrieved from the Base Price File (F4106).  This is the price the customer would pay if 
there were no price adjustments applied during Sales Order Entry.  This price is stored in the customer's currency.

mnForeignExtendedPriceFEAMATH_NUMERICOPTOUTPUT

The product of the foreign price times the number of units.

szLocationLOCNcharOPTOUTPUT

The storage location from which goods will be moved.

szLotLOTNcharOPTOUTPUT

A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics.

mnUnitPriceLPRCMATH_NUMERICOPTOUTPUT

The list price in the unit of measure of the base price retrieved from the Base Price File (F4106).  This is the price the customer would pay if 
there were no price adjustments applied during Sales Order Entry.  This price is stated in domestic currency.

mnUnitCostUNCSMATH_NUMERICOPTOUTPUT

The amount per unit, derived by dividing the total cost by the unit quantity.

mnExtendedCostECSTMATH_NUMERICOPTOUTPUT

For accounts receivable and accounts payable, the invoice (gross) amount. For sales orders and purchase orders, the unit cost times the 
number of units.

szUnitOfMeasureUOMcharOPTOUTPUT

A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box).

szUnitOfMeasurePricingUOM4charOPTOUTPUT

A user defined code (00/UM) that indicates the unit of measure in which you usually price the item.

mnUnitWeightITWTMATH_NUMERICOPTOUTPUT

The weight of one unit of an item, expressed in the primary unit of measure.

szUnitOfMeasureWeightUWUMcharOPTOUTPUT

A user defined code (00/UM) that identifies the unit of measure that the system uses to indicate weight for this item. You can specify ounces, 
grams, kilograms, and so on, as weight standards. The system uses this unit of measure for the item or overrides it for an individual item or 
container.

mnForeignUnitCostFUCMATH_NUMERICOPTOUTPUT

Amount - Foreign Unit Cost

mnForeignExtCostFECMATH_NUMERICOPTOUTPUT

The product of the cost of an item, expressed in foreign currency according to the orders exchange rate, times the number of units.

Related Functions

None

Related Tables

F4211 Sales Order Detail File