This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/modules/invoice_commission/invoice_commission_construct.xml

61 lines
1.7 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1" ?>
<construct>
<!-- define the module name -->
<module>invoice_commission</module>
<!-- define the module table name -->
<table>invoice_commission</table>
<!-- define the module dependancy(s) -->
<dependancy>invoice</dependancy>
<!-- define the DB cache in seconds -->
<cache>0</cache>
<!-- define the default order_by field for SQL queries -->
<order_by>invoice_id</order_by>
<!-- define the methods -->
<limit>25</limit>
<!-- define database indexes -->
<index>
<date>date_orig</date>
<commission>affiliate_commission_id</commission>
<invoice>invoice_id</invoice>
<affiliate>affiliate_id</affiliate>
<status>status</status>
</index>
<!-- define the fields -->
<field>
<id>
<type>I8</type>
<unique>1</unique>
<index>1</index>
</id>
<site_id>
<type>I4</type>
<index>1</index>
</site_id>
<date_orig>
<type>I8</type>
</date_orig>
<date_last>
<type>I8</type>
</date_last>
<affiliate_commission_id>
<type>I4</type>
</affiliate_commission_id>
<invoice_id>
<type>I8</type>
</invoice_id>
<affiliate_id>
<type>C(32)</type>
</affiliate_id>
<commission>
<type>F</type>
</commission>
<status>
<type>L</type>
</status>
</field>
<!-- define all the methods for this class, and the fields they have access to, if applicable. -->
<method/>
<!-- define the method triggers -->
<trigger>0</trigger>
</construct>