Avatud kanded XML

Allikas: Excellent || Opendoc
Mine navigeerimisribale Mine otsikasti


Andmeväljad:

Välja nimi XMLis Välja nimi GUIs Tüüp, pikkus
SerNr Number Value with No Decimals, 0
TransDate Kuupäev In Dataformat Order, 0
PaymTypeCode Tasuliik Code String, 20
Comment Kommentaar String, 100
OKFlag Kinnita (flag) Small Value with No Decimals, 0
CalcFlag Arvestatud (flag) Small Value with No Decimals, 0
Invalid Tühistatud Small Value with No Decimals, 0
OKMark Kinnita (flag sirvi aknas) As Bool but displayed as a Checkbox, 0
CalcMark Arvestatud (flag sirvi aknas) As Bool but displayed as a Checkbox, 0
Total Kokku Value 2 or 3 Decimals, 0
Maatriks
ContrSerNr Lepingu nr Value with No Decimals, 0
PosCode Ameti kood Code String, 10
Firstname Eesnimi String, 60
Surname Perenimi String, 60
Tariff Tariif Value 2 or 3 Decimals, 0
Amount Kogus Value 2 or 3 Decimals, 0
Sum Summa Value 2 or 3 Decimals, 0
ObjCode Objekt Capital Characters Only, 60
CalcSerNr Arvestuse nr Value with No Decimals, 0

XML näidis ühe kaherealise avatud kandega

<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<data register='OpenTransVc' sequence='211246' systemversion='8.5.55.3483'>
    <OpenTransVc register='OpenTransVc' sequence='211239' url='/api/1/OpenTransVc/20'>
        <SerNr>20</SerNr>
        <TransDate>2024-07-30</TransDate>
        <PaymTypeCode>AVANSS</PaymTypeCode>
        <Comment>Avanss 30.07.2024</Comment>
        <OKFlag>1</OKFlag>
        <CalcFlag>0</CalcFlag>
        <Math></Math>
        <Invalid>0</Invalid>
        <OKMark>1</OKMark>
        <CalcMark>0</CalcMark>
        <Total>600.00</Total>
        <rows>
            <row rownumber='0'>
                <ContrSerNr>100</ContrSerNr>
                <PosCode>KORI</PosCode>
                <Firstname>Kaupo</Firstname>
                <Surname>Karuse</Surname>
                <Tariff>40.00</Tariff>
                <Amount>3.00</Amount>
                <Sum>120.00</Sum>
                <ObjCode>KONTOR</ObjCode>
                <CalcSerNr></CalcSerNr>
            </row>
            <row rownumber='1'>
                <ContrSerNr>100</ContrSerNr>
                <PosCode>KORI</PosCode>
                <Firstname>Kaupo</Firstname>
                <Surname>Karuse</Surname>
                <Tariff>60.00</Tariff>
                <Amount>8.00</Amount>
                <Sum>480.00</Sum>
                <ObjCode>TARTU</ObjCode>
                <CalcSerNr></CalcSerNr>
            </row>
        </rows>
    </OpenTransVc>
</data>