S421007A_InitializeSOHeader

S421007A Sales Order Header View Controller

Minor Business Rule

Object Name: B4210670

Parent DLL: CSALES

Location: Client/Server

Language: C

Data Structure

D4210670C - S421007A_InitializeSalesOrderHeader

Parameter NameData ItemData TypeReq/OptI/O/Both
szSessionKeySNKYcharREQINPUT

Session Key is the identifier of a Sales Order Session. 

szViewVersionVERScharREQINPUT

A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined 
processing option values and data selection and sequencing options. Interactive versions are associated with applications (usually as a 
menu selection). Batch versions are associated with batch jobs or reports. To run a batch process, you must choose a version.

cAdvancedPricingADVPcharOPTOUTPUT

Indicates how the system determines the price of items within your system.  If your system includes the advanced pricing module, you may 
use this feature.    Y The system will use advanced pricing.    N The system will NOT use advanced pricing.

cTemplateProcessingEV01charOPTOUTPUT

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

cOrderPromisingFlagEV01charOPTOUTPUT

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

cOrderModeEV01charOPTOUTPUT

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

cAddressBookRevisionsEV01charOPTOUTPUT

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

cPrePaymentFlagEV01charOPTOUTPUT

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

Related Functions

None

Related Tables

None
S421007A_SOHeaderViewController

S421007A_SOHeaderViewController

S421007A Sales Order Header View Controller

Minor Business Rule

Object Name: B4210670

Parent DLL: CSALES

Location: Client/Server

Language: C

Data Structure

D4210670A - S421007A_SalesOrderHeaderData

Parameter NameData ItemData TypeReq/OptI/O/Both
szSessionKeySNKYcharOPTNONE

Session Key is the identifier of a Sales Order Session. 

mnOrderNoDOCOMATH_NUMERICOPTNONE

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.

szOrderTypeDCTOcharOPTNONE

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

szOrderCoKCOOcharOPTNONE

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.

mnAddressNumberAN8MATH_NUMERICOPTNONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

mnShipToNoSHANMATH_NUMERICOPTNONE

The address number of the location to which you want to ship this order. The address book provides default values for customer address, 
including street, city, state, zip code, and country.

szBusinessUnitMCUcharOPTNONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

nSalesOrderActionINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

cHeaderProcessStatusEV01charOPTNONE

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

nHeaderHasAttachmentsINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

szLongAddressNumberALKYcharOPTNONE

A user-defined name or number that identifies an address book record.  You can use this number to locate and enter information about the 
address book record. If you enter a value other than the address book number (AN8), such as the long address or tax ID, you must precede 
it with the special character that is defined in the Address Book constants. When the system locates the record, it returns the address book 
number to the field. For example, if address book number 4100 (Total Solutions) has a long address TOTAL and an * distinguishes it from 
other entries (as defined in the Address Book constants), you could type *TOTAL into the field, and the system would return 4100.

szLongAddressNumberShiptoALKYcharOPTNONE

A user-defined name or number that identifies an address book record.  You can use this number to locate and enter information about the 
address book record. If you enter a value other than the address book number (AN8), such as the long address or tax ID, you must precede 
it with the special character that is defined in the Address Book constants. When the system locates the record, it returns the address book 
number to the field. For example, if address book number 4100 (Total Solutions) has a long address TOTAL and an * distinguishes it from 
other entries (as defined in the Address Book constants), you could type *TOTAL into the field, and the system would return 4100.

szSoldToDescriptionAN8ALPHcharOPTNONE

An alphabetical description that identifies the customer to which goods are sold.

szShipToDescriptionSHANALPHcharOPTNONE

The name associated with the "ship to" record.

szWKBaseCurrencyCRDCcharOPTNONE

A code that identifies the domestic (base) currency of the company on a transaction. 

szCurrencyCodeCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

mnExchangeRateCRRMATH_NUMERICOPTNONE

A number (exchange rate) that a foreign currency amount is multiplied by to calculate a domestic currency amount.  The number in this field 
can have a maximum of seven decimal positions. If more are entered, the system adjusts to the nearest seven decimal positions. 

jdOrderDateTRDJJDEDATEOPTNONE

The date that an order was entered into the system. This date determines which effective level the system uses for inventory pricing.

szReferenceVR01charOPTNONE

An alphanumeric value used as a cross-reference or secondary reference number. Typically, this is the customer number, supplier 
number, or job number.

szHoldOrdersCodeHOLDcharOPTNONE

A user defined code (42/HC) that identifies why an order is on hold.

szCreditMessageDL01charOPTNONE

A user defined name or remark.

szTempCreditMessageDL01charOPTNONE

A user defined name or remark.

nViewSelectionRequiredINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

nAttributeINT01integerOPTNONE

Number of Days in Future to Query for Responses Due. 

szViewVersionVERS2charOPTNONE

A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined 
processing option values and data selection and sequencing options. Interactive versions are associated with applications (usually as 
menu selections). Batch versions are associated with batch jobs or reports. To run a batch process, you must choose a version.

cCurrencyModeCRRMcharOPTNONE

An option that specifies whether the system displays amounts in the domestic or foreign currency. On  The system displays amounts in the 
foreign currency of the transaction. Off  The system displays amounts in the domestic currency of the transaction.

mnCustomerContactLineNumIDCCIDLNMATH_NUMERICOPTNONE

mnShipToCusContactLineNumIDSHCCIDLNMATH_NUMERICOPTNONE

Ship To Customer contact line number.

cAuditLoggingEnabledEV01charOPTNONE

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

Related Functions

None

Related Tables

None