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_item_discount/invoice_item_discount_construct.xml

45 lines
1.1 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1" ?>
<construct>
<module>invoice_item_discount</module>
<table>invoice_item_discount</table>
<dependancy>invoice</dependancy>
<cache>0</cache>
<order_by>zone</order_by>
<limit>25</limit>
<index>
<discounts>discount</discounts>
<invoice_id>invoice_id,invoice_item_id</invoice_id>
<dates>date_orig</dates>
<accounts>account_id</accounts>
</index>
<field>
<id>
<type>I4</type>
<unique>1</unique>
</id>
<site_id>
<type>I4</type>
</site_id>
<date_orig>
<type>I8</type>
</date_orig>
<invoice_id>
<type>I8</type>
</invoice_id>
<account_id>
<type>I8</type>
</account_id>
<invoice_item_id>
<type>I8</type>
</invoice_item_id>
<discount>
<type>C(64)</type>
</discount>
<amount>
<type>F</type>
</amount>
</field>
<method>
</method>
<trigger>0</trigger>
</construct>