1. Functional Description
1.1 Purpose
This business function will update the Sales Order table (F4201) with the Hold Code and write the row
to the Held Orders table (F4209) if necessary.
1.2 Setup Notes and Prerequisites
None.
1.3 Special Logic
None.
2. Technical
Specifications
2.4 Processing
If Input Hold Code <> Blanks and Input RORN <> 0
Read F4201) using DOCO,DCTO,KCOO as keys.
If row found
SHHCOD =
Input Hold Code
Call Business function (B4300080) with HCRPER, SHAN8, SHTRDJ, SHDRQJ
SHPDDJ, HCCYTP, SHSFXO and 0 as
LNID in the Data Structure.
Update F4201 with Hold code.
Endif.
Endif.
^
D3100260 - Update Sales 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. | ||||
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 |
F4201 Sales Order Header File |