1.Functional Description
1.1Purpose
This business function will be used to create and maintain an array of 99 elements, which will
contain purchasing information passed in from the calling program and can later be retrieved by the program
for general processing.
1.2Setup Notes and Prerequisites
1.3Special Logic
2.Technical Specifications
Note:The Array will have a maximum of 99 elements.
If the Mode is '1' (Insert Mode)
If GENLNG is 0(NULL),
array's AN8 values to 0.
Return GENLNG of Array to (Output Array Pointer).
of the element in Wk Index.
Copy (Input LLX) to element's LLX field where the array element's index = Wk
Index.
Else
store the index of the element found in Wk Index.
index = Wk Index.
ERRC = '1'
End if
End if
If the Mode is '2' (Fetch Mode)
index in Wk Index
Move node item DOCO to output parameter (DOCO)
Move node item DCTO to output parameter (DCTO)
Move node item KCOO to output parameter (KCOO)
Move node item LLX to output parameter (LLX)
Else
ERRC = '1'
End if
End if
If Mode = '3'
Destroy Array
End if
If errors occur during processing, move '4365' to DTAI.
Note that the Array Pointer(GENLNG) value returned by the business function during the first read
must be stored in the calling application and passed in over and over again during subsequent reads.
^
D3401170 - Release Vendor Schedule, Maintain Array
Data Item Data Structure DescriptionI/ORequiredNotes
GENLNG Array Pointer I/OYes
AN8 Vendor Number I/OYes
DOCO Order Number I/OYes
DCTO Document Type I/OYes
KCOO Company I/OYes
LLX Line Id (Size 3) I/OYes
EV01 Mode IYes '1' = Insert
'2' = Fetch
'3' = Destroy
ERRC Status O '0' = Match
'1' = No Match
DTAI Data Item O Contains error message id if
error
exists.
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
idArrayPointer | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
mnVendorNumber | AN8 | MATH_NUMERIC | NONE | NONE |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
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 | 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
| ||||
szCompany | KCOO | char | NONE | NONE |
A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a
| ||||
mnLineID | LLX | MATH_NUMERIC | NONE | NONE |
This identifies the lowest level in any bill of material at which a particular component may appear.. | ||||
cMode | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cStatus | ERRC | char | NONE | NONE |
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document
| ||||
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
|
None |
None |