noalyss Version-10
NOALYSS : serveur de comptabilité et ERP (2002)
Loading...
Searching...
No Matches
v_tva_rate_sql.class.php
Go to the documentation of this file.
1<?php
2
3/**
4 * Autogenerated file
5 * This file is part of NOALYSS.
6 *
7 * NOALYSS is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * NOALYSS is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with NOALYSS; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 */
21
22/**
23 * class_tva_rate_sql.php
24 *
25 * @file
26 * @brief abstract of the view public.v_tva_rate
27 *
28 */
29/**
30 * @class V_Tva_Rate_SQL
31 * @brief ORM abstract of the view public.v_tva_rate
32 */
34{
35
36 function __construct(DatabaseCore $p_cn, $p_id=-1)
37 {
38 $this->table="public.v_tva_rate";
39 $this->primary_key="tva_id";
40 /*
41 * List of columns
42 */
43 $this->name=array(
44 "tva_id"=>"tva_id"
45 ,'tva_code'=>"tva_code"
46 , "tva_label"=>"tva_label"
47 , "tva_rate"=>"tva_rate"
48 , "tva_comment"=>"tva_comment"
49 , "tva_purchase"=>"tva_purchase"
50 , "tva_sale"=>"tva_sale"
51 , "tva_both_side"=>"tva_both_side"
52 ,'tva_reverse_account'=>'tva_reverse_account'
53 ,'tva_payment_purchase'=>'tva_payment_purchase'
54 ,'tva_payment_sale'=>'tva_payment_sale'
55 ,'tva_peppol_code'=>'tva_peppol_code'
56 , 'vx_code'=>'vx_code'
57
58 );
59 /*
60 * Type of columns
61 */
62 $this->type=array(
63 "tva_id"=>"numeric"
64 ,'tva_code'=>'text'
65 , "tva_label"=>"text"
66 , "tva_rate"=>"numeric"
67 , "tva_comment"=>"text"
68 , "tva_purchase"=>"text"
69 , "tva_sale"=>"text"
70 , "tva_both_side"=>"numeric"
71 ,'tva_reverse_account'=>'text'
72 , 'tva_payment_purchase'=>'text'
73 , 'tva_payment_sale'=>'text'
74 ,'tva_peppol_code'=>'text'
75 , 'vx_code'=>'text'
76 );
77
78
79 $this->default=array(
80 "tva_id"=>"auto"
81 );
82
83 $this->date_format="DD.MM.YYYY";
84 parent::__construct($p_cn, $p_id);
85 }
86
87}
$from_poste name
$input_from type
This class allow you to connect to the postgresql database, execute sql, retrieve data.
Interface : this wrapper is used to created easily a wrapper to a table (ORM) You must create a class...
ORM abstract of the view public.v_tva_rate.
__construct(DatabaseCore $p_cn, $p_id=-1)
$all table