DmdConvEDIContactToDmdContact

Demand Convert EDI Contact To Demand Contact

Minor Business Rule

Object Name: N40R0920

Parent DLL: CDMDSCH

Location: Client/Server

Language: NER

The Inbound Edit/Update UBE will use this business function to convert EDI Demand Address and Contact data into Demand Address 
and Contact data by calling the Demand Master Business Function.  This function will be used to cache both Demand Header and 

Demand Detail level Address and Contact data.  



Data ItemRequiredI/ODescription JOBSYesIDemand Cache Job Number UKIDYesIDemand Header Unique Key Identifier ECKOYesIEDI Document Key 

Co EDOCYesIEDI Document Number EDCTYesIEDI Document Type EDLNYesIEDI Line Number EDSLNNoIEDI Sub Line Number DEIDNoIDemand Detail 

Unique Key Identifier SUPPSNoISuppress Error Message (1-Suppress) EV01NoOConversion Successful DTAINoOError Message ID

Data Structure

D40R0920A - Demand Convert EDI Contact To Demand Contact

Parameter NameData ItemData TypeReq/OptI/O/Both
mnDmdJobNoJOBSMATH_NUMERICREQINPUT

The job number (work station ID) which executed the particular job.

mnDmdHdrUniqueIdUKIDMATH_NUMERICREQINPUT

This field is a unique number used to identify a record in a file.

szCompanyKeyEdiOrderEKCOcharREQINPUT

Company - Key (EDI - Document Key Co)

mnEdiDocumentNumberEDOCMATH_NUMERICREQINPUT

The document number that is assigned by the transmitter in an EDI transaction. In a non EDI environment, this would be consistent with the 
order number assigned at order entry time (DOCO).

szEdiDocumentTypeEDCTcharREQINPUT

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 
type (DCTO) assigned at order entry time, an invoice document type, a voucher document type, and so on.

mnEdiLineNumberEDLNMATH_NUMERICREQINPUT

This is the line number you assign when originating an EDI transaction. This number can represent an order line number (applicable for any 
order type), an invoice pay item, a journal entry line number, and so on.

mnEDISubLineNumberEDSLNMATH_NUMERICOPTINPUT

A substitute line number that you assign when you originate an EDI transaction. This number can represent an order line number 
(applicable for any order type), an invoice pay item, a journal entry line number, and so on.

mnDmdDtlUniqueIdDEIDMATH_NUMERICOPTINPUT

A system-generated number that identifies a demand record.

cSuppressErrorMessageSUPPScharOPTINPUT

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

szErrorMsgIdDTAIcharOPTOUTPUT

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 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

cConversionSuccessfulEV01charOPTOUTPUT

An option that specifies the type of processing for an event.

Related Functions

None

Related Tables

None