src-db/database/model/tables/M_MATCHPO.xml
author RM packaging bot <staff.rm@openbravo.com>
Tue, 20 Feb 2018 05:47:07 +0000
changeset 33488 688fcca7af57
parent 32946 38268cab93c5
parent 33477 9b96ff21af72
child 33489 f1d8751dcbf9
child 33525 7d7e23523d73
permissions -rw-r--r--
Merge temporary head for 3.0PR17Q4.1
carlos@0
     1
<?xml version="1.0"?>
adrian@94
     2
  <database name="TABLE M_MATCHPO">
carlos@0
     3
    <table name="M_MATCHPO" primaryKey="M_MATCHPO_KEY">
juanpablo@1605
     4
      <column name="M_MATCHPO_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
     5
        <default/>
antonio@735
     6
        <onCreateDefault/>
antonio@735
     7
      </column>
juanpablo@1605
     8
      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
     9
        <default/>
antonio@735
    10
        <onCreateDefault/>
antonio@735
    11
      </column>
juanpablo@1605
    12
      <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    13
        <default/>
antonio@735
    14
        <onCreateDefault/>
antonio@735
    15
      </column>
antonio@735
    16
      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    17
        <default><![CDATA[Y]]></default>
antonio@735
    18
        <onCreateDefault/>
antonio@735
    19
      </column>
antonio@735
    20
      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
    21
        <default><![CDATA[SYSDATE]]></default>
antonio@735
    22
        <onCreateDefault/>
antonio@735
    23
      </column>
juanpablo@1605
    24
      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    25
        <default/>
antonio@735
    26
        <onCreateDefault/>
antonio@735
    27
      </column>
antonio@735
    28
      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
    29
        <default><![CDATA[SYSDATE]]></default>
antonio@735
    30
        <onCreateDefault/>
antonio@735
    31
      </column>
juanpablo@1605
    32
      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    33
        <default/>
antonio@735
    34
        <onCreateDefault/>
antonio@735
    35
      </column>
juanpablo@1605
    36
      <column name="C_ORDERLINE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    37
        <default/>
antonio@735
    38
        <onCreateDefault/>
antonio@735
    39
      </column>
juanpablo@1605
    40
      <column name="M_PRODUCT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    41
        <default/>
antonio@735
    42
        <onCreateDefault/>
antonio@735
    43
      </column>
juanpablo@1605
    44
      <column name="M_INOUTLINE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    45
        <default/>
antonio@735
    46
        <onCreateDefault/>
antonio@735
    47
      </column>
juanpablo@1605
    48
      <column name="C_INVOICELINE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    49
        <default/>
antonio@735
    50
        <onCreateDefault/>
antonio@735
    51
      </column>
antonio@735
    52
      <column name="DATETRX" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
    53
        <default/>
antonio@735
    54
        <onCreateDefault/>
antonio@735
    55
      </column>
antonio@735
    56
      <column name="QTY" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
antonio@735
    57
        <default><![CDATA[0]]></default>
antonio@735
    58
        <onCreateDefault/>
antonio@735
    59
      </column>
antonio@735
    60
      <column name="PROCESSING" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    61
        <default/>
antonio@735
    62
        <onCreateDefault/>
antonio@735
    63
      </column>
antonio@735
    64
      <column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    65
        <default><![CDATA[N]]></default>
antonio@735
    66
        <onCreateDefault/>
antonio@735
    67
      </column>
asier@2586
    68
      <column name="POSTED" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
    69
        <default><![CDATA[N]]></default>
antonio@735
    70
        <onCreateDefault/>
antonio@735
    71
      </column>
asier@5551
    72
      <foreign-key foreignTable="AD_CLIENT" name="M_MATCHPO_AD_CLIENT">
carlos@0
    73
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
carlos@0
    74
      </foreign-key>
asier@5551
    75
      <foreign-key foreignTable="AD_ORG" name="M_MATCHPO_AD_ORG">
carlos@0
    76
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
carlos@0
    77
      </foreign-key>
asier@5551
    78
      <foreign-key foreignTable="C_INVOICELINE" name="M_MATCHPO_C_INVOICELINE">
carlos@0
    79
        <reference local="C_INVOICELINE_ID" foreign="C_INVOICELINE_ID"/>
carlos@0
    80
      </foreign-key>
asier@5551
    81
      <foreign-key foreignTable="C_ORDERLINE" name="M_MATCHPO_C_ORDERLINE">
carlos@0
    82
        <reference local="C_ORDERLINE_ID" foreign="C_ORDERLINE_ID"/>
carlos@0
    83
      </foreign-key>
pandeeswari@18540
    84
      <foreign-key foreignTable="M_INOUTLINE" name="M_MATCHPO_M_INOUTLINE" onDelete="cascade">
carlos@0
    85
        <reference local="M_INOUTLINE_ID" foreign="M_INOUTLINE_ID"/>
carlos@0
    86
      </foreign-key>
asier@5551
    87
      <foreign-key foreignTable="M_PRODUCT" name="M_MATCHPO_M_PRODUCT">
carlos@0
    88
        <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
carlos@0
    89
      </foreign-key>
alvaro@29578
    90
      <index name="M_MATCHPO_INOUT" unique="false">
alvaro@29578
    91
        <index-column name="M_INOUTLINE_ID"/>
victor@31556
    92
        <whereClause><![CDATA[M_INOUTLINE_ID IS NOT NULL]]></whereClause>
alvaro@29578
    93
      </index>
alvaro@27393
    94
      <index name="M_MATCHPO_POSTED" unique="false">
alvaro@27393
    95
        <index-column name="POSTED"/>
alvaro@27393
    96
      </index>
adrian@94
    97
      <index name="M_MATCHPO_SHIP" unique="false">
carlos@0
    98
        <index-column name="C_ORDERLINE_ID"/>
carlos@0
    99
        <index-column name="M_INOUTLINE_ID"/>
carlos@0
   100
      </index>
stefan@8505
   101
      <check name="M_MATCHPO_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
stefan@8505
   102
      <check name="M_MATCHPO_PROCESSED_CHECK"><![CDATA[PROCESSED IN ('Y', 'N')]]></check>
carlos@0
   103
    </table>
adrian@94
   104
  </database>