Interface: LOHN - XML Preentry Version 2014.00

This documentation describes the AbaConnect Interface XML Preentry for the LOHN Application.


General Information

General information about the AbaConnect interface.

AbaConnect Interface Information
Application :LOHN
Interface Name :XML Preentry
ID :HierarchyPreEntry ( PreEntry )
Version :2014.00
Status:Expiring (Available until Abacus V2025)


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 : 1



Mapping Information

The following displays the Mapping details for this interface.

Mapping Information
Mapping ID :AbaDefault
Mapping Name :
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>LOHN</Application>
      <Id>HierarchyPreEntry</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>
      <PreEntry mode='SAVE'>
          <!-- The specific data fields for the AbaConnect interface are included here. -->
      </PreEntry>
    </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"  "-aLOHN"  "-version2014.00"  "-M7777"  "-acidHierarchyPreEntry"  "-mapidAbaDefault"  "-datamodeXML"  "-responseYES"  "-responsefileX:\response.xml"  "-exportfileX:\data.xml"

Import :
abaconnectimportconsole.exe "/USRuser" "/PWxxx"  "-aLOHN"  "-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
PreEntryPre-entry---Yes
    - EmployeeNumberPersonnel no.PreEntryNumber10Yes
    - PeriodDateDate of periodPreEntryDate-Yes
    - PeriodNumberNumber of periodPreEntryNumber2Yes
    - PayrollTypePayroll typePreEntryNumber4Yes
    - DocumentNumberDocument numberPreEntryNumber8No
    - CurrencyCurrencyPreEntryText3No
    - TextPayrollTypeText payroll typePreEntryText100No
    - AmountAmountPreEntryNumber10No
    - MutationCodeAmountMutation code amountPreEntryBoolean-No
    - FactorFactorPreEntryNumber10No
    - MutationCodeFactorMutation code factorPreEntryBoolean-No
    - CostCentre1Cost centre 1PreEntryNumber12No
    - CostCentre2Cost centre 2PreEntryNumber12No
    - FreeNumberFree numberPreEntryNumber10No
    - MunicipalityFunctionMunicipality functionPreEntryNumber6No
    - MunicipalityTypeMunicipality typePreEntryNumber8No
    - SubtypeRefNrNumber of subtype refPreEntryNumber10No
    - DivisionDivision to book the pre-entryPreEntryNumber6No
    - ContractNumberContract no.PreEntryNumber8No
    - EntryNumberPreentry no.PreEntryNumber8No
    - PreEntryDatePre-entry datePreEntryDate-No
    - NbwRefNrReference no. NBWPreEntryNumber10No
    - NbwSplitNrSplit no. NBWPreEntryNumber2No
    ChildAllowanceChild AllowancePreEntry--No
        - AllowanceAllowanceChildAllowanceNumber1No
        - TypeAllowance typeChildAllowanceNumber3No
        - ValidFromValid fromChildAllowanceDate-No
        - ValidToValid toChildAllowanceDate-No
        - CantonCantonChildAllowanceText2No
        - EntitelmentNumberEntitlement no.ChildAllowanceText16No



Field Information

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

Personnel no.
XML Element Name:EmployeeNumber
Parent Element:PreEntry
Field Type:Nummer
Action Type:Import und Export
Field Length:   10Decimal Places:   0Mandatory Field:   YesRevision:   0Ascii ID :   1
Description:

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

Date of period
XML Element Name:PeriodDate
Parent Element:PreEntry
Field Type:Datum (2000-03-20)
Action Type:Import und Export
Field Length:   -Decimal Places:   0Mandatory Field:   YesRevision:   0Ascii ID :   2
Description:

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

Number of period
XML Element Name:PeriodNumber
Parent Element:PreEntry
Field Type:Nummer
Action Type:Import und Export
Field Length:   2Decimal Places:   0Mandatory Field:   YesRevision:   0Ascii ID :   3
Description:

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

Payroll type
XML Element Name:PayrollType
Parent Element:PreEntry
Field Type:Nummer
Action Type:Import und Export
Field Length:   4Decimal Places:   0Mandatory Field:   YesRevision:   0Ascii ID :   4
Description:

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

Document number
XML Element Name:DocumentNumber
Parent Element:PreEntry
Field Type:Nummer
Action Type:Import und Export
Field Length:   8Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   5
Description:

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

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

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

Text payroll type
XML Element Name:TextPayrollType
Parent Element:PreEntry
Field Type:Text
Action Type:Import und Export
Field Length:   100Decimal Places:   0Mandatory Field:   NoRevision:   1Ascii ID :   7
Description:

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

Amount
XML Element Name:Amount
Parent Element:PreEntry
Field Type:Nummer
Action Type:Import und Export
Field Length:   10Decimal Places:   6Mandatory Field:   NoRevision:   0Ascii ID :   8
Description:

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

Mutation code amount
XML Element Name:MutationCodeAmount
Parent Element:PreEntry
Field Type:Boolean (true oder false)
Action Type:Import und Export
Field Length:   -Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   9
Description:

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

Factor
XML Element Name:Factor
Parent Element:PreEntry
Field Type:Nummer
Action Type:Import und Export
Field Length:   10Decimal Places:   6Mandatory Field:   NoRevision:   0Ascii ID :   10
Description:

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

Mutation code factor
XML Element Name:MutationCodeFactor
Parent Element:PreEntry
Field Type:Boolean (true oder false)
Action Type:Import und Export
Field Length:   -Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   11
Description:

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

Cost centre 1
XML Element Name:CostCentre1
Parent Element:PreEntry
Field Type:Nummer
Action Type:Import und Export
Field Length:   12Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   12
Description:

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

Cost centre 2
XML Element Name:CostCentre2
Parent Element:PreEntry
Field Type:Nummer
Action Type:Import und Export
Field Length:   12Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   13
Description:

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

Free number
XML Element Name:FreeNumber
Parent Element:PreEntry
Field Type:Nummer
Action Type:Import und Export
Field Length:   10Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   14
Description:

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

Municipality function
XML Element Name:MunicipalityFunction
Parent Element:PreEntry
Field Type:Nummer
Action Type:Import und Export
Field Length:   6Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   15
Description:

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

Municipality type
XML Element Name:MunicipalityType
Parent Element:PreEntry
Field Type:Nummer
Action Type:Import und Export
Field Length:   8Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   16
Description:

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

Number of subtype ref
XML Element Name:SubtypeRefNr
Parent Element:PreEntry
Field Type:Nummer
Action Type:Import und Export
Field Length:   10Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   17
Description:

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

Division to book the pre-entry
XML Element Name:Division
Parent Element:PreEntry
Field Type:Nummer
Action Type:Import und Export
Field Length:   6Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   18
Description:

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

Contract no.
XML Element Name:ContractNumber
Parent Element:PreEntry
Field Type:Nummer
Action Type:Import und Export
Field Length:   8Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   19
Description:

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

Preentry no.
XML Element Name:EntryNumber
Parent Element:PreEntry
Field Type:Nummer
Action Type:Import und Export
Field Length:   8Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   20
Description:

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

Pre-entry date
XML Element Name:PreEntryDate
Parent Element:PreEntry
Field Type:Datum (2000-03-20)
Action Type:Import und Export
Field Length:   -Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   21
Description:

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

Reference no. NBW
XML Element Name:NbwRefNr
Parent Element:PreEntry
Field Type:Nummer
Action Type:Export only
Field Length:   10Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   22
Description:

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

Split no. NBW
XML Element Name:NbwSplitNr
Parent Element:PreEntry
Field Type:Nummer
Action Type:Export only
Field Length:   2Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   23
Description:

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

Child Allowance
XML Element Name:ChildAllowance
Parent Element:PreEntry
Field Type:Array List
Action Type:Import und Export
Field Length:   -Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   200
Description:

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

Allowance
XML Element Name:Allowance
Parent Element:ChildAllowance
Field Type:Nummer
Action Type:Import und Export
Field Length:   1Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   201
Description:

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

Allowance type
XML Element Name:Type
Parent Element:ChildAllowance
Field Type:Nummer
Action Type:Import und Export
Field Length:   3Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   202
Description:

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

Valid from
XML Element Name:ValidFrom
Parent Element:ChildAllowance
Field Type:Datum (2000-03-20)
Action Type:Import und Export
Field Length:   -Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   203
Description:

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

Valid to
XML Element Name:ValidTo
Parent Element:ChildAllowance
Field Type:Datum (2000-03-20)
Action Type:Import und Export
Field Length:   -Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   204
Description:

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

Canton
XML Element Name:Canton
Parent Element:ChildAllowance
Field Type:Text
Action Type:Import und Export
Field Length:   2Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   205
Description:

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

Entitlement no.
XML Element Name:EntitelmentNumber
Parent Element:ChildAllowance
Field Type:Text
Action Type:Import und Export
Field Length:   16Decimal Places:   0Mandatory Field:   NoRevision:   0Ascii ID :   206
Description:

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