1.Functional Description
1.1Purpose
This function will process all issues on the Item Ledger table for the Order Number passed in as
input. Based on the processing rules defined below (see processing logic), a total issues quantity is
accumulated and returned to the calling program. The calling program will evaluate this quantity and set
an error message if appropriate.
1.2Setup Notes and Prerequisites
None.
1.3Special Logic
There is no special logic within this function.
2.Technical Specifications
2.4Processing
1)Select all rows from the Item Ledger (F4111) table matching the Order Number (DOCO), and Issues
Type Code (DCT) passed in as input.
2)For each record retrieved:
ii)If Program Id (PID) is "P31113", "EP31113", "EP31114", "P31114", "R31420", or "P31420":
iii)Read the Issues Qty cache using "Cache, Process Serial Number Issues" (B3101300).
and rewrite the record.
(2)If a record was not found, write a new Issues Qty cache record.
^
D3101330 - Calculate Serial Nos Issues Qty
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,
| ||||
szDocumentType | DCT | char | NONE | NONE |
A user defined code (00/DT) that identifies the origin and purpose of the transaction. PeopleSoft reserves several prefixes for document
| ||||
cSuppressErrorMsgs | 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
| ||||
mnIssuesQtyCacheJob | JOBS | MATH_NUMERIC | NONE | NONE |
The job number (work station ID) which executed the particular job. |
None |
None |