src-db/database/model/tables/M_REQUISITIONLINE.xml
author Salvador Zapata <salvador.zapata@openbravo.com>
Thu, 07 Oct 2010 16:32:29 +0200
changeset 8504 802eae4a434d
parent 2771 3c2361b78745
child 8505 a2bb7e6fb443
permissions -rw-r--r--
Fixed bug 14514 In GeneralAccoutingReportPDF.fo there are some strings impossible to translate
carlos@0
     1
<?xml version="1.0"?>
adrian@94
     2
  <database name="TABLE M_REQUISITIONLINE">
carlos@0
     3
    <table name="M_REQUISITIONLINE" primaryKey="M_REQUISITIONLINE_KEY">
juanpablo@1605
     4
      <column name="M_REQUISITIONLINE_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="M_REQUISITION_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="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    41
        <default/>
antonio@735
    42
        <onCreateDefault/>
antonio@735
    43
      </column>
antonio@735
    44
      <column name="QTY" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
antonio@735
    45
        <default/>
antonio@735
    46
        <onCreateDefault/>
antonio@735
    47
      </column>
antonio@735
    48
      <column name="PRICELIST" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
    49
        <default/>
antonio@735
    50
        <onCreateDefault/>
antonio@735
    51
      </column>
antonio@735
    52
      <column name="LINENETAMT" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
    53
        <default/>
antonio@735
    54
        <onCreateDefault/>
antonio@735
    55
      </column>
juanpablo@1605
    56
      <column name="C_BPARTNER_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    57
        <default/>
antonio@735
    58
        <onCreateDefault/>
antonio@735
    59
      </column>
juanpablo@1605
    60
      <column name="C_UOM_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    61
        <default/>
antonio@735
    62
        <onCreateDefault/>
antonio@735
    63
      </column>
juanpablo@1605
    64
      <column name="M_PRODUCT_UOM_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    65
        <default/>
antonio@735
    66
        <onCreateDefault/>
antonio@735
    67
      </column>
antonio@735
    68
      <column name="QUANTITYORDER" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
    69
        <default/>
antonio@735
    70
        <onCreateDefault/>
antonio@735
    71
      </column>
juanpablo@1605
    72
      <column name="M_ATTRIBUTESETINSTANCE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    73
        <default/>
antonio@735
    74
        <onCreateDefault/>
antonio@735
    75
      </column>
asier@2586
    76
      <column name="REQSTATUS" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
    77
        <default><![CDATA[O]]></default>
antonio@735
    78
        <onCreateDefault/>
antonio@735
    79
      </column>
antonio@735
    80
      <column name="ORDEREDQTY" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
antonio@735
    81
        <default><![CDATA[0]]></default>
antonio@735
    82
        <onCreateDefault/>
antonio@735
    83
      </column>
antonio@735
    84
      <column name="DESCRIPTION" primaryKey="false" required="false" type="NVARCHAR" size="255" autoIncrement="false">
antonio@735
    85
        <default/>
antonio@735
    86
        <onCreateDefault/>
antonio@735
    87
      </column>
antonio@735
    88
      <column name="CHANGESTATUS" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
    89
        <default/>
antonio@735
    90
        <onCreateDefault/>
antonio@735
    91
      </column>
antonio@735
    92
      <column name="INTERNALNOTES" primaryKey="false" required="false" type="NVARCHAR" size="255" autoIncrement="false">
antonio@735
    93
        <default/>
antonio@735
    94
        <onCreateDefault/>
antonio@735
    95
      </column>
antonio@735
    96
      <column name="SUPPLIERNOTES" primaryKey="false" required="false" type="NVARCHAR" size="255" autoIncrement="false">
antonio@735
    97
        <default/>
antonio@735
    98
        <onCreateDefault/>
antonio@735
    99
      </column>
gorkaion@1520
   100
      <column name="DATEPLANNED" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false">
gorkaion@1516
   101
        <default/>
gorkaion@1516
   102
        <onCreateDefault/>
gorkaion@1516
   103
      </column>
antonio@735
   104
      <column name="NEEDBYDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
   105
        <default/>
antonio@798
   106
        <onCreateDefault><![CDATA[SELECT DATEPLANNED FROM M_REQUISITIONLINE_ WHERE M_REQUISITIONLINE_.M_REQUISITIONLINE_ID = M_REQUISITIONLINE.M_REQUISITIONLINE_ID]]></onCreateDefault>
antonio@735
   107
      </column>
antonio@735
   108
      <column name="PRICEACTUAL" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   109
        <default/>
antonio@735
   110
        <onCreateDefault/>
antonio@735
   111
      </column>
antonio@735
   112
      <column name="DISCOUNT" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   113
        <default/>
antonio@735
   114
        <onCreateDefault/>
antonio@735
   115
      </column>
juanpablo@1605
   116
      <column name="C_CURRENCY_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   117
        <default/>
antonio@735
   118
        <onCreateDefault/>
antonio@735
   119
      </column>
juanpablo@1605
   120
      <column name="LOCKEDBY" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   121
        <default/>
antonio@735
   122
        <onCreateDefault/>
antonio@735
   123
      </column>
antonio@735
   124
      <column name="LOCKQTY" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   125
        <default/>
antonio@735
   126
        <onCreateDefault/>
antonio@735
   127
      </column>
antonio@735
   128
      <column name="LOCKPRICE" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   129
        <default/>
antonio@735
   130
        <onCreateDefault/>
antonio@735
   131
      </column>
juanpablo@1605
   132
      <column name="M_PRICELIST_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   133
        <default/>
antonio@735
   134
        <onCreateDefault/>
antonio@735
   135
      </column>
antonio@735
   136
      <column name="LOCKDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
   137
        <default/>
antonio@735
   138
        <onCreateDefault/>
antonio@735
   139
      </column>
asier@2586
   140
      <column name="LOCKCAUSE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   141
        <default/>
antonio@735
   142
        <onCreateDefault/>
antonio@735
   143
      </column>
antonio@735
   144
      <column name="LINE" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
   145
        <default/>
antonio@735
   146
        <onCreateDefault/>
antonio@735
   147
      </column>
carlos@0
   148
      <foreign-key foreignTable="AD_CLIENT" name="AD_CLIENT_M_REQUISITIONLINE">
carlos@0
   149
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
carlos@0
   150
      </foreign-key>
carlos@0
   151
      <foreign-key foreignTable="AD_ORG" name="AD_ORG_M_REQUISITIONLINE">
carlos@0
   152
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
carlos@0
   153
      </foreign-key>
gorkaion@586
   154
      <foreign-key foreignTable="AD_USER" name="AD_USER_M_REQUISITIONLINE">
gorkaion@586
   155
        <reference local="LOCKEDBY" foreign="AD_USER_ID"/>
gorkaion@586
   156
      </foreign-key>
gorkaion@586
   157
      <foreign-key foreignTable="C_BPARTNER" name="C_BPARTNER_M_REQUISITIONLINE">
gorkaion@586
   158
        <reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
gorkaion@586
   159
      </foreign-key>
gorkaion@586
   160
      <foreign-key foreignTable="C_UOM" name="C_UOM_M_REQUISITIONLINE">
gorkaion@586
   161
        <reference local="C_UOM_ID" foreign="C_UOM_ID"/>
gorkaion@586
   162
      </foreign-key>
gorkaion@586
   163
      <foreign-key foreignTable="M_ATTRIBUTESETINSTANCE" name="M_ATTSETINST_M_REQUISITIONLINE">
gorkaion@586
   164
        <reference local="M_ATTRIBUTESETINSTANCE_ID" foreign="M_ATTRIBUTESETINSTANCE_ID"/>
gorkaion@586
   165
      </foreign-key>
gorkaion@586
   166
      <foreign-key foreignTable="M_PRICELIST" name="M_PRICELIST_M_REQUISITIONLINE">
gorkaion@586
   167
        <reference local="M_PRICELIST_ID" foreign="M_PRICELIST_ID"/>
gorkaion@586
   168
      </foreign-key>
carlos@0
   169
      <foreign-key foreignTable="M_PRODUCT" name="M_PRODUCT_M_REQUISITIONLINE">
carlos@0
   170
        <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
carlos@0
   171
      </foreign-key>
gorkaion@586
   172
      <foreign-key foreignTable="M_PRODUCT_UOM" name="M_PRODUCTUOM_M_REQUISITIONLINE">
gorkaion@586
   173
        <reference local="M_PRODUCT_UOM_ID" foreign="M_PRODUCT_UOM_ID"/>
gorkaion@586
   174
      </foreign-key>
carlos@0
   175
      <foreign-key foreignTable="M_REQUISITION" name="M_REQUISITION_MREQUISITIONLINE">
carlos@0
   176
        <reference local="M_REQUISITION_ID" foreign="M_REQUISITION_ID"/>
carlos@0
   177
      </foreign-key>
martin@2771
   178
      <foreign-key foreignTable="C_CURRENCY" name="M_REQUISITIONLINE_C_CURRENCY">
martin@2771
   179
        <reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
martin@2771
   180
      </foreign-key>
carlos@0
   181
    </table>
adrian@94
   182
  </database>