1.Functional Description
1.1Purpose
This function reads the ECO Parts List file (F3013) and counts the number of work orders on the file
containing the item number passed in as input to the function. When selecting F3013 records to be
counted for a given item, this function excludes:
a) the order whose number was passed in as input,
b) any order whose branch/plant does not match the branch/plant value passed in as input,
c) any order whose order type does not match the order type value passed in as input,
d) completed work orders (orders are "completed" if the completion date on the F4801 Work
Order Master is not null).
Also, an order on the F3013 Parts List file will only be counted once, even though there will may be
multiple records on the order for the selected item number.
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 F3013 (ECO Parts List) table which match the item number passed in as
input; the first element of the third key of this file (Index = ITM, DOCO; use ITM only) should be
used for this Select function.
order number read, save the order number value and do not count subsequent F3013 records for the
same order; i.e. only count an order once when passing through the fetched records.
business function passing the order number. Increment the Total number of Order count only if
all of the following are true:
parameter,
c)The Completion Date on the F4801 Work Order Master is null.
3.After all fetched records have been processed, return the Total Number of Orders to the calling
program.
^
D3001310 - Get Number Of Pending Orders
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnTotalOrders | MATH01 | MATH_NUMERIC | NONE | NONE |
- - - Good Performance Low Value. | ||||
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,
| ||||
mnShortItemNumber | ITM | MATH_NUMERIC | NONE | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
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
| ||||
mnOrderNumberGB | 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,
| ||||
szOrderTypeGB | DCTO | char | NONE | NONE |
A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has
| ||||
szBranch | MMCU | char | NONE | NONE |
A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which
| ||||
cReleaseRequest | EV02 | char | NONE | NONE |
An option that specifies the type of processing for an event. |
B3000780 Get ECO Parts List Sequentially | ||||
B3100310 Get Work Order Data I |
F3013 ECO Parts List Detail |