Functional Description
Purpose
The purpose of this business function is to determine if one or many blanket orders exist and if only
one exists to pass the Blanket Order Number back to the calling application. If more than one
blanket order exists then the blanket order number is not returned. A number of '2' is returned in
NumberOfBlanketsIndicator to signify that TWO OR MORE blanket orders exist for this item.
Technical Specification
Select Records from the F4311 file (PO detail file) using the following criteria :
F4311.PDAN8 =Supplier
F4311.PDITM=ShortItemNumber
F4311.PDUOM=TransactionUoM
F4311.PDCRCD=TransactionCurrency
F4311.PDOTQY =1
F4311.PDCNDJ<RequestedDate /* NOTE the less than sign
F4311.PDUOPN<>0
F4311.PDDCTOinUDC 40/BT
F4311.PDNXTR<>999
Fetch a record from the selection.
If no record exists then
End processing
Fetch next record from the selection
If no further records exist in selection then
Assign PDDCTO to BlanketOrderType
Assign PDKCOO to BlanketOrderCompany
Assign PDLNID to BlanketOrderLineNumber
If Currency Mode = 'F'
End Processing
If a record has been found then
End Processing.
D4300410 - Determine If Blanket PO Exists
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szBlanketOrderType | 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
| ||||
szBlanketOrderCompany | OKCO | char | NONE | NONE |
A number that is used in conjunction with the values in the ODOC and ODCT fields to identify a transaction. | ||||
szBlanketOrderNumber | 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
| ||||
mnBlanketOrderLineNumber | OGNO | MATH_NUMERIC | NONE | NONE |
A number identifying which line on the original order that the current line matches. | ||||
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
| ||||
szTransactionUOM | UOM | char | NONE | NONE |
A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box). | ||||
jdRequestedDate | DRQJ | JDEDATE | NONE | NONE |
The date that an item is scheduled to arrive or that an action is scheduled for completion. | ||||
szTransactionCurrency | CRCD | char | NONE | NONE |
A code that identifies the currency of a transaction. | ||||
cBlanketsFoundIndicator | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
mnSupplier | 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
| ||||
cCurrencyMode | CRRM | char | NONE | NONE |
An option that specifies whether the system displays amounts in the domestic or foreign currency.
On
The system displays amounts in the
| ||||
mnUnitCost | PRRC | MATH_NUMERIC | NONE | NONE |
The unit cost of one item, as purchased from the supplier, excluding freight,taxes, discounts, and other factors that might modify the actual
| ||||
szBlanketOrderSuffix | SFXO | char | OPT | NONE |
In the A/R and A/P systems, a code that corresponds to the pay item. In the Sales Order and Procurement systems, this code identifies
| ||||
mnUnitsOpenQuantity | UOPN | MATH_NUMERIC | OPT | NONE |
The original quantity for the order detail line, plus or minus any changes to that quantity, minus all quantities shipped, received, and
| ||||
szBusinessUnit | MCU | char | OPT | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
szBlanketReleaseVersion | VERS | char | OPT | NONE |
A user-defined set of specifications that control how applications and reports run. You use versions to group and save a set of user-defined
| ||||
szLineType | LNTY | char | OPT | NONE |
A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as
| ||||
szAccountId | AID | char | OPT | NONE |
A number that the system assigns to each general ledger account in the Account Master table (F0901) to uniquely identify it. | ||||
mnAmountOpen1 | AOPN | MATH_NUMERIC | OPT | 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
| ||||
mnAmountForeignOpen | FAP | MATH_NUMERIC | OPT | NONE |
The unpaid foreign amount of a transaction. | ||||
szProgramId | PID | char | OPT | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
|
None |
None |