1.Functional Description
This business function verifies that the ECO Parts List (F3013) record exists and returns
a pointer to the Parts List Record. You can retrieve a record from F3013 using
Five different
indexes.
Call Type: 1=Verify that record exists, 2=Verify that record does not exist.
Suppress Error Message: 1=Suppress runtime error message handling, 0=Allow runtime error
message handling.
BSFN FreePtrtoDataStructure.
1.1Purpose
This business function verifies that the ECO Parts List (F3013) record exists and returns a pointer
to the ECO Parts List Record.
1.2Setup Notes and Prerequisites
Set on "Suppress Error Messages" to suppress the runtime error message handling. Otherwise, if an
error occurs the error message will be displayed on the message line and the appropriate field (if any)
will be highlighted.
Set on "Return Pointer" to return a pointer the F3013 record. If a pointer to the record is
returned, this pointer must be cleared in the application using the BSFN FreePtrtoDataStructure.
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.
List of Indexes:
1 = ECPR, KIT, MMCU, TBM, BQTY, SRV (6 Keys)
2 = ECPR, ITM, MMCU, TBM, BQTY, TRV (6 Keys)
3 = ITM, DOCO (2 Keys)
4 = DOCO, PSQ, RSQ (3 Keys)
5 = DOCO, DCTO (2 Keys)
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
2.4Processing
1.0. Initialize the DS F3013Pointer to NULL.
2.0. Fetch the ECO Parts List Detail Record using Index 1.
3.0. If Fetch failed, return messages.
3.1.2. If DS Suppress Error Message is not equal to '1', SetGBRError where error message is
'0002' ( Record Invalid) and first field in index is highlighted.
4.0. If Fetch is successful, return pointer and messages.
4.1.2. If DS Suppress Error Message is not equal to '1', SetGBRError where error message is
'2463' (Record Already Exists) and first field in index is highlighted.
4.3. If DS Call Type is not equal to '2' and DS Return Pointer is equal to '1', return pointer
to the ECO Parts List Detail Record.
Detail Record.
'4365' and first field in index is highlighted.
Retrievals:
1. ECO Parts List Detail Table (F3013) using index 1.
Returns:
1. If Call Type is equal to '1' and the fetch fails, return Error Message ID '0002' (Record
Invalid).
2. If Call Type is equal to '2' and the fetch is successful, return Error Message ID '2463' (Record
Already Exists).
3. If Call Type is equal to '1' and Return Pointer is equal to '1', the fetch is successful, and the
memory allocation is successful, return the pointer to the data structure.
4. If Call Type is equal to '2' and the fetch is successfull, return ECO Parts List Detail
Information.
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
^
D3000740 - Verify And Get ECO Parts List
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,
| ||||
mnPrimarySequence | PSQ | MATH_NUMERIC | NONE | NONE |
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
| ||||
mnRelatedSequence | RSQ | MATH_NUMERIC | NONE | NONE |
cParentChildInclusion | ECPR | char | NONE | NONE |
A code that indicates whether the item is a parent or component. Using this value, the system selects items for you on the Related Items
| ||||
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
| ||||
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
| ||||
szTypeOfBill | TBM | char | NONE | NONE |
A user defined code (40/TB) that designates the type of bill of material. You can define different types of bills of material for different uses.
| ||||
mnParentItemNumber | KIT | MATH_NUMERIC | NONE | NONE |
The system provides for three separate item numbers.
1. Item Number (short) - An eight-digit, computer assigned, completely
| ||||
mnBatchQuantity | BQTY | MATH_NUMERIC | NONE | NONE |
The quantity of finished units that you expect this bill of material or routing to produce. You can specify varying quantities of components
| ||||
szToRevisionLevel | TRV | char | NONE | NONE |
The revision level for the part that is reported next. This might not be the next sequential revision. | ||||
szSwapToRevisionLevel | SRV | char | NONE | NONE |
The revision level of the "Swap-to item" whenever an engineering change order is swapping out one item for another. The swap-to revision
| ||||
szOrderType | 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
| ||||
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
| ||||
szIndex | 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
| ||||
szKeys | 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
| ||||
idF3013Pointer | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
cReturnPointer | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cCallType | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cSuppressErrorMessages | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
jdEffectiveFromDate | EFFF | JDEDATE | NONE | NONE |
A date that indicates one of the following:
o When a component part goes into effect on a bill of material
o When a routing step goes into
| ||||
jdEffectiveThruDate | EFFT | JDEDATE | NONE | NONE |
A date that indicates one of the following:
o When a component part is no longer in effect on a bill of material
o When a routing step is no
| ||||
szProgramId | PID | char | NONE | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
|
B4000460 Free Ptr To Data Structure |
F3013 ECO Parts List Detail |