src-db/database/model/tables/C_PERIODCONTROL_LOG.xml
author Asier Lostalé <asier.lostale@openbravo.com>
Wed, 14 Jan 2009 15:00:49 +0000
changeset 2586 683779f1e610
parent 1929 ad0353d93b0f
child 2988 df12bc0f0cd5
permissions -rw-r--r--
Merged reflist branch back

Now columns for reference list values are varchar2(60) instead of char
asier@1929
     1
<?xml version="1.0"?>
asier@1929
     2
  <database name="TABLE C_PERIODCONTROL_LOG">
asier@1929
     3
    <table name="C_PERIODCONTROL_LOG" primaryKey="CPERIODCONTROLLOG_KEY">
asier@1929
     4
      <column name="C_PERIODCONTROL_LOG_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
asier@1929
     5
        <default/>
asier@1929
     6
        <onCreateDefault/>
asier@1929
     7
      </column>
asier@1929
     8
      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
asier@1929
     9
        <default/>
asier@1929
    10
        <onCreateDefault/>
asier@1929
    11
      </column>
asier@1929
    12
      <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
asier@1929
    13
        <default/>
asier@1929
    14
        <onCreateDefault/>
asier@1929
    15
      </column>
asier@1929
    16
      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
asier@1929
    17
        <default><![CDATA[Y]]></default>
asier@1929
    18
        <onCreateDefault/>
asier@1929
    19
      </column>
asier@1929
    20
      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
asier@1929
    21
        <default><![CDATA[SYSDATE]]></default>
asier@1929
    22
        <onCreateDefault/>
asier@1929
    23
      </column>
asier@1929
    24
      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
asier@1929
    25
        <default/>
asier@1929
    26
        <onCreateDefault/>
asier@1929
    27
      </column>
asier@1929
    28
      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
asier@1929
    29
        <default><![CDATA[SYSDATE]]></default>
asier@1929
    30
        <onCreateDefault/>
asier@1929
    31
      </column>
asier@1929
    32
      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
asier@1929
    33
        <default/>
asier@1929
    34
        <onCreateDefault/>
asier@1929
    35
      </column>
asier@1929
    36
      <column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false">
asier@1929
    37
        <default/>
asier@1929
    38
        <onCreateDefault/>
asier@1929
    39
      </column>
asier@1929
    40
      <column name="PROCESSING" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
asier@1929
    41
        <default><![CDATA[N]]></default>
asier@1929
    42
        <onCreateDefault/>
asier@1929
    43
      </column>
asier@1929
    44
      <column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
asier@1929
    45
        <default><![CDATA[N]]></default>
asier@1929
    46
        <onCreateDefault/>
asier@1929
    47
      </column>
asier@1929
    48
      <column name="C_CALENDAR_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
asier@1929
    49
        <default/>
asier@1929
    50
        <onCreateDefault/>
asier@1929
    51
      </column>
asier@1929
    52
      <column name="ISRECURSIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
asier@1929
    53
        <default/>
asier@1929
    54
        <onCreateDefault/>
asier@1929
    55
      </column>
asier@1929
    56
      <column name="C_YEAR_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
asier@1929
    57
        <default/>
asier@1929
    58
        <onCreateDefault/>
asier@1929
    59
      </column>
asier@1929
    60
      <column name="PERIODNO" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
asier@1929
    61
        <default/>
asier@1929
    62
        <onCreateDefault/>
asier@1929
    63
      </column>
asier@2586
    64
      <column name="DOCBASETYPE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
asier@1929
    65
        <default/>
asier@1929
    66
        <onCreateDefault/>
asier@1929
    67
      </column>
asier@2586
    68
      <column name="PERIODACTION" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
asier@1929
    69
        <default/>
asier@1929
    70
        <onCreateDefault/>
asier@1929
    71
      </column>
asier@1929
    72
      <foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_CPERIODCONTROLLOG">
asier@1929
    73
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
asier@1929
    74
      </foreign-key>
asier@1929
    75
      <foreign-key foreignTable="AD_ORG" name="ADORG_CPERIODCONTROLLOG">
asier@1929
    76
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
asier@1929
    77
      </foreign-key>
asier@1929
    78
      <foreign-key foreignTable="C_CALENDAR" name="CCALENDAR_CPERIODCONTROLOG">
asier@1929
    79
        <reference local="C_CALENDAR_ID" foreign="C_CALENDAR_ID"/>
asier@1929
    80
      </foreign-key>
asier@1929
    81
      <foreign-key foreignTable="C_YEAR" name="CYEAR_CPERIODCONTROLOG">
asier@1929
    82
        <reference local="C_YEAR_ID" foreign="C_YEAR_ID"/>
asier@1929
    83
      </foreign-key>
asier@1929
    84
      <foreign-key foreignTable="C_PERIOD" name="PERIODNO_CPERIODCONTROLLOG">
asier@1929
    85
        <reference local="PERIODNO" foreign="C_PERIOD_ID"/>
asier@1929
    86
      </foreign-key>
asier@1929
    87
      <check name="C_PERIODCTRLLOG_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
asier@1929
    88
      <check name="C_PERIODCTRLLOG_PROCESSED_CHK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
asier@1929
    89
      <check name="C_PERIODCTRLLOG_PROCESSING_CHK"><![CDATA[PROCESSING IN ('Y', 'N')]]></check>
asier@1929
    90
      <check name="C_PERIODCTRLLOG_RECURSIVE_CHK"><![CDATA[ISRECURSIVE IN ('Y', 'N')]]></check>
asier@1929
    91
    </table>
asier@1929
    92
  </database>