src-db/database/model/tables/FIN_PAYMENT_SCHEDULEDETAIL.xml
author Gorka Ion Damián <gorkaion.damian@openbravo.com>
Wed, 24 Feb 2010 17:07:21 +0100
changeset 6836 b58aa5f87424
parent 6825 5f0a059d8d05
child 6866 8bd1c7364467
permissions -rw-r--r--
Fixed payment schedule extension points to make use of FIN_Payment_ScheduleDetail table.
gorkaion@6824
     1
<?xml version="1.0"?>
gorkaion@6824
     2
  <database name="TABLE FIN_PAYMENT_SCHEDULEDETAIL">
gorkaion@6824
     3
    <table name="FIN_PAYMENT_SCHEDULEDETAIL" primaryKey="FIN_PAYMENT_SCHEDULEDETAIL_KEY">
gorkaion@6824
     4
      <column name="FIN_PAYMENT_SCHEDULEDETAIL_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@6824
     5
        <default/>
gorkaion@6824
     6
        <onCreateDefault/>
gorkaion@6824
     7
      </column>
gorkaion@6824
     8
      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@6824
     9
        <default/>
gorkaion@6824
    10
        <onCreateDefault/>
gorkaion@6824
    11
      </column>
gorkaion@6824
    12
      <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@6824
    13
        <default/>
gorkaion@6824
    14
        <onCreateDefault/>
gorkaion@6824
    15
      </column>
gorkaion@6824
    16
      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
gorkaion@6824
    17
        <default><![CDATA[SYSDATE]]></default>
gorkaion@6824
    18
        <onCreateDefault/>
gorkaion@6824
    19
      </column>
gorkaion@6824
    20
      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@6824
    21
        <default/>
gorkaion@6824
    22
        <onCreateDefault/>
gorkaion@6824
    23
      </column>
gorkaion@6824
    24
      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
gorkaion@6824
    25
        <default><![CDATA[SYSDATE]]></default>
gorkaion@6824
    26
        <onCreateDefault/>
gorkaion@6824
    27
      </column>
gorkaion@6824
    28
      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@6824
    29
        <default/>
gorkaion@6824
    30
        <onCreateDefault/>
gorkaion@6824
    31
      </column>
gorkaion@6836
    32
      <column name="FIN_PAYMENT_DETAIL_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@6824
    33
        <default/>
gorkaion@6824
    34
        <onCreateDefault/>
gorkaion@6824
    35
      </column>
gorkaion@6825
    36
      <column name="FIN_PAYMENT_SCHEDULE_ORDER" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@6824
    37
        <default/>
gorkaion@6824
    38
        <onCreateDefault/>
gorkaion@6824
    39
      </column>
gorkaion@6825
    40
      <column name="FIN_PAYMENT_SCHEDULE_INVOICE" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@6824
    41
        <default/>
gorkaion@6824
    42
        <onCreateDefault/>
gorkaion@6824
    43
      </column>
gorkaion@6824
    44
      <column name="AMOUNT" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
gorkaion@6824
    45
        <default><![CDATA[0]]></default>
gorkaion@6824
    46
        <onCreateDefault/>
gorkaion@6824
    47
      </column>
gorkaion@6824
    48
      <column name="ISACTIVE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
gorkaion@6824
    49
        <default><![CDATA[Y]]></default>
gorkaion@6824
    50
        <onCreateDefault/>
gorkaion@6824
    51
      </column>
gorkaion@6824
    52
      <column name="WRITEOFFAMT" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
gorkaion@6824
    53
        <default/>
gorkaion@6824
    54
        <onCreateDefault/>
gorkaion@6824
    55
      </column>
gorkaion@6824
    56
      <foreign-key foreignTable="AD_CLIENT" name="FIN_AD_CLIENT_SCHEDULEDETAIL">
gorkaion@6824
    57
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
gorkaion@6824
    58
      </foreign-key>
gorkaion@6824
    59
      <foreign-key foreignTable="AD_ORG" name="FIN_AD_ORG_SCHEDULEDETAIL">
gorkaion@6824
    60
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
gorkaion@6824
    61
      </foreign-key>
gorkaion@6824
    62
      <foreign-key foreignTable="FIN_PAYMENT_DETAIL" name="FIN_PAYMENT_SCHEDULEDETAIL">
gorkaion@6824
    63
        <reference local="FIN_PAYMENT_DETAIL_ID" foreign="FIN_PAYMENT_DETAIL_ID"/>
gorkaion@6824
    64
      </foreign-key>
gorkaion@6824
    65
      <foreign-key foreignTable="FIN_PAYMENT_SCHEDULE" name="FIN_PAYMENT_SCHINV_SCHDETAIL">
gorkaion@6824
    66
        <reference local="FIN_PAYMENT_SCHEDULE_INVOICE" foreign="FIN_PAYMENT_SCHEDULE_ID"/>
gorkaion@6824
    67
      </foreign-key>
gorkaion@6824
    68
      <foreign-key foreignTable="FIN_PAYMENT_SCHEDULE" name="FIN_PAYMENT_SCHORD_SCHDETAIL">
gorkaion@6824
    69
        <reference local="FIN_PAYMENT_SCHEDULE_ORDER" foreign="FIN_PAYMENT_SCHEDULE_ID"/>
gorkaion@6824
    70
      </foreign-key>
gorkaion@6824
    71
    </table>
gorkaion@6824
    72
  </database>