90 $sql=parent::SQL_Condition();
91 $sql.=
' and j_poste >= $4 and j_poste <= $5';
112 return sprintf(
"currency_id %s from_date %s to_date %s from_accounting %s to_accounting %s",
build the SQL and fetch data of data currency operation from database ,
build_SQL()
build the SQL to execute
getDbconx()
Database connection.
getCurrency_id()
retrieve currency.od
filter data in currency from datase , inherit from Data_Currency_Operation, filter on a range of acco...
getFrom_accounting()
from_accounting : lowest accounting range
setFrom_accounting($from_accounting)
from_accounting : lowest accounting range
getTo_accounting()
to_accounting : highest accounting range
setTo_accounting($to_accounting)
to_accounting : highest accounting range
SQL_Condition()
build the SQL condition
__construct($cn, $from_date, $to_date, $currency_id, $from_accounting, $to_accounting)