src-db/database/model/tables/C_POC_DOCTYPE_TEMPLATE.xml
author Salvador Zapata <salvador.zapata@openbravo.com>
Thu, 07 Oct 2010 16:32:29 +0200
changeset 8504 802eae4a434d
parent 7920 13df5b8fc723
child 8505 a2bb7e6fb443
permissions -rw-r--r--
Fixed bug 14514 In GeneralAccoutingReportPDF.fo there are some strings impossible to translate
asier@1865
     1
<?xml version="1.0"?>
asier@1865
     2
  <database name="TABLE C_POC_DOCTYPE_TEMPLATE">
carlos@1869
     3
    <table name="C_POC_DOCTYPE_TEMPLATE" primaryKey="C_POC_DOCTYPE_TEMPLATE_PK">
asier@1865
     4
      <column name="C_POC_DOCTYPE_TEMPLATE_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
asier@1865
     5
        <default/>
asier@1865
     6
        <onCreateDefault><![CDATA[get_uuid()]]></onCreateDefault>
asier@1865
     7
      </column>
asier@1865
     8
      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
asier@1865
     9
        <default/>
asier@1865
    10
        <onCreateDefault/>
asier@1865
    11
      </column>
asier@1865
    12
      <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
asier@1865
    13
        <default/>
asier@1865
    14
        <onCreateDefault/>
asier@1865
    15
      </column>
asier@1865
    16
      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
asier@1865
    17
        <default/>
asier@1865
    18
        <onCreateDefault/>
asier@1865
    19
      </column>
asier@1865
    20
      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
asier@1865
    21
        <default/>
asier@1865
    22
        <onCreateDefault/>
asier@1865
    23
      </column>
asier@1865
    24
      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
asier@1865
    25
        <default/>
asier@1865
    26
        <onCreateDefault/>
asier@1865
    27
      </column>
asier@1865
    28
      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
asier@1865
    29
        <default/>
asier@1865
    30
        <onCreateDefault/>
asier@1865
    31
      </column>
asier@1865
    32
      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
asier@1865
    33
        <default/>
asier@1865
    34
        <onCreateDefault/>
asier@1865
    35
      </column>
asier@1865
    36
      <column name="C_DOCTYPE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
asier@1865
    37
        <default/>
asier@1865
    38
        <onCreateDefault/>
asier@1865
    39
      </column>
phillip@2937
    40
      <column name="NAME" primaryKey="false" required="false" type="NVARCHAR" size="60" autoIncrement="false">
asier@1865
    41
        <default/>
asier@1865
    42
        <onCreateDefault/>
asier@1865
    43
      </column>
phillip@2937
    44
      <column name="TEMPLATELOCATION" primaryKey="false" required="true" type="VARCHAR" size="500" autoIncrement="false">
asier@1865
    45
        <default/>
asier@1865
    46
        <onCreateDefault/>
asier@1865
    47
      </column>
phillip@2937
    48
      <column name="REPORTFILENAME" primaryKey="false" required="true" type="VARCHAR" size="300" autoIncrement="false">
phillip@2937
    49
        <default/>
phillip@2937
    50
        <onCreateDefault/>
phillip@2937
    51
      </column>
phillip@2937
    52
      <column name="TEMPLATEFILENAME" primaryKey="false" required="true" type="VARCHAR" size="200" autoIncrement="false">
asier@1865
    53
        <default/>
asier@1865
    54
        <onCreateDefault/>
asier@1865
    55
      </column>
ioritz@7920
    56
      <column name="SHOWCOMPANYDATA" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
ioritz@7920
    57
        <default><![CDATA[Y]]></default>
ioritz@7920
    58
        <onCreateDefault/>
ioritz@7920
    59
      </column>
ioritz@7920
    60
      <column name="SHOWLOGO" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
ioritz@7920
    61
        <default><![CDATA[Y]]></default>
ioritz@7920
    62
        <onCreateDefault/>
ioritz@7920
    63
      </column>
ioritz@7920
    64
      <column name="HEADERMARGIN" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
ioritz@7920
    65
        <default/>
ioritz@7920
    66
        <onCreateDefault/>
ioritz@7920
    67
      </column>
asier@5551
    68
      <foreign-key foreignTable="AD_CLIENT" name="C_POC_DOCTYPE_TEMPLATE_AD_CLIE">
carlos@1893
    69
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
carlos@1893
    70
      </foreign-key>
asier@5551
    71
      <foreign-key foreignTable="AD_ORG" name="C_POC_DOCTYPE_TEMPLATE_AD_ORG">
carlos@1893
    72
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
carlos@1893
    73
      </foreign-key>
asier@5551
    74
      <foreign-key foreignTable="C_DOCTYPE" name="C_POC_DOCTYPE_TEMPLATE_C_DOCTY">
carlos@1893
    75
        <reference local="C_DOCTYPE_ID" foreign="C_DOCTYPE_ID"/>
carlos@1893
    76
      </foreign-key>
asier@5555
    77
      <index name="C_POC_DOCTYPE_TEMP_DOCTYPE_IDX" unique="false">
carlos@1893
    78
        <index-column name="C_DOCTYPE_ID"/>
carlos@1893
    79
      </index>
asier@1865
    80
    </table>
asier@1865
    81
  </database>