Functional Description
Purpose
To update misc. fields in F4201 (HOLD, JOBN, PID, UPMJ, TDAY, USER)
Setup Notes and Prerequisites
None.
Special Logic
None.
Technical Specification
This function updates the hold code and the audit information in the F4201 table.
Related Tables
None.
Related Business Functions
Source NameFunction Name
B4200340VerifyAndGetSalesHeader
B9800100GetAuditInfo
Processing
If the pointer to F4201 is passed in, use it to update the row, else call VerifyandGetSalesHeader to
fetch the record.
If audit information is passed in, use it to update the row, else call GetAuditInfo.
If the record is found, update F4201 row (HOLD,JOBN,PID,UPMJ,TDAY,USER).
If NOT found, issue error 0002.
Allow suppression of error message.
</pre>
^
D4200740 - Update Misc F4201 Fields
Special Input Expected
Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
DOCO Document Number I Y Key
DCTO Document Type I Y Key
KCOO Key Company I Y Key
HOLD Hold Code I Y
PID Program ID I N Optional. If
NULL, call
GetAuditInfo.
JOBN Job Number I N Optional. If
NULL, call
GetAuditInfo.
UPMJ Today's Date I N Optional. If
NULL, call
GetAuditInfo.
TDAY Time of Day I N Optional. If
NULL, call
GetAuditInfo.
USER User ID I N Optional. If
NULL, call
GetAuditInfo.
EV01 Suppress Error Message I Y 0 = Do display
error message
1 = Do not
display error
message
Special Output Returned
Parameters:
Data Item Data Structure DescriptionI/ORequiredNotes
DTAI Error Code O Y = Error if record
does not exist (0002)
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
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,
| ||||
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
| ||||
szOrderKeyCompany | 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
| ||||
szHoldOrderCode | HOLD | char | NONE | NONE |
A user defined code (42/HC) that identifies why an order is on hold. | ||||
szProgramID | PID | char | NONE | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
jdTodaysDate | UPMJ | JDEDATE | NONE | NONE |
The date that specifies the last update to the file record. | ||||
mnTimeOfDay | TDAY | MATH_NUMERIC | NONE | NONE |
The computer clock in hours:minutes:seconds. | ||||
szUserID | USER | char | NONE | NONE |
The code that identifies a user profile. | ||||
szErrorMsgID | DTAI | char | NONE | NONE |
A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or
| ||||
cSuppressErrorMsg | EV01 | char | NONE | NONE |
| ||||
szWorkStationID | JOBN | char | NONE | NONE |
The code that identifies the work station ID that executed a particular job. | ||||
cErrorCode | ERRC | char | NONE | NONE |
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document
| ||||
szComputerID | CTID | char | OPT | NONE |
mnJobnumberA | JOBS | MATH_NUMERIC | OPT | NONE |
The job number (work station ID) which executed the particular job. |
B4200340 Verify And Get Sales Header | ||||
B9800100 Get Audit Information |
F4201 Sales Order Header File |