src-db/database/model/tables/C_DEBT_PAYMENT.xml
author Salvador Zapata <salvador.zapata@openbravo.com>
Thu, 07 Oct 2010 16:32:29 +0200
changeset 8504 802eae4a434d
parent 5555 16a5768b2165
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 C_DEBT_PAYMENT">
carlos@0
     3
    <table name="C_DEBT_PAYMENT" primaryKey="C_DEBT_PAYMENT_KEY">
juanpablo@1605
     4
      <column name="C_DEBT_PAYMENT_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="ISRECEIPT" 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>
juanpablo@1605
    40
      <column name="C_SETTLEMENT_CANCEL_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="C_SETTLEMENT_GENERATE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    45
        <default/>
antonio@735
    46
        <onCreateDefault/>
antonio@735
    47
      </column>
antonio@735
    48
      <column name="DESCRIPTION" primaryKey="false" required="false" type="NVARCHAR" size="255" autoIncrement="false">
antonio@735
    49
        <default/>
antonio@735
    50
        <onCreateDefault/>
antonio@735
    51
      </column>
juanpablo@1605
    52
      <column name="C_INVOICE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" 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_CURRENCY_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    61
        <default/>
antonio@735
    62
        <onCreateDefault/>
antonio@735
    63
      </column>
juanpablo@1605
    64
      <column name="C_CASHLINE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    65
        <default/>
antonio@735
    66
        <onCreateDefault/>
antonio@735
    67
      </column>
juanpablo@1605
    68
      <column name="C_BANKACCOUNT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    69
        <default/>
antonio@735
    70
        <onCreateDefault/>
antonio@735
    71
      </column>
juanpablo@1605
    72
      <column name="C_CASHBOOK_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="PAYMENTRULE" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
    77
        <default/>
antonio@735
    78
        <onCreateDefault/>
antonio@735
    79
      </column>
antonio@735
    80
      <column name="ISPAID" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    81
        <default/>
antonio@735
    82
        <onCreateDefault/>
antonio@735
    83
      </column>
antonio@735
    84
      <column name="AMOUNT" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
antonio@735
    85
        <default><![CDATA[0]]></default>
antonio@735
    86
        <onCreateDefault/>
antonio@735
    87
      </column>
antonio@735
    88
      <column name="WRITEOFFAMT" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
    89
        <default><![CDATA[0]]></default>
antonio@735
    90
        <onCreateDefault/>
antonio@735
    91
      </column>
antonio@735
    92
      <column name="DATEPLANNED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
    93
        <default/>
antonio@735
    94
        <onCreateDefault/>
antonio@735
    95
      </column>
antonio@735
    96
      <column name="ISMANUAL" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    97
        <default/>
antonio@735
    98
        <onCreateDefault/>
antonio@735
    99
      </column>
antonio@735
   100
      <column name="ISVALID" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
   101
        <default/>
antonio@735
   102
        <onCreateDefault/>
antonio@735
   103
      </column>
juanpablo@1605
   104
      <column name="C_BANKSTATEMENTLINE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   105
        <default/>
antonio@735
   106
        <onCreateDefault/>
antonio@735
   107
      </column>
antonio@735
   108
      <column name="CHANGESETTLEMENTCANCEL" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
   109
        <default><![CDATA[N]]></default>
antonio@735
   110
        <onCreateDefault/>
antonio@735
   111
      </column>
antonio@735
   112
      <column name="CANCEL_PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
   113
        <default><![CDATA[N]]></default>
antonio@735
   114
        <onCreateDefault/>
antonio@735
   115
      </column>
antonio@735
   116
      <column name="GENERATE_PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
   117
        <default><![CDATA[N]]></default>
antonio@735
   118
        <onCreateDefault/>
antonio@735
   119
      </column>
antonio@735
   120
      <column name="GLITEMAMT" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   121
        <default><![CDATA[0]]></default>
antonio@735
   122
        <onCreateDefault/>
antonio@735
   123
      </column>
antonio@735
   124
      <column name="ISDIRECTPOSTING" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
   125
        <default><![CDATA[N]]></default>
antonio@735
   126
        <onCreateDefault/>
antonio@735
   127
      </column>
juanpablo@1605
   128
      <column name="C_GLITEM_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_ORDER_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   133
        <default/>
antonio@735
   134
        <onCreateDefault/>
antonio@735
   135
      </column>
juanpablo@1605
   136
      <column name="C_PROJECT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   137
        <default/>
antonio@735
   138
        <onCreateDefault/>
antonio@735
   139
      </column>
antonio@735
   140
      <column name="ISAUTOMATICGENERATED" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
   141
        <default/>
antonio@735
   142
        <onCreateDefault/>
antonio@735
   143
      </column>
asier@2586
   144
      <column name="STATUS" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   145
        <default/>
antonio@735
   146
        <onCreateDefault/>
antonio@735
   147
      </column>
asier@2586
   148
      <column name="STATUS_INITIAL" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
   149
        <default/>
antonio@735
   150
        <onCreateDefault/>
antonio@735
   151
      </column>
juanpablo@1605
   152
      <column name="C_WITHHOLDING_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
   153
        <default/>
antonio@735
   154
        <onCreateDefault/>
antonio@735
   155
      </column>
david@1568
   156
      <column name="WITHHOLDINGAMOUNT" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
   157
        <default/>
antonio@735
   158
        <onCreateDefault/>
antonio@735
   159
      </column>
asier@5551
   160
      <foreign-key foreignTable="AD_CLIENT" name="C_DEBT_PAYMENT_AD_CLIENT">
carlos@0
   161
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
carlos@0
   162
      </foreign-key>
asier@5551
   163
      <foreign-key foreignTable="AD_ORG" name="C_DEBT_PAYMENT_AD_ORG">
carlos@0
   164
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
carlos@0
   165
      </foreign-key>
asier@5551
   166
      <foreign-key foreignTable="C_BANKACCOUNT" name="C_DEBT_PAYMENT_C_BANKACCOUNT">
asier@5551
   167
        <reference local="C_BANKACCOUNT_ID" foreign="C_BANKACCOUNT_ID"/>
asier@5551
   168
      </foreign-key>
asier@5551
   169
      <foreign-key foreignTable="C_BANKSTATEMENTLINE" name="C_DEBT_PAYMENT_C_BANKSTATEMENT">
asier@5551
   170
        <reference local="C_BANKSTATEMENTLINE_ID" foreign="C_BANKSTATEMENTLINE_ID"/>
asier@5551
   171
      </foreign-key>
asier@5551
   172
      <foreign-key foreignTable="C_BPARTNER" name="C_DEBT_PAYMENT_C_BPARTNER">
asier@5551
   173
        <reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
asier@5551
   174
      </foreign-key>
asier@5551
   175
      <foreign-key foreignTable="C_CASHBOOK" name="C_DEBT_PAYMENT_C_CASHBOOK">
asier@5551
   176
        <reference local="C_CASHBOOK_ID" foreign="C_CASHBOOK_ID"/>
asier@5551
   177
      </foreign-key>
asier@5551
   178
      <foreign-key foreignTable="C_CASHLINE" name="C_DEBT_PAYMENT_C_CASHLINE">
asier@5551
   179
        <reference local="C_CASHLINE_ID" foreign="C_CASHLINE_ID"/>
asier@5551
   180
      </foreign-key>
asier@5551
   181
      <foreign-key foreignTable="C_CURRENCY" name="C_DEBT_PAYMENT_C_CURRENCY">
asier@5551
   182
        <reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
asier@5551
   183
      </foreign-key>
asier@5551
   184
      <foreign-key foreignTable="C_GLITEM" name="C_DEBT_PAYMENT_C_GLITEM">
asier@5551
   185
        <reference local="C_GLITEM_ID" foreign="C_GLITEM_ID"/>
asier@5551
   186
      </foreign-key>
asier@5551
   187
      <foreign-key foreignTable="C_INVOICE" name="C_DEBT_PAYMENT_C_INVOICE">
asier@5551
   188
        <reference local="C_INVOICE_ID" foreign="C_INVOICE_ID"/>
asier@5551
   189
      </foreign-key>
asier@5551
   190
      <foreign-key foreignTable="C_ORDER" name="C_DEBT_PAYMENT_C_ORDER">
asier@5551
   191
        <reference local="C_ORDER_ID" foreign="C_ORDER_ID"/>
asier@5551
   192
      </foreign-key>
asier@5551
   193
      <foreign-key foreignTable="C_PROJECT" name="C_DEBT_PAYMENT_C_PROJECT">
asier@5551
   194
        <reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
asier@5551
   195
      </foreign-key>
asier@5551
   196
      <foreign-key foreignTable="C_SETTLEMENT" name="C_DEBT_PAYMENT_C_SETTLEMENT_CA">
asier@5551
   197
        <reference local="C_SETTLEMENT_CANCEL_ID" foreign="C_SETTLEMENT_ID"/>
asier@5551
   198
      </foreign-key>
asier@5551
   199
      <foreign-key foreignTable="C_SETTLEMENT" name="C_DEBT_PAYMENT_C_SETTLEMENT_GE">
asier@5551
   200
        <reference local="C_SETTLEMENT_GENERATE_ID" foreign="C_SETTLEMENT_ID"/>
asier@5551
   201
      </foreign-key>
martin@2771
   202
      <foreign-key foreignTable="C_WITHHOLDING" name="C_DEBT_PAYMENT_C_WITHHOLDING">
martin@2771
   203
        <reference local="C_WITHHOLDING_ID" foreign="C_WITHHOLDING_ID"/>
martin@2771
   204
      </foreign-key>
asier@5555
   205
      <index name="C_DEBT_PAYMENT_BPARTNER_IDX" unique="false">
adrian@170
   206
        <index-column name="C_BPARTNER_ID"/>
adrian@170
   207
      </index>
asier@5555
   208
      <index name="C_DEBT_PAYMENT_INVOICE_IDX" unique="false">
asier@5555
   209
        <index-column name="C_INVOICE_ID"/>
asier@5555
   210
      </index>
asier@5555
   211
      <index name="C_DEBT_PAYMENT_SETTCANCEL_IDX" unique="false">
carlos@0
   212
        <index-column name="C_SETTLEMENT_CANCEL_ID"/>
carlos@0
   213
      </index>
asier@5555
   214
      <index name="C_DEBT_PAYMENT_SETTGENERAT_IDX" unique="false">
carlos@0
   215
        <index-column name="C_SETTLEMENT_GENERATE_ID"/>
carlos@0
   216
      </index>
carlos@0
   217
    </table>
adrian@94
   218
  </database>