src-db/database/model/tables/FIN_FINANCIAL_ACCOUNT.xml
author Salvador Zapata <salvador.zapata@openbravo.com>
Thu, 07 Oct 2010 16:32:29 +0200
changeset 8504 802eae4a434d
parent 7045 675f5d15388d
child 8505 a2bb7e6fb443
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_FINANCIAL_ACCOUNT">
eduardo@6401
     3
    <table name="FIN_FINANCIAL_ACCOUNT" primaryKey="FIN_FINANCIAL_ACCOUNT_KEY">
eduardo@6401
     4
      <column name="FIN_FINANCIAL_ACCOUNT_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="C_CURRENCY_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
eduardo@6401
    37
        <default/>
eduardo@6401
    38
        <onCreateDefault/>
eduardo@6401
    39
      </column>
eduardo@6401
    40
      <column name="NAME" primaryKey="false" required="true" type="NVARCHAR" size="60" autoIncrement="false">
eduardo@6401
    41
        <default/>
eduardo@6401
    42
        <onCreateDefault/>
eduardo@6401
    43
      </column>
gorkaion@6873
    44
      <column name="DESCRIPTION" primaryKey="false" required="false" type="NVARCHAR" size="255" autoIncrement="false">
eduardo@6401
    45
        <default/>
eduardo@6401
    46
        <onCreateDefault/>
eduardo@6401
    47
      </column>
gorkaion@6874
    48
      <column name="TYPE" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
gorkaion@6874
    49
        <default><![CDATA[B]]></default>
gorkaion@6874
    50
        <onCreateDefault/>
gorkaion@6874
    51
      </column>
gorkaion@6874
    52
      <column name="C_BPARTNER_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@6874
    53
        <default/>
gorkaion@6874
    54
        <onCreateDefault/>
gorkaion@6874
    55
      </column>
gorkaion@6874
    56
      <column name="C_LOCATION_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
gorkaion@6874
    57
        <default/>
gorkaion@6874
    58
        <onCreateDefault/>
gorkaion@6874
    59
      </column>
gorkaion@6874
    60
      <column name="ROUTINGNO" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
gorkaion@6874
    61
        <default/>
gorkaion@6874
    62
        <onCreateDefault/>
gorkaion@6874
    63
      </column>
gorkaion@6874
    64
      <column name="SWIFTCODE" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
gorkaion@6874
    65
        <default/>
gorkaion@6874
    66
        <onCreateDefault/>
gorkaion@6874
    67
      </column>
gorkaion@6874
    68
      <column name="CODEBANK" primaryKey="false" required="false" type="NVARCHAR" size="4" autoIncrement="false">
gorkaion@6874
    69
        <default/>
gorkaion@6874
    70
        <onCreateDefault/>
gorkaion@6874
    71
      </column>
gorkaion@6874
    72
      <column name="CODEBRANCH" primaryKey="false" required="false" type="NVARCHAR" size="4" autoIncrement="false">
gorkaion@6874
    73
        <default/>
gorkaion@6874
    74
        <onCreateDefault/>
gorkaion@6874
    75
      </column>
gorkaion@6874
    76
      <column name="BANK_DIGITCONTROL" primaryKey="false" required="false" type="NVARCHAR" size="1" autoIncrement="false">
gorkaion@6874
    77
        <default/>
gorkaion@6874
    78
        <onCreateDefault/>
gorkaion@6874
    79
      </column>
gorkaion@6874
    80
      <column name="INE_NUMBER" primaryKey="false" required="false" type="NVARCHAR" size="9" autoIncrement="false">
gorkaion@6874
    81
        <default/>
gorkaion@6874
    82
        <onCreateDefault/>
gorkaion@6874
    83
      </column>
gorkaion@6874
    84
      <column name="ACCOUNT_DIGITCONTROL" primaryKey="false" required="false" type="NVARCHAR" size="1" autoIncrement="false">
gorkaion@6874
    85
        <default/>
gorkaion@6874
    86
        <onCreateDefault/>
gorkaion@6874
    87
      </column>
gorkaion@6874
    88
      <column name="CODEACCOUNT" primaryKey="false" required="false" type="NVARCHAR" size="10" autoIncrement="false">
gorkaion@6874
    89
        <default/>
gorkaion@6874
    90
        <onCreateDefault/>
gorkaion@6874
    91
      </column>
gorkaion@6874
    92
      <column name="ACCOUNTNO" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
gorkaion@6874
    93
        <default/>
gorkaion@6874
    94
        <onCreateDefault/>
gorkaion@6874
    95
      </column>
gorkaion@6874
    96
      <column name="CURRENTBALANCE" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
gorkaion@6874
    97
        <default><![CDATA[0]]></default>
gorkaion@6874
    98
        <onCreateDefault/>
gorkaion@6874
    99
      </column>
gorkaion@6874
   100
      <column name="CREDITLIMIT" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
gorkaion@6874
   101
        <default><![CDATA[0]]></default>
gorkaion@6874
   102
        <onCreateDefault/>
gorkaion@6874
   103
      </column>
gorkaion@6874
   104
      <column name="IBAN" primaryKey="false" required="false" type="NVARCHAR" size="34" autoIncrement="false">
gorkaion@6874
   105
        <default/>
gorkaion@6874
   106
        <onCreateDefault/>
gorkaion@6874
   107
      </column>
gorkaion@6874
   108
      <column name="ISDEFAULT" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
gorkaion@6874
   109
        <default><![CDATA[N]]></default>
gorkaion@6874
   110
        <onCreateDefault/>
gorkaion@6874
   111
      </column>
mikel@7045
   112
      <column name="FIN_MATCHING_ALGORITHM_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
mikel@7045
   113
        <default/>
mikel@7045
   114
        <onCreateDefault/>
mikel@7045
   115
      </column>
eduardo@6401
   116
      <foreign-key foreignTable="AD_CLIENT" name="FIN_AD_CLIENT_ACCOUNT">
eduardo@6401
   117
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
eduardo@6401
   118
      </foreign-key>
eduardo@6401
   119
      <foreign-key foreignTable="AD_ORG" name="FIN_AD_ORG_ACCOUNT">
eduardo@6401
   120
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
eduardo@6401
   121
      </foreign-key>
eduardo@6401
   122
      <foreign-key foreignTable="C_CURRENCY" name="FIN_C_CURRENCY_ACCOUNT">
eduardo@6401
   123
        <reference local="C_CURRENCY_ID" foreign="C_CURRENCY_ID"/>
eduardo@6401
   124
      </foreign-key>
gorkaion@6874
   125
      <foreign-key foreignTable="C_BPARTNER" name="FIN_FINACC_BPARTNER">
gorkaion@6874
   126
        <reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
gorkaion@6874
   127
      </foreign-key>
gorkaion@6874
   128
      <foreign-key foreignTable="C_LOCATION" name="FIN_FINACC_LOCATION">
gorkaion@6874
   129
        <reference local="C_LOCATION_ID" foreign="C_LOCATION_ID"/>
gorkaion@6874
   130
      </foreign-key>
mikel@7045
   131
      <foreign-key foreignTable="FIN_MATCHING_ALGORITHM" name="FIN_FINACC_MATCH_ALGORITHM">
mikel@7045
   132
        <reference local="FIN_MATCHING_ALGORITHM_ID" foreign="FIN_MATCHING_ALGORITHM_ID"/>
mikel@7045
   133
      </foreign-key>
eduardo@6401
   134
    </table>
eduardo@6401
   135
  </database>