Interface: KRED - Payment conditions Version 2007.00

This documentation describes the AbaConnect Interface Payment conditions for the KRED Application.


General Information

General information about the AbaConnect interface.

AbaConnect Interface Information
Application :KRED
Interface Name :Payment conditions
ID :PaymentCondition ( AccountPayableInterface )
Version :2007.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 :Payment conditions
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>KRED</Application>
      <Id>PaymentCondition</Id>
      <MapId>AbaDefault</MapId>
      <Version>2007.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>
      <Condition mode='SAVE'>
          <!-- The specific data fields for the AbaConnect interface are included here. -->
      </Condition>
    </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"  "-aKRED"  "-version2007.00"  "-M7777"  "-acidPaymentCondition"  "-mapidAbaDefault"  "-datamodeXML"  "-responseYES"  "-responsefileX:\response.xml"  "-exportfileX:\data.xml"

Import :
abaconnectimportconsole.exe "/USRuser" "/PWxxx"  "-aKRED"  "-version2007.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
Condition---No
    - CodeCondition numberConditionNumber6Yes
    - Day1Discount days 1ConditionNumber4No
    - Day2Discount days 2ConditionNumber4No
    - Day3Discount days 3ConditionNumber4No
    - DeadlineDeadlineConditionNumber4No
    - Discount1Discount percentage 1ConditionNumber2No
    - Discount2Discount percentage 2ConditionNumber2No
    - Discount3Discount percentage 3ConditionNumber2No
    - NoteConditionText40Yes
    - ProcessingOrderProcessing orderConditionNumber2Yes
    - ProcessingTypeProcessing typeConditionNumber4Yes



Field Information

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

Condition number
XML Element Name:Code
Parent Element:Condition
Field Type:Nummer
Action Type:Import und Export
Field Length:   6Decimal Places:   0Mandatory Field:   YesRevision:   0Ascii ID :   -
Description:

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

Discount days 1
XML Element Name:Day1
Parent Element:Condition
Field Type:Nummer
Action Type:Import und Export
Field Length:   4Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Discount days 2
XML Element Name:Day2
Parent Element:Condition
Field Type:Nummer
Action Type:Import und Export
Field Length:   4Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Discount days 3
XML Element Name:Day3
Parent Element:Condition
Field Type:Nummer
Action Type:Import und Export
Field Length:   4Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Deadline
XML Element Name:Deadline
Parent Element:Condition
Field Type:Nummer
Action Type:Import und Export
Field Length:   4Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Discount percentage 1
XML Element Name:Discount1
Parent Element:Condition
Field Type:Nummer
Action Type:Import und Export
Field Length:   2Decimal Places:   2Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Discount percentage 2
XML Element Name:Discount2
Parent Element:Condition
Field Type:Nummer
Action Type:Import und Export
Field Length:   2Decimal Places:   2Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Discount percentage 3
XML Element Name:Discount3
Parent Element:Condition
Field Type:Nummer
Action Type:Import und Export
Field Length:   2Decimal Places:   2Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

XML Element Name:Note
Parent Element:Condition
Field Type:Text
Action Type:Import und Export
Field Length:   40Decimal Places:   0Mandatory Field:   YesRevision:   0Ascii ID :   -
Description:

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

Processing order
XML Element Name:ProcessingOrder
Parent Element:Condition
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 "AcOrder")
                    

Processing type
XML Element Name:ProcessingType
Parent Element:Condition
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 "AcType")