1.Functional Description
This business function will determine the next related sequence number for ECO Parts List (F3013) 
record.
This business function will determine the next related 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) and Primary Sequence (PSQ) passed as input 
parameters, to determine the Last Related Sequence used by the Document number(DOCO) and primary 
sequence(PSQ).
    If  the ECO Parts list records do not exist for specified DOCO, PSQ set  Related Sequence to 0 
and return.
2.0.  Add 1 to Last Related Sequence..  
3.0   Load Last Related Sequence number into Output parameter.
Retrievals:
 1.  ECO Parts List Detail Table (F3013).
Returns:
1.  ECO Related Sequence Number for Document Number(DOCO) and Primary Sequence(PSQ).
2.  Error Message ID..
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
^
D3001030 - Get F3013 Next Related Seq
| 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, 
  | ||||
| mnPrimarySequence | PSQ | MATH_NUMERIC | NONE | NONE | 
| mnRelatedSequence | RSQ | MATH_NUMERIC | NONE | NONE | 
| cSuppressErrorMessage | EV01 | char | NONE | NONE | 
An option that specifies the type of processing for an event.  | ||||
| szErrorMessageID | DTAI | char | NONE | NONE | 
A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
  | ||||
| None | 
| F3013 ECO Parts List Detail |