src-db/database/model/tables/C_INVOICELINETAX.xml
author Salvador Zapata <salvador.zapata@openbravo.com>
Thu, 07 Oct 2010 16:32:29 +0200
changeset 8504 802eae4a434d
parent 7696 fd9d90c149d1
child 8505 a2bb7e6fb443
permissions -rw-r--r--
Fixed bug 14514 In GeneralAccoutingReportPDF.fo there are some strings impossible to translate
eduardo@6017
     1
<?xml version="1.0"?>
eduardo@6017
     2
  <database name="TABLE C_INVOICELINETAX">
eduardo@6017
     3
    <table name="C_INVOICELINETAX" primaryKey="C_INVOICELINETAX_KEY">
eduardo@6017
     4
      <column name="C_INVOICELINETAX_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
eduardo@6017
     5
        <default/>
eduardo@6017
     6
        <onCreateDefault/>
eduardo@6017
     7
      </column>
eduardo@6017
     8
      <column name="C_TAX_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
eduardo@6017
     9
        <default/>
eduardo@6017
    10
        <onCreateDefault/>
eduardo@6017
    11
      </column>
eduardo@6017
    12
      <column name="C_INVOICE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
eduardo@6017
    13
        <default/>
eduardo@6017
    14
        <onCreateDefault/>
eduardo@6017
    15
      </column>
eduardo@6017
    16
      <column name="C_INVOICELINE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
eduardo@6017
    17
        <default/>
eduardo@6017
    18
        <onCreateDefault/>
eduardo@6017
    19
      </column>
eduardo@6017
    20
      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
eduardo@6017
    21
        <default/>
eduardo@6017
    22
        <onCreateDefault/>
eduardo@6017
    23
      </column>
eduardo@6017
    24
      <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
eduardo@6017
    25
        <default/>
eduardo@6017
    26
        <onCreateDefault/>
eduardo@6017
    27
      </column>
eduardo@6017
    28
      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
eduardo@6017
    29
        <default><![CDATA[Y]]></default>
eduardo@6017
    30
        <onCreateDefault/>
eduardo@6017
    31
      </column>
eduardo@6017
    32
      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
eduardo@6017
    33
        <default><![CDATA[SYSDATE]]></default>
eduardo@6017
    34
        <onCreateDefault/>
eduardo@6017
    35
      </column>
eduardo@6017
    36
      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
eduardo@6017
    37
        <default/>
eduardo@6017
    38
        <onCreateDefault/>
eduardo@6017
    39
      </column>
eduardo@6017
    40
      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
eduardo@6017
    41
        <default><![CDATA[SYSDATE]]></default>
eduardo@6017
    42
        <onCreateDefault/>
eduardo@6017
    43
      </column>
eduardo@6017
    44
      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
eduardo@6017
    45
        <default/>
eduardo@6017
    46
        <onCreateDefault/>
eduardo@6017
    47
      </column>
eduardo@6017
    48
      <column name="TAXBASEAMT" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
eduardo@6017
    49
        <default><![CDATA[0]]></default>
eduardo@6017
    50
        <onCreateDefault/>
eduardo@6017
    51
      </column>
eduardo@6017
    52
      <column name="TAXAMT" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
eduardo@6017
    53
        <default><![CDATA[0]]></default>
eduardo@6017
    54
        <onCreateDefault/>
eduardo@6017
    55
      </column>
eduardo@6017
    56
      <column name="LINE" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
eduardo@6017
    57
        <default/>
eduardo@6017
    58
        <onCreateDefault/>
eduardo@6017
    59
      </column>
eduardo@6017
    60
      <column name="RECALCULATE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
eduardo@6017
    61
        <default><![CDATA[N]]></default>
eduardo@6017
    62
        <onCreateDefault/>
eduardo@6017
    63
      </column>
eduardo@6017
    64
      <foreign-key foreignTable="AD_CLIENT" name="C_INVOICELINETAX_AD_CLIENT">
eduardo@6017
    65
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
eduardo@6017
    66
      </foreign-key>
eduardo@6017
    67
      <foreign-key foreignTable="AD_ORG" name="C_INVOICELINETAX_AD_ORG">
eduardo@6017
    68
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
eduardo@6017
    69
      </foreign-key>
eduardo@6017
    70
      <foreign-key foreignTable="C_INVOICE" name="C_INVOICELINETAX_C_INVOICE">
eduardo@6017
    71
        <reference local="C_INVOICE_ID" foreign="C_INVOICE_ID"/>
eduardo@6017
    72
      </foreign-key>
eduardo@6017
    73
      <foreign-key foreignTable="C_INVOICELINE" name="C_INVOICELINETAX_C_INVOICELINE" onDelete="cascade">
eduardo@6017
    74
        <reference local="C_INVOICELINE_ID" foreign="C_INVOICELINE_ID"/>
eduardo@6017
    75
      </foreign-key>
eduardo@6017
    76
      <foreign-key foreignTable="C_TAX" name="C_INVOICELINETAX_C_TAX" onDelete="cascade">
eduardo@6017
    77
        <reference local="C_TAX_ID" foreign="C_TAX_ID"/>
eduardo@6017
    78
      </foreign-key>
eduardo@6017
    79
      <index name="C_INVOICELINETAX_INVOICEID" unique="false">
eduardo@6017
    80
        <index-column name="C_INVOICE_ID"/>
eduardo@6017
    81
      </index>
eduardo@6017
    82
    </table>
eduardo@6017
    83
  </database>