src-db/database/model/tables/MA_MAINT_SCHEDULED.xml
changeset 1605 8a0fe0193bef
parent 756 ae11e4610537
child 2586 683779f1e610
equal deleted inserted replaced
1604:a1c518e6ed93 1605:8a0fe0193bef
     1 <?xml version="1.0"?>
     1 <?xml version="1.0"?>
     2   <database name="TABLE MA_MAINT_SCHEDULED">
     2   <database name="TABLE MA_MAINT_SCHEDULED">
     3     <table name="MA_MAINT_SCHEDULED" primaryKey="MA_MAINT_SCHEDULED_KEY">
     3     <table name="MA_MAINT_SCHEDULED" primaryKey="MA_MAINT_SCHEDULED_KEY">
     4       <column name="MA_MAINT_SCHEDULED_ID" primaryKey="true" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
     4       <column name="MA_MAINT_SCHEDULED_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
     5         <default/>
     5         <default/>
     6         <onCreateDefault/>
     6         <onCreateDefault/>
     7       </column>
     7       </column>
     8       <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
     8       <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
     9         <default/>
     9         <default/>
    10         <onCreateDefault/>
    10         <onCreateDefault/>
    11       </column>
    11       </column>
    12       <column name="AD_ORG_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
    12       <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
    13         <default/>
    13         <default/>
    14         <onCreateDefault/>
    14         <onCreateDefault/>
    15       </column>
    15       </column>
    16       <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
    16       <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
    17         <default><![CDATA[Y]]></default>
    17         <default><![CDATA[Y]]></default>
    19       </column>
    19       </column>
    20       <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
    20       <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
    21         <default><![CDATA[SYSDATE]]></default>
    21         <default><![CDATA[SYSDATE]]></default>
    22         <onCreateDefault/>
    22         <onCreateDefault/>
    23       </column>
    23       </column>
    24       <column name="CREATEDBY" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
    24       <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
    25         <default/>
    25         <default/>
    26         <onCreateDefault/>
    26         <onCreateDefault/>
    27       </column>
    27       </column>
    28       <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
    28       <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
    29         <default><![CDATA[SYSDATE]]></default>
    29         <default><![CDATA[SYSDATE]]></default>
    30         <onCreateDefault/>
    30         <onCreateDefault/>
    31       </column>
    31       </column>
    32       <column name="UPDATEDBY" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
    32       <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
    33         <default/>
    33         <default/>
    34         <onCreateDefault/>
    34         <onCreateDefault/>
    35       </column>
    35       </column>
    36       <column name="MA_MAINTENANCE_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
    36       <column name="MA_MAINTENANCE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
    37         <default/>
    37         <default/>
    38         <onCreateDefault/>
    38         <onCreateDefault/>
    39       </column>
    39       </column>
    40       <column name="MA_MAINT_PART_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
    40       <column name="MA_MAINT_PART_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
    41         <default/>
    41         <default/>
    42         <onCreateDefault/>
    42         <onCreateDefault/>
    43       </column>
    43       </column>
    44       <column name="MA_MACHINE_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
    44       <column name="MA_MACHINE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
    45         <default/>
    45         <default/>
    46         <onCreateDefault/>
    46         <onCreateDefault/>
    47       </column>
    47       </column>
    48       <column name="MA_MACHINE_TYPE_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
    48       <column name="MA_MACHINE_TYPE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
    49         <default/>
    49         <default/>
    50         <onCreateDefault/>
    50         <onCreateDefault/>
    51       </column>
    51       </column>
    52       <column name="MAINTENANCE_TYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
    52       <column name="MAINTENANCE_TYPE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
    53         <default/>
    53         <default/>
    79       </column>
    79       </column>
    80       <column name="DESCRIPTION" primaryKey="false" required="false" type="NVARCHAR" size="255" autoIncrement="false">
    80       <column name="DESCRIPTION" primaryKey="false" required="false" type="NVARCHAR" size="255" autoIncrement="false">
    81         <default/>
    81         <default/>
    82         <onCreateDefault/>
    82         <onCreateDefault/>
    83       </column>
    83       </column>
    84       <column name="MA_MAINT_OPERATION_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
    84       <column name="MA_MAINT_OPERATION_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
    85         <default/>
    85         <default/>
    86         <onCreateDefault/>
    86         <onCreateDefault/>
    87       </column>
    87       </column>
    88       <column name="M_INTERNAL_CONSUMPTION_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
    88       <column name="M_INTERNAL_CONSUMPTION_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
    89         <default/>
    89         <default/>
    90         <onCreateDefault/>
    90         <onCreateDefault/>
    91       </column>
    91       </column>
    92       <foreign-key foreignTable="AD_ORG" name="AD_ORG_MAMAINT_SCHEDULED">
    92       <foreign-key foreignTable="AD_ORG" name="AD_ORG_MAMAINT_SCHEDULED">
    93         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    93         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>