1.Functional Description
This business function will determine the next primary sequence number for ECO Parts List (F3013) 
record.
This business function will determine the next primary sequence number for ECO Parts List (F3013) 
record.
1.2Setup Notes and Prerequisites
1.3Special Logic
None.
2.Technical Specifications
2.4Processing 
1.0.  Retrieve rows from the ECO Parts List Table (F3013) by the Index "Document number, Primary 
Sequence, Related Sequence", using Document number(DOCO) passed as input parameter, to determine the Last 
Primary Sequence used by the Document number(DOCO). If  the ECO Parts list records do not exist for 
specified DOCO, set Last Primary Sequence to ZERO.
2.0.  Add 1 to Last Primary Sequence.  
3.0   Load Last Primary Sequence number into Output parameter.
Retrievals:
 1.  ECO Parts List Detail Table (F3013).
Returns:
1.  ECO Primary Sequence number for Document Number(DOCO).
2.  Return Status.
Checklist:
 Business Function SVR(The Business Function SVR document can be found on 
 in the shared folder NTSERV2.xls)
  ______Business Function Name
  ______Source file Name
  ______Description of what the function does
  ______Which programs use the function
  ______Authors name
     Object Librarian Check:
  ______Verify Related Functions List against header file
  ______Verify Related Tables List against header file
  ______Verify Business Function Data Structure in the header file against 
    Business Function Parameter List
  ______"Check In" All the Business Function Parameter Lists
    All Business Functions must be run through Bounds Checker before checking them  in.
  ______Bounds Checker
Note:Make sure to highlight the line and click on either 'Parameters' or 'Notes' button to get 
Function ID
^
D3000810 - Get F3013 Next Primary Sequence
| 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, 
  | ||||
| mnNextPrimarySequence | PSQ | MATH_NUMERIC | NONE | NONE | 
| cReturnStatus | EV01 | char | NONE | NONE | 
An option that specifies the type of processing for an event.  | ||||
| None | 
| F3013 ECO Parts List Detail |