Functional Description
Purpose
The purpose of this business function is to either insert, remove or update a row into the Held
Orders Table (F4209) for Purchase Order Approval Processing.
Setup Notes and Prerequisites
Special Logic
Technical Specification
2.4Processing
If the AccessMode is blank then exit the business function.
Use GetAuditInfo to retrieve the following Information :
CurrentSystemDate
CurrentSystemTime
If RowType = O then
If OriginatorNotification is NOT '1'
If OriginatorNotification is '1'
F4209/HOAN8 = 0.
F4209/HOASTS = Originator.
If the AccessMode (EV03) is equal to 'I' for Insert or 'U' for Update then :
inserting into the table.
HCOD = '**',
DCTO, DOCO, KCOO and
ASTS = '1N' if ApproverType is Budget (1)
OR ASTS = '2N' if ApproverType is Monetary (2)
If fetch was not successful then switch to insert mode.
HORPER Person Responsible ResponsiblePerson
HOAN8 Address Number Originator
HOMCU Business Unit ' '
HOKCOO Order Number Documen OrderCompany
HODOCO Order Number OrderNumber
HODCTO Order Type OrderType
HOSFXO Order Suffix OrderSuffix
HOLNID Line Number ' '
HOITM Item Number (Short) ' '
HOLITM 2nd Item Number ' '
HOAITM 3rd Item Number ' '
HOTRDJ Order Date CurrentSystemDate
HODRQJ Requested ' '
HOPDDJ Promised ' '
HOCTYP Code Type ' '
HORDC Release Code ' '
HORDB Release By UserID
HORDJ Released Date CurrentSystemDate
HORDT Released Time CurrentSystemTime
HOARTG Approval Route Code ApprovalRouteCode
HOASTS Approval Status
HOATY Approver Type ' '
If the AccessMode (EV03) is 'R' for Remove then :
HCOD = '**',
DCTO, DOCO, KCOO and
ASTS = '1N' if ApproverType is Budget (1)
OR ASTS = '2N' if ApproverType is Monetary (2)
End of Business Function Processing.
D4300140E - Access Order Approval Row
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
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
| ||||
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,
| ||||
szOrderCompany | 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
| ||||
szOrderSuffix | SFXO | char | NONE | 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
| ||||
szApprovalRouteCode | ARTG | char | NONE | NONE |
A code that determines to whom an order is routed for approval. | ||||
mnResponsiblePerson | RPER | MATH_NUMERIC | NONE | NONE |
The address book number of the person who is responsible for reviewing and releasing orders placed on hold. | ||||
mnOriginator | 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
| ||||
cApprovalType | ATYP | char | NONE | NONE |
Special Input Expected
| ||||
cRowType | EV01 | char | NONE | NONE |
Special Input Expected
| ||||
cOriginatorNotification | EV02 | char | NONE | NONE |
Special Input Expected
| ||||
cAccessMode | EV03 | char | NONE | NONE |
Special Input Expected
| ||||
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
| ||||
jdDateTransactionJulian | TRDJ | JDEDATE | OPT | NONE |
The date that an order was entered into the system. This date determines which effective level the system uses for inventory pricing. |
B0100011 Error Message Processor to PPAT System | ||||
B0100025 Initialize PPAT Error Message API | ||||
B9800100 Get Audit Information | ||||
B9800140 Get User Address Book Number | ||||
BLM0016 SetLevel_RequestForApproval |
F4209 Held Orders | ||||
F43008 Approval Levels |