src-db/database/model/tables/AD_ORGINFO.xml
author Salvador Zapata <salvador.zapata@openbravo.com>
Thu, 07 Oct 2010 16:32:29 +0200
changeset 8504 802eae4a434d
parent 6874 2874fe456c25
child 8505 a2bb7e6fb443
permissions -rw-r--r--
Fixed bug 14514 In GeneralAccoutingReportPDF.fo there are some strings impossible to translate
carlos@0
     1
<?xml version="1.0"?>
adrian@94
     2
  <database name="TABLE AD_ORGINFO">
carlos@0
     3
    <table name="AD_ORGINFO" primaryKey="AD_ORGINFO_KEY">
juanpablo@1605
     4
      <column name="AD_ORG_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
     5
        <default/>
antonio@735
     6
        <onCreateDefault/>
antonio@735
     7
      </column>
juanpablo@1605
     8
      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
     9
        <default/>
antonio@735
    10
        <onCreateDefault/>
antonio@735
    11
      </column>
antonio@735
    12
      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    13
        <default><![CDATA[Y]]></default>
antonio@735
    14
        <onCreateDefault/>
antonio@735
    15
      </column>
antonio@735
    16
      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
    17
        <default><![CDATA[SYSDATE]]></default>
antonio@735
    18
        <onCreateDefault/>
antonio@735
    19
      </column>
juanpablo@1605
    20
      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    21
        <default/>
antonio@735
    22
        <onCreateDefault/>
antonio@735
    23
      </column>
antonio@735
    24
      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
    25
        <default><![CDATA[SYSDATE]]></default>
antonio@735
    26
        <onCreateDefault/>
antonio@735
    27
      </column>
juanpablo@1605
    28
      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    29
        <default/>
antonio@735
    30
        <onCreateDefault/>
antonio@735
    31
      </column>
juanpablo@1605
    32
      <column name="C_LOCATION_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    33
        <default/>
antonio@735
    34
        <onCreateDefault/>
antonio@735
    35
      </column>
antonio@735
    36
      <column name="DUNS" primaryKey="false" required="true" type="CHAR" size="11" autoIncrement="false">
antonio@735
    37
        <default/>
antonio@735
    38
        <onCreateDefault/>
antonio@735
    39
      </column>
antonio@735
    40
      <column name="TAXID" primaryKey="false" required="true" type="VARCHAR" size="20" autoIncrement="false">
antonio@735
    41
        <default/>
antonio@735
    42
        <onCreateDefault/>
antonio@735
    43
      </column>
juanpablo@1605
    44
      <column name="C_BPARTNER_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    45
        <default/>
antonio@735
    46
        <onCreateDefault/>
antonio@735
    47
      </column>
sathiyan@6630
    48
      <column name="ISTAXUNDEDUCTABLE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
sathiyan@6630
    49
        <default><![CDATA[N]]></default>
sathiyan@6630
    50
        <onCreateDefault><![CDATA['N']]></onCreateDefault>
sathiyan@6630
    51
      </column>
sathiyan@6630
    52
      <column name="C_TAX_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
sathiyan@6630
    53
        <default/>
sathiyan@6630
    54
        <onCreateDefault/>
sathiyan@6630
    55
      </column>
antonio@735
    56
      <column name="LOGO" primaryKey="false" required="false" type="NVARCHAR" size="200" autoIncrement="false">
antonio@735
    57
        <default/>
antonio@735
    58
        <onCreateDefault/>
antonio@735
    59
      </column>
antonio@735
    60
      <column name="REFERENCE_ORDER" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
    61
        <default/>
antonio@735
    62
        <onCreateDefault/>
antonio@735
    63
      </column>
antonio@4917
    64
      <column name="YOUR_COMPANY_DOCUMENT_IMAGE" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@4917
    65
        <default/>
antonio@4917
    66
        <onCreateDefault/>
antonio@4917
    67
      </column>
gorkaion@6874
    68
      <column name="AUTOMATIC_WRITEOFF_AMT" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
gorkaion@6874
    69
        <default/>
gorkaion@6874
    70
        <onCreateDefault/>
gorkaion@6874
    71
      </column>
victor@2695
    72
      <foreign-key foreignTable="AD_ORG" name="AD_ORG_AD_ORGINFO" onDelete="cascade">
antonio@410
    73
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
antonio@410
    74
      </foreign-key>
asier@5551
    75
      <foreign-key foreignTable="AD_CLIENT" name="AD_ORGINFO_AD_CLIENT">
asier@5551
    76
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
asier@5551
    77
      </foreign-key>
asier@5551
    78
      <foreign-key foreignTable="C_BPARTNER" name="AD_ORGINFO_C_BPARTNER">
asier@5551
    79
        <reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
asier@5551
    80
      </foreign-key>
sathiyan@6630
    81
      <foreign-key foreignTable="C_TAX" name="AD_ORGINFO_C_TAX">
sathiyan@6630
    82
        <reference local="C_TAX_ID" foreign="C_TAX_ID"/>
sathiyan@6630
    83
      </foreign-key>
antonio@4964
    84
      <foreign-key foreignTable="AD_IMAGE" name="AD_ORGINFO_IMAGEDOCUM">
antonio@4917
    85
        <reference local="YOUR_COMPANY_DOCUMENT_IMAGE" foreign="AD_IMAGE_ID"/>
antonio@4917
    86
      </foreign-key>
antonio@410
    87
      <foreign-key foreignTable="C_LOCATION" name="C_LOCATION_AD_ORGINFO">
antonio@410
    88
        <reference local="C_LOCATION_ID" foreign="C_LOCATION_ID"/>
carlos@0
    89
      </foreign-key>
carlos@0
    90
    </table>
adrian@94
    91
  </database>