Functional Description
Purpose
This function has to acummulate Quantity Ordered, Extended Price, Open Amount and Foreign Extended
Price, Foreign Open Amount, Closed Amount; for all PO's to be generated, associated to a Blanket Order
Line
Technical Specification
2.4Processing
From F4311Z table, select records with
if mnKeys = 2 MCU, ITM,
if mnKeys = 7 MCU, ITM, OORN, OCTO, OKCO, OGNO.
Either a unique record or multiple records could be selected with this key
If selection completed successfuly, read all records selected
For each record,add UORG (Units Order Transaction Quantity )
into a work field
add PQOR (Units Order Primary UOM )into a work field
add AEXP (DomesticExtended Price )into a work field
add AOPN (DomesticOpenAmount )into a work field add FEA(Foreign
ExtendedAmount )into a work field
add FAP(Foreign OpenAmount )into a work field add
AAP(OpenAmount )into a work field
add ACLO (AmountClosed )into a work field
When last record fields have been added to work fields, return
those work fields
If selection completed unsuccessfuly, return Error Key Message.
D4300350 - Cummulate Requested PO's
| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
|---|---|---|---|---|
| szBranchPlant | 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
| ||||
| mnItemNumber | 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
| ||||
| szOriginalOrderNumber | OORN | char | NONE | NONE |
The original document number. This can be a voucher, an invoice, unapplied cash, a journal entry number, and so on Matching document
| ||||
| szOriginalOrderType | OCTO | char | NONE | NONE |
This code defines the order type. It is verified in user defined codes (40/OT). Reserved document types have been defined for voucher
| ||||
| szOriginalOrderCompany | OKCO | char | NONE | NONE |
A number that is used in conjunction with the values in the ODOC and ODCT fields to identify a transaction. | ||||
| mnOriginalLineNumber | OGNO | MATH_NUMERIC | NONE | NONE |
A number identifying which line on the original order that the current line matches. | ||||
| 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
| ||||
| cSuppressErrorMessage | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
| mnAmountExtendedPrice | AEXP | MATH_NUMERIC | NONE | NONE |
The number of units multiplied by the unit price. | ||||
| mnAmountOpen | AOPN | MATH_NUMERIC | NONE | NONE |
The amount of the order, invoice, or voucher that is still unpaid or open.
When you enter a document (for example, an order, invoice, or
| ||||
| mnAmountForeignExtPrice | FEA | MATH_NUMERIC | NONE | NONE |
The product of the foreign price times the number of units. | ||||
| mnAmountForeignOpen | FAP | MATH_NUMERIC | NONE | NONE |
The unpaid foreign amount of a transaction. | ||||
| mnKeys | CDL | MATH_NUMERIC | NONE | NONE |
Special Input Expected
| ||||
| mnUnitsOrderPrimaryQty | PQOR | MATH_NUMERIC | NONE | NONE |
The quantity ordered by the customer expressed in the primary stocking unit of measure. | ||||
| mnUnitsOrderTransactionQty | UORG | MATH_NUMERIC | NONE | NONE |
The quantity of units affected by this transaction. | ||||
| None |
| F4311Z Purchase Order Generator File |