CreateSalesOrderKeyString

BSFN For Updating F00166 Table

Minor Business Rule

Object Name: BSF00166

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

Data Structure

DSF00166 - Data Structure For Populating F00166 Table

Parameter NameData ItemData TypeReq/OptI/O/Both
szCompanyKeyOrderNoKCOOcharOPTOUTPUT

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.

mnDocumentOrderInvoiceEDOCOMATH_NUMERICOPTOUTPUT

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.

szOrderTypeDCTOcharOPTOUTPUT

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

GenericTextKeyTXKYcharOPTINPUT

A key that uniquely identifies a record in the generic text database.

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.

mnAddressNumberAN8MATH_NUMERICOPTOUTPUT

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

mnIdentifierShortItemITMMATH_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

szLanguagePreferenceLNGPcharOPTOUTPUT

A user defined code (01/LP) that specifies the language to use on forms and printed reports. Before you specify a language, a code for that 
language must exist at either the system level or in your user preferences.

cGenericFlag1GFL1charOPTINPUT

Reserved by J.D. Edwards.

Related Functions

None

Related Tables

None