Edit C:\edeal\import\synchro_efficy\import_contact_efficy.xml
<import update="merge"> <insource name="person.in" class="com.edeal.frontline.dataimport.DBInSource"> <param name="DbClassName">org.postgresql.Driver</param> <param name="DbUrl">jdbc:postgresql://172.16.53.105:5432/edealLogisREC</param> <param name="DbUsername">grc</param> <param name="DbPassword">C/O-I6la</param> <param name="Query"> SELECT ( SELECT refvals.refval FROM refvalues refvals INNER JOIN tables ON refvals.reftabId = tables.tabId WHERE tables.tabRadical = 'Civ' AND refvals.refid = PerCivID ) AS PerCivID, PerFstName, PerName, ( select entidgalaxie_ from enterprise where entid = perentid ), ( SELECT refvals.refval FROM refvalues refvals INNER JOIN tables ON refvals.reftabId = tables.tabId WHERE tables.tabRadical = 'Fct' AND refvals.refid = PerFctID ) AS PerFctID, PerPhone, PerMobile, PerMail, ( SELECT refvals.refval FROM refvalues refvals INNER JOIN tables ON refvals.reftabId = tables.tabId WHERE tables.tabRadical = 'Lng' AND refvals.refid = PerLngPrinc ) AS PerLngPrinc, PerFctEntryDt, perID FROM person WHERE PerIdGALAXIE_ IS null AND PerEntID in (select entid from enterprise where EntIdGALAXIE_ IS NOT NULL ) and (PerFctID is null or PerFctID not in ( SELECT refid FROM refvalues INNER JOIN tables ON reftabId = tabId WHERE tables.tabRadical = 'Fct' AND refval in('G1','G2','G3'))) </param> </insource> <object in="person.in" name="Person" update="merge" updatekey="PerLogisID_" unicity="PerLogisID_"> <field name="PerCivID" refvalue="code" onerror="ignore"> <column num="1"/> </field> <field name="PerFstName"> <column num="2"/> </field> <field name="PerName"> <column num="3"/> </field> <field name="PerEntID" fobkey="EntID" > <column num="4"/> </field> <field name="PerFctID" refvalue="code" onerror="ignore"> <column num="5"/> </field> <field name="PerPhone"> <column num="6"/> </field> <field name="PerMobile"> <column num="7"/> </field> <field name="PerMail"> <column num="8"/> </field> <field name="PerLngPrinc" refvalue="code" defaultvalue="fr_FR"> <column num="9"/> </field> <field name="PerFctEntryDt"> <column num="10"/> </field> <field name="PerLogisID_"> <column num="11"/> </field> </object> </import>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de