<?xml version="1.0" encoding="ISO-8859-1" ?>
<construct> 
    <module>setup_invoice</module> 
    <table>setup_invoice</table> 
    <dependancy/> 
    <cache>0</cache> 
    <order_by>site_id</order_by> 
    <limit>10</limit> 
    <field>
        <id>
            <type>I4</type>
            <unique>1</unique>
            <index>1</index>
        </id>
        <site_id>
            <type>I4</type>
            <unique>1</unique>
            <index>1</index>
        </site_id>
        <bill_to_company>
            <type>L</type>
			<default>1</default>
        </bill_to_company>
        <invoice_currency>
            <type>C(8)</type>
        </invoice_currency>
        <invoice_decimals>
            <type>I4</type>
			<default>5</default>
        </invoice_decimals>
        <items_summary_max>
            <type>I4</type>
			<default>16</default>
        </items_summary_max>
        <news>
            <type>X</type>
            <default>default</default>
        </news>
        <page_type>
            <type>I4</type>
            <default>1</default>
        </page_type>
        <invoice_delivery>
        	<type>I4</type>
        </invoice_delivery> 
        <invoice_show_itemized>
            <type>L</type>
            <default>1</default>
        </invoice_show_itemized>  
        <invoice_show_service_dates>
            <type>L</type>
            <default>0</default>        
        </invoice_show_service_dates>      
        <invoice_grace>
        	<type>I4</type>
        </invoice_grace>
        <invoice_advance_gen>
        	<type>I4</type>
        </invoice_advance_gen>
        <invoice_terms>
        	<type>I4</type>
        </invoice_terms>
		<invoice_pdf_plugin>
			<type>C(16)</type>
			<default>overview</default>
		</invoice_pdf_plugin>
		<contact_us_url>
			<type>C(64)</type>
		</contact_us_url>
		<contact_us_phone>
			<type>C(64)</type>
		</contact_us_phone>
		<advance_notice>
			<type>I4</type>
		</advance_notice>
	</field> 
    <method>
        <update>id,bill_to_company,invoice_currency,invoice_decimals,items_summary_max,news,page_type,invoice_show_itemized,invoice_show_service_dates,invoice_delivery,invoice_grace,invoice_advance_gen,invoice_terms,invoice_pdf_plugin,contact_us_url,contact_us_phone,advance_notice</update>
        <view>id,bill_to_company,invoice_currency,invoice_decimals,items_summary_max,news,page_type,invoice_show_itemized,invoice_show_service_dates,invoice_delivery,invoice_grace,invoice_advance_gen,invoice_terms,invoice_pdf_plugin,contact_us_url,contact_us_phone,advance_notice</view>
        <search>id,bill_to_company,invoice_currency,invoice_decimals,items_summary_max,news,page_type,invoice_show_itemized,invoice_show_service_dates,invoice_delivery,invoice_grace,invoice_advance_gen,invoice_terms,invoice_pdf_plugin,contact_us_url,contact_us_phone,advance_notice</search>
        <search_show>id,bill_to_company,invoice_currency,invoice_decimals,items_summary_max,news,page_type,invoice_show_itemized,invoice_show_service_dates,invoice_delivery,invoice_grace,invoice_advance_gen,invoice_terms,invoice_pdf_plugin,contact_us_url,contact_us_phone,advance_notice</search_show>
    </method> 
    <trigger>0</trigger>
</construct>
