Interface: ORDE - Calculation scheme Version 2011.00

This documentation describes the AbaConnect Interface Calculation scheme for the ORDE Application.


General Information

General information about the AbaConnect interface.

AbaConnect Interface Information
Application :ORDE
Interface Name :Calculation scheme
ID :Kalkulationsschema ( KAS )
Version :2011.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 :Calculation schema header data
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>ORDE</Application>
      <Id>Kalkulationsschema</Id>
      <MapId>AbaDefault</MapId>
      <Version>2011.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>
      <CalculationSchemeHeader mode='SAVE'>
          <!-- The specific data fields for the AbaConnect interface are included here. -->
      </CalculationSchemeHeader>
    </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"  "-aORDE"  "-version2011.00"  "-M7777"  "-acidKalkulationsschema"  "-mapidAbaDefault"  "-datamodeXML"  "-responseYES"  "-responsefileX:\response.xml"  "-exportfileX:\data.xml"

Import :
abaconnectimportconsole.exe "/USRuser" "/PWxxx"  "-aORDE"  "-version2011.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
CalculationSchemeHeaderCalculation schema header data---No
    CalculationSchemeHeaderFieldsFieldsCalculationSchemeHeader--No
        - SchemeTypeSchema type (SCHEMATYP)
CalculationSchemeHeaderFieldsNumber2No
        - SchemeNumberSchema no. (SCHEMANR)
CalculationSchemeHeaderFieldsNumber8No
        - CurrencyCurrency (ISOCODE)
CalculationSchemeHeaderFieldsText3No
        - RoundingRounding (RUNDUNG)
CalculationSchemeHeaderFieldsNumber4No
        - StockLocationStock location (LAGERORT)
CalculationSchemeHeaderFieldsText8No
        - BinLocationStock pile (LAGERPLATZ)
CalculationSchemeHeaderFieldsText8No
        - CreationUserCreated by user (ERSTELLTDURCH)
CalculationSchemeHeaderFieldsNumber6No
        - CreationDateCreated on (ERSTELLTAM)
CalculationSchemeHeaderFieldsDate/Time-No
        - ModificationUserMutated by user (MUTIERTDURCH)
CalculationSchemeHeaderFieldsNumber6No
        - ModificationDateMutated on (MUTIERTAM)
CalculationSchemeHeaderFieldsDate/Time-No
        - LockedLocked (GESPERRT)
CalculationSchemeHeaderFieldsBoolean-No
        - LockUserLocked by user (GESPERRTDURCH)
CalculationSchemeHeaderFieldsNumber6No
        - RateTypeRate type (KURSART)
CalculationSchemeHeaderFieldsNumber2No
        - DesignationBezeichnung (BEZEICHNUNG)
CalculationSchemeHeaderFieldsText40No
        - DesignationRate1Bezeichnung Ansatz 1 (BEZEICHNUNG_ANSATZ1)
CalculationSchemeHeaderFieldsText40No
        - DesignationRate2Bezeichnung Ansatz 2 (BEZEICHNUNG_ANSATZ2)
CalculationSchemeHeaderFieldsText40No
        - DesignationRate3Bezeichnung Ansatz 3 (BEZEICHNUNG_ANSATZ3)
CalculationSchemeHeaderFieldsText40No
        - Cost1ResourceRate1Kosten 1 mit Ansatz Ressource 1 (KOSTEN1_RESANSATZ1)
CalculationSchemeHeaderFieldsBoolean-No
        - Cost1ResourceRate2Kosten 1 mit Ansatz Ressource 2 (KOSTEN1_RESANSATZ2)
CalculationSchemeHeaderFieldsBoolean-No
        - Cost1ResourceRate3Kosten 1 mit Ansatz Ressource 3 (KOSTEN1_RESANSATZ3)
CalculationSchemeHeaderFieldsBoolean-No
        - Cost2ResourceRate1Kosten 2 mit Ansatz Ressource 1 (KOSTEN2_RESANSATZ1)
CalculationSchemeHeaderFieldsBoolean-No
        - Cost2ResourceRate2Kosten 2 mit Ansatz Ressource 2 (KOSTEN2_RESANSATZ2)
CalculationSchemeHeaderFieldsBoolean-No
        - Cost2ResourceRate3Kosten 2 mit Ansatz Ressource 3 (KOSTEN2_RESANSATZ3)
CalculationSchemeHeaderFieldsBoolean-No
        - Cost3ResourceRate1Kosten 3 mit Ansatz Ressource 1 (KOSTEN3_RESANSATZ1)
CalculationSchemeHeaderFieldsBoolean-No
        - Cost3ResourceRate2Kosten 3 mit Ansatz Ressource 2 (KOSTEN3_RESANSATZ2)
CalculationSchemeHeaderFieldsBoolean-No
        - Cost3ResourceRate3Kosten 3 mit Ansatz Ressource 3 (KOSTEN3_RESANSATZ3)
CalculationSchemeHeaderFieldsBoolean-No
    ItemCalculation schema itemCalculationSchemeHeader--No
        ItemFieldsFieldsItem--No
            - LineNumberLine no. (ZEILENNR)
ItemFieldsNumber4No
            - LineTypeLine type (ZEILENTYP)
ItemFieldsNumber2No
            - ValueTypeValue type (WERTETYP)
ItemFieldsNumber2No
            - ManualValueManual value (MANWERT)
ItemFieldsNumber12No
            - ExpressionExpression (EXPRESSION)
ItemFieldsNumber10No
            - DesignationBezeichnung (BEZEICHNUNG)
ItemFieldsText40No
            - ReferenceLineBezugszeile (BEZUGSZEILE)
ItemFieldsNumber8No
            - StandardStockStandardlager (STANDARDLAGER)
ItemFieldsNumber8No
            - PriceListNumberFixpreis-Nr. (FIXPREISNR)
ItemFieldsNumber8No
            - FormulaFormel (FORMEL)
ItemFieldsText4048No



Field Information

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

Fields
XML Element Name:CalculationSchemeHeaderFields
Parent Element:CalculationSchemeHeader
Field Type:Type[ 15 ]
Action Type:Import und Export
Field Length:   -Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

                

Schema type
XML Element Name:SchemeType
Parent Element:CalculationSchemeHeaderFields
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 "SCHEMATYP")
                    

Schema no.
XML Element Name:SchemeNumber
Parent Element:CalculationSchemeHeaderFields
Field Type:Nummer
Action Type:Import und Export
Field Length:   8Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:
Calculation schema designation in OTX
(The internal field ID for this element is "SCHEMANR")

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

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

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

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

Stock location
XML Element Name:StockLocation
Parent Element:CalculationSchemeHeaderFields
Field Type:Text
Action Type:Import und Export
Field Length:   8Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Stock pile
XML Element Name:BinLocation
Parent Element:CalculationSchemeHeaderFields
Field Type:Text
Action Type:Import und Export
Field Length:   8Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Created by user
XML Element Name:CreationUser
Parent Element:CalculationSchemeHeaderFields
Field Type:Nummer
Action Type:Export only
Field Length:   6Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Created on
XML Element Name:CreationDate
Parent Element:CalculationSchemeHeaderFields
Field Type:Datum/Zeit (2006-08-08T10:16:54.509+02:00)
Action Type:Export only
Field Length:   -Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Mutated by user
XML Element Name:ModificationUser
Parent Element:CalculationSchemeHeaderFields
Field Type:Nummer
Action Type:Export only
Field Length:   6Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Mutated on
XML Element Name:ModificationDate
Parent Element:CalculationSchemeHeaderFields
Field Type:Datum/Zeit (2006-08-08T10:16:54.509+02:00)
Action Type:Export only
Field Length:   -Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Locked
XML Element Name:Locked
Parent Element:CalculationSchemeHeaderFields
Field Type:Boolean (true oder false)
Action Type:Export only
Field Length:   -Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Locked by user
XML Element Name:LockUser
Parent Element:CalculationSchemeHeaderFields
Field Type:Nummer
Action Type:Export only
Field Length:   6Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Rate type
XML Element Name:RateType
Parent Element:CalculationSchemeHeaderFields
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 "KURSART")
                    

Bezeichnung
XML Element Name:Designation
Parent Element:CalculationSchemeHeaderFields
Field Type:Text
Action Type:Import und Export
Field Length:   40Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Bezeichnung Ansatz 1
XML Element Name:DesignationRate1
Parent Element:CalculationSchemeHeaderFields
Field Type:Text
Action Type:Import und Export
Field Length:   40Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Bezeichnung Ansatz 2
XML Element Name:DesignationRate2
Parent Element:CalculationSchemeHeaderFields
Field Type:Text
Action Type:Import und Export
Field Length:   40Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Bezeichnung Ansatz 3
XML Element Name:DesignationRate3
Parent Element:CalculationSchemeHeaderFields
Field Type:Text
Action Type:Import und Export
Field Length:   40Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Kosten 1 mit Ansatz Ressource 1
XML Element Name:Cost1ResourceRate1
Parent Element:CalculationSchemeHeaderFields
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 "KOSTEN1_RESANSATZ1")
                    

Kosten 1 mit Ansatz Ressource 2
XML Element Name:Cost1ResourceRate2
Parent Element:CalculationSchemeHeaderFields
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 "KOSTEN1_RESANSATZ2")
                    

Kosten 1 mit Ansatz Ressource 3
XML Element Name:Cost1ResourceRate3
Parent Element:CalculationSchemeHeaderFields
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 "KOSTEN1_RESANSATZ3")
                    

Kosten 2 mit Ansatz Ressource 1
XML Element Name:Cost2ResourceRate1
Parent Element:CalculationSchemeHeaderFields
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 "KOSTEN2_RESANSATZ1")
                    

Kosten 2 mit Ansatz Ressource 2
XML Element Name:Cost2ResourceRate2
Parent Element:CalculationSchemeHeaderFields
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 "KOSTEN2_RESANSATZ2")
                    

Kosten 2 mit Ansatz Ressource 3
XML Element Name:Cost2ResourceRate3
Parent Element:CalculationSchemeHeaderFields
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 "KOSTEN2_RESANSATZ3")
                    

Kosten 3 mit Ansatz Ressource 1
XML Element Name:Cost3ResourceRate1
Parent Element:CalculationSchemeHeaderFields
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 "KOSTEN3_RESANSATZ1")
                    

Kosten 3 mit Ansatz Ressource 2
XML Element Name:Cost3ResourceRate2
Parent Element:CalculationSchemeHeaderFields
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 "KOSTEN3_RESANSATZ2")
                    

Kosten 3 mit Ansatz Ressource 3
XML Element Name:Cost3ResourceRate3
Parent Element:CalculationSchemeHeaderFields
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 "KOSTEN3_RESANSATZ3")
                    

Calculation schema item
XML Element Name:Item
Parent Element:CalculationSchemeHeader
Field Type:ID
Action Type:Import und Export
Field Length:   -Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

                

Fields
XML Element Name:ItemFields
Parent Element:Item
Field Type:Type[ 15 ]
Action Type:Import und Export
Field Length:   -Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

                

Line no.
XML Element Name:LineNumber
Parent Element:ItemFields
Field Type:Nummer
Action Type:Import und Export
Field Length:   4Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:
Together with SCHEMANR reference to the
OTX-entry for the line designation:
OTX.BEREICH = 'SD', OTX.TYP = 'KZ', OTX.KOPF_ID = SCHEMANR, OTX.POS_NR = ZEILENNR
(The internal field ID for this element is "ZEILENNR")

Line type
XML Element Name:LineType
Parent Element:ItemFields
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 "ZEILENTYP")
                    

Value type
XML Element Name:ValueType
Parent Element:ItemFields
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 "WERTETYP")
                    

Manual value
XML Element Name:ManualValue
Parent Element:ItemFields
Field Type:Nummer
Action Type:Import und Export
Field Length:   12Decimal Places:   4Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:
Value or percentage
(The internal field ID for this element is "MANWERT")
The decimal separator for numbers must be represented with a point, as defined by the XML standards from W3C.

Expression
XML Element Name:Expression
Parent Element:ItemFields
Field Type:Nummer
Action Type:Export only
Field Length:   10Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:
Formula
(The internal field ID for this element is "EXPRESSION")

Bezeichnung
XML Element Name:Designation
Parent Element:ItemFields
Field Type:Text
Action Type:Import und Export
Field Length:   40Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Bezugszeile
XML Element Name:ReferenceLine
Parent Element:ItemFields
Field Type:Nummer
Action Type:Import und Export
Field Length:   8Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Standardlager
XML Element Name:StandardStock
Parent Element:ItemFields
Field Type:Nummer
Action Type:Import und Export
Field Length:   8Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Fixpreis-Nr.
XML Element Name:PriceListNumber
Parent Element:ItemFields
Field Type:Nummer
Action Type:Import und Export
Field Length:   8Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Formel
XML Element Name:Formula
Parent Element:ItemFields
Field Type:Text
Action Type:Import und Export
Field Length:   4048Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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