Functional Description
Purpose
Checks for the existance of a hold code and writes one if it does not exist to the F4208 file with
information passed from the calling application or program.
Technical Specification
Retrievals:
If Hold Code Type CTYP is not 'L' or 'O' or Responsible Person RPER is zero:
Retrieve the fields CTYP and RPER from the table F42008. Use the business function
B4300100 to retrieve these values (GetHoldCodeInformation).
Using the following as a fetch key : HOLD, DCTO, DOCO, KCOO, SFXO, MCU, TRDJ, LNID fetch record from
the Hold Code Table (F4209).
If the Fetch Fails then Insert the record loading the data below:
If the Fetch Passes and the release date is blank(RDJ) then Update the record loading the data below:
HOHCOD with HOLD (DS = GBR Data Structure)
HODOCO with DODO (DS)
HODCTO with DCTO (DS)
HOKCOO with KCOO (DS)
HOMCU with MCU (DS)
HORDJ with zeros
HORPER with RPER from table F42009 or DS.
HOAN8 with AN8 (DS)
HOTRDJ with TRDJ (DS)
HODRQJ with DRQJ (DS)
HOPDDJ with PDDJ (DS)
HOCTYP with CTYP from table F42009 or DS.
HOSFXO with SFXO (DS)
HORDC with blanks
HOLNID from LNID (DS)
HOITM from ITM (DS)
HOLITM from LITM (DS)
HOAITM from AITM (DS)
HORDB with blanks
HORDT with zeros
D4001100 - Write Hold Code
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
| ||||
szHoldCode | HOLD | char | NONE | NONE |
A user defined code (42/HC) that identifies why an order is on hold. | ||||
mnSupplierNumber | 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
| ||||
jdTransactionDate | TRDJ | JDEDATE | NONE | NONE |
The date that an order was entered into the system. This date determines which effective level the system uses for inventory pricing. | ||||
jdRequestedDate | DRQJ | JDEDATE | NONE | NONE |
The date that an item is scheduled to arrive or that an action is scheduled for completion. | ||||
jdPromisedDate | PDDJ | JDEDATE | NONE | NONE |
The promised shipment date for either a sales order or purchase order. The Supply and Demand Programs use this date to calculate
| ||||
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
| ||||
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
| ||||
mnDocumentNumber | 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,
| ||||
szKeyCompany | 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
| ||||
mnOrderLineNumber | LNID | MATH_NUMERIC | NONE | NONE |
A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns
| ||||
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
| ||||
szLongItemNumber | LITM | char | NONE | NONE |
A number that identifies the item. The system provides three separate item numbers plus an extensive cross-reference capability to
| ||||
szThirdItemNumber | AITM | char | NONE | NONE |
The system provides three separate item numbers plus an extensive cross-reference capability to alternate item numbers. These item
| ||||
szHoldCodeType | CTYP | char | NONE | NONE |
A code that determines whether the hold code applies to an individual line within an order (L) or the order as a whole (O). For credit holds,
| ||||
mnResponsiblePerson | RPER | MATH_NUMERIC | NONE | NONE |
The address book number of the person who is responsible for reviewing and releasing orders placed on hold. | ||||
mnDistributionLineNumber | DLNID | MATH_NUMERIC | OPT | NONE |
mnParentAddressNumber | PA8 | MATH_NUMERIC | OPT | NONE |
The address book number of the parent company. The system uses this number to associate a particular address with a parent company
| ||||
mnShipToAddressNumber | SHAN | MATH_NUMERIC | OPT | NONE |
The address number of the location to which you want to ship this order. The address book provides default values for customer address,
|
B4001110 Get Hold Code Information |
F42008 Order Hold Constants | ||||
F4209 Held Orders |