Functional Description
Purpose
The purpose of this function is to update the EDSP field in both the F4001Z & F4011Z on the server
provided. If the szDataSource parameter is blank it will default to your local default set up in the
F98611 file.
Setup Notes and Prerequisites
None.
Special Logic
None.
Technical Specification
The purpose of this function is to update the EDSP field in both the F4001Z & F4011Z files on the
server (datasource) provided. If the DataSource parm is blank, it will default to your local set up in
F98611.
Date Structure
NameData Dictionary Item
szDataSourceDSC1
mnDocumentNumber EDOC
szDocumentType EDCT
szDocumentCompanyEKCO
mnLineNumber EDLN
cPreviouslyProcessedEDSP
cF4001ZOrF4011Z EV01
cErrorCode ERRC
cSuppressErrorMsg EV01
szErrorMsgID DTA1
Related Tables
Table Table Description
F4001Z
F4011Z
Related Business Functions
None.
Processing
If F4001Z Or F4011Z == '1'
Fetch the F4001Z record using the parms passed in
and update the EDSP field with the parms passed in
End
If F4001ZOrF4011Z == '2'
Fetch the F4011Z record using the parms passed in
and update th EDSP field with the parms passed in.
End
D4200660 - Update F4001Z And F4011Z
<pre>
Special Input Expected
Parameters:
Data Item Data Structure Description I/ORequiredNotes
DSC1 DataSource I N Name of the
datasource
EDOC DocumentNumber I Y
EDCT OrderType I Y
EKCO DocumentCompany I Y
EDLN LineNumber I Y if updating
F4011Z
EDSP PreviouslyProcessed I Y
EV01 F4011Z or F4001Z I Y 1 = update
F4001Z,
2 = update
F4011Z
EV01 SuppressErrorMsg I
Special Output Returned
Parameters:
Data Item Data Structure Description I/ORequiredNotes
ERRC ErrorCode O
DTAI ErrorMsgID O
^
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szDataSource | DSC1 | char | NONE | NONE |
Brief information about an item; a remark or an explanation. | ||||
mnDocumentNumber | EDOC | MATH_NUMERIC | NONE | NONE |
The document number that is assigned by the transmitter in an EDI transaction.
In a non EDI environment, this would be consistent with the
| ||||
szDocumentType | EDCT | char | NONE | NONE |
The document type that is assigned by the transmitter in an EDI transaction.
In a non EDI environment, this would be consistent with the order
| ||||
szDocumentCompany | EKCO | char | NONE | NONE |
Company - Key (EDI - Document Key Co) | ||||
mnLineNumber | EDLN | MATH_NUMERIC | NONE | NONE |
This is the line number you assign when originating an EDI transaction. This number can represent an order line number (applicable for any
| ||||
cPreviouslyProcessed | EDSP | char | NONE | NONE |
An option that indicates whether a record has been successfully processed. Depending on the application, the system updates the EDSP
| ||||
cF4001ZOrF4011Z | EV01 | char | NONE | NONE |
| ||||
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
| ||||
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
|
None |
F4001Z Batch Receiver File - Order Headings | ||||
F4011Z Batch Receiver File - Order Details |