Interface: INVE - Calculation rules Version 2010.00

This documentation describes the AbaConnect Interface Calculation rules for the INVE Application.


General Information

General information about the AbaConnect interface.

AbaConnect Interface Information
Application :INVE
Interface Name :Calculation rules
ID :XMLCalculationRule ( XMLACT )
Version :2010.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 rules
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>INVE</Application>
      <Id>XMLCalculationRule</Id>
      <MapId>AbaDefault</MapId>
      <Version>2010.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>
      <CalculationRuleData mode='SAVE'>
          <!-- The specific data fields for the AbaConnect interface are included here. -->
      </CalculationRuleData>
    </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"  "-aINVE"  "-version2010.00"  "-M7777"  "-acidXMLCalculationRule"  "-mapidAbaDefault"  "-datamodeXML"  "-responseYES"  "-responsefileX:\response.xml"  "-exportfileX:\data.xml"

Import :
abaconnectimportconsole.exe "/USRuser" "/PWxxx"  "-aINVE"  "-version2010.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
CalculationRuleDataDepreciation rules---No
    - NumberDepr. rule no.CalculationRuleDataNumber4Yes
    - DesignationDepr. rule des.CalculationRuleDataText40No
    - InactiveInactiveCalculationRuleDataBoolean-No
    - DepreciationInYearOfAdditionDepreciation in year of additionCalculationRuleDataNumber2No
    - NoCalculationInMonthOfAdditionDo not calculate in month of additionCalculationRuleDataBoolean-No
    - AmountRoundingRounding targetCalculationRuleDataNumber2No
    - FinalResidualValueFinal residual valueCalculationRuleDataNumber4No
    - MinimumResidualValueMinimum residual valueCalculationRuleDataNumber4No
    - TransactionTypeTransaction typeCalculationRuleDataNumber4No
    - RoundingModeRounding ModeCalculationRuleDataNumber2No
    - RoundingFactorRounding factorCalculationRuleDataNumber4No
    - FixedAmountFixed amountCalculationRuleDataBoolean-No
    - CalculateRuleToYearRule to yearCalculationRuleDataNumber4No
    - CalculateRuleFromYearRule from yearCalculationRuleDataNumber4No
    - BalanceFieldResidualValueResidual value fieldCalculationRuleDataNumber4No
    - FinalResidualValueAmountFinal residual value amountCalculationRuleDataNumber12No
    - MinimumResidualValueAmountMin. residual value amountCalculationRuleDataNumber12No
    - FinalResidualValueExpressionFinal residual value expressionCalculationRuleDataText512No
    - MinimumResidualValueExpressionMin. residual value expressionCalculationRuleDataText512No
    - ExpressionExpressionCalculationRuleDataText2000No



Field Information

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

Depr. rule no.
XML Element Name:Number
Parent Element:CalculationRuleData
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 "Nr")
                    

Depr. rule des.
XML Element Name:Designation
Parent Element:CalculationRuleData
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 "Des")
                    

Inactive
XML Element Name:Inactive
Parent Element:CalculationRuleData
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 "InaktivSw")
                    

Depreciation in year of addition
XML Element Name:DepreciationInYearOfAddition
Parent Element:CalculationRuleData
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 "DeprAcYrType")
                    

Do not calculate in month of addition
XML Element Name:NoCalculationInMonthOfAddition
Parent Element:CalculationRuleData
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 "CalcAcMtSw")
                    

Rounding target
XML Element Name:AmountRounding
Parent Element:CalculationRuleData
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 "RoundBtrType")
                    

Final residual value
XML Element Name:FinalResidualValue
Parent Element:CalculationRuleData
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 "EndRwType")
                    

Minimum residual value
XML Element Name:MinimumResidualValue
Parent Element:CalculationRuleData
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 "MinRwType")
                    

Transaction type
XML Element Name:TransactionType
Parent Element:CalculationRuleData
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 "BewArt")
                    

Rounding Mode
XML Element Name:RoundingMode
Parent Element:CalculationRuleData
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 "RoundType")
                    

Rounding factor
XML Element Name:RoundingFactor
Parent Element:CalculationRuleData
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 "RoundFactor")
                    
The decimal separator for numbers must be represented with a point, as defined by the XML standards from W3C.

Fixed amount
XML Element Name:FixedAmount
Parent Element:CalculationRuleData
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 "FixResultSw")
                    

Rule to year
XML Element Name:CalculateRuleToYear
Parent Element:CalculationRuleData
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 "CalcToYear")
                    

Rule from year
XML Element Name:CalculateRuleFromYear
Parent Element:CalculationRuleData
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 "CalcFromYear")
                    

Residual value field
XML Element Name:BalanceFieldResidualValue
Parent Element:CalculationRuleData
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 "SaldofeldRw")
                    

Final residual value amount
XML Element Name:FinalResidualValueAmount
Parent Element:CalculationRuleData
Field Type:Nummer
Action Type:Import und Export
Field Length:   12Decimal Places:   2Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Min. residual value amount
XML Element Name:MinimumResidualValueAmount
Parent Element:CalculationRuleData
Field Type:Nummer
Action Type:Import und Export
Field Length:   12Decimal Places:   2Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Final residual value expression
XML Element Name:FinalResidualValueExpression
Parent Element:CalculationRuleData
Field Type:Text
Action Type:Import und Export
Field Length:   512Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

Min. residual value expression
XML Element Name:MinimumResidualValueExpression
Parent Element:CalculationRuleData
Field Type:Text
Action Type:Import und Export
Field Length:   512Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   -
Description:

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

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

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