database/model/tables/I_INVOICE.xml
changeset 410 ec5115414c8c
parent 258 a4855f55d8a1
child 735 daced7e311c9
equal deleted inserted replaced
409:8a6648a58e66 410:ec5115414c8c
    57       <column name="QTYORDERED" primaryKey="false" required="false" type="DECIMAL" default="0" autoIncrement="false"/>
    57       <column name="QTYORDERED" primaryKey="false" required="false" type="DECIMAL" default="0" autoIncrement="false"/>
    58       <column name="PRICEACTUAL" primaryKey="false" required="false" type="DECIMAL" default="0" autoIncrement="false"/>
    58       <column name="PRICEACTUAL" primaryKey="false" required="false" type="DECIMAL" default="0" autoIncrement="false"/>
    59       <foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_IINVOICE">
    59       <foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_IINVOICE">
    60         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    60         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    61       </foreign-key>
    61       </foreign-key>
       
    62       <foreign-key foreignTable="AD_ORG" name="ADORG_IINVOICE">
       
    63         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       
    64       </foreign-key>
    62       <foreign-key foreignTable="AD_ORG" name="ADORGTRX_IINVOICE">
    65       <foreign-key foreignTable="AD_ORG" name="ADORGTRX_IINVOICE">
    63         <reference local="AD_ORGTRX_ID" foreign="AD_ORG_ID"/>
    66         <reference local="AD_ORGTRX_ID" foreign="AD_ORG_ID"/>
    64       </foreign-key>
       
    65       <foreign-key foreignTable="AD_ORG" name="ADORG_IINVOICE">
       
    66         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       
    67       </foreign-key>
    67       </foreign-key>
    68       <foreign-key foreignTable="AD_USER" name="ADUSER_IINVOICE">
    68       <foreign-key foreignTable="AD_USER" name="ADUSER_IINVOICE">
    69         <reference local="AD_USER_ID" foreign="AD_USER_ID"/>
    69         <reference local="AD_USER_ID" foreign="AD_USER_ID"/>
    70       </foreign-key>
    70       </foreign-key>
    71       <foreign-key foreignTable="C_ACTIVITY" name="CACTIVITY_IINVOICE">
    71       <foreign-key foreignTable="C_ACTIVITY" name="CACTIVITY_IINVOICE">
   117         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
   117         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
   118       </foreign-key>
   118       </foreign-key>
   119       <foreign-key foreignTable="AD_USER" name="REFAD_USER1974">
   119       <foreign-key foreignTable="AD_USER" name="REFAD_USER1974">
   120         <reference local="SALESREP_ID" foreign="AD_USER_ID"/>
   120         <reference local="SALESREP_ID" foreign="AD_USER_ID"/>
   121       </foreign-key>
   121       </foreign-key>
       
   122       <check name="I_INVOICE_I_ISIMPORTED_CHECK"><![CDATA[I_ISIMPORTED IN ('Y', 'N')]]></check>
   122       <check name="I_INVOICE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
   123       <check name="I_INVOICE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
   123       <check name="I_INVOICE_ISSOTRX_CHECK"><![CDATA[ISSOTRX IN ('Y', 'N')]]></check>
   124       <check name="I_INVOICE_ISSOTRX_CHECK"><![CDATA[ISSOTRX IN ('Y', 'N')]]></check>
   124       <check name="I_INVOICE_I_ISIMPORTED_CHECK"><![CDATA[I_ISIMPORTED IN ('Y', 'N')]]></check>
       
   125       <check name="I_INVOICE_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
   125       <check name="I_INVOICE_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
   126     </table>
   126     </table>
   127   </database>
   127   </database>