In order to bring you the best possible user experience, this site uses Javascript. If you are seeing this message, it is likely that the Javascript option in your browser is disabled. For optimal viewing of this site, please ensure that Javascript is enabled for your browser.
Login  |   Cloud ERP  |   Home  |   qad.com



  •     QAD Glossary

  • Events File Example (1.0)
    The following is an entire sosomt.xml file in the QDoc 1.0 specification. A description of relevant document contents follows the file.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <apicontroller xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:noNamespaceSchemaLocation="http://ieli08.qad.com/apimodel
      /xmlenginexml/events/apicontroller.xsd">
    <program name="String" mfgprobase="String" delta-version="String" description="String" default-operation="M" />
    - <iterations>
    - <field uid="soNbr#0:a02" name="so_nbr" inheritevents="true">
    <IterationEvent iterationname="salesOrder" exititeration="f4" />
    </field>
    - <field uid="cdRef#0:cmmt0102" name="cd_ref"
       inheritevents="true">
    <IterationEvent iterationname="transComment" exititeration="f4" />
    </field>
    - <field uid="line#0:c05" name="line" inheritevents="true">
    <IterationEvent iterationname="salesOrderLineDetail" exititeration="f4:f4" />
    </field>
    - <field uid="work2Comp#0:w09" name="work2_comp" inheritevents="true">
    <IterationEvent iterationname="configurationDetail" exititeration="f4:f4" />
    </field>
    - <field uid="ladLoc#0:alloc109" name="lad_loc" inheritevents="true">
    <IterationEvent iterationname="allocationDetail" exititeration="f4" />
    </field>
    - <field uid="cmtSeq#0:cmmt0102" name="cmt_seq" inheritevents="true">
    <IterationEvent iterationname="transComment" exititeration="f4" />
    </field>
    - <field uid="taxLine#0:b05" name="tax_line" inheritevents="true">
    <IterationEvent iterationname="taxDetail" exititeration="f4" />
    </field>
    - <field uid="iedLine#0:a05" name="ied_line" inheritevents="true">
    <IterationEvent iterationname="orderLineDetail" exititeration="f4" />
    </field>
    </iterations>
    - <operation action="R">
    - <events>
    - <field uid="soDueDate#0:b012" name="so_due_date" inheritevents="false">
    <DeleteEvent promptfield="delYn#0" sendvalue="y" actionkey="return" />
    </field>
    - <field uid="line#0:c05" name="line" inheritevents="true">
    <FirstEntryEvent prekey="f4" sendvalue="S" postkey="return" />
    </field>
    </events>
    </operation>
    - <operation action="A,M,S">
    - <events>
    - <field uid="line#0:c05" name="line" inheritevents="true">
    <FirstEntryEvent prekey="f4" sendvalue="S" postkey="return" />
    </field>
    </events>
    </operation>
    </apicontroller>
    The first set of entries in the events file are the iterations. The first iteration starts on the field so_nbr for the iteration salesOrder. The second iteration is the transaction comments iteration in the same order as in the data file. Each iteration is identified by QAD Enterprise Applications field, iteration name, and the key required to exit the iteration.
    Following the iterations is the delete event and the first entry event fields. Delete fields require a field name, the value to send to confirm the deletion, and the key to complete the deletion.