1.Functional Description
1.1Purpose
This function will calculate the sequence number to be used to update the Serial Number Association
cache in B3101310. This function will return an existing sequence number if a match is found on the
Order Number and Parent Lot Number in the Parent Serial Number cache. If a match is not found, the
Error Message Id is set to '0002' and a new sequence number is calculated by incrementing the last
sequence number value found in the cache for the Order Number.
1.2Setup Notes and Prerequisites
None.
1.3Special Logic
There is no special logic within this function.
2.Technical Specifications
2.4Processing
1)Read the Parent Serial Number cache sequentially until a match on the Order Number and Parent Lot
number is found.
2)If a record is not found in the cache:
b)Increment the last sequence number found on the cache to use as a new Sequence Number to be
passed back the calling program.
3)Return the new or existing Sequence Number (OSEQ) to the calling program.
^
D3101340 - Calculate Serial No Seq No
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,
| ||||
mnJobnumber | JOBS | MATH_NUMERIC | NONE | NONE |
The job number (work station ID) which executed the particular job. | ||||
mnSequenceNumber | OSEQ | MATH_NUMERIC | NONE | NONE |
For OneWorld, the sequence by which users can set up the order in which their valid environments are displayed.
For World, a sequence or
| ||||
cSuppressErrorMessages | 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
| ||||
szParentLot | PLOT | char | NONE | NONE |
An inventory separation device that allows tracking of the inventory by date received or similar convention to control lots or layers. |
None |
None |