src-db/database/model/tables/FIN_PAYMENT_RUN.xml
changeset 7620 ae62da221868
child 8504 802eae4a434d
equal deleted inserted replaced
7619:4f9907cbafab 7620:ae62da221868
       
     1 <?xml version="1.0"?>
       
     2   <database name="TABLE FIN_PAYMENT_RUN">
       
     3     <table name="FIN_PAYMENT_RUN" primaryKey="FIN_PAYMENT_RUN_KEY">
       
     4       <column name="FIN_PAYMENT_RUN_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
       
     5         <default/>
       
     6         <onCreateDefault/>
       
     7       </column>
       
     8       <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
       
     9         <default/>
       
    10         <onCreateDefault/>
       
    11       </column>
       
    12       <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
       
    13         <default/>
       
    14         <onCreateDefault/>
       
    15       </column>
       
    16       <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
       
    17         <default><![CDATA[SYSDATE]]></default>
       
    18         <onCreateDefault/>
       
    19       </column>
       
    20       <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
       
    21         <default/>
       
    22         <onCreateDefault/>
       
    23       </column>
       
    24       <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
       
    25         <default><![CDATA[SYSDATE]]></default>
       
    26         <onCreateDefault/>
       
    27       </column>
       
    28       <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
       
    29         <default/>
       
    30         <onCreateDefault/>
       
    31       </column>
       
    32       <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
       
    33         <default><![CDATA[Y]]></default>
       
    34         <onCreateDefault/>
       
    35       </column>
       
    36       <column name="STATUS" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
       
    37         <default/>
       
    38         <onCreateDefault/>
       
    39       </column>
       
    40       <column name="RUN_SOURCE" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
       
    41         <default/>
       
    42         <onCreateDefault/>
       
    43       </column>
       
    44       <column name="MESSAGE" primaryKey="false" required="false" type="NVARCHAR" size="2000" autoIncrement="false">
       
    45         <default/>
       
    46         <onCreateDefault/>
       
    47       </column>
       
    48       <column name="FIN_PAY_EXEC_PROCESS_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
       
    49         <default/>
       
    50         <onCreateDefault/>
       
    51       </column>
       
    52       <foreign-key foreignTable="AD_CLIENT" name="FIN_PAYMENT_RUN_CLIENT">
       
    53         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
       
    54       </foreign-key>
       
    55       <foreign-key foreignTable="AD_ORG" name="FIN_PAYMENT_RUN_ORG">
       
    56         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       
    57       </foreign-key>
       
    58       <foreign-key foreignTable="FIN_PAY_EXEC_PROCESS" name="FIN_PAYMENT_RUN_PAYEXECPROC">
       
    59         <reference local="FIN_PAY_EXEC_PROCESS_ID" foreign="FIN_PAY_EXEC_PROCESS_ID"/>
       
    60       </foreign-key>
       
    61       <check name="FIN_PAYMENT_RUN_ACTIVE_CHK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
       
    62     </table>
       
    63   </database>