Sample XML and CSV files

This section contains sample XML mapping definition and sample CSV files for Activity.

Sample XML mapping definition

<table-config>
    <table name="ACTIVITY" transaction-type="INSERT_UPDATE" key-fields="ACTV_NAME" primary-key="ACTV_ID">
        <fields>
            <field index="1" db-field="ACTV_NAME"/>
            <field index="2" db-field="ACTV_TYPE"/>
            <field index="3" db-field="ACTV_FLAG1"/>
            <field index="4" db-field="ACTV_FLAG2"/>
            <field index="5" db-field="ACTV_FLAG3"/>
            <field index="6" db-field="ACTV_FLAG4"/>
            <field index="7" db-field="ACTV_FLAG5"/>
            <field index="8" db-field="ACTV_FLAG6"/>
            <field index="9" db-field="ACTV_FLAG7"/>
            <field index="10" db-field="ACTV_FLAG8"/>
            <field index="11" db-field="ACTV_FLAG9"/>
            <field index="12" db-field="ACTV_FLAG10"/>
            <field index="13" db-field="ACTV_UDF1"/>
            <field index="14" db-field="ACTV_UDF2"/>
            <field index="15" db-field="ACTV_UDF3"/>
            <field index="16" db-field="ACTV_UDF4"/>
            <field index="17" db-field="ACTV_UDF5"/>
            <field index="18" db-field="ACTV_UDF6"/>
            <field index="19" db-field="ACTV_UDF7"/>
            <field index="20" db-field="ACTV_UDF8"/>
            <field index="21" db-field="ACTV_UDF9"/>
            <field index="22" db-field="ACTV_UDF10"/>
        </fields>
    </table>
</table-config>

Sample CSV file

TEST ACTIVITY,T
TEST ACTIVITY,Q,Y,N,Y,N,Y,N,N,Y,N,Y,UDF1,UDF2,UDF3,UDF4,UDF5,UDF6,UDF7,UDF8,UDF9,UDF10