src-db/database/model/tables/FIN_PAYMENT.xml
author Salvador Zapata <salvador.zapata@openbravo.com>
Thu, 07 Oct 2010 16:32:29 +0200
changeset 8504 802eae4a434d
parent 8204 902d0b639bae
child 9859 b579925253c4
permissions -rw-r--r--
Fixed bug 14514 In GeneralAccoutingReportPDF.fo there are some strings impossible to translate
eduardo@6401
     1
<?xml version="1.0"?>
eduardo@6401
     2
  <database name="TABLE FIN_PAYMENT">
eduardo@6401
     3
    <table name="FIN_PAYMENT" primaryKey="FIN_PAYMENT_KEY">
eduardo@6401
     4
      <column name="FIN_PAYMENT_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
eduardo@6401
     5
        <default/>
eduardo@6401
     6
        <onCreateDefault/>
eduardo@6401
     7
      </column>
eduardo@6401
     8
      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
eduardo@6401
     9
        <default/>
eduardo@6401
    10
        <onCreateDefault/>
eduardo@6401
    11
      </column>
eduardo@6401
    12
      <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
eduardo@6401
    13
        <default/>
eduardo@6401
    14
        <onCreateDefault/>
eduardo@6401
    15
      </column>
eduardo@6401
    16
      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
eduardo@6401
    17
        <default><![CDATA[SYSDATE]]></default>
eduardo@6401
    18
        <onCreateDefault/>
eduardo@6401
    19
      </column>
eduardo@6401
    20
      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
eduardo@6401
    21
        <default/>
eduardo@6401
    22
        <onCreateDefault/>
eduardo@6401
    23
      </column>
eduardo@6401
    24
      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
eduardo@6401
    25
        <default><![CDATA[SYSDATE]]></default>
eduardo@6401
    26
        <onCreateDefault/>
eduardo@6401
    27
      </column>
eduardo@6401
    28
      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
eduardo@6401
    29
        <default/>
eduardo@6401
    30
        <onCreateDefault/>
eduardo@6401
    31
      </column>
eduardo@6401
    32
      <column name="ISACTIVE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
eduardo@6401
    33
        <default><![CDATA[Y]]></default>
eduardo@6401
    34
        <onCreateDefault/>
eduardo@6401
    35
      </column>
eduardo@6401
    36
      <column name="ISRECEIPT" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
eduardo@6401
    37
        <default><![CDATA[Y]]></default>
eduardo@6401
    38
        <onCreateDefault/>
eduardo@6401
    39
      </column>
eduardo@6401
    40
      <column name="C_BPARTNER_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
eduardo@6401
    41
        <default/>
eduardo@6401
    42
        <onCreateDefault/>
eduardo@6401
    43
      </column>
eduardo@6401
    44
      <column name="PAYMENTDATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false">
eduardo@6401
    45
        <default/>
eduardo@6401
    46
        <onCreateDefault/>
eduardo@6401
    47
      </column>
eduardo@6401
    48
      <column name="C_CURRENCY_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
eduardo@6401
    49
        <default/>
eduardo@6401
    50
        <onCreateDefault/>
eduardo@6401
    51
      </column>
eduardo@6401
    52
      <column name="AMOUNT" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
eduardo@6401
    53
        <default><![CDATA[0]]></default>
eduardo@6401
    54
        <onCreateDefault/>
eduardo@6401
    55
      </column>
eduardo@6401
    56
      <column name="WRITEOFFAMT" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
eduardo@6401
    57
        <default><![CDATA[0]]></default>
eduardo@6401
    58
        <onCreateDefault/>
eduardo@6401
    59
      </column>
eduardo@6401
    60
      <column name="FIN_PAYMENTMETHOD_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
eduardo@6401
    61
        <default/>
eduardo@6401
    62
        <onCreateDefault/>
eduardo@6401
    63
      </column>
eduardo@6401
    64
      <column name="DOCUMENTNO" primaryKey="false" required="true" type="NVARCHAR" size="30" autoIncrement="false">
eduardo@6401
    65
        <default/>
eduardo@6401
    66
        <onCreateDefault/>
eduardo@6401
    67
      </column>
eduardo@6401
    68
      <column name="REFERENCENO" primaryKey="false" required="false" type="NVARCHAR" size="40" autoIncrement="false">
eduardo@6401
    69
        <default/>
eduardo@6401
    70
        <onCreateDefault/>
eduardo@6401
    71
      </column>
eduardo@6401
    72
      <column name="STATUS" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
eduardo@6401
    73
        <default/>
eduardo@6401
    74
        <onCreateDefault/>
eduardo@6401
    75
      </column>
eduardo@6832
    76
      <column name="PROCESSED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
eduardo@6832
    77
        <default><![CDATA[N]]></default>
eduardo@6401
    78
        <onCreateDefault/>
eduardo@6401
    79
      </column>
eduardo@6832
    80
      <column name="PROCESSING" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
eduardo@6832
    81
        <default><![CDATA[N]]></default>
eduardo@6401
    82
        <onCreateDefault/>
eduardo@6401
    83
      </column>
eduardo@6832
    84
      <column name="POSTED" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
eduardo@6832
    85
        <default><![CDATA[N]]></default>
eduardo@6401
    86
        <onCreateDefault/>
eduardo@6401
    87
      </column>
eduardo@6401
    88
      <column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false">
eduardo@6401
    89
        <default/>
eduardo@6401
    90
        <onCreateDefault/>
eduardo@6401
    91
      </column>
eduardo@6401
    92
      <column name="FIN_FINANCIAL_ACCOUNT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
eduardo@6401
    93
        <default/>
eduardo@6401
    94
        <onCreateDefault/>
eduardo@6401
    95
      </column>
gorkaion@6828
    96
      <column name="C_DOCTYPE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@6828
    97
        <default/>
eduardo@7085
    98
        <onCreateDefault/>
gorkaion@6828
    99
      </column>
gorkaion@6874
   100
      <column name="C_PROJECT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@6874
   101
        <default/>
gorkaion@6874
   102
        <onCreateDefault/>
gorkaion@6874
   103
      </column>
gorkaion@6874
   104
      <column name="C_CAMPAIGN_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@6874
   105
        <default/>
gorkaion@6874
   106
        <onCreateDefault/>
gorkaion@6874
   107
      </column>
gorkaion@6874
   108
      <column name="C_ACTIVITY_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@6874
   109
        <default/>
gorkaion@6874
   110
        <onCreateDefault/>
gorkaion@6874
   111
      </column>
gorkaion@6874
   112
      <column name="USER1_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@6874
   113
        <default/>
gorkaion@6874
   114
        <onCreateDefault/>
gorkaion@6874
   115
      </column>
gorkaion@6874
   116
      <column name="USER2_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@6874
   117
        <default/>
gorkaion@6874
   118
        <onCreateDefault/>
gorkaion@6874
   119
      </column>
gorkaion@8203
   120
      <column name="GENERATED_CREDIT" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
gorkaion@8204
   121
        <default><![CDATA[0]]></default>
gorkaion@8203
   122
        <onCreateDefault/>
gorkaion@8203
   123
      </column>
gorkaion@8203
   124
      <column name="USED_CREDIT" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
gorkaion@8204
   125
        <default><![CDATA[0]]></default>
gorkaion@8203
   126
        <onCreateDefault/>
gorkaion@8203
   127
      </column>
eduardo@6401
   128
      <foreign-key foreignTable="AD_CLIENT" name="FIN_AD_CLIENT_PAYMENTS">
eduardo@6401
   129
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
eduardo@6401
   130
      </foreign-key>
eduardo@6401
   131
      <foreign-key foreignTable="AD_ORG" name="FIN_AD_ORG_PAYMENTS">
eduardo@6401
   132
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
eduardo@6401
   133
      </foreign-key>
eduardo@6401
   134
      <foreign-key foreignTable="C_BPARTNER" name="FIN_C_BPARTNER_PAYMENTS">
eduardo@6401
   135
        <reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
eduardo@6401
   136
      </foreign-key>
eduardo@6401
   137
      <foreign-key foreignTable="C_CURRENCY" name="FIN_C_CURRENCY_PAYMENTS">
eduardo@6401
   138
        <reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
eduardo@6401
   139
      </foreign-key>
gorkaion@6828
   140
      <foreign-key foreignTable="C_DOCTYPE" name="FIN_DOCTYPE_PAYMENT">
gorkaion@6828
   141
        <reference local="C_DOCTYPE_ID" foreign="C_DOCTYPE_ID"/>
gorkaion@6828
   142
      </foreign-key>
eduardo@6401
   143
      <foreign-key foreignTable="FIN_FINANCIAL_ACCOUNT" name="FIN_FINANCIAL_ACCT_PAYMENT">
eduardo@6401
   144
        <reference local="FIN_FINANCIAL_ACCOUNT_ID" foreign="FIN_FINANCIAL_ACCOUNT_ID"/>
eduardo@6401
   145
      </foreign-key>
gorkaion@6874
   146
      <foreign-key foreignTable="C_ACTIVITY" name="FIN_PAYMENT_ACTIVITY">
gorkaion@6874
   147
        <reference local="C_ACTIVITY_ID" foreign="C_ACTIVITY_ID"/>
gorkaion@6874
   148
      </foreign-key>
gorkaion@6874
   149
      <foreign-key foreignTable="C_CAMPAIGN" name="FIN_PAYMENT_CAMPAIGN">
gorkaion@6874
   150
        <reference local="C_CAMPAIGN_ID" foreign="C_CAMPAIGN_ID"/>
gorkaion@6874
   151
      </foreign-key>
eduardo@6401
   152
      <foreign-key foreignTable="FIN_PAYMENTMETHOD" name="FIN_PAYMENT_PAYMENT_METHOD">
eduardo@6401
   153
        <reference local="FIN_PAYMENTMETHOD_ID" foreign="FIN_PAYMENTMETHOD_ID"/>
eduardo@6401
   154
      </foreign-key>
gorkaion@6874
   155
      <foreign-key foreignTable="C_PROJECT" name="FIN_PAYMENT_PROJECT">
gorkaion@6874
   156
        <reference local="C_PROJECT_ID" foreign="C_PROJECT_ID"/>
gorkaion@6874
   157
      </foreign-key>
eduardo@6401
   158
    </table>
eduardo@6401
   159
  </database>