Functional Description
Purpose
Use this function to Update ( LTTR, NXTR, LOTN, JOBN, PID, UPMJ, TDAY, USER) in F4211
Setup Notes and Prerequisites
Special Logic
Technical Specification
2.2Related Tables
Table Table Description
2.3Related Business Functions
Source NameFunction Name
B9800100GetAuditInfo
2.4Processing
If audit information is passed in, use it to update the row, else call GetAuditInfo.
If the record is found and update status code flag is equal to a '1', update F4211 record with
(LTTR,NXTR,LNTY,JOBN,PID,UPMJ,TDAY,USER).
If the record is found and update lot number flag is equal to a '1', update F4211 record with
(LOTN,JOBN,PID,UPMJ,TDAY,USER).
If NOT found, issue error 0002.
Allow suppression of error message.
^
D4200330 - Update Misc F4211 Fields
Special Input Expected
DOCODocument NumberKey
DCTODocument TypeKey
KCOOKey CompanyKey
LNIDLine NumberKey
LTTRLast Status
NXTRNext Status
EV02Update Status Flag
EV03Update Lot Number Flag
LOTNLot Number
PIDProgram ID
UPMJToday's DateOptional. If NULL, call GetAuditInfo.
TDAYTime of DayOptional. If NULL, call GetAuditInfo.
USERUser IDOptional. If NULL, call GetAuditInfo.
JOBNWorkStationIDOptional, If NULL call GetAuditInfo
Special Output Returned
DTAIErrorMsgID= 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
| ||||
mnLineNumber | 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
| ||||
szLastStatus | LTTR | char | NONE | NONE |
A code (system 40/type AT) specifying the last step in the processing cycle that this order line has successfully completed. | ||||
szNextStatus | NXTR | char | NONE | NONE |
A user defined code (system 40/type AT) indicating the next step in the order flow of the line type. | ||||
cUpdateStatusFlag | EV02 | char | NONE | NONE |
Special Input Expected
| ||||
cUpdateLotNumberFlag | EV03 | char | NONE | NONE |
Special Input Expected
| ||||
szLotNumber | LOTN | char | NONE | NONE |
A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics. | ||||
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. | ||||
cSuppressErrorMsg | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
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
| ||||
szWorkStationID | JOBN | char | NONE | NONE |
The code that identifies the work station ID that executed a particular job. | ||||
cUpdateLineType | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szLineType | LNTY | char | NONE | NONE |
A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as
| ||||
szComputerID | CTID | char | OPT | NONE |
B9800100 Get Audit Information |
F4211 Sales Order Detail File |