src-db/database/model/tables/M_INOUT.xml
author Salvador Zapata <salvador.zapata@openbravo.com>
Thu, 07 Oct 2010 16:32:29 +0200
changeset 8504 802eae4a434d
parent 5551 7a30caea85b5
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_INOUT">
carlos@0
     3
    <table name="M_INOUT" primaryKey="M_INOUT_KEY">
juanpablo@1605
     4
      <column name="M_INOUT_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>
antonio@735
    36
      <column name="ISSOTRX" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    37
        <default><![CDATA[Y]]></default>
antonio@735
    38
        <onCreateDefault/>
antonio@735
    39
      </column>
antonio@735
    40
      <column name="DOCUMENTNO" primaryKey="false" required="true" type="NVARCHAR" size="30" autoIncrement="false">
antonio@735
    41
        <default/>
antonio@735
    42
        <onCreateDefault/>
antonio@735
    43
      </column>
asier@2586
    44
      <column name="DOCACTION" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
    45
        <default/>
antonio@735
    46
        <onCreateDefault/>
antonio@735
    47
      </column>
asier@2586
    48
      <column name="DOCSTATUS" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
    49
        <default/>
antonio@735
    50
        <onCreateDefault/>
antonio@735
    51
      </column>
asier@2586
    52
      <column name="POSTED" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
    53
        <default><![CDATA[N]]></default>
antonio@735
    54
        <onCreateDefault/>
antonio@735
    55
      </column>
antonio@735
    56
      <column name="PROCESSING" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
    57
        <default/>
antonio@735
    58
        <onCreateDefault/>
antonio@735
    59
      </column>
antonio@735
    60
      <column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    61
        <default><![CDATA[N]]></default>
antonio@735
    62
        <onCreateDefault/>
antonio@735
    63
      </column>
juanpablo@1605
    64
      <column name="C_DOCTYPE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    65
        <default/>
antonio@735
    66
        <onCreateDefault/>
antonio@735
    67
      </column>
antonio@735
    68
      <column name="DESCRIPTION" primaryKey="false" required="false" type="NVARCHAR" size="255" autoIncrement="false">
antonio@735
    69
        <default/>
antonio@735
    70
        <onCreateDefault/>
antonio@735
    71
      </column>
juanpablo@1605
    72
      <column name="C_ORDER_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    73
        <default/>
antonio@735
    74
        <onCreateDefault/>
antonio@735
    75
      </column>
antonio@735
    76
      <column name="DATEORDERED" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
    77
        <default/>
antonio@735
    78
        <onCreateDefault/>
antonio@735
    79
      </column>
antonio@735
    80
      <column name="ISPRINTED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    81
        <default><![CDATA[N]]></default>
antonio@735
    82
        <onCreateDefault/>
antonio@735
    83
      </column>
asier@2586
    84
      <column name="MOVEMENTTYPE" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
    85
        <default/>
antonio@735
    86
        <onCreateDefault/>
antonio@735
    87
      </column>
antonio@735
    88
      <column name="MOVEMENTDATE" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
    89
        <default/>
antonio@735
    90
        <onCreateDefault/>
antonio@735
    91
      </column>
antonio@735
    92
      <column name="DATEACCT" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
    93
        <default/>
antonio@735
    94
        <onCreateDefault/>
antonio@735
    95
      </column>
juanpablo@1605
    96
      <column name="C_BPARTNER_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    97
        <default/>
antonio@735
    98
        <onCreateDefault/>
antonio@735
    99
      </column>
juanpablo@1605
   100
      <column name="C_BPARTNER_LOCATION_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   101
        <default/>
antonio@735
   102
        <onCreateDefault/>
antonio@735
   103
      </column>
juanpablo@1605
   104
      <column name="M_WAREHOUSE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   105
        <default/>
antonio@735
   106
        <onCreateDefault/>
antonio@735
   107
      </column>
antonio@735
   108
      <column name="POREFERENCE" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
   109
        <default/>
antonio@735
   110
        <onCreateDefault/>
antonio@735
   111
      </column>
asier@2586
   112
      <column name="DELIVERYRULE" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   113
        <default/>
antonio@735
   114
        <onCreateDefault/>
antonio@735
   115
      </column>
asier@2586
   116
      <column name="FREIGHTCOSTRULE" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   117
        <default/>
antonio@735
   118
        <onCreateDefault/>
antonio@735
   119
      </column>
antonio@735
   120
      <column name="FREIGHTAMT" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   121
        <default><![CDATA[0]]></default>
antonio@735
   122
        <onCreateDefault/>
antonio@735
   123
      </column>
asier@2586
   124
      <column name="DELIVERYVIARULE" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   125
        <default/>
antonio@735
   126
        <onCreateDefault/>
antonio@735
   127
      </column>
juanpablo@1605
   128
      <column name="M_SHIPPER_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   129
        <default/>
antonio@735
   130
        <onCreateDefault/>
antonio@735
   131
      </column>
juanpablo@1605
   132
      <column name="C_CHARGE_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="CHARGEAMT" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   137
        <default><![CDATA[0]]></default>
antonio@735
   138
        <onCreateDefault/>
antonio@735
   139
      </column>
asier@2586
   140
      <column name="PRIORITYRULE" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   141
        <default/>
antonio@735
   142
        <onCreateDefault/>
antonio@735
   143
      </column>
antonio@735
   144
      <column name="DATEPRINTED" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
   145
        <default/>
antonio@735
   146
        <onCreateDefault/>
antonio@735
   147
      </column>
juanpablo@1605
   148
      <column name="C_INVOICE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   149
        <default/>
antonio@735
   150
        <onCreateDefault/>
antonio@735
   151
      </column>
antonio@735
   152
      <column name="CREATEFROM" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   153
        <default/>
antonio@735
   154
        <onCreateDefault/>
antonio@735
   155
      </column>
antonio@735
   156
      <column name="GENERATETO" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   157
        <default/>
antonio@735
   158
        <onCreateDefault/>
antonio@735
   159
      </column>
juanpablo@1605
   160
      <column name="AD_USER_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   161
        <default/>
antonio@735
   162
        <onCreateDefault/>
antonio@735
   163
      </column>
juanpablo@1605
   164
      <column name="SALESREP_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   165
        <default/>
antonio@735
   166
        <onCreateDefault/>
antonio@735
   167
      </column>
antonio@735
   168
      <column name="NOPACKAGES" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
   169
        <default/>
antonio@735
   170
        <onCreateDefault/>
antonio@735
   171
      </column>
antonio@735
   172
      <column name="PICKDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
   173
        <default/>
antonio@735
   174
        <onCreateDefault/>
antonio@735
   175
      </column>
antonio@735
   176
      <column name="SHIPDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
   177
        <default/>
antonio@735
   178
        <onCreateDefault/>
antonio@735
   179
      </column>
antonio@735
   180
      <column name="TRACKINGNO" primaryKey="false" required="false" type="NVARCHAR" size="60" autoIncrement="false">
antonio@735
   181
        <default/>
antonio@735
   182
        <onCreateDefault/>
antonio@735
   183
      </column>
juanpablo@1605
   184
      <column name="AD_ORGTRX_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   185
        <default/>
antonio@735
   186
        <onCreateDefault/>
antonio@735
   187
      </column>
juanpablo@1605
   188
      <column name="C_PROJECT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   189
        <default/>
antonio@735
   190
        <onCreateDefault/>
antonio@735
   191
      </column>
juanpablo@1605
   192
      <column name="C_CAMPAIGN_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   193
        <default/>
antonio@735
   194
        <onCreateDefault/>
antonio@735
   195
      </column>
juanpablo@1605
   196
      <column name="C_ACTIVITY_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   197
        <default/>
antonio@735
   198
        <onCreateDefault/>
antonio@735
   199
      </column>
juanpablo@1605
   200
      <column name="USER1_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   201
        <default/>
antonio@735
   202
        <onCreateDefault/>
antonio@735
   203
      </column>
juanpablo@1605
   204
      <column name="USER2_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   205
        <default/>
antonio@735
   206
        <onCreateDefault/>
antonio@735
   207
      </column>
antonio@735
   208
      <column name="UPDATELINES" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   209
        <default><![CDATA[N]]></default>
antonio@735
   210
        <onCreateDefault/>
antonio@735
   211
      </column>
antonio@735
   212
      <column name="ISLOGISTIC" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   213
        <default><![CDATA[N]]></default>
antonio@735
   214
        <onCreateDefault/>
antonio@735
   215
      </column>
antonio@735
   216
      <column name="GENERATELINES" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   217
        <default><![CDATA[N]]></default>
antonio@735
   218
        <onCreateDefault/>
antonio@735
   219
      </column>
antonio@735
   220
      <column name="CALCULATE_FREIGHT" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   221
        <default/>
antonio@735
   222
        <onCreateDefault/>
antonio@735
   223
      </column>
juanpablo@1605
   224
      <column name="DELIVERY_LOCATION_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   225
        <default/>
antonio@735
   226
        <onCreateDefault/>
antonio@735
   227
      </column>
juanpablo@1605
   228
      <column name="M_FREIGHTCATEGORY_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   229
        <default/>
antonio@735
   230
        <onCreateDefault/>
antonio@735
   231
      </column>
rafael@1853
   232
      <column name="FREIGHT_CURRENCY_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
rafael@1853
   233
        <default/>
rafael@3459
   234
        <onCreateDefault><![CDATA[SELECT C_ACCTSCHEMA.C_CURRENCY_ID FROM C_ACCTSCHEMA, AD_CLIENTINFO, AD_CLIENT WHERE AD_CLIENTINFO.C_ACCTSCHEMA1_ID = C_ACCTSCHEMA.C_ACCTSCHEMA_ID AND AD_CLIENT.AD_CLIENT_ID = AD_CLIENTINFO.AD_CLIENT_ID AND AD_CLIENT.AD_CLIENT_ID = M_INOUT.AD_CLIENT_ID]]></onCreateDefault>
rafael@1853
   235
      </column>
asier@5551
   236
      <foreign-key foreignTable="M_FREIGHTCATEGORY" name="M_FREIGHTCATEGORY_M_INOUT">
asier@5551
   237
        <reference local="M_FREIGHTCATEGORY_ID" foreign="M_FREIGHTCATEGORY_ID"/>
asier@5551
   238
      </foreign-key>
asier@5551
   239
      <foreign-key foreignTable="AD_CLIENT" name="M_INOUT_AD_CLIENT">
carlos@0
   240
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
carlos@0
   241
      </foreign-key>
asier@5551
   242
      <foreign-key foreignTable="AD_ORG" name="M_INOUT_AD_ORG">
asier@5551
   243
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
asier@5551
   244
      </foreign-key>
asier@5551
   245
      <foreign-key foreignTable="AD_ORG" name="M_INOUT_AD_ORGTRX">
adrian@170
   246
        <reference local="AD_ORGTRX_ID" foreign="AD_ORG_ID"/>
adrian@170
   247
      </foreign-key>
asier@5551
   248
      <foreign-key foreignTable="AD_USER" name="M_INOUT_AD_USER">
adrian@170
   249
        <reference local="AD_USER_ID" foreign="AD_USER_ID"/>
carlos@0
   250
      </foreign-key>
asier@5551
   251
      <foreign-key foreignTable="C_ACTIVITY" name="M_INOUT_C_ACTIVITY">
carlos@0
   252
        <reference local="C_ACTIVITY_ID" foreign="C_ACTIVITY_ID"/>
carlos@0
   253
      </foreign-key>
asier@5551
   254
      <foreign-key foreignTable="C_BPARTNER" name="M_INOUT_C_BPARTNER">
carlos@0
   255
        <reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
carlos@0
   256
      </foreign-key>
martin@2771
   257
      <foreign-key foreignTable="C_BPARTNER_LOCATION" name="M_INOUT_C_BPARTNER_LOCATION">
martin@2771
   258
        <reference local="DELIVERY_LOCATION_ID" foreign="C_BPARTNER_LOCATION_ID"/>
martin@2771
   259
      </foreign-key>
asier@5551
   260
      <foreign-key foreignTable="C_BPARTNER_LOCATION" name="M_INOUT_C_BPARTNER_LOCATION1">
asier@5551
   261
        <reference local="C_BPARTNER_LOCATION_ID" foreign="C_BPARTNER_LOCATION_ID"/>
asier@5551
   262
      </foreign-key>
asier@5551
   263
      <foreign-key foreignTable="C_CAMPAIGN" name="M_INOUT_C_CAMPAIGN">
asier@5551
   264
        <reference local="C_CAMPAIGN_ID" foreign="C_CAMPAIGN_ID"/>
asier@5551
   265
      </foreign-key>
asier@5551
   266
      <foreign-key foreignTable="C_CHARGE" name="M_INOUT_C_CHARGE">
asier@5551
   267
        <reference local="C_CHARGE_ID" foreign="C_CHARGE_ID"/>
asier@5551
   268
      </foreign-key>
asier@5551
   269
      <foreign-key foreignTable="C_DOCTYPE" name="M_INOUT_C_DOCTYPE">
asier@5551
   270
        <reference local="C_DOCTYPE_ID" foreign="C_DOCTYPE_ID"/>
asier@5551
   271
      </foreign-key>
asier@5551
   272
      <foreign-key foreignTable="C_INVOICE" name="M_INOUT_C_INVOICE">
asier@5551
   273
        <reference local="C_INVOICE_ID" foreign="C_INVOICE_ID"/>
asier@5551
   274
      </foreign-key>
asier@5551
   275
      <foreign-key foreignTable="C_ORDER" name="M_INOUT_C_ORDER">
asier@5551
   276
        <reference local="C_ORDER_ID" foreign="C_ORDER_ID"/>
asier@5551
   277
      </foreign-key>
asier@5551
   278
      <foreign-key foreignTable="C_PROJECT" name="M_INOUT_C_PROJECT">
asier@5551
   279
        <reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
asier@5551
   280
      </foreign-key>
asier@5551
   281
      <foreign-key foreignTable="C_CURRENCY" name="M_INOUT_FREIGHT_CURRENCY">
asier@5551
   282
        <reference local="FREIGHT_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
asier@5551
   283
      </foreign-key>
asier@5551
   284
      <foreign-key foreignTable="M_SHIPPER" name="M_INOUT_M_SHIPPER">
carlos@0
   285
        <reference local="M_SHIPPER_ID" foreign="M_SHIPPER_ID"/>
carlos@0
   286
      </foreign-key>
asier@5551
   287
      <foreign-key foreignTable="M_WAREHOUSE" name="M_INOUT_M_WAREHOUSE">
carlos@0
   288
        <reference local="M_WAREHOUSE_ID" foreign="M_WAREHOUSE_ID"/>
carlos@0
   289
      </foreign-key>
asier@5551
   290
      <foreign-key foreignTable="AD_USER" name="M_INOUT_SALESREP">
asier@5551
   291
        <reference local="SALESREP_ID" foreign="AD_USER_ID"/>
adrian@170
   292
      </foreign-key>
adrian@94
   293
      <index name="M_INOUT_BPARTNER" unique="false">
carlos@0
   294
        <index-column name="C_BPARTNER_ID"/>
carlos@0
   295
      </index>
adrian@94
   296
      <index name="M_INOUT_DOCUMENTNO" unique="false">
carlos@0
   297
        <index-column name="DOCUMENTNO"/>
carlos@0
   298
      </index>
adrian@170
   299
      <index name="M_INOUT_ORDER" unique="false">
adrian@170
   300
        <index-column name="C_ORDER_ID"/>
adrian@170
   301
      </index>
adrian@94
   302
      <index name="M_INOUT_UPDATED" unique="false">
carlos@0
   303
        <index-column name="UPDATED"/>
carlos@0
   304
      </index>
carlos@0
   305
    </table>
adrian@94
   306
  </database>