GetF3013NextRelatedSeq

Get F3013 Next Related Seq

Major Business Rule

Object Name: B3001030

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

1.Functional Description
This business function will determine the next related sequence number for ECO Parts List (F3013) 
record.


1Purpose
This business function will determine the next related sequence number for ECO Parts List (F3013) 
record.



1.2Setup Notes and Prerequisites

The user passes to the business function the Order Number(DOCO) and Primary sequence(PSQ).

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



^

Data Structure

D3001030 - Get F3013 Next Related Seq

Parameter NameData ItemData TypeReq/OptI/O/Both
mnOrderNumberDOCOMATH_NUMERICNONENONE

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.

mnPrimarySequencePSQMATH_NUMERICNONENONE

mnRelatedSequenceRSQMATH_NUMERICNONENONE

cSuppressErrorMessageEV01charNONENONE

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

szErrorMessageIDDTAIcharNONENONE

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 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

Related Functions

None

Related Tables

F3013 ECO Parts List Detail