src-db/database/model/tables/A_ASSET_DELIVERY.xml
changeset 799 fef2c5e2feb7
parent 798 4994e5a604bb
child 800 1ad8094b366f
equal deleted inserted replaced
798:4994e5a604bb 799:fef2c5e2feb7
     1 <?xml version="1.0"?>
       
     2   <database name="TABLE A_ASSET_DELIVERY">
       
     3     <table name="A_ASSET_DELIVERY" primaryKey="A_ASSET_DELIVERY_KEY">
       
     4       <column name="A_ASSET_DELIVERY_ID" primaryKey="true" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
       
     5         <default/>
       
     6         <onCreateDefault/>
       
     7       </column>
       
     8       <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
       
     9         <default/>
       
    10         <onCreateDefault/>
       
    11       </column>
       
    12       <column name="AD_ORG_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
       
    13         <default/>
       
    14         <onCreateDefault/>
       
    15       </column>
       
    16       <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
       
    17         <default><![CDATA[Y]]></default>
       
    18         <onCreateDefault/>
       
    19       </column>
       
    20       <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
       
    21         <default><![CDATA[SYSDATE]]></default>
       
    22         <onCreateDefault/>
       
    23       </column>
       
    24       <column name="CREATEDBY" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
       
    25         <default/>
       
    26         <onCreateDefault/>
       
    27       </column>
       
    28       <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
       
    29         <default><![CDATA[SYSDATE]]></default>
       
    30         <onCreateDefault/>
       
    31       </column>
       
    32       <column name="UPDATEDBY" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
       
    33         <default/>
       
    34         <onCreateDefault/>
       
    35       </column>
       
    36       <column name="A_ASSET_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
       
    37         <default/>
       
    38         <onCreateDefault/>
       
    39       </column>
       
    40       <column name="MOVEMENTDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
       
    41         <default/>
       
    42         <onCreateDefault/>
       
    43       </column>
       
    44       <column name="SERNO" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
       
    45         <default/>
       
    46         <onCreateDefault/>
       
    47       </column>
       
    48       <column name="LOT" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
       
    49         <default/>
       
    50         <onCreateDefault/>
       
    51       </column>
       
    52       <column name="VERSIONNO" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
       
    53         <default/>
       
    54         <onCreateDefault/>
       
    55       </column>
       
    56       <column name="M_INOUTLINE_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
       
    57         <default/>
       
    58         <onCreateDefault/>
       
    59       </column>
       
    60       <column name="EMAIL" primaryKey="false" required="false" type="NVARCHAR" size="40" autoIncrement="false">
       
    61         <default/>
       
    62         <onCreateDefault/>
       
    63       </column>
       
    64       <column name="MESSAGEID" primaryKey="false" required="false" type="VARCHAR" size="120" autoIncrement="false">
       
    65         <default/>
       
    66         <onCreateDefault/>
       
    67       </column>
       
    68       <column name="DELIVERYCONFIRMATION" primaryKey="false" required="false" type="VARCHAR" size="120" autoIncrement="false">
       
    69         <default/>
       
    70         <onCreateDefault/>
       
    71       </column>
       
    72       <column name="URL" primaryKey="false" required="false" type="NVARCHAR" size="120" autoIncrement="false">
       
    73         <default/>
       
    74         <onCreateDefault/>
       
    75       </column>
       
    76       <column name="REMOTE_ADDR" primaryKey="false" required="false" type="NVARCHAR" size="60" autoIncrement="false">
       
    77         <default/>
       
    78         <onCreateDefault/>
       
    79       </column>
       
    80       <column name="REMOTE_HOST" primaryKey="false" required="false" type="NVARCHAR" size="60" autoIncrement="false">
       
    81         <default/>
       
    82         <onCreateDefault/>
       
    83       </column>
       
    84       <column name="REFERRER" primaryKey="false" required="false" type="NVARCHAR" size="255" autoIncrement="false">
       
    85         <default/>
       
    86         <onCreateDefault/>
       
    87       </column>
       
    88       <column name="AD_USER_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
       
    89         <default/>
       
    90         <onCreateDefault/>
       
    91       </column>
       
    92       <column name="DESCRIPTION" primaryKey="false" required="false" type="NVARCHAR" size="255" autoIncrement="false">
       
    93         <default/>
       
    94         <onCreateDefault/>
       
    95       </column>
       
    96       <foreign-key foreignTable="A_ASSET" name="AASSET_AASSETDELIVERY">
       
    97         <reference local="A_ASSET_ID" foreign="A_ASSET_ID"/>
       
    98       </foreign-key>
       
    99       <foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_AASSETDELIVERY">
       
   100         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
       
   101       </foreign-key>
       
   102       <foreign-key foreignTable="AD_ORG" name="ADORG_AASSETDELIVERY">
       
   103         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       
   104       </foreign-key>
       
   105       <foreign-key foreignTable="AD_USER" name="ADUSER_AASSETDELIVERY">
       
   106         <reference local="AD_USER_ID" foreign="AD_USER_ID"/>
       
   107       </foreign-key>
       
   108       <foreign-key foreignTable="M_INOUTLINE" name="MOUTLINE_AASSETDELIVERY" onDelete="cascade">
       
   109         <reference local="M_INOUTLINE_ID" foreign="M_INOUTLINE_ID"/>
       
   110       </foreign-key>
       
   111       <check name="A_ASSET_DELIVER_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
       
   112     </table>
       
   113   </database>