Use this business function to retrieve the unique sales order number from the next number table.   
Next numbering is hardcoded to system 42.
D4200030 - F4201 Get Order No. From Next Number
| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both | 
|---|---|---|---|---|
| mnOrderNumber | DOCO | MATH_NUMERIC | NONE | NONE | 
| A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
 | ||||
| mnNextNoIndex | ORNN | MATH_NUMERIC | NONE | NONE | 
| A code that tells the system which next number series to use when creating order numbers for this order type. There are ten available Next 
 | ||||
| szKeyCompany | KCOO | char | NONE | NONE | 
| A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
 | ||||
| szOrderType | DCTO | char | NONE | NONE | 
| 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 
 | ||||
| jdTransactionDate | TRDJ | JDEDATE | NONE | NONE | 
| The date that an order was entered into the system. This date determines which effective level the system uses for inventory pricing. | ||||
| mnCentury | CTRY | MATH_NUMERIC | NONE | NONE | 
| The calendar century associated with the year. Enter is the first two digits of
the year. For example, 19 indicates any year beginning with 19 
 | ||||
| mnFiscalYear | FY | MATH_NUMERIC | NONE | NONE | 
| A number that identifies the fiscal year. Generally, you can either enter a number in this field or leave it blank to indicate the current fiscal 
 | ||||
| None | 
| F4201 Sales Order Header File |