src-db/database/model/tables/MA_SEQUENCEPRODUCT.xml
changeset 756 ae11e4610537
parent 735 daced7e311c9
child 799 fef2c5e2feb7
equal deleted inserted replaced
755:16b55e593268 756:ae11e4610537
       
     1 <?xml version="1.0"?>
       
     2   <database name="TABLE MA_SEQUENCEPRODUCT">
       
     3     <table name="MA_SEQUENCEPRODUCT" primaryKey="MA_SEQUENCEPRODUCT_KEY">
       
     4       <column name="MA_SEQUENCEPRODUCT_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="MA_SEQUENCE_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
       
    37         <default/>
       
    38         <onCreateDefault/>
       
    39       </column>
       
    40       <column name="M_PRODUCT_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
       
    41         <default/>
       
    42         <onCreateDefault/>
       
    43       </column>
       
    44       <column name="QUANTITY" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
       
    45         <default/>
       
    46         <onCreateDefault/>
       
    47       </column>
       
    48       <column name="PRODUCTIONTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
       
    49         <default/>
       
    50         <onCreateDefault/>
       
    51       </column>
       
    52       <column name="C_UOM_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
       
    53         <default/>
       
    54         <onCreateDefault/>
       
    55       </column>
       
    56       <column name="QUANTITYORDER" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
       
    57         <default/>
       
    58         <onCreateDefault/>
       
    59       </column>
       
    60       <column name="M_PRODUCT_UOM_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
       
    61         <default/>
       
    62         <onCreateDefault/>
       
    63       </column>
       
    64       <column name="COMPONENTCOST" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
       
    65         <default><![CDATA[1]]></default>
       
    66         <onCreateDefault/>
       
    67       </column>
       
    68       <column name="RMINPUT" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
       
    69         <default><![CDATA[N]]></default>
       
    70         <onCreateDefault/>
       
    71       </column>
       
    72       <column name="DECREASE" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
       
    73         <default/>
       
    74         <onCreateDefault/>
       
    75       </column>
       
    76       <column name="REJECTED" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
       
    77         <default/>
       
    78         <onCreateDefault/>
       
    79       </column>
       
    80       <column name="CONSUMERM" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
       
    81         <default><![CDATA[N]]></default>
       
    82         <onCreateDefault/>
       
    83       </column>
       
    84       <column name="DECREASEIND" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
       
    85         <default><![CDATA[N]]></default>
       
    86         <onCreateDefault/>
       
    87       </column>
       
    88       <column name="COST" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
       
    89         <default/>
       
    90         <onCreateDefault/>
       
    91       </column>
       
    92       <foreign-key foreignTable="AD_ORG" name="AD_ORG_MASEQUENCEPRODUCT">
       
    93         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       
    94       </foreign-key>
       
    95       <foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_MASEQUENCEPRODUCT">
       
    96         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
       
    97       </foreign-key>
       
    98       <foreign-key foreignTable="C_UOM" name="CUOMID_MASEQUENCEPRODUCT">
       
    99         <reference local="C_UOM_ID" foreign="C_UOM_ID"/>
       
   100       </foreign-key>
       
   101       <foreign-key foreignTable="M_PRODUCT" name="M_PRODUCT_MASEQUENCEPRODUCT">
       
   102         <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
       
   103       </foreign-key>
       
   104       <foreign-key foreignTable="MA_SEQUENCE" name="MASEQUENCE_MASEQUENCEPRODUCT">
       
   105         <reference local="MA_SEQUENCE_ID" foreign="MA_SEQUENCE_ID"/>
       
   106       </foreign-key>
       
   107       <foreign-key foreignTable="M_PRODUCT_UOM" name="MPRODUCTUOMID_MASEQPRODUCT">
       
   108         <reference local="M_PRODUCT_UOM_ID" foreign="M_PRODUCT_UOM_ID"/>
       
   109       </foreign-key>
       
   110       <check name="MA_SEQUENCEPROD_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
       
   111     </table>
       
   112   </database>