1.Functional Description
1.1Purpose
This business function verifies that the Time Series (F3413) record exists and returns all field
values for the selected record in its output parameters. You can retrieve a record from F3413 using the
index.
1.2Setup Notes and Prerequisites
The user passes to the business function the number of the index they want to use and the number of
key fields within that index that will be used.
1. ITM, MCU, QT, STRT
(if any) will be highlighted. This can be suppressed by turning on the "Suppress Error Message" flag.
Turn on the "Return Values" flag to have the business function return the field values of the
record.
Set the "Call Type" flag to a "1" to have the business function verify that the record exists. Set
it to "2" to have the business function verify that the record does not exist (ie. it returns an error
if a record is found).
1.3Special Logic
None.
2.Technical Specifications
Fetch the Shop Floor Control Time Series Record corresponding to the index and keys entered by the
user.
If Fetch is Unsuccessful
Invalid ) and the first field in the index is highlighted.
If Fetch is successful, return pointer and messages.
If DS Suppress Error Message is not equal to '1', SetGBRError where error message is '2463' and
the first field in the index is highlighted.
If DS CallType is not equal to '2' and DS Return Values Flag = '1', return the values into the
parameter data structure.
List of Indexes:
1.ITM, MCU, QT, STRT
Returns:
If Call Type is equal to '1' and the fetch fails, return Error Message ID '0002' (Record Invalid).
If Call Type is equal to '2' and the fetch is successful, return Error Message ID '2463'.
If Return Values is equal to '1', the fetch is successful, return the values of the record to the
input data structure.
For all other errors( i.e. Invalid Index / Keys Combination) return Error Message ID "3143"
^
D3400710 - Verify And Get Time Series
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cReturnValuesFlag | EV01 | char | NONE | NONE |
| ||||
cCallType | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cSuppressErrorMessage | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
nIndex | INT01 | integer | NONE | NONE |
Number of Days in Future to Query for Responses Due. | ||||
nKeys | INT02 | integer | NONE | NONE |
Number of Days in the Past to Query for Quote Requests Received. | ||||
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
| ||||
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
| ||||
szBusinessUnit | MCU | char | NONE | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
szQuantityType | QT | char | NONE | NONE |
This code is used to distinguish different quantities generated in the MPS/MRP system. | ||||
jdStartDate | STRT | JDEDATE | NONE | NONE |
The start date for the order. You can enter this date manually, or have the system calculate it using a backscheduling routine. The routine
| ||||
mnQuantityAvailable | TRQT | MATH_NUMERIC | NONE | NONE |
A value that represents the available quantity, which might consist of the on-hand balance minus commitments, reservations, and
|
None |
F3413 MPS/MRP/DRP Summary File |