Interface: ADRE - Relations Version 2014.00

This documentation describes the AbaConnect Interface Relations for the ADRE Application.


General Information

General information about the AbaConnect interface.

AbaConnect Interface Information
Application :ADRE
Interface Name :Relations
ID :Relations ( FlatIntf )
Version :2014.00
Status:Productive


Displays the possible import and export features for this interface.

Export / Import Modus
Export :XML
Import :XML


Displays additional information for this interface.

Additional Information

                                  Highest field Revision for this interface : 0



Mapping Information

The following displays the Mapping details for this interface.

Mapping Information
Mapping ID :AbaDefault
Mapping Name :Relations
Description :

                



Example AbaConnect XML Structure

The following is an example of an XML Header structure. This information is also visible in an AbaConnect XML Export file, that has been exported via the Abacus AbaConnect User Interface.

AbaConnect XML Struktur
<?xml version='1.0' encoding='UTF-8'?>
<AbaConnectContainer>
  <TaskCount>1</TaskCount>
  <Task>
    <Parameter>
      <Application>ADRE</Application>
      <Id>Relations</Id>
      <MapId>AbaDefault</MapId>
      <Version>2014.00</Version>
      <!-- Attention : The client number (Mandant) is optional and implies that the data can only be imported into specified client (Mandant) -->
      <!-- The Client Option (Mandant) only has an influence when importing data. It can be configured in the AbaConnect Export Settings. -->
      <!-- By default, the client number (Mandant) is not written to the export file -->
      <Mandant>7777</Mandant>
    </Parameter>
    <Transaction>
      <Relation mode='SAVE'>
          <!-- The specific data fields for the AbaConnect interface are included here. -->
      </Relation>
    </Transaction>
  </Task>
</AbaConnectContainer>



Example AbaConnect Command Line

The following includes examples of AbaConnect Command Line. The AbaConnect Command Line is executed with the abaconnectexportconsole.exe and abaconnectimportconsole.exe programmes. The AbaConnect Command Line must be run direct on the Abacus server. More detailed information about AbaConnect Command Line is available on the Abacus Homepage. The following examples serve as starting point for creating a simple command line.

AbaConnect Command Line
Export :
abaconnectexportconsole.exe "/USRuser" "/PWxxx"  "-aADRE"  "-version2014.00"  "-M7777"  "-acidRelations"  "-mapidAbaDefault"  "-datamodeXML"  "-responseYES"  "-responsefileX:\response.xml"  "-exportfileX:\data.xml"

Import :
abaconnectimportconsole.exe "/USRuser" "/PWxxx"  "-aADRE"  "-version2014.00"  "-M7777"  "-datamodeXML"  "-responseYES"  "-responsefileX:\response.xml"  "-importfileX:\data.xml"

N.B. : For importing XML data, it is not necessary to specify the Interface ID and Mapping on the Command Line. This information is contained in the XML Import file.



Mapping Structure

The following displays a simplified mapping structure for this interface.
The XML-Element and Parent-Name are always in english. Click on the row to display additional information.

XML Element Name Field Name Parent Name Type Length Mandatory
RelationRelation---Yes
    RelationNoteNoteRelation--No
        - NoteNumberNotice numberRelationNoteNumber2No
        - TextTextRelationNoteText8192No
    - TypeTypeRelationNumber2Yes
    - EmployeeNumberEmployeeRelationNumber10Yes
    - AddressNumberAddressRelationNumber12Yes
    - ContactNumberContactRelationNumber4Yes
    - FreeNumber1Free Num 1RelationNumber8No
    - FreeNumber2Free Num 2RelationNumber8No
    - FreeText1Free Text 1RelationText50No
    - FreeText2Free Text 2RelationText50No
    - FreeSwitch1Free Y/N 1RelationBoolean-No
    - FreeSwitch2Free Y/N 2RelationBoolean-No
    - SubjectNumberSubject numberRelationNumber10No



Field Information

The following is a detailed description of the fields used in this interface.

Note
XML Element Name:RelationNote
Parent Element:Relation
Field Type:ID
Action Type:Import und Export
Field Length:   2Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

                

Notice number
XML Element Name:NoteNumber
Parent Element:RelationNote
Field Type:Nummer
Action Type:Import und Export
Field Length:   2Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

                                  (The internal field ID for this element is "TEXT_NR")
                    

Text
XML Element Name:Text
Parent Element:RelationNote
Field Type:Text
Action Type:Import und Export
Field Length:   8192Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

                                  (The internal field ID for this element is "TEXT")
                    

Type
XML Element Name:Type
Parent Element:Relation
Field Type:Nummer
Action Type:Import und Export
Field Length:   2Decimal Places:   0Mandatory Field:   YesRevision:   0Ascii ID :   -
Description:

                                  (The internal field ID for this element is "TYP")
                    

Employee
XML Element Name:EmployeeNumber
Parent Element:Relation
Field Type:Nummer
Action Type:Import und Export
Field Length:   10Decimal Places:   0Mandatory Field:   YesRevision:   0Ascii ID :   -
Description:

                                  (The internal field ID for this element is "KVS_NR")
                    

Address
XML Element Name:AddressNumber
Parent Element:Relation
Field Type:Nummer
Action Type:Import und Export
Field Length:   12Decimal Places:   0Mandatory Field:   YesRevision:   0Ascii ID :   -
Description:

                                  (The internal field ID for this element is "ADR_INR")
                    

Contact
XML Element Name:ContactNumber
Parent Element:Relation
Field Type:Nummer
Action Type:Import und Export
Field Length:   4Decimal Places:   0Mandatory Field:   YesRevision:   0Ascii ID :   -
Description:

                                  (The internal field ID for this element is "AKP_NR")
                    

Free Num 1
XML Element Name:FreeNumber1
Parent Element:Relation
Field Type:Nummer
Action Type:Import und Export
Field Length:   8Decimal Places:   4Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

                                  (The internal field ID for this element is "FREINUM1")
                    
The decimal separator for numbers must be represented with a point, as defined by the XML standards from W3C.

Free Num 2
XML Element Name:FreeNumber2
Parent Element:Relation
Field Type:Nummer
Action Type:Import und Export
Field Length:   8Decimal Places:   4Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

                                  (The internal field ID for this element is "FREINUM2")
                    
The decimal separator for numbers must be represented with a point, as defined by the XML standards from W3C.

Free Text 1
XML Element Name:FreeText1
Parent Element:Relation
Field Type:Text
Action Type:Import und Export
Field Length:   50Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

                                  (The internal field ID for this element is "FREIASCII1")
                    

Free Text 2
XML Element Name:FreeText2
Parent Element:Relation
Field Type:Text
Action Type:Import und Export
Field Length:   50Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

                                  (The internal field ID for this element is "FREIASCII2")
                    

Free Y/N 1
XML Element Name:FreeSwitch1
Parent Element:Relation
Field Type:Boolean (true oder false)
Action Type:Import und Export
Field Length:   -Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

                                  (The internal field ID for this element is "FREISW1")
                    

Free Y/N 2
XML Element Name:FreeSwitch2
Parent Element:Relation
Field Type:Boolean (true oder false)
Action Type:Import und Export
Field Length:   -Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

                                  (The internal field ID for this element is "FREISW2")
                    

Subject number
XML Element Name:SubjectNumber
Parent Element:Relation
Field Type:Nummer
Action Type:Import und Export
Field Length:   10Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

                                  (The internal field ID for this element is "SUBJEKT_NR")