1.Functional Description
1.1Purpose
This business function will update the Purchase Order table (F4301) with the Hold Code and write the
row to the Held Orders table (F4209) if necessary.
1.2Setup Notes and Prerequisites
None.
1.3Special Logic
None.
2.Technical Specifications
2.4Processing
If Input Hold Code <> Blanks and Input RORN <> 0
Read F4301 using RORN,RCTO,RKCO and SFXO as keys.
If row found
PHHCOD = Input Hold Code
Call Business function (B4300080) with HCRPER, PHAN8, PHTRDJ, PHDRQJ
PHPDDJ, HCCYTP, PHSFXO in the Data Structure.
Update F4301 with Hold code.
Endif.
Endif.
^
D3100410 - Update Purchase Order Hold Code
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szDocumentNumber | RORN | char | NONE | NONE |
A number that identifies a secondary purchase order, sales order, or work order that is associated with the original order. This number is for
| ||||
szDocumentType | RCTO | char | NONE | NONE |
A user defined code (system 00, type DT) that indicates the document type of the secondary or related order. For example, a purchase
| ||||
szKeyCompany | RKCO | char | NONE | NONE |
The key company that is associated with the document number of the related order. | ||||
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
| ||||
szHoldCode | HCOD | char | NONE | NONE |
A user defined code (42/HC) that identifies why an order was placed on hold (for example, credit, budget, or margin standards were
|
B4001100 Write Hold Code |
F4209 Held Orders | ||||
F4301 Purchase Order Header |