SQL Inventory

List of all SQL mentioned in the code..

ValueCountFile:Line
"SELECT COUNT(*) as nb FROM " . $tabletodrop1
  • /htdocs/modulebuilder/index.php
"Delete objects of $module"1
  • /htdocs/modulebuilder/index.php
"SELECT obj.rowid, obj.fk_product, obj.label, obj.description, obj.product_type as fk_product_type, obj.qty as qty_asked, obj.fk_unit, obj.date_start, obj.date_end"1
  • /htdocs/expedition/card.php
"SELECT cd.rowid, cd.fk_product, cd.product_type as type, cd.label, cd.description,"1
  • /htdocs/expedition/shipment.php
"Delete objects of " . $module1
  • /htdocs/modulebuilder/index.php
"SELECT pb.rowid "1
  • /htdocs/expedition/dispatch.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . $expeditionlinebatch->table_element1
  • /htdocs/expedition/dispatch.php
"UPDATE " . MAIN_DB_PREFIX . $expeditionlinebatch->table_element . " SET"1
  • /htdocs/expedition/dispatch.php
"INSERT INTO " . MAIN_DB_PREFIX . $expeditionlinebatch->table_element . " ("1
  • /htdocs/expedition/dispatch.php
" DELETE FROM " . MAIN_DB_PREFIX . $expeditionlinebatch->table_element1
  • /htdocs/expedition/dispatch.php
"SELECT ed.fk_elementdet as rowid, sum(ed.qty) as qty"1
  • /htdocs/expedition/dispatch.php
"SELECT l.rowid, l.fk_product, l.subprice, l.remise_percent, '' AS sref, l.qty as qty,"1
  • /htdocs/expedition/dispatch.php
"SELECT ed.rowid, ed.qty, ed.fk_entrepot,"1
  • /htdocs/expedition/dispatch.php
"SELECT c.rowid, c.ref, c.ref_client as ref_customer, c.fk_statut as status, c.facture as billed, s.nom as name, s.rowid as socid"1
  • /htdocs/expedition/index.php
"INSERT INTO " . MAIN_DB_PREFIX . "expedition ("1
  • /htdocs/expedition/class/expedition.class.php
"SELECT e.rowid, e.entity, e.ref, e.fk_soc as socid, e.date_creation, e.ref_customer, e.ref_ext, e.fk_user_author, e.fk_statut, e.fk_projet as fk_project, e.billed"1
  • /htdocs/expedition/class/expedition.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'expedition/sending/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/expedition/class/expedition.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'expedition/sending/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/expedition/class/expedition.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('standard_" . strtolower($myTmpObjectKey) . "', '" . $this->db->escape(strtolower($myTmpObjectKey)) . "', " . ((int) $conf->entity) . ")"1
  • /htdocs/modulebuilder/template/core/modules/modMyModule.class.php
"SELECT rowid as id, firstname, lastname, email"1
  • /htdocs/modulebuilder/template/core/modules/mailings/mailing_mymodule_selector1.modules.php
"SELECT COUNT(DISTINCT(email)) as nb"1
  • /htdocs/modulebuilder/template/core/modules/mailings/mailing_mymodule_selector1.modules.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "expedition"1
  • /htdocs/expedition/class/expedition.class.php
"DELETE FROM $ef WHERE fk_object IN (SELECT rowid FROM $main WHERE fk_expedition = " . ((int) $this->id) . ")"1
  • /htdocs/expedition/class/expedition.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "expedition"1
  • /htdocs/expedition/class/expedition.class.php
"SELECT cd.rowid, cd.fk_product, cd.label as custom_label, cd.description, cd.qty as qty_asked, cd.product_type, cd.fk_unit"1
  • /htdocs/expedition/class/expedition.class.php
"SELECT em.rowid, em.code, em.libelle as label"1
  • /htdocs/expedition/class/expedition.class.php
"SELECT em.rowid, em.code, em.libelle as label, em.description, em.tracking, em.active"1
  • /htdocs/expedition/class/expedition.class.php
"UPDATE " . MAIN_DB_PREFIX . "expedition SET fk_statut = " . self::STATUS_CLOSED1
  • /htdocs/expedition/class/expedition.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "product_stock WHERE reel = 0 AND rowid NOT IN (SELECT fk_product_stock FROM " . MAIN_DB_PREFIX . "product_batch as pb)"1
  • /htdocs/expedition/class/expedition.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'expedition SET billed = 1'1
  • /htdocs/expedition/class/expedition.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'expedition SET fk_statut = 1'1
  • /htdocs/expedition/class/expedition.class.php
'SELECT ed.rowid, ed.fk_expedition, ed.fk_entrepot, ed.fk_elementdet, ed.element_type, ed.qty, ed.rang'1
  • /htdocs/expedition/class/expedition.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "expeditiondet ("1
  • /htdocs/expedition/class/expedition.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'myobject/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/modulebuilder/template/class/myobject.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'myobject/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/modulebuilder/template/class/myobject.class.php
"SELECT c.code, c.label FROM " . MAIN_DB_PREFIX . "c_action_trigger as c ORDER BY c.rang DESC"1
  • /htdocs/webhook/class/target.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'target/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/webhook/class/target.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'target/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/webhook/class/target.class.php
'SELECT cr.rowid, cr.date_sync, cr.rate, cr.rate_indirect, cr.entity, m.code, m.name'1
  • /htdocs/multicurrency/multicurrency_rate.php
"select MAX(name) as name from " . MAIN_DB_PREFIX . "const"1
  • /htdocs/ftp/admin/ftpclient.php
"select name, value, note from " . MAIN_DB_PREFIX . "const"1
  • /htdocs/ftp/admin/ftpclient.php
"SELECT label FROM " . MAIN_DB_PREFIX . "c_currencies WHERE code_iso = '" . $this->db->escape($code) . "'"1
  • /htdocs/multicurrency/class/multicurrency.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "multicurrency WHERE code = '" . $dbs->escape($code) . "' AND entity = " . ((int) $conf->entity)1
  • /htdocs/multicurrency/class/multicurrency.class.php
"SELECT m.rowid, mc.rate FROM " . MAIN_DB_PREFIX . "multicurrency m"1
  • /htdocs/multicurrency/class/multicurrency.class.php
"SELECT multicurrency_tx FROM " . MAIN_DB_PREFIX . $table . " WHERE rowid = " . ((int) $fk_facture)1
  • /htdocs/multicurrency/class/multicurrency.class.php
"SELECT cr.rowid, cr.rate, cr.rate_indirect, cr.date_sync, cr.fk_multicurrency, cr.entity"1
  • /htdocs/multicurrency/class/multicurrency.class.php
"SELECT cd.rowid, cd.statut, cd.label as label_det, cd.fk_product, cd.product_type, cd.description, cd.price_ht, cd.qty,"1
  • /htdocs/contrat/card.php
"SELECT c.rowid, c.ref, c.datec,"1
  • /htdocs/contrat/class/contrat.class.php
"SELECT cd.rowid"1
  • /htdocs/contrat/class/contrat.class.php
"SELECT cd.rowid, cd.date_ouverture_prevue as datefin"1
  • /htdocs/contrat/class/contrat.class.php
"SELECT count(c.rowid) as nb"1
  • /htdocs/contrat/class/contrat.class.php
'SELECT c.rowid, c.ref_customer, cd.rowid as lid, cd.date_fin_validite, p.duration'1
  • /htdocs/contrat/class/contrat.class.php
'UPDATE ' . MAIN_DB_PREFIX . "contratdet SET date_fin_validite = '" . $this->db->idate($newdate) . "'"1
  • /htdocs/contrat/class/contrat.class.php
"UPDATE " . MAIN_DB_PREFIX . "contratdet SET statut = " . ((int) $this->statut) . ","1
  • /htdocs/contrat/class/contrat.class.php
"UPDATE " . MAIN_DB_PREFIX . "contratdet SET statut = " . ((int) ContratLigne::STATUS_CLOSED) . ","1
  • /htdocs/contrat/class/contrat.class.php
"SELECT c.rowid, c.ref,"1
  • /htdocs/contrat/index.php
"SELECT c.ref, c.fk_soc as socid,"1
  • /htdocs/contrat/index.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "intracommreport WHERE ref='" . $db->escape($object->label) . "'"1
  • /htdocs/intracommreport/card.php
'SELECT i.rowid, i.type_declaration, i.type_export, i.periods, i.mode, i.entity'1
  • /htdocs/intracommreport/list.php
"SELECT f.ref as refinvoice, f.total_ht"1
  • /htdocs/intracommreport/class/intracommreport.class.php
"SELECT f.ref_supplier as refinvoice, f.total_ht"1
  • /htdocs/intracommreport/class/intracommreport.class.php
"SELECT p.customcode FROM " . MAIN_DB_PREFIX . $tabledet . " d INNER JOIN " . MAIN_DB_PREFIX . $table . " f ON (f.rowid = d." . $this->db->escape($field_link) . ") INNER JOIN " . MAIN_DB_PREFIX . "product p ON (p.rowid = d.fk_product) WHERE d.fk_product IS NOT NULL AND f.entity = " . ((int) $conf->entity) . " AND " . $more_sql . " = '" . $this->db->escape($res->refinvoice) . "' AND d.total_ht = ( SELECT MAX(d.total_ht) FROM " . MAIN_DB_PREFIX . $tabledet . " d INNER JOIN " . MAIN_DB_PREFIX . $table . " f ON (f.rowid = d." . $this->db->escape($field_link) . ") WHERE d.fk_product IS NOT NULL AND " . $more_sql . " = '" . $this->db->escape($res->refinvoice) . "' AND d.fk_product NOT IN ( SELECT fk_product FROM " . MAIN_DB_PREFIX . "categorie_product WHERE fk_categorie = " . ((int) $categ_fraisdeport->id) . " ) )"1
  • /htdocs/intracommreport/class/intracommreport.class.php
"SELECT MAX(numero_declaration) as max_declaration_number"1
  • /htdocs/intracommreport/class/intracommreport.class.php
'SELECT COUNT(*) as nb'1
  • /htdocs/opensurvey/index.php
'SELECT nom as name, reponses'1
  • /htdocs/opensurvey/exportcsv.php
'INSERT INTO ' . MAIN_DB_PREFIX . 'opensurvey_user_studs (nom, id_sondage, reponses, date_creation)'1
  • /htdocs/opensurvey/results.php
'SELECT s.reponses'1
  • /htdocs/opensurvey/results.php
'DELETE FROM ' . MAIN_DB_PREFIX . 'opensurvey_user_studs'1
  • /htdocs/opensurvey/results.php
'UPDATE ' . MAIN_DB_PREFIX . 'opensurvey_user_studs'1
  • /htdocs/opensurvey/results.php
"SELECT c.rowid as cid, c.ref, c.statut as cstatut, c.ref_customer, c.ref_supplier,"1
  • /htdocs/contrat/services_list.php
"SELECT p.id_sondage as rowid, p.fk_user_creat, p.format, p.date_fin, p.status, p.titre as title, p.nom_admin, p.tms,"1
  • /htdocs/opensurvey/list.php
'select COUNT(*) as nb from ' . MAIN_DB_PREFIX . "opensurvey_user_studs where id_sondage='" . $db->escape($obj->rowid) . "'"1
  • /htdocs/opensurvey/list.php
"UPDATE " . MAIN_DB_PREFIX . "contrat SET ref = '" . $this->db->escape($num) . "', statut = 1"1
  • /htdocs/contrat/class/contrat.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'contract/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/contrat/class/contrat.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'contract/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/contrat/class/contrat.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "opensurvey_sondage("1
  • /htdocs/opensurvey/class/opensurveysondage.class.php
"UPDATE " . MAIN_DB_PREFIX . "contrat SET statut = 0"1
  • /htdocs/contrat/class/contrat.class.php
"SELECT rowid, statut as status, ref, fk_soc as thirdpartyid,"1
  • /htdocs/contrat/class/contrat.class.php
"UPDATE " . MAIN_DB_PREFIX . "opensurvey_sondage SET"1
  • /htdocs/opensurvey/class/opensurveysondage.class.php
"SELECT p.label as product_label, p.description as product_desc, p.ref as product_ref, p.fk_product_type as product_type,"1
  • /htdocs/contrat/class/contrat.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "contrat (datec, fk_soc, fk_user_author, date_contrat,"1
  • /htdocs/contrat/class/contrat.class.php
'UPDATE ' . MAIN_DB_PREFIX . "contrat SET ref='(PROV" . $this->id . ")' WHERE rowid=" . ((int) $this->id)1
  • /htdocs/contrat/class/contrat.class.php
"SELECT cdl.rowid as cdlrowid "1
  • /htdocs/contrat/class/contrat.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "contratdet_log "1
  • /htdocs/contrat/class/contrat.class.php
"DELETE FROM " . $ef . " WHERE fk_object IN (SELECT rowid FROM " . $main . " WHERE fk_contrat = " . ((int) $this->id) . ")"1
  • /htdocs/contrat/class/contrat.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "contratdet"1
  • /htdocs/contrat/class/contrat.class.php
'DELETE FROM ' . MAIN_DB_PREFIX . "ecm_files WHERE src_object_type = '" . $this->db->escape($this->table_element . (empty($this->module) ? "" : "@" . $this->module)) . "' AND src_object_id = " . ((int) $this->id)1
  • /htdocs/contrat/class/contrat.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "contrat"1
  • /htdocs/contrat/class/contrat.class.php
"UPDATE " . MAIN_DB_PREFIX . "contrat SET"1
  • /htdocs/contrat/class/contrat.class.php
'DELETE FROM ' . MAIN_DB_PREFIX . "opensurvey_comments WHERE id_sondage = '" . $this->db->escape($numsondage) . "'"1
  • /htdocs/opensurvey/class/opensurveysondage.class.php
'DELETE FROM ' . MAIN_DB_PREFIX . "opensurvey_user_studs WHERE id_sondage = '" . $this->db->escape($numsondage) . "'"1
  • /htdocs/opensurvey/class/opensurveysondage.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "opensurvey_sondage"1
  • /htdocs/opensurvey/class/opensurveysondage.class.php
"SELECT id_users, nom as name, reponses"1
  • /htdocs/opensurvey/class/opensurveysondage.class.php
"UPDATE " . MAIN_DB_PREFIX . "contratdet set description = '" . $this->db->escape($desc) . "'"1
  • /htdocs/contrat/class/contrat.class.php
'SELECT id_comment, usercomment, comment'1
  • /htdocs/opensurvey/class/opensurveysondage.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "opensurvey_comments (id_sondage, comment, usercomment, date_creation, ip)"1
  • /htdocs/opensurvey/class/opensurveysondage.class.php
'DELETE FROM ' . MAIN_DB_PREFIX . 'opensurvey_comments WHERE id_comment = ' . ((int) $id_comment) . ' AND id_sondage = "' . $this->db->escape($this->id_sondage) . '"'1
  • /htdocs/opensurvey/class/opensurveysondage.class.php
" SELECT COUNT(id_users) as nb FROM " . MAIN_DB_PREFIX . "opensurvey_user_studs"1
  • /htdocs/opensurvey/class/opensurveysondage.class.php
"SELECT cp.rowid, cp.ref, cp.fk_user, cp.date_debut, cp.date_fin, cp.fk_type, cp.description, cp.halfday, cp.statut as status"1
  • /htdocs/holiday/month_report.php
' SELECT DISTINCT u.rowid,u.lastname,u.firstname from ' . MAIN_DB_PREFIX . 'user as u'1
  • /htdocs/holiday/card_group.php
' SELECT rowid, nom from ' . MAIN_DB_PREFIX . 'usergroup WHERE entity IN (' . getEntity('usergroup') . ')'1
  • /htdocs/holiday/card_group.php
' SELECT u.rowid, u.lastname, u.firstname from ' . MAIN_DB_PREFIX . 'user as u'1
  • /htdocs/holiday/card_group.php
"INSERT INTO " . MAIN_DB_PREFIX . "holiday("1
  • /htdocs/holiday/class/holiday.class.php
'UPDATE ' . MAIN_DB_PREFIX . "holiday SET ref='" . $this->db->escape($initialref) . "' WHERE rowid=" . ((int) $this->id)1
  • /htdocs/holiday/class/holiday.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'holiday/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/holiday/class/holiday.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'holiday/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/holiday/class/holiday.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "holiday"1
  • /htdocs/holiday/class/holiday.class.php
"SELECT cp.rowid, cp.date_debut as date_start, cp.date_fin as date_end, cp.halfday, cp.statut as status"1
  • /htdocs/holiday/class/holiday.class.php
"SELECT value"1
  • /htdocs/holiday/class/holiday.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "holiday_config(name, value)"1
  • /htdocs/holiday/class/holiday.class.php
"SELECT nb_holiday FROM " . MAIN_DB_PREFIX . "holiday_users"1
  • /htdocs/holiday/class/holiday.class.php
"UPDATE " . MAIN_DB_PREFIX . "holiday_users SET"1
  • /htdocs/holiday/class/holiday.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "holiday_users(nb_holiday, fk_user, fk_type) VALUES ("1
  • /htdocs/holiday/class/holiday.class.php
"SELECT nb_holiday"1
  • /htdocs/holiday/class/holiday.class.php
"SELECT DISTINCT cpu.fk_user"1
  • /htdocs/holiday/class/holiday.class.php
"SELECT cpu.fk_type, cpu.nb_holiday, u.rowid, u.lastname, u.firstname, u.gender, u.photo, u.employee, u.statut as status, u.fk_user"1
  • /htdocs/holiday/class/holiday.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "holiday_logs ("1
  • /htdocs/holiday/class/holiday.class.php
"SELECT rowid, code, label, affect, delay, newbymonth"1
  • /htdocs/holiday/class/holiday.class.php
"SELECT f.rowid, f.statut as status,"1
  • /htdocs/holiday/class/holiday.class.php
"SELECT count(h.rowid) as nb"1
  • /htdocs/holiday/class/holiday.class.php
"SELECT h.rowid, h.date_debut"1
  • /htdocs/holiday/class/holiday.class.php
"SELECT login FROM " . MAIN_DB_PREFIX . "adherent WHERE login='" . $db->escape($login) . "'"1
  • /htdocs/adherents/card.php
"SELECT rowid, code, label from " . MAIN_DB_PREFIX . "c_country"1
  • /htdocs/adherents/card.php
"SELECT d.rowid, d.firstname, d.lastname, d.societe, d.fk_adherent_type as type,"1
  • /htdocs/adherents/subscription.php
"SELECT libelle FROM " . MAIN_DB_PREFIX . "adherent_type WHERE libelle = '" . $db->escape($object->label) . "'"1
  • /htdocs/adherents/type.php
"SELECT d.rowid, d.libelle as label, d.subscription, d.amount, d.caneditamount, d.vote, d.statut as status, d.morphy, d.duration"1
  • /htdocs/adherents/type.php
"SELECT d.rowid, d.ref, d.entity, d.login, d.firstname, d.lastname, d.societe as company, d.fk_soc,"1
  • /htdocs/adherents/type.php
"SELECT nom as name"1
  • /htdocs/adherents/admin/member.php
"SELECT d.rowid, d.ref, d.firstname, d.lastname, d.login, d.societe as company, d.datefin,"1
  • /htdocs/adherents/cartes/carte.php
"SELECT d.rowid, d.login, d.firstname, d.lastname, d.societe, d.photo, d.statut as status,"1
  • /htdocs/adherents/subscription/list.php
"SELECT date_format(p.dateadh,'%m') as dm, count(*)"1
  • /htdocs/adherents/class/adherentstats.class.php
"SELECT date_format(p.dateadh,'%Y') as dm, count(*)"1
  • /htdocs/adherents/class/adherentstats.class.php
"SELECT date_format(p.dateadh,'%m') as dm, sum(p." . $this->field . ")"1
  • /htdocs/adherents/class/adherentstats.class.php
"SELECT date_format(p.dateadh,'%m') as dm, avg(p." . $this->field . ")"1
  • /htdocs/adherents/class/adherentstats.class.php
"SELECT date_format(p.dateadh,'%Y') as year, count(*) as nb, sum(" . $this->field . ") as total, avg(" . $this->field . ") as avg"1
  • /htdocs/adherents/class/adherentstats.class.php
"SELECT t.rowid as fk_adherent_type, t.libelle as label"1
  • /htdocs/adherents/class/adherentstats.class.php
"SELECT c.rowid as fk_categorie, c.label as label"1
  • /htdocs/adherents/class/adherentstats.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "adherent"1
  • /htdocs/adherents/class/adherent.class.php
"UPDATE " . MAIN_DB_PREFIX . "user SET"1
  • /htdocs/adherents/class/adherent.class.php
"SELECT libelle as label"1
  • /htdocs/adherents/class/adherent.class.php
"UPDATE " . MAIN_DB_PREFIX . "user SET fk_member = " . ((int) $this->id) . " WHERE rowid = " . ((int) $this->user_id)1
  • /htdocs/adherents/class/adherent.class.php
"SELECT rowid, datec as dateop, dateadh as datedeb, datef as datefin"1
  • /htdocs/adherents/class/adherent.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "categorie_member WHERE fk_member = " . ((int) $rowid)1
  • /htdocs/adherents/class/adherent.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "subscription WHERE fk_adherent = " . ((int) $rowid)1
  • /htdocs/adherents/class/adherent.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "adherent WHERE rowid = " . ((int) $rowid)1
  • /htdocs/adherents/class/adherent.class.php
"UPDATE " . MAIN_DB_PREFIX . "user SET fk_member = " . ((int) $this->id)1
  • /htdocs/adherents/class/adherent.class.php
"UPDATE " . MAIN_DB_PREFIX . "adherent SET fk_soc = null"1
  • /htdocs/adherents/class/adherent.class.php
"UPDATE " . MAIN_DB_PREFIX . "adherent SET fk_soc = " . ($thirdpartyid > 0 ? (int) $thirdpartyid : 'null')1
  • /htdocs/adherents/class/adherent.class.php
"SELECT d.rowid, d.ref, d.ref_ext, d.civility as civility_code, d.gender, d.firstname, d.lastname,"1
  • /htdocs/adherents/class/adherent.class.php
"SELECT c.rowid, c.fk_adherent, c.fk_type, c.subscription, c.note as note_public, c.fk_bank,"1
  • /htdocs/adherents/class/adherent.class.php
"UPDATE " . MAIN_DB_PREFIX . "subscription SET fk_bank=" . ((int) $insertid)1
  • /htdocs/adherents/class/adherent.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'subscription SET fk_bank=' . ((int) $bank_line_id)1
  • /htdocs/adherents/class/adherent.class.php
"SELECT count(a.rowid) as nb"1
  • /htdocs/adherents/class/adherent.class.php
"SELECT a.rowid, a.datefin, a.statut"1
  • /htdocs/adherents/class/adherent.class.php
'SELECT a.rowid, a.datec as datec,'1
  • /htdocs/adherents/class/adherent.class.php
'SELECT rowid FROM ' . MAIN_DB_PREFIX . 'adherent'1
  • /htdocs/adherents/class/adherent.class.php
"SELECT lang, label, description, email"1
  • /htdocs/adherents/class/adherent_type.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "adherent_type_lang"1
  • /htdocs/adherents/class/adherent_type.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "adherent_type ("1
  • /htdocs/adherents/class/adherent_type.class.php
"UPDATE " . MAIN_DB_PREFIX . "adherent_type "1
  • /htdocs/adherents/class/adherent_type.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "adherent_type"1
  • /htdocs/adherents/class/adherent_type.class.php
"SELECT d.rowid, d.libelle as label, d.morphy, d.statut as status, d.duration, d.subscription, d.amount, d.caneditamount, d.mail_valid, d.note as note_public, d.vote"1
  • /htdocs/adherents/class/adherent_type.class.php
"SELECT rowid, libelle as label"1
  • /htdocs/adherents/class/adherent_type.class.php
"SELECT rowid, amount"1
  • /htdocs/adherents/class/adherent_type.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "subscription (fk_adherent, fk_type, datec, dateadh, datef, subscription, note)"1
  • /htdocs/adherents/class/subscription.class.php
"SELECT rowid, fk_type, fk_adherent, datec,"1
  • /htdocs/adherents/class/subscription.class.php
"UPDATE " . MAIN_DB_PREFIX . "subscription SET "1
  • /htdocs/adherents/class/subscription.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "subscription WHERE rowid = " . ((int) $this->id)1
  • /htdocs/adherents/class/subscription.class.php
'SELECT c.rowid, c.datec,'1
  • /htdocs/adherents/class/subscription.class.php
"SELECT COUNT(DISTINCT d.rowid) as nb, COUNT(s.rowid) as nbsubscriptions, MAX(d.datevalid) as lastdate, MAX(s.dateadh) as lastsubscriptiondate, c.code, c.label"1
  • /htdocs/adherents/stats/geo.php
"SELECT COUNT(DISTINCT d.rowid) as nb, COUNT(s.rowid) as nbsubscriptions, MAX(d.datevalid) as lastdate, MAX(s.dateadh) as lastsubscriptiondate, co.code, co.label, c.nom as label2"1
  • /htdocs/adherents/stats/geo.php
"SELECT COUNT(DISTINCT d.rowid) as nb, COUNT(s.rowid) as nbsubscriptions, MAX(d.datevalid) as lastdate, MAX(s.dateadh) as lastsubscriptiondate, co.code, co.label, r.nom as label2"1
  • /htdocs/adherents/stats/geo.php
"SELECT COUNT(DISTINCT d.rowid) as nb, COUNT(s.rowid) as nbsubscriptions, MAX(d.datevalid) as lastdate, MAX(s.dateadh) as lastsubscriptiondate, c.code, c.label, d.town as label2"1
  • /htdocs/adherents/stats/geo.php
'SELECT f.rowid as doc_id, f.ref as doc_number, \'1\' as doc_type, f.datec as dateprint, f.fk_statut as status, tc.libelle as type_contact_label, '1
  • /htdocs/contact/consumption.php
'SELECT f.rowid as doc_id, f.ref as doc_number, f.type as doc_type, f.datef as dateprint, f.fk_statut as status, f.paye as paid, tc.libelle as type_contact_label, '1
  • /htdocs/contact/consumption.php
'SELECT c.rowid as doc_id, c.ref as doc_number, \'1\' as doc_type, c.datep as dateprint, c.fk_statut as status, tc.libelle as type_contact_label, '1
  • /htdocs/contact/consumption.php
'SELECT c.rowid as doc_id, c.ref as doc_number, \'1\' as doc_type, c.date_commande as dateprint, c.fk_statut as status, tc.libelle as type_contact_label, '1
  • /htdocs/contact/consumption.php
'SELECT f.rowid as doc_id, f.ref as doc_number, \'1\' as doc_type, f.datef as dateprint, f.fk_statut as status, f.paye as paid, tc.libelle as type_contact_label, '1
  • /htdocs/contact/consumption.php
'SELECT c.rowid as doc_id, c.ref as doc_number, \'1\' as doc_type, c.date_valid as dateprint, c.fk_statut as status, tc.libelle as type_contact_label, '1
  • /htdocs/contact/consumption.php
'SELECT c.rowid as doc_id, c.ref as doc_number, \'1\' as doc_type, c.date_contrat as dateprint, d.statut as status, tc.libelle as type_contact_label, '1
  • /htdocs/contact/consumption.php
"SELECT s.rowid as socid, s.nom as name, s.name_alias as alias,"1
  • /htdocs/contact/list.php
"SELECT count(sp.rowid) as nb"1
  • /htdocs/contact/class/contact.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "socpeople ("1
  • /htdocs/contact/class/contact.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "user_alert WHERE type = 1 AND fk_contact = " . ((int) $id) . " AND fk_user = " . ((int) $user->id)1
  • /htdocs/contact/class/contact.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "user_alert(type, fk_contact, fk_user) "1
  • /htdocs/contact/class/contact.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "user_alert "1
  • /htdocs/contact/class/contact.class.php
"SELECT c.rowid, c.entity, c.fk_soc, c.ref_ext, c.civility as civility_code, c.name_alias, c.lastname, c.firstname,"1
  • /htdocs/contact/class/contact.class.php
"SELECT u.rowid "1
  • /htdocs/contact/class/contact.class.php
"SELECT tc.element, count(ec.rowid) as nb"1
  • /htdocs/contact/class/contact.class.php
"SELECT ec.rowid"1
  • /htdocs/contact/class/contact.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "societe_contacts WHERE fk_socpeople = " . ((int) $this->id)1
  • /htdocs/contact/class/contact.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "notify_def WHERE fk_contact = " . ((int) $this->id)1
  • /htdocs/contact/class/contact.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "categorie_contact WHERE fk_socpeople = " . ((int) $this->id)1
  • /htdocs/contact/class/contact.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "socpeople"1
  • /htdocs/contact/class/contact.class.php
"SELECT c.rowid, c.datec as datec, c.fk_user_creat,"1
  • /htdocs/contact/class/contact.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "societe ORDER BY rowid LIMIT 1"1
  • /htdocs/contact/class/contact.class.php
"UPDATE " . MAIN_DB_PREFIX . "socpeople"1
  • /htdocs/contact/class/contact.class.php
"SELECT tc.rowid, tc.element, tc.source, tc.code, tc.libelle as label, sc.rowid as contactroleid, sc.fk_soc as socid"1
  • /htdocs/contact/class/contact.class.php
"SELECT sc.fk_socpeople as id, sc.fk_c_type_contact"1
  • /htdocs/contact/class/contact.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "societe_contacts WHERE fk_socpeople=" . ((int) $this->id) . " AND entity IN (" . getEntity("contact") . ")"1
  • /htdocs/contact/class/contact.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "societe_contacts"1
  • /htdocs/contact/class/contact.class.php
"SELECT id, code, libelle as label, picto FROM " . MAIN_DB_PREFIX . "c_stcommcontact"1
  • /htdocs/contact/class/contact.class.php
"SELECT p.rowid, p.num_payment, p.datep as dp,"1
  • /htdocs/loan/card.php
"SELECT l.rowid, l.label, l.capital, l.datestart, l.dateend, l.paid,"1
  • /htdocs/loan/list.php
"UPDATE " . MAIN_DB_PREFIX . "loan_schedule SET fk_bank = 0 WHERE fk_bank = " . ((int) $payment->fk_bank)1
  • /htdocs/loan/payment/card.php
'SELECT l.rowid as id, l.label, l.paid, l.capital as capital, pl.amount_capital, pl.amount_insurance, pl.amount_interest'1
  • /htdocs/loan/payment/card.php
"SELECT SUM(amount_capital) as total"1
  • /htdocs/loan/payment/payment.php
"INSERT INTO " . MAIN_DB_PREFIX . $this->table_element . " (fk_loan, datec, datep, amount_capital, amount_insurance, amount_interest,"1
  • /htdocs/loan/class/loanschedule.class.php
"SELECT l.rowid"1
  • /htdocs/loan/class/loanschedule.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "payment_loan "1
  • /htdocs/loan/class/loanschedule.class.php
"SELECT fk_loan,datec,tms,datep,amount_capital,amount_insurance,amount_interest,fk_typepayment,num_payment,note_private,note_public,fk_bank,fk_user_creat,fk_user_modif"1
  • /htdocs/loan/class/loanschedule.class.php
"SELECT p.datep"1
  • /htdocs/loan/class/loanschedule.class.php
"SELECT l.rowid, l.label, l.capital, l.datestart, l.dateend, l.nbterm, l.rate, l.note_private, l.note_public, l.insurance_amount,"1
  • /htdocs/loan/class/loan.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "loan (label, fk_bank, capital, datestart, dateend, nbterm, rate, note_private, note_public,"1
  • /htdocs/loan/class/loan.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "payment_loan where fk_loan=" . ((int) $this->id)1
  • /htdocs/loan/class/loan.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "loan where rowid=" . ((int) $this->id)1
  • /htdocs/loan/class/loan.class.php
"UPDATE " . MAIN_DB_PREFIX . "loan"1
  • /htdocs/loan/class/loan.class.php
'SELECT sum(amount_capital) as amount'1
  • /htdocs/loan/class/loan.class.php
'SELECT l.rowid, l.datec, l.fk_user_author, l.fk_user_modif,'1
  • /htdocs/loan/class/loan.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "payment_loan (fk_loan, datec, datep, amount_capital, amount_insurance, amount_interest,"1
  • /htdocs/loan/class/paymentloan.class.php
"UPDATE " . MAIN_DB_PREFIX . "payment_loan SET"1
  • /htdocs/loan/class/paymentloan.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "payment_loan"1
  • /htdocs/loan/class/paymentloan.class.php
"UPDATE " . MAIN_DB_PREFIX . "payment_loan SET fk_bank = " . ((int) $id_bank) . " WHERE rowid = " . ((int) $this->id)1
  • /htdocs/loan/class/paymentloan.class.php
"SELECT COUNT(DISTINCT pav.rowid) AS nb_of_values, COUNT(DISTINCT pac2v.fk_prod_combination) AS nb_products, "1
  • /htdocs/variants/list.php
"SELECT COUNT(*) as nbtotalofrecords FROM"1
  • /htdocs/variants/list.php
"INSERT INTO " . MAIN_DB_PREFIX . "product_attribute_combination2val (fk_prod_combination, fk_prod_attr, fk_prod_attr_val) VALUES(" . (int) $this->fk_prod_combination . ", " . (int) $this->fk_prod_attr . ", " . (int) $this->fk_prod_attr_val . ")"1
  • /htdocs/variants/class/ProductCombination2ValuePair.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "product_attribute_combination2val WHERE fk_prod_combination = " . (int) $fk_combination1
  • /htdocs/variants/class/ProductCombination2ValuePair.class.php
"SELECT td.rowid, td.fk_product_attribute, td.ref, td.value, td.position"1
  • /htdocs/variants/class/ProductAttribute.class.php
"SELECT COUNT(*) AS nb FROM " . MAIN_DB_PREFIX . "product_attribute_combination2val WHERE fk_prod_attr = " . ((int) $this->id)1
  • /htdocs/variants/class/ProductAttribute.class.php
"SELECT count(rowid) FROM " . MAIN_DB_PREFIX . $this->table_element1
  • /htdocs/variants/class/ProductAttribute.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . $this->table_element1
  • /htdocs/variants/class/ProductAttribute.class.php
"SELECT position FROM " . MAIN_DB_PREFIX . $this->table_element1
  • /htdocs/variants/class/ProductAttribute.class.php
"UPDATE " . MAIN_DB_PREFIX . $this->table_element . " SET position = " . ((int) ($position - 1))1
  • /htdocs/variants/class/ProductAttribute.class.php
"UPDATE " . MAIN_DB_PREFIX . $this->table_element . " SET position = " . ((int) ($position + 1))1
  • /htdocs/variants/class/ProductAttribute.class.php
"SELECT max(position) FROM " . MAIN_DB_PREFIX . $this->table_element1
  • /htdocs/variants/class/ProductAttribute.class.php
"SELECT rowid, fk_product_parent, fk_product_child, variation_price, variation_price_percentage, variation_weight, variation_ref_ext FROM " . MAIN_DB_PREFIX . "product_attribute_combination WHERE rowid = " . ((int) $rowid) . " AND entity IN (" . getEntity('product') . ")"1
  • /htdocs/variants/class/ProductCombination.class.php
"SELECT rowid, fk_product_parent, fk_product_child, variation_price, variation_price_percentage, variation_weight"1
  • /htdocs/variants/class/ProductCombination.class.php
"SELECT pac.rowid, pac.fk_product_parent, pac.fk_product_child, pac.variation_price, pac.variation_price_percentage, pac.variation_ref_ext, pac.variation_weight"1
  • /htdocs/variants/class/ProductCombination.class.php
"SELECT count(rowid) as nb FROM " . MAIN_DB_PREFIX . "product_attribute_combination WHERE fk_product_parent = " . ((int) $fk_product_parent) . " AND entity IN (" . getEntity('product') . ")"1
  • /htdocs/variants/class/ProductCombination.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "product_attribute_combination"1
  • /htdocs/variants/class/ProductCombination.class.php
"UPDATE " . MAIN_DB_PREFIX . "product_attribute_combination"1
  • /htdocs/variants/class/ProductCombination.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "product_attribute_combination_price_level WHERE fk_product_attribute_combination = " . (int) $this->id1
  • /htdocs/variants/class/ProductCombination.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "product_attribute_combination WHERE rowid = " . (int) $this->id1
  • /htdocs/variants/class/ProductCombination.class.php
"SELECT DISTINCT c2v.fk_prod_attr, a.position"1
  • /htdocs/variants/class/ProductCombination.class.php
'SELECT pav.value AS label'1
  • /htdocs/variants/class/ProductCombination.class.php
"SELECT rowid id"1
  • /htdocs/variants/class/ProductCombination.class.php
"DELETE FROM " . MAIN_DB_PREFIX . $this->table_element . " WHERE rowid = " . (int) $this->id1
  • /htdocs/variants/class/ProductCombination.class.php
"DELETE FROM " . MAIN_DB_PREFIX . $this->table_element . " WHERE fk_product_attribute_combination = " . (int) $fk_product_attribute_combination1
  • /htdocs/variants/class/ProductCombination.class.php
"SELECT rowid, fk_product_attribute, ref, value"1
  • /htdocs/variants/class/ProductAttributeValue.class.php
"SELECT COUNT(*) AS nb FROM " . MAIN_DB_PREFIX . "product_attribute_combination2val WHERE fk_prod_attr_val = " . ((int) $this->id)1
  • /htdocs/variants/class/ProductAttributeValue.class.php
"SELECT b.rowid, b.dateo as do, b.datev as dv, b.amount, b.amount_main_currency, b.label, b.rappro, b.num_releve, b.num_chq, b.fk_type, b.fk_account,"1
  • /htdocs/accountancy/journal/bankjournal.php
"SELECT cchgsoc.accountancy_code"1
  • /htdocs/accountancy/journal/bankjournal.php
'SELECT pl.amount_capital, pl.amount_insurance, pl.amount_interest, l.accountancy_account_capital, l.accountancy_account_insurance, l.accountancy_account_interest'1
  • /htdocs/accountancy/journal/bankjournal.php
"SELECT COUNT(rowid) as nb FROM " . MAIN_DB_PREFIX . "bank_account WHERE entity = " . ((int) $conf->entity) . " AND fk_accountancy_journal IS NULL AND clos=0"1
  • /htdocs/accountancy/journal/bankjournal.php
"SELECT payfac.fk_facture as id, " . $db->ifsql('f1.rowid IS NULL', 'f.ref', 'f1.ref') . " as ref"1
  • /htdocs/accountancy/journal/bankjournal.php
"SELECT payfac.fk_facture as id, f.ref as ref"1
  • /htdocs/accountancy/journal/bankjournal.php
'SELECT payfac.fk_facturefourn as id, f.ref'1
  • /htdocs/accountancy/journal/bankjournal.php
'SELECT e.rowid as id, e.ref'1
  • /htdocs/accountancy/journal/bankjournal.php
'SELECT s.rowid as ref'1
  • /htdocs/accountancy/journal/bankjournal.php
'SELECT sc.rowid as ref'1
  • /htdocs/accountancy/journal/bankjournal.php
'SELECT payd.fk_donation as ref'1
  • /htdocs/accountancy/journal/bankjournal.php
'SELECT l.rowid as ref'1
  • /htdocs/accountancy/journal/bankjournal.php
"SELECT er.rowid, er.ref, er.date_debut as de, er.date_fin as df,"1
  • /htdocs/accountancy/journal/expensereportsjournal.php
"SELECT fk_expensereport, COUNT(erd.rowid) as nb"1
  • /htdocs/accountancy/journal/expensereportsjournal.php
"SELECT f.rowid, f.ref as ref, f.type, f.datef as df, f.libelle as label, f.ref_supplier, f.date_lim_reglement as dlr, f.close_code, f.vat_reverse_charge,"1
  • /htdocs/accountancy/journal/purchasesjournal.php
"SELECT f.rowid, f.ref, f.type, f.situation_cycle_ref, f.datef as df, f.ref_client, f.date_lim_reglement as dlr, f.close_code, f.retained_warranty, f.revenuestamp,"1
  • /htdocs/accountancy/journal/sellsjournal.php
"SELECT accountancy_code_sell FROM " . MAIN_DB_PREFIX . "c_revenuestamp"1
  • /htdocs/accountancy/journal/sellsjournal.php
"SELECT t.numero_compte, (SUM(t.debit) - SUM(t.credit)) as opening_balance"1
  • /htdocs/accountancy/bookkeeping/balance.php
"SELECT er.ref, er.rowid as facid, erd.fk_c_type_fees, erd.comments, erd.rowid, erd.fk_code_ventilation,"1
  • /htdocs/accountancy/expensereport/card.php
"SELECT er.ref, er.rowid as erid,"1
  • /htdocs/accountancy/expensereport/lines.php
"SELECT erd.rowid, accnt.rowid as suggestedid"1
  • /htdocs/accountancy/expensereport/index.php
"UPDATE " . MAIN_DB_PREFIX . "expensereport_det"1
  • /htdocs/accountancy/expensereport/index.php
"SELECT '" . $db->escape($langs->trans("TotalExpenseReport")) . "' AS label,"1
  • /htdocs/accountancy/expensereport/index.php
"SELECT er.ref, er.rowid as erid, er.date_debut, er.date_valid,"1
  • /htdocs/accountancy/expensereport/list.php
"SELECT pcg_version FROM " . MAIN_DB_PREFIX . "accounting_system WHERE rowid = " . ((int) getDolGlobalInt('CHARTOFACCOUNTS'))1
  • /htdocs/accountancy/admin/card.php
"SELECT pcg_version FROM " . MAIN_DB_PREFIX . "accounting_system WHERE rowid=" . ((int) getDolGlobalInt('CHARTOFACCOUNTS'))1
  • /htdocs/accountancy/admin/card.php
"SELECT DISTINCT pcg_type FROM " . MAIN_DB_PREFIX . "accounting_account"1
  • /htdocs/accountancy/admin/card.php
"SELECT f.rowid, f.label, f.date_start, f.date_end, f.statut as status, f.entity"1
  • /htdocs/accountancy/admin/fiscalyear.php
'SELECT code FROM ' . MAIN_DB_PREFIX . 'c_country as c, ' . MAIN_DB_PREFIX . 'accounting_system as a'1
  • /htdocs/accountancy/admin/account.php
"SELECT aa.rowid, aa.fk_pcg_version, aa.pcg_type, aa.account_number, aa.account_parent, aa.label, aa.labelshort, aa.fk_accounting_category,"1
  • /htdocs/accountancy/admin/account.php
"SELECT a.rowid, a.pcg_version, a.label, a.active, c.code as country_code"1
  • /htdocs/accountancy/admin/account.php
"SELECT a.rowid as rowid, a.code as code, a.label, a.range_account, a.category_type, a.formula, a.position as position, a.fk_country as country_id, c.code as country_code, c.label as country, a.active FROM " . MAIN_DB_PREFIX . "c_accounting_category as a, " . MAIN_DB_PREFIX . "c_country as c WHERE a.fk_country=c.rowid and c.active=1"1
  • /htdocs/accountancy/admin/categories_list.php
"UPDATE " . $db->sanitize($tabname[$id]) . " SET active = 0 WHERE code = '" . $db->escape($code) . "'"1
  • /htdocs/accountancy/admin/categories_list.php
"UPDATE " . $db->sanitize($tabname[$id]) . " SET favorite = 1 WHERE " . $db->sanitize($rowidcol) . " = " . ((int) $rowid)1
  • /htdocs/accountancy/admin/categories_list.php
"UPDATE " . $db->sanitize($tabname[$id]) . " SET favorite = 1 WHERE code = '" . $db->escape($code) . "'"1
  • /htdocs/accountancy/admin/categories_list.php
"UPDATE " . $db->sanitize($tabname[$id]) . " SET favorite = 0 WHERE " . $db->sanitize($rowidcol) . " = " . ((int) $rowid)1
  • /htdocs/accountancy/admin/categories_list.php
"UPDATE " . $db->sanitize($tabname[$id]) . " SET favorite = 0 WHERE code = '" . $db->escape($code) . "'"1
  • /htdocs/accountancy/admin/categories_list.php
"SELECT a.rowid as rowid, a.code as code, a.label, a.nature, a.active FROM " . MAIN_DB_PREFIX . "accounting_journal as a"1
  • /htdocs/accountancy/admin/journals_list.php
"UPDATE " . $db->sanitize($tabname[$id]) . " SET active = 0 WHERE code='" . $db->escape($code) . "'"1
  • /htdocs/accountancy/admin/journals_list.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "product_perentity"1
  • /htdocs/accountancy/admin/productaccount.php
"INSERT INTO " . MAIN_DB_PREFIX . "product_perentity (fk_product, entity, " . $db->sanitize($accountancy_field_name) . ")"1
  • /htdocs/accountancy/admin/productaccount.php
"UPDATE " . MAIN_DB_PREFIX . "product_perentity"1
  • /htdocs/accountancy/admin/productaccount.php
" UPDATE " . MAIN_DB_PREFIX . "product"1
  • /htdocs/accountancy/admin/productaccount.php
"SELECT p.rowid, p.ref, p.label, p.description, p.tosell, p.tobuy, p.tva_tx,"1
  • /htdocs/accountancy/admin/productaccount.php
"SELECT s.rowid as rowid, pcg_version, s.label, s.fk_country as country_id, c.code as country_code, c.label as country, s.active FROM " . MAIN_DB_PREFIX . "accounting_system as s, " . MAIN_DB_PREFIX . "c_country as c WHERE s.fk_country=c.rowid and c.active=1"1
  • /htdocs/accountancy/admin/accountmodel.php
"SELECT MAX(" . $db->sanitize($tabrowid[$id]) . ") as newid FROM " . $db->sanitize($tabname[$id])1
  • /htdocs/accountancy/admin/accountmodel.php
"UPDATE " . $db->sanitize($tabname[$id]) . " SET active = 1 WHERE rowid = " . ((int) $rowid)1
  • /htdocs/accountancy/admin/accountmodel.php
"UPDATE " . $db->sanitize($tabname[$id]) . " SET active = 0 WHERE rowid = " . ((int) $rowid)1
  • /htdocs/accountancy/admin/accountmodel.php
"SELECT sa.rowid, sa.nom as label, sa.code_compta as subaccount, '1' as type, sa.entity, sa.client as nature"1
  • /htdocs/accountancy/admin/subaccount.php
" SELECT sa.rowid, sa.nom as label, sa.code_compta_fournisseur as subaccount, '2' as type, sa.entity, '0' as nature FROM " . MAIN_DB_PREFIX . "societe sa"1
  • /htdocs/accountancy/admin/subaccount.php
" SELECT u.rowid, u.lastname as label, u.accountancy_code as subaccount, '3' as type, u.entity, '0' as nature FROM " . MAIN_DB_PREFIX . "user u"1
  • /htdocs/accountancy/admin/subaccount.php
"SELECT f.ref as ref, f.rowid as facid, l.fk_product, l.description, l.rowid, l.fk_code_ventilation, "1
  • /htdocs/accountancy/supplier/card.php
"UPDATE " . MAIN_DB_PREFIX . "facture_fourn_det"1
  • /htdocs/accountancy/supplier/lines.php
"SELECT f.rowid as facid, f.ref as ref, f.ref_supplier, f.type as ftype, f.libelle as invoice_label, f.datef, f.fk_soc,"1
  • /htdocs/accountancy/supplier/lines.php
"UPDATE " . $db->prefix( ) . "facture_fourn_det as fd"1
  • /htdocs/accountancy/supplier/index.php
"UPDATE " . $db->prefix( ) . "facture_fourn_det"1
  • /htdocs/accountancy/supplier/index.php
"SELECT '" . $db->escape($langs->trans("CAHTF")) . "' AS label,"1
  • /htdocs/accountancy/supplier/index.php
"INSERT INTO " . MAIN_DB_PREFIX . "accounting_system"1
  • /htdocs/accountancy/class/accountancysystem.class.php
"SELECT a.rowid as rowid, a.datec, a.tms, a.fk_pcg_version, a.pcg_type, a.account_number, a.account_parent, a.label, a.labelshort, a.fk_accounting_category, a.fk_user_author, a.fk_user_modif, a.active, a.reconcilable"1
  • /htdocs/accountancy/class/accountingaccount.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "accounting_account("1
  • /htdocs/accountancy/class/accountingaccount.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "accounting_account"1
  • /htdocs/accountancy/class/accountingaccount.class.php
'SELECT a.rowid, a.datec, a.fk_user_author, a.fk_user_modif, a.tms as date_modification'1
  • /htdocs/accountancy/class/accountingaccount.class.php
"SELECT piece_num"1
  • /htdocs/accountancy/class/bookkeeping.class.php
"SELECT MAX(piece_num)+1 as maxpiecenum"1
  • /htdocs/accountancy/class/bookkeeping.class.php
'INSERT INTO ' . MAIN_DB_PREFIX . $this->table_element . $mode . ' ('1
  • /htdocs/accountancy/class/bookkeeping.class.php
'UPDATE ' . MAIN_DB_PREFIX . $this->table_element . $mode . ' SET'1
  • /htdocs/accountancy/class/bookkeeping.class.php
"UPDATE " . MAIN_DB_PREFIX . $this->table_element . $mode1
  • /htdocs/accountancy/class/bookkeeping.class.php
'DELETE FROM ' . MAIN_DB_PREFIX . $this->table_element . $mode1
  • /htdocs/accountancy/class/bookkeeping.class.php
"SELECT piece_num, doc_date, code_journal, journal_label, doc_ref, doc_type,"1
  • /htdocs/accountancy/class/bookkeeping.class.php
"SELECT MAX(piece_num)+1 as max FROM " . MAIN_DB_PREFIX . $this->table_element . $mode1
  • /htdocs/accountancy/class/bookkeeping.class.php
'DELETE FROM ' . MAIN_DB_PREFIX . $this->table_element . '_tmp WHERE piece_num = ' . ((int) $piece_num) . ' AND entity = ' . ((int) $conf->entity) . " AND numero_compte IS NULL AND debit = 0 AND credit = 0"1
  • /htdocs/accountancy/class/bookkeeping.class.php
'INSERT INTO ' . MAIN_DB_PREFIX . $this->table_element . ' (doc_date, doc_type,'1
  • /htdocs/accountancy/class/bookkeeping.class.php
'INSERT INTO ' . MAIN_DB_PREFIX . $this->table_element . '_tmp (doc_date, doc_type,'1
  • /htdocs/accountancy/class/bookkeeping.class.php
"SELECT DISTINCT ab.numero_compte as account_number, aa.label as label, aa.rowid as rowid, aa.fk_pcg_version"1
  • /htdocs/accountancy/class/bookkeeping.class.php
"SELECT root.rowid, root.account_number, root.label as label,"1
  • /htdocs/accountancy/class/bookkeeping.class.php
"SELECT aa.account_number, aa.label, aa.rowid, aa.fk_pcg_version, cat.label as category"1
  • /htdocs/accountancy/class/bookkeeping.class.php
"SELECT rowid, label, date_start, date_end, statut"1
  • /htdocs/accountancy/class/bookkeeping.class.php
"SELECT YEAR(b.doc_date) as year"1
  • /htdocs/accountancy/class/bookkeeping.class.php
'SELECT t.rowid'1
  • /htdocs/accountancy/class/bookkeeping.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "c_accounting_category("1
  • /htdocs/accountancy/class/accountancycategory.class.php
"UPDATE " . MAIN_DB_PREFIX . "c_accounting_category SET"1
  • /htdocs/accountancy/class/accountancycategory.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "c_accounting_category"1
  • /htdocs/accountancy/class/accountancycategory.class.php
"SELECT t.rowid, t.account_number, t.label"1
  • /htdocs/accountancy/class/accountancycategory.class.php
"SELECT aa.account_number as numero_compte, aa.label as label_compte"1
  • /htdocs/accountancy/class/accountancycategory.class.php
"SELECT aa.rowid, aa.account_number"1
  • /htdocs/accountancy/class/accountancycategory.class.php
"UPDATE " . MAIN_DB_PREFIX . "accounting_account as aa"1
  • /htdocs/accountancy/class/accountancycategory.class.php
"SELECT SUM(t.debit) as debit, SUM(t.credit) as credit"1
  • /htdocs/accountancy/class/accountancycategory.class.php
"SELECT t.rowid, t.account_number, t.label as account_label,"1
  • /htdocs/accountancy/class/accountancycategory.class.php
"SELECT c.rowid, c.code, c.label, c.formula, c.position, c.category_type, c.sens"1
  • /htdocs/accountancy/class/accountancycategory.class.php
"SELECT rowid, code, label, nature, active"1
  • /htdocs/accountancy/class/accountingjournal.class.php
"SELECT ad.fk_asset AS rowid, a.ref AS asset_ref, a.label AS asset_label, a.acquisition_value_ht AS asset_acquisition_value_ht"1
  • /htdocs/accountancy/class/accountingjournal.class.php
"SELECT DISTINCT bk.rowid, bk.doc_date, bk.doc_type, bk.doc_ref, bk.subledger_account, "1
  • /htdocs/accountancy/class/lettering.class.php
'SELECT DISTINCT bk.rowid, facf.ref, facf.ref_supplier, payf.fk_bank, facf.rowid as fact_id'1
  • /htdocs/accountancy/class/lettering.class.php
'SELECT bk.rowid, facf.ref, facf.ref_supplier '1
  • /htdocs/accountancy/class/lettering.class.php
'SELECT DISTINCT bk.rowid, fac.ref, fac.ref, pay.fk_bank, fac.rowid as fact_id'1
  • /htdocs/accountancy/class/lettering.class.php
'SELECT bk.rowid, fac.ref, fac.ref_supplier '1
  • /htdocs/accountancy/class/lettering.class.php
"SELECT DISTINCT ab2.lettering_code"1
  • /htdocs/accountancy/class/lettering.class.php
"SELECT SUM(ABS(debit)) as deb, SUM(ABS(credit)) as cred FROM " . MAIN_DB_PREFIX . "accounting_bookkeeping WHERE "1
  • /htdocs/accountancy/class/lettering.class.php
"SELECT DISTINCT ab.doc_type, ab.fk_doc"1
  • /htdocs/accountancy/class/lettering.class.php
" SELECT rowid"1
  • /htdocs/accountancy/class/lettering.class.php
"SELECT DISTINCT ab.rowid, ab.piece_num, ab.debit, ab.credit, ab.lettering_code"1
  • /htdocs/accountancy/class/lettering.class.php
" SELECT bpn.rowid"1
  • /htdocs/accountancy/class/lettering.class.php
" SELECT dpn.rowid"1
  • /htdocs/accountancy/class/lettering.class.php
"SELECT DISTINCT dp." . $this->db->sanitize($doc_type_info['doc_payment_table_fk_doc']) . " AS fk_doc"1
  • /htdocs/accountancy/class/lettering.class.php
"SELECT DISTINCT p." . $this->db->sanitize($doc_type_info['payment_table_fk_bank']) . " AS fk_doc"1
  • /htdocs/accountancy/class/lettering.class.php
"SELECT DISTINCT tl2." . $this->db->sanitize($linked_info['fk_link']) . " AS fk_link, tl2." . $this->db->sanitize($linked_info['fk_doc']) . " AS fk_doc"1
  • /htdocs/accountancy/class/lettering.class.php
"SELECT code_client, fk_forme_juridique, nom, address, zip, town, fk_pays, phone, siret FROM " . MAIN_DB_PREFIX . "societe"1
  • /htdocs/accountancy/class/accountancyexport.class.php
'SELECT f.ref, s.nom FROM ' . MAIN_DB_PREFIX . 'facture as f'1
  • /htdocs/accountancy/class/accountancyexport.class.php
'SELECT ff.ref, s.nom FROM ' . MAIN_DB_PREFIX . 'facture_fourn as ff'1
  • /htdocs/accountancy/class/accountancyexport.class.php
"SELECT f.ref, f.rowid as facid, l.fk_product, l.description, l.price,"1
  • /htdocs/accountancy/customer/card.php
"SELECT f.rowid as facid, f.ref as ref, f.type as ftype, f.situation_cycle_ref, f.datef, f.ref_client,"1
  • /htdocs/accountancy/customer/lines.php
"UPDATE " . $db->prefix( ) . "facturedet as fd"1
  • /htdocs/accountancy/customer/index.php
"SELECT f.rowid as facid, f.ref as ref, f.datef, f.type as ftype, f.situation_cycle_ref, f.fk_facture_source,"1
  • /htdocs/accountancy/customer/index.php
"SELECT '" . $db->escape($langs->trans("TotalVente")) . "' AS total,"1
  • /htdocs/accountancy/customer/index.php
"SELECT f.rowid as facid, f.ref, f.datef, f.type as ftype, f.situation_cycle_ref, f.fk_facture_source,"1
  • /htdocs/accountancy/customer/list.php
"INSERT INTO " . MAIN_DB_PREFIX . "const(name, value, type, visible, note, entity) values(" . $db->encrypt('MAIN_VERSION_FIRST_INSTALL') . ", " . $db->encrypt($targetversion) . ", 'chaine', 0, 'Dolibarr version when first install', 0)"1
  • /htdocs/install/step5.php
"DELETE FROM " . MAIN_DB_PREFIX . "const WHERE " . $db->decrypt('name') . " = 'MAIN_VERSION_LAST_INSTALL'"1
  • /htdocs/install/step5.php
"INSERT INTO " . MAIN_DB_PREFIX . "const(name,value,type,visible,note,entity) values(" . $db->encrypt('MAIN_VERSION_LAST_INSTALL') . ", " . $db->encrypt($targetversion) . ", 'chaine', 0, 'Dolibarr version when last install', 0)"1
  • /htdocs/install/step5.php
"DELETE FROM " . MAIN_DB_PREFIX . "const WHERE " . $db->decrypt('name') . " = 'MAIN_REMOVE_INSTALL_WARNING'"1
  • /htdocs/install/step5.php
"INSERT INTO " . MAIN_DB_PREFIX . "const(name,value,type,visible,note,entity) VALUES (" . $db->encrypt('MAIN_LANG_DEFAULT') . ", " . $db->encrypt($setuplang) . ", 'chaine', 0, 'Default language', 1)"1
  • /htdocs/install/step5.php
"DELETE FROM " . MAIN_DB_PREFIX . "const WHERE " . $db->decrypt('name') . " = 'MAIN_VERSION_LAST_UPGRADE'"1
  • /htdocs/install/step5.php
"INSERT INTO " . MAIN_DB_PREFIX . "const(name, value, type, visible, note, entity) VALUES (" . $db->encrypt('MAIN_VERSION_LAST_UPGRADE') . ", " . $db->encrypt($targetversion) . ", 'chaine', 0, 'Dolibarr version for last upgrade', 0)"1
  • /htdocs/install/step5.php
'UPDATE ' . MAIN_DB_PREFIX . "const SET VALUE = 'torefresh' WHERE name = 'MAIN_FIRST_PING_OK_ID'"1
  • /htdocs/install/upgrade2.php
"SELECT p.rowid, p.fk_facture, p.amount"1
  • /htdocs/install/upgrade2.php
"UPDATE " . MAIN_DB_PREFIX . "paiement SET fk_facture = 0 WHERE rowid = " . ((int) $row[$i][0])1
  • /htdocs/install/upgrade2.php
"SELECT c.rowid as cref, c.date_contrat, c.statut, c.fk_product, c.fk_facture, c.fk_user_author,"1
  • /htdocs/install/upgrade2.php
"INSERT INTO " . MAIN_DB_PREFIX . "contratdet ("1
  • /htdocs/install/upgrade2.php
"SELECT ba.rowid as barowid, bb.rowid as bbrowid"1
  • /htdocs/install/upgrade2.php
"update " . MAIN_DB_PREFIX . "contrat set date_contrat=tms where date_contrat is null"1
  • /htdocs/install/upgrade2.php
"update " . MAIN_DB_PREFIX . "contrat set datec=tms where datec is null"1
  • /htdocs/install/upgrade2.php
"SELECT c.rowid as cref, c.datec, c.date_contrat, MIN(cd.date_ouverture) as datemin"1
  • /htdocs/install/upgrade2.php
"update " . MAIN_DB_PREFIX . "contrat set datec=date_contrat where datec is null or datec > date_contrat"1
  • /htdocs/install/upgrade2.php
"SELECT c.rowid as cref FROM " . MAIN_DB_PREFIX . "contrat as c, " . MAIN_DB_PREFIX . "contratdet as cd"1
  • /htdocs/install/upgrade2.php
'SELECT rowid, fk_facture_fourn, amount'1
  • /htdocs/install/upgrade2.php
'SELECT fk_paiementfourn, fk_facturefourn'1
  • /htdocs/install/upgrade2.php
'INSERT INTO ' . MAIN_DB_PREFIX . 'paiementfourn_facturefourn SET '1
  • /htdocs/install/upgrade2.php
"SELECT fd.rowid, fd.qty, fd.subprice, fd.remise_percent, fd.tva_tx as vatrate, fd.total_ttc, fd.info_bits,"1
  • /htdocs/install/upgrade2.php
"SELECT pd.rowid, pd.qty, pd.subprice, pd.remise_percent, pd.tva_tx as vatrate, pd.info_bits,"1
  • /htdocs/install/upgrade2.php
" insert into " . MAIN_DB_PREFIX . "document_model(nom,type) values('crabe','invoice')"1
  • /htdocs/install/upgrade2.php
" insert into " . MAIN_DB_PREFIX . "document_model(nom,type) values('einstein','order')"1
  • /htdocs/install/upgrade2.php
" insert into " . MAIN_DB_PREFIX . "document_model(nom,type) values('rouget','shipping')"1
  • /htdocs/install/upgrade2.php
"SELECT e.rowid, e.fk_commande FROM " . MAIN_DB_PREFIX . "expedition as e"1
  • /htdocs/install/upgrade2.php
"INSERT INTO " . MAIN_DB_PREFIX . "co_exp (fk_expedition,fk_commande)"1
  • /htdocs/install/upgrade2.php
"SELECT l.rowid, l.fk_commande,"1
  • /htdocs/install/upgrade2.php
"INSERT INTO " . MAIN_DB_PREFIX . "co_liv (fk_livraison,fk_commande)"1
  • /htdocs/install/upgrade2.php
"SELECT cd.rowid, cd.fk_product, cd.description, cd.subprice, cd.total_ht"1
  • /htdocs/install/upgrade2.php
"UPDATE " . MAIN_DB_PREFIX . "livraisondet SET"1
  • /htdocs/install/upgrade2.php
"SELECT total_ht"1
  • /htdocs/install/upgrade2.php
"SELECT SUM(reel) as total, fk_product"1
  • /htdocs/install/upgrade2.php
"UPDATE " . MAIN_DB_PREFIX . "product SET"1
  • /htdocs/install/upgrade2.php
"SELECT m.rowid, mc.action"1
  • /htdocs/install/upgrade2.php
"UPDATE " . MAIN_DB_PREFIX . "menu SET"1
  • /htdocs/install/upgrade2.php
"SELECT c.fk_adresse_livraison, ce.fk_expedition"1
  • /htdocs/install/upgrade2.php
"SELECT rowid, fk_user_resp FROM " . MAIN_DB_PREFIX . "projet"1
  • /htdocs/install/upgrade2.php
"SELECT fk_projet_task as fk_project_task, fk_user FROM " . MAIN_DB_PREFIX . "projet_task_actors"1
  • /htdocs/install/upgrade2.php
"SELECT " . $fk_source . ", " . $fk_target1
  • /htdocs/install/upgrade2.php
"SELECT rowid, fk_element, element_duration"1
  • /htdocs/install/upgrade2.php
"UPDATE " . MAIN_DB_PREFIX . "element_time SET"1
  • /htdocs/install/upgrade2.php
"SELECT e.rowid as shipping_id, c.ref_client, c.date_livraison as delivery_date"1
  • /htdocs/install/upgrade2.php
"SELECT rowid, fk_expedition"1
  • /htdocs/install/upgrade2.php
"UPDATE " . MAIN_DB_PREFIX . "livraison SET fk_expedition = NULL"1
  • /htdocs/install/upgrade2.php
"DELETE FROM " . MAIN_DB_PREFIX . "element_element WHERE sourcetype = 'commande' AND targettype = 'delivery'"1
  • /htdocs/install/upgrade2.php
"SELECT l.rowid as delivery_id, e.ref_customer, e.date_delivery"1
  • /htdocs/install/upgrade2.php
"UPDATE " . MAIN_DB_PREFIX . "actioncomm SET "1
  • /htdocs/install/upgrade2.php
"UPDATE " . MAIN_DB_PREFIX . "paiement SET"1
  • /htdocs/install/upgrade2.php
"UPDATE " . MAIN_DB_PREFIX . "c_paiement SET"1
  • /htdocs/install/upgrade2.php
"UPDATE " . MAIN_DB_PREFIX . $table . " SET "1
  • /htdocs/install/upgrade2.php
"DELETE FROM " . MAIN_DB_PREFIX . "categorie_association"1
  • /htdocs/install/upgrade2.php
"INSERT INTO " . MAIN_DB_PREFIX . "categorie_association(fk_categorie_mere,fk_categorie_fille)"1
  • /htdocs/install/upgrade2.php
"UPDATE " . MAIN_DB_PREFIX . "categorie SET "1
  • /htdocs/install/upgrade2.php
"SELECT a.id, a.fk_user_action"1
  • /htdocs/install/upgrade2.php
"SELECT a.id, a.fk_contact"1
  • /htdocs/install/upgrade2.php
"SELECT DISTINCT entity"1
  • /htdocs/install/upgrade2.php
"SELECT count(rowid) as nb FROM " . MAIN_DB_PREFIX . "blockedlog WHERE action = 'MODULE_SET' and entity = " . ((int) $obj->entity)1
  • /htdocs/install/upgrade2.php
"DELETE FROM " . MAIN_DB_PREFIX . "blockedlog"1
  • /htdocs/install/upgrade2.php
"SELECT sr.rowid, s.entity"1
  • /htdocs/install/upgrade2.php
"UPDATE " . MAIN_DB_PREFIX . "societe_remise SET"1
  • /htdocs/install/upgrade2.php
"SELECT sr.rowid, sr.fk_soc, sr.fk_facture_source, sr.fk_facture, sr.fk_facture_line"1
  • /htdocs/install/upgrade2.php
"SELECT s.entity"1
  • /htdocs/install/upgrade2.php
"UPDATE " . MAIN_DB_PREFIX . "societe_remise_except SET"1
  • /htdocs/install/upgrade2.php
"UPDATE " . MAIN_DB_PREFIX . "user_rights SET"1
  • /htdocs/install/upgrade2.php
"UPDATE " . MAIN_DB_PREFIX . "usergroup_rights SET"1
  • /htdocs/install/upgrade2.php
"SELECT rowid as uid, entity from " . MAIN_DB_PREFIX . "user"1
  • /htdocs/install/upgrade2.php
"SELECT rowid as uid, entity, photo from " . MAIN_DB_PREFIX . "user"1
  • /htdocs/install/upgrade2.php
'UPDATE ' . MAIN_DB_PREFIX . "user SET socialnetworks='" . $db->escape(json_encode($socialnetworks)) . "'"1
  • /htdocs/install/upgrade2.php
'UPDATE ' . MAIN_DB_PREFIX . "adherent SET socialnetworks='" . $db->escape(json_encode($socialnetworks)) . "'"1
  • /htdocs/install/upgrade2.php
'UPDATE ' . MAIN_DB_PREFIX . "socpeople SET socialnetworks='" . $db->escape(json_encode($socialnetworks)) . "'"1
  • /htdocs/install/upgrade2.php
'UPDATE ' . MAIN_DB_PREFIX . "societe SET socialnetworks='" . $db->escape(json_encode($socialnetworks)) . "'"1
  • /htdocs/install/upgrade2.php
'SELECT rowid, field'1
  • /htdocs/install/upgrade2.php
'UPDATE ' . MAIN_DB_PREFIX . $mode . "_model SET field = '" . $db->escape($newfield) . "'"1
  • /htdocs/install/upgrade2.php
"SELECT c.rowid as cid ,cd.rowid as cdid,cd.rang FROM " . $db->prefix( ) . "contratdet as cd INNER JOIN " . $db->prefix( ) . "contrat as c ON c.rowid=cd.fk_contrat AND cd.rang=0"1
  • /htdocs/install/upgrade2.php
"UPDATE " . $db->prefix( ) . "contratdet SET rang=" . (int) $currentRank . " WHERE rowid=" . (int) $obj->cdid1
  • /htdocs/install/upgrade2.php
"SHOW CREATE TABLE " . $val1
  • /htdocs/install/upgrade.php
"SELECT name, entity, value"1
  • /htdocs/install/repair.php
"DELETE FROM " . MAIN_DB_PREFIX . "const WHERE name = '" . $db->escape($obj->name) . "' AND entity = " . ((int) $obj->entity)1
  • /htdocs/install/repair.php
"SELECT file, entity FROM " . MAIN_DB_PREFIX . "boxes_def"1
  • /htdocs/install/repair.php
"DELETE FROM " . MAIN_DB_PREFIX . "boxes WHERE entity = " . ((int) $obj->entity) . " AND box_id IN (SELECT rowid FROM " . MAIN_DB_PREFIX . "boxes_def WHERE file = '" . $db->escape($obj->file) . "' AND entity = " . ((int) $obj->entity) . ")"1
  • /htdocs/install/repair.php
"DELETE FROM " . MAIN_DB_PREFIX . "boxes_def WHERE file = '" . $db->escape($obj->file) . "' AND entity = " . ((int) $obj->entity)1
  • /htdocs/install/repair.php
"SELECT s.rowid, s.nom as name, s.logo FROM " . MAIN_DB_PREFIX . "societe as s ORDER BY s.nom"1
  • /htdocs/install/repair.php
"SELECT s.rowid, s.firstname, s.lastname, s.login, s.photo FROM " . MAIN_DB_PREFIX . "user as s ORDER BY s.rowid"1
  • /htdocs/install/repair.php
"SELECT s.rowid, s.ref FROM " . MAIN_DB_PREFIX . "product as s ORDER BY s.ref"1
  • /htdocs/install/repair.php
"SELECT rowid, module"1
  • /htdocs/install/repair.php
"DELETE FROM " . MAIN_DB_PREFIX . "menu WHERE module = '" . $db->escape($modulecond) . "'"1
  • /htdocs/install/repair.php
'Delete orphelins file ' . $file['fullname'] . '<br>'1
  • /htdocs/install/repair.php
"DELETE FROM " . MAIN_DB_PREFIX . "product_batch"1
  • /htdocs/install/repair.php
"INSERT INTO " . MAIN_DB_PREFIX . "product_batch(fk_product_stock, batch, qty)"1
  • /htdocs/install/repair.php
"UPDATE " . MAIN_DB_PREFIX . "product_stock"1
  • /htdocs/install/repair.php
'UPDATE ' . MAIN_DB_PREFIX . 'product p SET p.stock= (SELECT SUM(ps.reel) FROM ' . MAIN_DB_PREFIX . 'product_stock ps WHERE ps.fk_product = p.rowid)'1
  • /htdocs/install/repair.php
"SELECT COUNT(ptt.rowid) as nb, u.rowid as user_id, u.login, u.thm as user_thm"1
  • /htdocs/install/repair.php
"UPDATE " . MAIN_DB_PREFIX . "element_time"1
  • /htdocs/install/repair.php
"SELECT DISTINCT name, value"1
  • /htdocs/install/repair.php
"DELETE FROM " . MAIN_DB_PREFIX . "const WHERE name = 'MAIN_MODULE_" . strtoupper($name) . "_" . strtoupper($key) . "'"1
  • /htdocs/install/repair.php
"DELETE FROM " . MAIN_DB_PREFIX . "const WHERE name = 'MAIN_MODULE_" . strtoupper($name) . "'"1
  • /htdocs/install/repair.php
"SELECT id, libelle as label, module from " . MAIN_DB_PREFIX . "rights_def WHERE module NOT IN (" . $db->sanitize($listofmods, 1) . ") AND id > 100000"1
  • /htdocs/install/repair.php
"DELETE FROM " . MAIN_DB_PREFIX . "rights_def WHERE id = " . ((int) $obj->id)1
  • /htdocs/install/repair.php
"SELECT dol_util_rebuild_sequences();"1
  • /htdocs/install/repair.php
'SELECT * FROM ' . MAIN_DB_PREFIX . 'receptiondet_batch WHERE COALESCE(fk_elementdet, 0) = 0'1
  • /htdocs/install/repair.php
'SELECT line.rowid, line.qty FROM ' . MAIN_DB_PREFIX . 'commande_fournisseurdet AS line'1
  • /htdocs/install/repair.php
'UPDATE ' . MAIN_DB_PREFIX . 'receptiondet_batch'1
  • /htdocs/install/repair.php
'INSERT INTO ' . MAIN_DB_PREFIX . 'receptiondet_batch'1
  • /htdocs/install/repair.php
"SELECT * FROM " . MAIN_DB_PREFIX . "commande_fournisseur"1
  • /htdocs/install/repair.php
"UPDATE " . MAIN_DB_PREFIX . "commande_fournisseur cf SET cf.ref = '" . $db->escape($newRef) . "' WHERE cf.rowid = " . (int) $supplierOrder->id1
  • /htdocs/install/repair.php
"SELECT f.rowid, SUM(fd.total_ht) as total_ht"1
  • /htdocs/install/repair.php
" UPDATE " . MAIN_DB_PREFIX . "facture SET total_ht = " . ($obj_calcul->total_ht ? price2num($obj_calcul->total_ht, 'MT') : 0) . ", total_tva = " . ($obj_calcul->total_tva ? price2num($obj_calcul->total_tva, 'MT') : 0) . ", localtax1 = " . ($obj_calcul->localtax1 ? price2num($obj_calcul->localtax1, 'MT') : 0) . ", localtax2 = " . ($obj_calcul->localtax2 ? price2num($obj_calcul->localtax2, 'MT') : 0) . ", total_ttc = " . ($obj_calcul->total_ttc ? price2num($obj_calcul->total_ttc, 'MT') : 0) . " WHERE rowid = $obj->rowid"1
  • /htdocs/install/repair.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . $table1
  • /htdocs/install/lib/repair.lib.php
"SELECT rowid, fk_source, fk_target FROM " . MAIN_DB_PREFIX . "element_element"1
  • /htdocs/install/lib/repair.lib.php
'DELETE FROM ' . MAIN_DB_PREFIX . 'element_element'1
  • /htdocs/install/lib/repair.lib.php
"SELECT rowid, label FROM " . MAIN_DB_PREFIX . "ecm_directories"1
  • /htdocs/install/lib/repair.lib.php
"UPDATE " . MAIN_DB_PREFIX . "ecm_directories set label = '" . $db->escape($newlabel) . "' WHERE rowid = " . ((int) $id)1
  • /htdocs/install/lib/repair.lib.php
"SELECT s.rowid as socRowid, s.nom as ref, s.ref_ext, s.address, s.zip, s.town, c.label as country, s.phone, s.fax, s.url, extra.*"1
  • /htdocs/webservices/server_thirdparty.php
'SELECT f.rowid as facid, ref as ref, ref_ext, type, fk_statut as status, total_ttc, total, tva'1
  • /htdocs/webservices/server_invoice.php
'SELECT c.rowid as orderid'1
  • /htdocs/webservices/server_order.php
"SELECT g.rowid, g.nom as name, g.entity, g.datec, COUNT(DISTINCT ugu.fk_user) as nb"1
  • /htdocs/webservices/server_user.php
"SELECT s.rowid as socid FROM " . MAIN_DB_PREFIX . "societe as s"1
  • /htdocs/webservices/server_user.php
"SELECT c.rowid, c.fk_soc, c.civility as civility_id, c.lastname, c.firstname, c.statut as status,"1
  • /htdocs/webservices/server_contact.php
"SELECT fk_" . $field . " FROM " . MAIN_DB_PREFIX . "categorie_" . $table1
  • /htdocs/webservices/server_productorservice.php
"SELECT MIN(price) AS min_price, quantity AS qty FROM " . MAIN_DB_PREFIX . "product_fournisseur_price"1
  • /htdocs/bom/tpl/objectline_view.tpl.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'bom/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/bom/class/bom.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'bom/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/bom/class/bom.class.php
'SELECT l.fk_bom, b.label FROM ' . MAIN_DB_PREFIX . 'bom_bomline l INNER JOIN ' . MAIN_DB_PREFIX . $this->table_element . ' b ON b.rowid = l.fk_bom WHERE fk_bom_child = ' . ((int) $bom_id)1
  • /htdocs/bom/class/bom.class.php
"UPDATE " . MAIN_DB_PREFIX . "projet_task SET fk_task_parent = 0 WHERE fk_task_parent = " . ((int) $objecttmp->id)1
  • /htdocs/core/actions_massactions.inc.php
"SELECT te.rowid, te." . $attributekey1
  • /htdocs/core/actions_extrafields.inc.php
"UPDATE " . MAIN_DB_PREFIX . $arrayofelement['table_element'] . '_extrafields'1
  • /htdocs/core/actions_extrafields.inc.php
'SELECT rowid, email_from FROM ' . MAIN_DB_PREFIX . 'c_email_templates'1
  • /htdocs/core/actions_sendmails.inc.php
"SELECT name, label, type, param, fieldcomputed, fielddefault FROM " . MAIN_DB_PREFIX . "extrafields"1
  • /htdocs/core/extrafieldsinexport.inc.php
"SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM " . MAIN_DB_PREFIX . "extrafields"1
  • /htdocs/core/extrafieldsinimport.inc.php
"SELECT DISTINCT " . $fieldtocount . " as val"1
  • /htdocs/core/customreports.php
"DELETE FROM " . MAIN_DB_PREFIX . "societe_account"1
  • /htdocs/core/triggers/interface_80_modStripe_Stripe.class.php
'SELECT rowid, url FROM ' . MAIN_DB_PREFIX . 'zapier_hook'1
  • /htdocs/core/triggers/interface_95_modZapier_ZapierTriggers.class.php
"SELECT rowid, code, contexts, label, description, elementtype"1
  • /htdocs/core/triggers/interface_50_modNotification_Notification.class.php
"SELECT COUNT(*) AS found"1
  • /htdocs/core/tpl/objectline_view.tpl.php
"SELECT rowid, label, email, signature FROM " . $db->prefix( ) . "c_email_senderprofile"1
  • /htdocs/core/tpl/card_presend.tpl.php
'SELECT ' . implode(",", $tbsumfields)1
  • /htdocs/core/tpl/list_print_total.tpl.php
'SELECT ' . implode(",", $tbsumfields) . ' FROM '1
  • /htdocs/core/tpl/list_print_total.tpl.php
"SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount"1
  • /htdocs/core/class/commoninvoice.class.php
"SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code" . $field3 . $field41
  • /htdocs/core/class/commoninvoice.class.php
" SELECT COUNT(ab.rowid) as nb FROM " . $this->db->prefix( ) . "accounting_bookkeeping as ab WHERE ab.doc_type='" . $this->db->escape($type) . "' AND ab.fk_doc = " . ((int) $this->id)1
  • /htdocs/core/class/commoninvoice.class.php
"SELECT c.type_cdr, c.nbjour, c.decalage"1
  • /htdocs/core/class/commoninvoice.class.php
"SELECT rowid, date_demande, amount, fk_facture, fk_facture_fourn, fk_salary, fk_prelevement_bons"1
  • /htdocs/core/class/commoninvoice.class.php
"INSERT INTO " . $this->db->prefix( ) . "c_departements("1
  • /htdocs/core/class/cstate.class.php
"UPDATE " . $this->db->prefix( ) . "c_departements SET"1
  • /htdocs/core/class/cstate.class.php
"DELETE FROM " . $this->db->prefix( ) . "c_departements"1
  • /htdocs/core/class/cstate.class.php
"SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec"1
  • /htdocs/core/class/html.form.class.php
"SELECT rowid, code"1
  • /htdocs/core/class/html.form.class.php
"SELECT c.code, c.label"1
  • /htdocs/core/class/html.form.class.php
"SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur"1
  • /htdocs/core/class/html.form.class.php
"SELECT sp.rowid, sp.lastname, sp.statut, sp.firstname, sp.poste, sp.email, sp.phone, sp.phone_perso, sp.phone_mobile, sp.town AS contact_town"1
  • /htdocs/core/class/html.form.class.php
"SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.gender, u.photo"1
  • /htdocs/core/class/html.form.class.php
'SELECT b.rowid, b.ref, b.label, b.fk_product'1
  • /htdocs/core/class/html.form.class.php
"SELECT rowid, quantity, price, unitprice, remise_percent, remise, price_base_type"1
  • /htdocs/core/class/html.form.class.php
"SELECT price, price_ttc, price_base_type, tva_tx, default_vat_code"1
  • /htdocs/core/class/html.form.class.php
"SELECT p.rowid, p.ref, p.label, p.price, p.duration, p.fk_product_type, p.stock, p.tva_tx as tva_tx_sale, p.default_vat_code as default_vat_code_sale,"1
  • /htdocs/core/class/html.form.class.php
"SELECT p.rowid, p.ref, p.label, p.price, p.duration, pfp.fk_soc,"1
  • /htdocs/core/class/html.form.class.php
"SELECT rowid, code, libelle as label, deposit_percent"1
  • /htdocs/core/class/html.form.class.php
"SELECT rowid, code, label, position"1
  • /htdocs/core/class/html.form.class.php
"SELECT id, code, libelle as label, type, active"1
  • /htdocs/core/class/html.form.class.php
"SELECT rowid, ref, situation_cycle_ref, situation_counter, situation_final, fk_soc"1
  • /htdocs/core/class/html.form.class.php
"SELECT rowid, label, code FROM " . $this->db->prefix( ) . "c_units"1
  • /htdocs/core/class/html.form.class.php
"SELECT rowid, label, bank, clos as status, currency_code"1
  • /htdocs/core/class/html.form.class.php
"SELECT rowid, name, fk_country, status, entity"1
  • /htdocs/core/class/html.form.class.php
"SELECT code FROM " . $this->db->prefix( ) . "multicurrency"1
  • /htdocs/core/class/html.form.class.php
"SELECT t.rowid, t.type_vat, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly"1
  • /htdocs/core/class/html.form.class.php
"SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM " . $this->db->prefix( ) . "societe as s, " . $this->db->prefix( ) . "propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (" . $this->db->sanitize($listofidcompanytoscan) . ') AND t.entity IN (' . getEntity('propal') . ')'1
  • /htdocs/core/class/html.form.class.php
"SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM " . $this->db->prefix( ) . "societe as s, " . $this->db->prefix( ) . "expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (" . $this->db->sanitize($listofidcompanytoscan) . ') AND t.entity IN (' . getEntity('shipping') . ')'1
  • /htdocs/core/class/html.form.class.php
"SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM " . $this->db->prefix( ) . "societe as s, " . $this->db->prefix( ) . "commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (" . $this->db->sanitize($listofidcompanytoscan) . ') AND t.entity IN (' . getEntity('commande') . ')'1
  • /htdocs/core/class/html.form.class.php
"SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM " . $this->db->prefix( ) . "societe as s, " . $this->db->prefix( ) . "facture as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (" . $this->db->sanitize($listofidcompanytoscan) . ') AND t.entity IN (' . getEntity('invoice') . ')'1
  • /htdocs/core/class/html.form.class.php
"SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM " . $this->db->prefix( ) . "societe as s, " . $this->db->prefix( ) . "facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (" . $this->db->sanitize($listofidcompanytoscan) . ') AND t.entity IN (' . getEntity('invoice') . ')'1
  • /htdocs/core/class/html.form.class.php
"SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht FROM " . $this->db->prefix( ) . "societe as s, " . $this->db->prefix( ) . "contrat as t, " . $this->db->prefix( ) . "contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (" . $this->db->sanitize($listofidcompanytoscan) . ') AND t.entity IN (' . getEntity('contract') . ') GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier'1
  • /htdocs/core/class/html.form.class.php
"SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM " . $this->db->prefix( ) . "societe as s, " . $this->db->prefix( ) . "fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (" . $this->db->sanitize($listofidcompanytoscan) . ') AND t.entity IN (' . getEntity('intervention') . ')'1
  • /htdocs/core/class/html.form.class.php
"SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM " . $this->db->prefix( ) . "societe as s, " . $this->db->prefix( ) . "supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (" . $this->db->sanitize($listofidcompanytoscan) . ') AND t.entity IN (' . getEntity('supplier_proposal') . ')'1
  • /htdocs/core/class/html.form.class.php
"SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM " . $this->db->prefix( ) . "societe as s, " . $this->db->prefix( ) . "commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (" . $this->db->sanitize($listofidcompanytoscan) . ') AND t.entity IN (' . getEntity('commande_fournisseur') . ')'1
  • /htdocs/core/class/html.form.class.php
"SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM " . $this->db->prefix( ) . "societe as s, " . $this->db->prefix( ) . "facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (" . $this->db->sanitize($listofidcompanytoscan) . ') AND t.entity IN (' . getEntity('facture_fourn') . ')'1
  • /htdocs/core/class/html.form.class.php
"SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM " . $this->db->prefix( ) . "societe as s, " . $this->db->prefix( ) . "ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (" . $this->db->sanitize($listofidcompanytoscan) . ') AND t.entity IN (' . getEntity('ticket') . ')'1
  • /htdocs/core/class/html.form.class.php
"SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.rowid, '0' as total_ht FROM " . $this->db->prefix( ) . "societe as s INNER JOIN " . $this->db->prefix( ) . "mrp_mo as t ON t.fk_soc = s.rowid WHERE t.fk_soc IN (" . $this->db->sanitize($listofidcompanytoscan) . ') AND t.entity IN (' . getEntity('mo') . ')'1
  • /htdocs/core/class/html.form.class.php
"SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.rowid, '0' as total_ht FROM " . $this->db->prefix( ) . "societe as s INNER JOIN " . $this->db->prefix( ) . 'mrp_mo as t ON t.fk_soc = s.rowid WHERE t.entity IN (' . getEntity('mo') . ')'1
  • /htdocs/core/class/html.form.class.php
"SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM " . $this->db->prefix( ) . "societe as s, " . $this->db->prefix( ) . 'commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.entity IN (' . getEntity('commande_fournisseur') . ')'1
  • /htdocs/core/class/html.form.class.php
"SELECT ug.rowid, ug.nom as name"1
  • /htdocs/core/class/html.form.class.php
"SELECT rowid, label FROM " . $this->db->prefix( ) . "c_exp_tax_cat WHERE active = 1"1
  • /htdocs/core/class/html.form.class.php
"SELECT c.id FROM " . $this->db->prefix( ) . "c_type_fees as c WHERE c.code = 'EX_KME' AND c.active = 1"1
  • /htdocs/core/class/html.form.class.php
"SELECT rowid, range_ik FROM " . $this->db->prefix( ) . "c_exp_tax_range"1
  • /htdocs/core/class/html.form.class.php
"SELECT f.rowid, f.ref as fref, 'nolabel' as flabel, p.rowid as pid, f.ref, p.title, p.fk_soc, p.fk_statut, p.public,"1
  • /htdocs/core/class/html.form.class.php
'SELECT f.rowid, f.entity, f.titre as title, f.suspended, f.fk_soc'1
  • /htdocs/core/class/html.form.class.php
"SELECT cp.fk_categorie as cat_index, cat.label"1
  • /htdocs/core/class/html.formcategory.class.php
"SELECT e.rowid, e.code, e.label, e.price, e.organization,"1
  • /htdocs/core/class/html.formother.class.php
"SELECT r.taux, r.revenuestamp_type"1
  • /htdocs/core/class/html.formother.class.php
"SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin"1
  • /htdocs/core/class/html.formother.class.php
"SELECT u2.rowid, u2.lastname, u2.firstname, u2.statut as status, u2.login, u2.photo, u2.gender, u2.entity, u2.admin"1
  • /htdocs/core/class/html.formother.class.php
"SELECT rowid, " . $keyfield . ", " . $labelfield1
  • /htdocs/core/class/html.formother.class.php
"SELECT b.rowid, b.position, b.box_order, b.fk_user,"1
  • /htdocs/core/class/infobox.class.php
"SELECT d.rowid as box_id, d.file, d.note, d.tms"1
  • /htdocs/core/class/infobox.class.php
"DELETE FROM " . $dbs->prefix( ) . "boxes"1
  • /htdocs/core/class/infobox.class.php
"INSERT INTO " . $dbs->prefix( ) . "boxes"1
  • /htdocs/core/class/infobox.class.php
"INSERT INTO " . $this->db->prefix( ) . "c_units("1
  • /htdocs/core/class/cunits.class.php
"UPDATE " . $this->db->prefix( ) . "c_units SET"1
  • /htdocs/core/class/cunits.class.php
"DELETE FROM " . $this->db->prefix( ) . "c_units"1
  • /htdocs/core/class/cunits.class.php
"SELECT scale, unit_type FROM " . $this->db->prefix( ) . "c_units WHERE rowid = " . ((int) $id)1
  • /htdocs/core/class/cunits.class.php
"SELECT rowid, name, template"1
  • /htdocs/core/class/dolreceiptprinter.class.php
"INSERT INTO " . $this->db->prefix( ) . "printer_receipt"1
  • /htdocs/core/class/dolreceiptprinter.class.php
"UPDATE " . $this->db->prefix( ) . "printer_receipt"1
  • /htdocs/core/class/dolreceiptprinter.class.php
'DELETE FROM ' . $this->db->prefix( ) . 'printer_receipt'1
  • /htdocs/core/class/dolreceiptprinter.class.php
"INSERT INTO " . $this->db->prefix( ) . "printer_receipt_template"1
  • /htdocs/core/class/dolreceiptprinter.class.php
'DELETE FROM ' . $this->db->prefix( ) . 'printer_receipt_template'1
  • /htdocs/core/class/dolreceiptprinter.class.php
"UPDATE " . $this->db->prefix( ) . "printer_receipt_template"1
  • /htdocs/core/class/dolreceiptprinter.class.php
"SELECT p.pos_change as pos_change, p.datep as date, p.fk_paiement, p.num_paiement as num, pf.amount as amount, pf.multicurrency_amount,"1
  • /htdocs/core/class/dolreceiptprinter.class.php
"SELECT floor, label FROM " . $this->db->prefix( ) . "takepos_floor_tables where rowid=" . ((int) str_replace(")", "", str_replace("(PROV-POS" . $_SESSION["takeposterminal"] . "-", "", $object->ref)))1
  • /htdocs/core/class/dolreceiptprinter.class.php
"SELECT template"1
  • /htdocs/core/class/dolreceiptprinter.class.php
"SELECT p.rowid, p.ref, p.title, p.fk_soc, p.fk_statut, p.public, s.nom as name, s.name_alias"1
  • /htdocs/core/class/html.formprojet.class.php
"SELECT t.rowid, t.ref as tref, t.label as tlabel, t.progress,"1
  • /htdocs/core/class/html.formprojet.class.php
"SELECT t.rowid, t.ref as ref"1
  • /htdocs/core/class/html.formprojet.class.php
"SELECT t.rowid, t.titre as ref"1
  • /htdocs/core/class/html.formprojet.class.php
"SELECT t.id as rowid, t.label as ref"1
  • /htdocs/core/class/html.formprojet.class.php
"SELECT rowid, code, label, percent"1
  • /htdocs/core/class/html.formprojet.class.php
"SELECT f.rowid, f.ref as fref,"1
  • /htdocs/core/class/html.formprojet.class.php
"SELECT fd.rowid, fd.label, fd.description"1
  • /htdocs/core/class/html.formprojet.class.php
"SELECT " . $db->decrypt('name') . " as name,"1
  • /htdocs/core/class/conf.class.php
"SELECT r.rowid, r.code_region as code, r.nom as label, r.active, c.code as country_code, c.label as country"1
  • /htdocs/core/class/html.formcompany.class.php
"SELECT rowid, code, label, active FROM " . $this->db->prefix( ) . "c_civility"1
  • /htdocs/core/class/html.formcompany.class.php
"SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code"1
  • /htdocs/core/class/html.formcompany.class.php
"SELECT s.rowid, s.nom as name "1
  • /htdocs/core/class/html.formcompany.class.php
"INSERT INTO " . $this->db->prefix( ) . $this->table_element . "("1
  • /htdocs/core/class/cproductnature.class.php
"SELECT " . $col . " FROM " . $this->db->prefix( ) . $table . " WHERE " . $col . " = '" . $this->db->escape($val) . "' LIMIT 1"1
  • /htdocs/core/class/validate.class.php
"SELECT c.rowid, c.ref, c.fk_soc, c.statut,"1
  • /htdocs/core/class/html.formcontract.class.php
"SELECT transkey, transvalue FROM " . $db->prefix( ) . "overwrite_trans where (lang='" . $db->escape($this->defaultlang) . "' OR lang IS NULL)"1
  • /htdocs/core/class/translate.class.php
'SELECT f.rowid as rowid, f.code, f.pos, f.label, f.active, f.use_default, f.public, f.fk_parent, f.entity FROM ' . $this->db->prefix( ) . 'c_ticket_category as f WHERE f.entity IN (' . getEntity('c_ticket_category') . ')'1
  • /htdocs/core/modules/modTicket.class.php
"SELECT " . $fieldlabel . " as label"1
  • /htdocs/core/class/translate.class.php
"SELECT code_iso, label, unicode"1
  • /htdocs/core/class/translate.class.php
'SHOW FULL TABLES WHERE Table_type = \'BASE TABLE\''1
  • /htdocs/core/class/utils.class.php
'SHOW CREATE TABLE ' . $table1
  • /htdocs/core/class/utils.class.php
"SELECT * FROM " . $table1
  • /htdocs/core/class/utils.class.php
"INSERT " . $delayed . $ignore . "INTO " . $table . " VALUES ("1
  • /htdocs/core/class/utils.class.php
"INSERT INTO " . $this->db->prefix( ) . "c_typent("1
  • /htdocs/core/class/ctypent.class.php
"UPDATE " . $this->db->prefix( ) . "c_typent SET"1
  • /htdocs/core/class/ctypent.class.php
"DELETE FROM " . $this->db->prefix( ) . "c_typent"1
  • /htdocs/core/class/ctypent.class.php
"SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help,"1
  • /htdocs/core/class/extrafields.class.php
"SELECT tc.rowid"1
  • /htdocs/core/class/commonobject.class.php
"INSERT INTO " . $this->db->prefix( ) . "element_contact"1
  • /htdocs/core/class/commonobject.class.php
"UPDATE " . $this->db->prefix( ) . "element_contact set"1
  • /htdocs/core/class/commonobject.class.php
"DELETE FROM " . $this->db->prefix( ) . "element_contact"1
  • /htdocs/core/class/commonobject.class.php
"SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact"1
  • /htdocs/core/class/commonobject.class.php
"SELECT ec.datecreate, ec.statut, ec.fk_socpeople, ec.fk_c_type_contact,"1
  • /htdocs/core/class/commonobject.class.php
"SELECT DISTINCT tc.rowid, tc.code, tc.libelle as type_label, tc.position"1
  • /htdocs/core/class/commonobject.class.php
"SELECT DISTINCT tc.rowid, tc.code, tc.libelle as type_label, tc.position, tc.element"1
  • /htdocs/core/class/commonobject.class.php
"SELECT ec.fk_socpeople"1
  • /htdocs/core/class/commonobject.class.php
"SELECT rowid, code, libelle as label, coder"1
  • /htdocs/core/class/commonobject.class.php
"SELECT rowid FROM " . $this->db->prefix( ) . $table1
  • /htdocs/core/class/commonobject.class.php
"SELECT " . $field . " FROM " . $this->db->prefix( ) . $table1
  • /htdocs/core/class/commonobject.class.php
"SELECT " . $field1
  • /htdocs/core/class/commonobject.class.php
"UPDATE " . $this->db->prefix( ) . $table . " SET "1
  • /htdocs/core/class/commonobject.class.php
"SELECT MAX(te." . $fieldid . ")"1
  • /htdocs/core/class/commonobject.class.php
"SELECT MIN(te." . $fieldid . ")"1
  • /htdocs/core/class/commonobject.class.php
"UPDATE " . $this->db->prefix( ) . $this->table_element . " SET " . $fieldname . " = " . ((int) $id)1
  • /htdocs/core/class/commonobject.class.php
"SELECT count(rowid) FROM " . $this->db->prefix( ) . $this->table_element_line1
  • /htdocs/core/class/commonobject.class.php
"UPDATE " . $this->db->prefix( ) . $this->table_element_line . " SET " . $fieldposition . " = " . ((int) ($rang - 1))1
  • /htdocs/core/class/commonobject.class.php
"UPDATE " . $this->db->prefix( ) . $this->table_element_line . " SET " . $fieldposition . " = " . ((int) ($rang + 1))1
  • /htdocs/core/class/commonobject.class.php
"SELECT " . $fieldposition . " FROM " . $this->db->prefix( ) . $this->table_element_line1
  • /htdocs/core/class/commonobject.class.php
"SELECT rowid, qty, " . $fieldup . " as up, remise_percent, total_ht, " . $fieldtva . " as total_tva, total_ttc, " . $fieldlocaltax1 . " as total_localtax1, " . $fieldlocaltax2 . " as total_localtax2,"1
  • /htdocs/core/class/commonobject.class.php
"UPDATE " . $this->db->prefix( ) . $this->table_element_line . " SET " . $fieldtva . " = " . price2num($obj->total_tva - (float) $diff) . ", total_ttc = " . price2num($obj->total_ttc - (float) $diff) . " WHERE rowid = " . ((int) $obj->rowid)1
  • /htdocs/core/class/commonobject.class.php
"INSERT INTO " . $this->db->prefix( ) . "element_element ("1
  • /htdocs/core/class/commonobject.class.php
"SELECT rowid, fk_source, sourcetype, fk_target, targettype"1
  • /htdocs/core/class/commonobject.class.php
"UPDATE " . $this->db->prefix( ) . "element_element SET "1
  • /htdocs/core/class/commonobject.class.php
"DELETE FROM " . $this->db->prefix( ) . "element_element"1
  • /htdocs/core/class/commonobject.class.php
"SELECT " . $field_select . " FROM " . $db->prefix( ) . $table_element . " WHERE " . $field_where . " = " . ((int) $fk_object_where)1
  • /htdocs/core/class/commonobject.class.php
"SELECT COUNT(*) as nb FROM " . $db->prefix( ) . $table_element . " WHERE " . $field_where . " = " . ((int) $fk_object_where)1
  • /htdocs/core/class/commonobject.class.php
"DELETE FROM " . $db->prefix( ) . $table_element . " WHERE " . $field_where . " = " . ((int) $fk_object_where)1
  • /htdocs/core/class/commonobject.class.php
"UPDATE " . $this->db->prefix( ) . $elementTable1
  • /htdocs/core/class/commonobject.class.php
"SELECT rowid, canvas"1
  • /htdocs/core/class/commonobject.class.php
"SELECT special_code FROM " . $this->db->prefix( ) . $this->table_element_line1
  • /htdocs/core/class/commonobject.class.php
"SELECT subprice as pu_ht, qty, remise_percent, total_ht"1
  • /htdocs/core/class/commonobject.class.php
"INSERT INTO " . $this->db->prefix( ) . "element_resources ("1
  • /htdocs/core/class/commonobject.class.php
"DELETE FROM " . $this->db->prefix( ) . "element_resources"1
  • /htdocs/core/class/commonobject.class.php
"UPDATE " . $this->db->prefix( ) . $this->table_element . " SET last_main_doc = '" . $this->db->escape($ecmfile->filepath . "/" . $ecmfile->filename) . "'"1
  • /htdocs/core/class/commonobject.class.php
"SELECT rowid, property, lang , value"1
  • /htdocs/core/class/commonobject.class.php
"INSERT INTO " . $this->db->prefix( ) . $table_element . "_extrafields (fk_object"1
  • /htdocs/core/class/commonobject.class.php
"DELETE FROM " . $this->db->prefix( ) . "object_lang"1
  • /htdocs/core/class/commonobject.class.php
"INSERT INTO " . $this->db->prefix( ) . "object_lang (fk_object, property, type_object, lang, value"1
  • /htdocs/core/class/commonobject.class.php
"SELECT COUNT(rowid) as nb FROM " . $this->db->prefix( ) . $this->table_element . "_extrafields WHERE fk_object = " . ((int) $this->id)1
  • /htdocs/core/class/commonobject.class.php
"UPDATE " . $this->db->prefix( ) . $this->table_element . "_extrafields SET " . $key . " = null"1
  • /htdocs/core/class/commonobject.class.php
"UPDATE " . $this->db->prefix( ) . $this->table_element . "_extrafields SET " . $key . " = '" . $this->db->escape($new_array_options["options_" . $key]) . "'"1
  • /htdocs/core/class/commonobject.class.php
'UPDATE ' . $dbs->prefix( ) . $table . ' SET fk_soc = ' . ((int) $dest_id) . ' WHERE fk_soc = ' . ((int) $origin_id)1
  • /htdocs/core/class/commonobject.class.php
'UPDATE ' . MAIN_DB_PREFIX . $table . ' SET fk_product = ' . ((int) $dest_id) . ' WHERE fk_product = ' . ((int) $origin_id)1
  • /htdocs/core/class/commonobject.class.php
"INSERT INTO " . $this->db->prefix( ) . $this->table_element1
  • /htdocs/core/class/commonobject.class.php
"UPDATE " . $this->db->prefix( ) . $this->table_element . " SET ref = '(PROV" . ((int) $this->id) . ")' WHERE (ref = '(PROV)' OR ref = '') AND rowid = " . ((int) $this->id)1
  • /htdocs/core/class/commonobject.class.php
"SELECT " . $fieldlist1
  • /htdocs/core/class/commonobject.class.php
'UPDATE ' . $this->db->prefix( ) . $this->table_element . ' SET ' . implode(', ', $tmp) . ' WHERE rowid=' . ((int) $this->id)1
  • /htdocs/core/class/commonobject.class.php
"DELETE FROM " . $this->db->prefix( ) . $table . " WHERE " . $this->fk_element . " = " . ((int) $this->id)1
  • /htdocs/core/class/commonobject.class.php
"DELETE FROM " . $this->db->prefix( ) . $tabletodelete . " WHERE " . $this->fk_element . " = " . ((int) $this->id)1
  • /htdocs/core/class/commonobject.class.php
'DELETE FROM ' . $this->db->prefix( ) . $this->table_element . ' WHERE rowid=' . ((int) $this->id)1
  • /htdocs/core/class/commonobject.class.php
"DELETE FROM " . $this->db->prefix( ) . $this->table_element_line1
  • /htdocs/core/class/commonobject.class.php
"INSERT INTO " . $this->db->prefix( ) . "categorie_" . (empty($categorystatic->MAP_CAT_TABLE[$type]) ? $type : $categorystatic->MAP_CAT_TABLE[$type]) . " (fk_categorie, fk_product)"1
  • /htdocs/core/class/commonobject.class.php
" SELECT fk_categorie, $toId FROM " . $this->db->prefix( ) . "categorie_" . (empty($categorystatic->MAP_CAT_TABLE[$type]) ? $type : $categorystatic->MAP_CAT_TABLE[$type])1
  • /htdocs/core/class/commonobject.class.php
"DELETE FROM " . $this->db->prefix( ) . "ecm_files_extrafields WHERE fk_object IN ("1
  • /htdocs/core/class/commonobject.class.php
" SELECT rowid FROM " . $this->db->prefix( ) . "ecm_files WHERE filename LIKE '" . $this->db->escape($this->ref) . "%'"1
  • /htdocs/core/class/commonobject.class.php
"DELETE FROM " . $this->db->prefix( ) . "ecm_files"1
  • /htdocs/core/class/commonobject.class.php
'DELETE FROM ' . $this->db->prefix( ) . "ecm_files_extrafields"1
  • /htdocs/core/class/commonobject.class.php
'DELETE FROM ' . $this->db->prefix( ) . "ecm_files"1
  • /htdocs/core/class/commonobject.class.php
"INSERT INTO " . $this->db->prefix( ) . "c_country("1
  • /htdocs/core/class/ccountry.class.php
"UPDATE " . $this->db->prefix( ) . "c_country SET"1
  • /htdocs/core/class/ccountry.class.php
"DELETE FROM " . $this->db->prefix( ) . "c_country"1
  • /htdocs/core/class/ccountry.class.php
"SELECT ctc.rowid, ctc.fk_parent, ctc.code"1
  • /htdocs/core/class/html.formticket.class.php
"SELECT ctc.rowid, ctc.fk_parent, ctc.code FROM " . $this->db->prefix( ) . "c_ticket_category as ctc WHERE ctc.rowid ='" . $this->db->escape($obj->fk_parent) . "'"1
  • /htdocs/core/class/html.formticket.class.php
"SELECT ctc.rowid, ctc.code, ctc.label, ctc.fk_parent, ctc.public, "1
  • /htdocs/core/class/html.formticket.class.php
"SELECT ctc.rowid, ctc.code, ctc.label, ctc.fk_parent, ctc.public, ctcjoin.code as codefather"1
  • /htdocs/core/class/html.formticket.class.php
"INSERT INTO " . $this->db->prefix( ) . "c_regions("1
  • /htdocs/core/class/cregion.class.php
"UPDATE " . $this->db->prefix( ) . "c_regions SET"1
  • /htdocs/core/class/cregion.class.php
"DELETE FROM " . $this->db->prefix( ) . "c_regions"1
  • /htdocs/core/class/cregion.class.php
"SELECT rowid, date_creation as datec, tms as datem"1
  • /htdocs/core/class/emailsenderprofile.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "notify_def (fk_soc, fk_action, fk_contact, type, datec)"1
  • /htdocs/core/class/notify.class.php
"SELECT rowid, fk_action as event, fk_soc as socid, fk_contact as contact_id, type, datec, tms as datem"1
  • /htdocs/core/class/notify.class.php
"UPDATE " . MAIN_DB_PREFIX . "notify_def SET"1
  • /htdocs/core/class/notify.class.php
"SELECT 'tocontactid' as type_target, c.email, c.rowid as cid, c.lastname, c.firstname, c.default_lang,"1
  • /htdocs/core/class/notify.class.php
"SELECT 'touserid' as type_target, c.email, c.rowid as cid, c.lastname, c.firstname, c.lang as default_lang,"1
  • /htdocs/core/class/notify.class.php
"INSERT INTO " . $this->db->prefix( ) . "notify (daten, fk_action, fk_soc, fk_user, type, objet_type, type_target, objet_id, email)"1
  • /htdocs/core/class/notify.class.php
"INSERT INTO " . $this->db->prefix( ) . "notify (daten, fk_action, fk_soc, fk_contact, type, objet_type, type_target, objet_id, email)"1
  • /htdocs/core/class/notify.class.php
"INSERT INTO " . $this->db->prefix( ) . "notify (daten, fk_action, fk_soc, fk_contact, type, type_target, objet_type, objet_id, email)"1
  • /htdocs/core/class/notify.class.php
"SELECT sr.rowid, sr.fk_soc, sr.discount_type,"1
  • /htdocs/core/class/discount.class.php
"INSERT INTO " . $this->db->prefix( ) . "societe_remise_except"1
  • /htdocs/core/class/discount.class.php
"DELETE FROM " . $this->db->prefix( ) . "societe_remise_except "1
  • /htdocs/core/class/discount.class.php
"UPDATE " . $this->db->prefix( ) . "facture"1
  • /htdocs/core/class/discount.class.php
"UPDATE " . $this->db->prefix( ) . "facture_fourn"1
  • /htdocs/core/class/discount.class.php
"SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount"1
  • /htdocs/core/class/discount.class.php
"SELECT MAX(rowid) as maxrowid FROM " . $this->db->prefix( ) . "menu"1
  • /htdocs/core/class/menubase.class.php
"SELECT setval('" . $this->db->prefix( ) . "menu_rowid_seq', " . ($maxrowid) . ")"1
  • /htdocs/core/class/menubase.class.php
"INSERT INTO " . $this->db->prefix( ) . "menu("1
  • /htdocs/core/class/menubase.class.php
"UPDATE " . $this->db->prefix( ) . "menu SET"1
  • /htdocs/core/class/menubase.class.php
"DELETE FROM " . $this->db->prefix( ) . "menu"1
  • /htdocs/core/class/menubase.class.php
"SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre,"1
  • /htdocs/core/class/menubase.class.php
"INSERT INTO " . $this->db->prefix( ) . "links (entity, datea, url, label, objecttype, objectid)"1
  • /htdocs/core/class/link.class.php
"UPDATE " . $this->db->prefix( ) . "links SET "1
  • /htdocs/core/class/link.class.php
"SELECT COUNT(rowid) as nb FROM " . $dbs->prefix( ) . "links"1
  • /htdocs/core/class/link.class.php
"DELETE FROM " . $this->db->prefix( ) . "links"1
  • /htdocs/core/class/link.class.php
"INSERT INTO " . $this->db->prefix( ) . "accounting_fiscalyear ("1
  • /htdocs/core/class/fiscalyear.class.php
"UPDATE " . $this->db->prefix( ) . "accounting_fiscalyear"1
  • /htdocs/core/class/fiscalyear.class.php
"SELECT rowid, label, date_start, date_end, statut as status"1
  • /htdocs/core/class/fiscalyear.class.php
"DELETE FROM " . $this->db->prefix( ) . "accounting_fiscalyear"1
  • /htdocs/core/class/fiscalyear.class.php
"SELECT fy.rowid, fy.datec, fy.fk_user_author, fy.fk_user_modif,"1
  • /htdocs/core/class/fiscalyear.class.php
"SELECT count(DISTINCT piece_num) as nb"1
  • /htdocs/core/class/fiscalyear.class.php
"SELECT rowid, code, label, entity, position, typecontainer"1
  • /htdocs/core/class/html.formwebsite.class.php
"SELECT rowid, label, email FROM " . $this->db->prefix( ) . "c_email_senderprofile"1
  • /htdocs/core/class/html.formmail.class.php
"SELECT rowid, module, label, type_template, topic, email_from, joinfiles, content, content_lines, lang, email_from, email_to, email_tocc, email_tobcc"1
  • /htdocs/core/class/html.formmail.class.php
"SELECT label, topic, content, lang"1
  • /htdocs/core/class/html.formmail.class.php
"SELECT rowid, module, label, topic, content, content_lines, lang, fk_user, private, position"1
  • /htdocs/core/class/html.formmail.class.php
"SELECT " . $columns . " FROM " . $this->db->prefix( ) . "product_fournisseur_price_extrafields AS ex INNER JOIN " . $this->db->prefix( ) . "product_fournisseur_price AS f ON ex.fk_object = f.rowid WHERE f.ref_fourn = '" . $this->db->escape($line->ref_supplier) . "'"1
  • /htdocs/core/class/commondocgenerator.class.php
"SELECT c.id, c.code, c.label as type FROM " . $this->db->prefix( ) . "c_type_fees as c"1
  • /htdocs/core/class/html.formexpensereport.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'timespent/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/core/class/timespent.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'timespent/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/core/class/timespent.class.php
"SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut"1
  • /htdocs/core/class/html.formintervention.class.php
"SELECT libelle as label_incoterms FROM " . $this->db->prefix( ) . "c_incoterms WHERE rowid = " . (int) $this->fk_incoterms1
  • /htdocs/core/class/commonincoterm.class.php
"SELECT DISTINCT import_key FROM " . $this->db->prefix( ) . "accounting_bookkeeping"1
  • /htdocs/core/class/html.formaccounting.class.php
"SELECT DISTINCT aa.account_number, aa.label, aa.labelshort, aa.rowid, aa.fk_pcg_version"1
  • /htdocs/core/class/html.formaccounting.class.php
"SELECT code_compta, code_compta_fournisseur, nom as name"1
  • /htdocs/core/class/html.formaccounting.class.php
"SELECT DISTINCT accountancy_code, lastname, firstname "1
  • /htdocs/core/class/html.formaccounting.class.php
"SELECT DISTINCT date_format(doc_date, '%Y') as dtyear"1
  • /htdocs/core/class/html.formaccounting.class.php
"INSERT INTO " . $this->db->prefix( ) . "events("1
  • /htdocs/core/class/events.class.php
"UPDATE " . $this->db->prefix( ) . "events SET"1
  • /htdocs/core/class/events.class.php
"DELETE FROM " . $this->db->prefix( ) . "events"1
  • /htdocs/core/class/events.class.php
"SELECT id, code, label, active FROM " . $this->db->prefix( ) . "c_propalst"1
  • /htdocs/core/class/html.formpropal.class.php
"SELECT code, label, width, height, unit"1
  • /htdocs/core/class/html.formadmin.class.php
"SELECT DISTINCT f.rowid, f.ref"1
  • /htdocs/core/lib/invoice2.lib.php
"SELECT COUNT(ac.id) as nb"1
  • /htdocs/core/lib/usergroups.lib.php
"SELECT COUNT(DISTINCT(b.num_releve)) as nb"1
  • /htdocs/core/lib/bank.lib.php
"SELECT COUNT(s.rowid) as nb"1
  • /htdocs/core/lib/security.lib.php
"SELECT COUNT(dbt." . $dbt_keyfield . ") as nb"1
  • /htdocs/core/lib/security.lib.php
"SELECT f.rowid, f.ref, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.ref_client"1
  • /htdocs/core/lib/invoice.lib.php
"SELECT f.ref, f.rowid, f.total_ht, f.total_tva, f.total_ttc, f.type, f.ref_supplier, f.fk_statut as status, f.paye"1
  • /htdocs/core/lib/invoice.lib.php
"SELECT f.rowid, f.entity, f.ref, f.fk_statut as status, f.paye, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datec,"1
  • /htdocs/core/lib/invoice.lib.php
"SELECT f.rowid, f.entity, f.ref, f.fk_statut as status, f.paye, f.total_ht, f.total_tva, f.total_ttc, f.type, f.ref_supplier, f.datec,"1
  • /htdocs/core/lib/invoice.lib.php
"SELECT f.rowid, f.ref, f.fk_statut as status, f.datef, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms"1
  • /htdocs/core/lib/invoice.lib.php
"SELECT ff.rowid, ff.ref, ff.fk_statut as status, ff.type, ff.libelle as label, ff.total_ht, ff.total_tva, ff.total_ttc, ff.paye"1
  • /htdocs/core/lib/invoice.lib.php
"SELECT taux, localtax1, localtax2, localtax1_type, localtax2_type"1
  • /htdocs/core/lib/price.lib.php
'SELECT MAX(rowid) as max from ' . preg_replace('/^llx_/', MAIN_DB_PREFIX, $table)1
  • /htdocs/core/lib/admin.lib.php
"SELECT " . $db->decrypt('value') . " as value"1
  • /htdocs/core/lib/admin.lib.php
"INSERT INTO " . MAIN_DB_PREFIX . "const(name, value, type, visible, note, entity)"1
  • /htdocs/core/lib/admin.lib.php
"SELECT COUNT(r.id) as nb"1
  • /htdocs/core/lib/admin.lib.php
"SELECT count(c.rowid) as nb, c.fk_statut as status"1
  • /htdocs/core/lib/order.lib.php
"SELECT a.id, a.label, a.datep as dp, a.datep2 as dp2, a.fk_user_author, a.percent"1
  • /htdocs/core/lib/agenda.lib.php
"SELECT a.id, a.percent, a.datep as da, a.datep2 as da2, a.fk_user_author, a.label"1
  • /htdocs/core/lib/agenda.lib.php
"SELECT session_id, session_variable FROM " . MAIN_DB_PREFIX . "session"1
  • /htdocs/core/lib/phpsessionindb.lib.php
"INSERT INTO " . MAIN_DB_PREFIX . "session"1
  • /htdocs/core/lib/phpsessionindb.lib.php
"UPDATE " . MAIN_DB_PREFIX . "session"1
  • /htdocs/core/lib/phpsessionindb.lib.php
"UPDATE " . $db->prefix( ) . "website SET "1
  • /htdocs/core/lib/website.lib.php
"SELECT rowid, ref, share, filename, cover, position"1
  • /htdocs/core/lib/website.lib.php
'SELECT wp.rowid FROM ' . MAIN_DB_PREFIX . 'website_page as wp'1
  • /htdocs/core/lib/website.lib.php
"SELECT MAX(" . $sqlstring . ") as val"1
  • /htdocs/core/lib/functions2.lib.php
"SELECT " . $field . " as ref"1
  • /htdocs/core/lib/functions2.lib.php
"SELECT MAX(" . $maskrefclient_sqlstring . ") as val"1
  • /htdocs/core/lib/functions2.lib.php
"DELETE FROM " . MAIN_DB_PREFIX . "user_param"1
  • /htdocs/core/lib/functions2.lib.php
"INSERT INTO " . MAIN_DB_PREFIX . "user_param(fk_user,entity,param,value)"1
  • /htdocs/core/lib/functions2.lib.php
"SELECT nom as id, nom as doc_template_name, libelle as label, description as description"1
  • /htdocs/core/lib/functions2.lib.php
"SELECT rowid, " . $fieldfkparent . " as parent_id FROM " . MAIN_DB_PREFIX . $tabletocleantree1
  • /htdocs/core/lib/functions2.lib.php
"UPDATE " . MAIN_DB_PREFIX . $tabletocleantree . " SET " . $fieldfkparent . " = 0 WHERE " . $fieldfkparent . " = rowid"1
  • /htdocs/core/lib/functions2.lib.php
'Delete ' . $objectname . ' object of ' . ucfirst($module)1
  • /htdocs/core/lib/modulebuilder.lib.php
'SELECT t.rowid as rowid, t.code, t.label, t.active FROM ' . MAIN_DB_PREFIX . strtolower($namedic) . ' as t'1
  • /htdocs/core/lib/modulebuilder.lib.php
"SELECT code, entity, fk_country, dayrule, year, month, day, active"1
  • /htdocs/core/lib/date.lib.php
"SELECT rowid, code, name, paper_size, orientation, metric, leftmargin, topmargin, nx, ny, spacex, spacey, width, height, font_size, custom_x, custom_y, active FROM " . MAIN_DB_PREFIX . "c_format_cards WHERE active=1 ORDER BY code ASC"1
  • /htdocs/core/lib/format_cards.lib.php
"SELECT COUNT(p.rowid) as nb"1
  • /htdocs/core/lib/company.lib.php
"SELECT rowid, code, label FROM " . MAIN_DB_PREFIX . "c_country"1
  • /htdocs/core/lib/company.lib.php
"SELECT d.rowid as id, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.code_region as region_code, r.nom as region_name FROM"1
  • /htdocs/core/lib/company.lib.php
"SELECT label FROM " . MAIN_DB_PREFIX . "c_currencies"1
  • /htdocs/core/lib/company.lib.php
"SELECT libelle as label FROM " . MAIN_DB_PREFIX . "c_forme_juridique"1
  • /htdocs/core/lib/company.lib.php
"SELECT cc.code FROM " . MAIN_DB_PREFIX . "c_country as cc"1
  • /htdocs/core/lib/company.lib.php
"SELECT p.rowid as id, p.entity, p.title, p.ref, p.public, p.dateo as do, p.datee as de, p.fk_statut as status, p.fk_opp_status, p.opp_amount, p.opp_percent, p.tms as date_modification, p.budget_amount"1
  • /htdocs/core/lib/company.lib.php
"SELECT p.rowid as id, p.entity, p.title, p.ref, p.public, p.dateo as do, p.datee as de, p.fk_statut as status, p.fk_opp_status, p.opp_amount, p.opp_percent, p.tms as date_update, p.budget_amount"1
  • /htdocs/core/lib/company.lib.php
"SELECT t.rowid, t.entity, t.lastname, t.firstname, t.fk_pays as country_id, t.civility, t.poste,"1
  • /htdocs/core/lib/company.lib.php
"SELECT s.rowid, s.client, s.fournisseur, s.nom as name, s.name_alias, s.email, s.address, s.zip, s.town, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.canvas"1
  • /htdocs/core/lib/company.lib.php
"SELECT rowid as id, lang, pageurl from " . MAIN_DB_PREFIX . 'website_page where fk_page IN (' . $db->sanitize($objectpage->id . ($translationof ? ", " . $translationof : '')) . ")"1
  • /htdocs/core/lib/website2.lib.php
" SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams,"1
  • /htdocs/core/lib/files.lib.php
'DELETE FROM ' . MAIN_DB_PREFIX . 'ecm_files'1
  • /htdocs/core/lib/files.lib.php
"SELECT rowid as fk_soc FROM " . MAIN_DB_PREFIX . "societe WHERE rowid='" . $db->escape($refname) . "' AND entity IN (" . getEntity('societe') . ")"1
  • /htdocs/core/lib/files.lib.php
"SELECT fk_soc as fk_soc FROM " . MAIN_DB_PREFIX . "facture WHERE ref='" . $db->escape($refname) . "' AND entity IN (" . getEntity('invoice') . ")"1
  • /htdocs/core/lib/files.lib.php
"SELECT fk_soc as fk_soc FROM " . MAIN_DB_PREFIX . "fichinter WHERE ref='" . $db->escape($refname) . "' AND entity=" . $conf->entity1
  • /htdocs/core/lib/files.lib.php
"SELECT fk_soc as fk_soc FROM " . MAIN_DB_PREFIX . "propal WHERE ref='" . $db->escape($refname) . "' AND entity IN (" . getEntity('propal') . ")"1
  • /htdocs/core/lib/files.lib.php
"SELECT fk_soc as fk_soc FROM " . MAIN_DB_PREFIX . "commande WHERE ref='" . $db->escape($refname) . "' AND entity IN (" . getEntity('order') . ")"1
  • /htdocs/core/lib/files.lib.php
"SELECT fk_soc as fk_soc FROM " . MAIN_DB_PREFIX . "commande_fournisseur WHERE ref='" . $db->escape($refname) . "' AND entity=" . $conf->entity1
  • /htdocs/core/lib/files.lib.php
"SELECT fk_soc as fk_soc FROM " . MAIN_DB_PREFIX . "facture_fourn WHERE ref='" . $db->escape($refname) . "' AND entity=" . $conf->entity1
  • /htdocs/core/lib/files.lib.php
"SELECT fk_soc as fk_soc FROM " . MAIN_DB_PREFIX . "paiementfournisseur WHERE ref='" . $db->escape($refname) . "' AND entity=" . $conf->entity1
  • /htdocs/core/lib/files.lib.php
"SELECT fk_soc as fk_soc FROM " . MAIN_DB_PREFIX . "contrat WHERE ref='" . $db->escape($refname) . "' AND entity IN (" . getEntity('contract') . ")"1
  • /htdocs/core/lib/files.lib.php
"SELECT rowid, code, label, url, icon, active FROM " . MAIN_DB_PREFIX . "c_socialnetworks"1
  • /htdocs/core/lib/functions.lib.php
"SELECT t.localtax1, t.localtax2, t.localtax1_type, t.localtax2_type"1
  • /htdocs/core/lib/functions.lib.php
" SELECT t.localtax" . $local . " as localtax"1
  • /htdocs/core/lib/functions.lib.php
"SELECT MAX(tt.taux) FROM " . MAIN_DB_PREFIX . "c_tva as tt INNER JOIN " . MAIN_DB_PREFIX . "c_country as c ON c.rowid = tt.fk_pays"1
  • /htdocs/core/lib/functions.lib.php
"SELECT t.rowid, t.code, t.taux as rate, t.recuperableonly as npr, t.accountancy_code_sell, t.accountancy_code_buy,"1
  • /htdocs/core/lib/functions.lib.php
"SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy"1
  • /htdocs/core/lib/functions.lib.php
"SELECT t.taux as vat_rate, t.code as default_vat_code"1
  • /htdocs/core/lib/functions.lib.php
"SELECT taux as vat_rate, localtax1, localtax2"1
  • /htdocs/core/lib/functions.lib.php
"SELECT " . $fieldid . " as valuetoget"1
  • /htdocs/core/lib/functions.lib.php
"SELECT * FROM " . MAIN_DB_PREFIX . $tablename . " WHERE 1 = 1"1
  • /htdocs/core/lib/functions.lib.php
'SELECT ecm.rowid as id, ecm.src_object_type, ecm.src_object_id, ecm.filepath, ecm.filename'1
  • /htdocs/core/lib/functions.lib.php
"SELECT p.rowid as projectid"1
  • /htdocs/core/lib/project.lib.php
"SELECT p.rowid as projectid, p.ref, p.title, p.fk_soc,"1
  • /htdocs/core/lib/project.lib.php
"SELECT count(p.rowid) as nb, p.fk_statut as status"1
  • /htdocs/core/lib/propal.lib.php
"SELECT date_start, date_end FROM " . MAIN_DB_PREFIX . "accounting_fiscalyear"1
  • /htdocs/core/lib/accounting.lib.php
"SELECT date_start, date_end FROM " . $db->prefix( ) . "accounting_fiscalyear"1
  • /htdocs/core/lib/accounting.lib.php
'SELECT COUNT(n.rowid) as nb'1
  • /htdocs/core/lib/contact.lib.php
'SELECT p.rowid as id, p.entity, p.title, p.ref, p.public, p.dateo as do, p.datee as de, p.fk_statut as status, p.fk_opp_status, p.opp_amount, p.opp_percent, p.tms as date_modification, p.budget_amount'1
  • /htdocs/core/lib/contact.lib.php
"SELECT obj.rowid, obj.fk_product, obj.label, obj.description, obj.product_type as fk_product_type, obj.qty as qty_asked, obj.date_start, obj.date_end,"1
  • /htdocs/core/lib/sendings.lib.php
"SELECT d.rowid, d.product_type as dtype, e.rowid as facid, d.$f_rate as rate, d.total_ht as total_ht, d.total_ttc as total_ttc, d.total_tva as total_vat, e.note_private as descr,"1
  • /htdocs/core/lib/tax.lib.php
"SELECT d.rowid, d.product_type as dtype, e.rowid as facid, d.$f_rate as rate, d.vat_src_code as vat_src_code, d.total_ht as total_ht, d.total_ttc as total_ttc, d.total_tva as total_vat, e.note_private as descr,"1
  • /htdocs/core/lib/tax.lib.php
"SELECT code, label, width, height, unit FROM " . MAIN_DB_PREFIX . "c_paper_format"1
  • /htdocs/core/lib/pdf.lib.php
"SELECT rowid, label, courant, rappro, courant"1
  • /htdocs/core/menus/standard/auguria.lib.php
'SELECT 0;'1
  • /htdocs/core/db/sqlite3.class.php
"SELECT sql FROM sqlite_master WHERE name='" . $this->escape($tablename) . "'"1
  • /htdocs/core/db/sqlite3.class.php
"INSERT INTO " . $tablename . " SELECT * FROM tmp_" . $tablename1
  • /htdocs/core/db/sqlite3.class.php
"SELECT 0"1
  • /htdocs/core/db/sqlite3.class.php
"SELECT count(*) FROM (" . $resultset->queryString . ") q"1
  • /htdocs/core/db/sqlite3.class.php
"SHOW TABLES FROM " . $tmpdatabase . " " . $like . ";"1
  • /htdocs/core/db/sqlite3.class.php
"SHOW FULL TABLES FROM " . $tmpdatabase . " " . $like . ";"1
  • /htdocs/core/db/sqlite3.class.php
"INSERT INTO user "1
  • /htdocs/core/db/sqlite3.class.php
"INSERT INTO db "1
  • /htdocs/core/db/sqlite3.class.php
'SHOW server_version'1
  • /htdocs/core/db/pgsql.class.php
"SELECT currval('" . $tab . "_" . $fieldid . "_seq')"1
  • /htdocs/core/db/pgsql.class.php
"SELECT table_name FROM information_schema.tables WHERE table_schema = 'public'" . $escapedlike . " ORDER BY table_name"1
  • /htdocs/core/db/pgsql.class.php
"SELECT table_name, table_type FROM information_schema.tables WHERE table_schema = 'public'" . $escapedlike . " ORDER BY table_name"1
  • /htdocs/core/db/pgsql.class.php
"SELECT attname FROM pg_attribute, pg_type WHERE typname = '" . $this->escape($table) . "' AND attrelid = typrelid"1
  • /htdocs/core/db/pgsql.class.php
"UPDATE " . $this->sanitize($table) . " SET " . $this->escape($field_name) . " = '" . $this->escape(isset($field_desc['default']) ? $field_desc['default'] : '') . "' WHERE " . $this->escape($field_name) . " IS NULL"1
  • /htdocs/core/db/pgsql.class.php
"UPDATE " . $this->sanitize($table) . " SET " . $this->escape($field_name) . " = " . ((float) $this->escape(isset($field_desc['default']) ? $field_desc['default'] : 0)) . " WHERE " . $this->escape($field_name) . " IS NULL"1
  • /htdocs/core/db/pgsql.class.php
'select name,setting from pg_settings'1
  • /htdocs/core/db/pgsql.class.php
'SELECT CONNECTION_ID()'1
  • /htdocs/core/db/mysqli.class.php
"SHOW TABLES FROM `" . $tmpdatabase . "` " . $like . ";"1
  • /htdocs/core/db/mysqli.class.php
"SHOW FULL TABLES FROM `" . $tmpdatabase . "` " . $like . ";"1
  • /htdocs/core/db/mysqli.class.php
"UPDATE " . $this->sanitize($table) . " SET " . $this->sanitize($field_name) . " = '" . $this->escape(isset($field_desc['default']) ? $field_desc['default'] : '') . "' WHERE " . $this->sanitize($field_name) . " IS NULL"1
  • /htdocs/core/db/mysqli.class.php
"UPDATE " . $this->sanitize($table) . " SET " . $this->sanitize($field_name) . " = " . ((float) $this->escape(isset($field_desc['default']) ? $field_desc['default'] : 0)) . " WHERE " . $this->sanitize($field_name) . " IS NULL"1
  • /htdocs/core/db/mysqli.class.php
"SHOW VARIABLES LIKE 'character_set_database'"1
  • /htdocs/core/db/mysqli.class.php
'SHOW CHARSET'1
  • /htdocs/core/db/mysqli.class.php
"SHOW VARIABLES LIKE 'collation_database'"1
  • /htdocs/core/db/mysqli.class.php
'SHOW COLLATION'1
  • /htdocs/core/db/mysqli.class.php
'SHOW VARIABLES'1
  • /htdocs/core/db/mysqli.class.php
'SHOW STATUS'1
  • /htdocs/core/db/mysqli.class.php
'Delete Manufacturing Order'1
  • /htdocs/core/modules/modMrp.class.php
"SELECT name, label, fieldrequired FROM " . MAIN_DB_PREFIX . "extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, " . $conf->entity . ")"1
  • /htdocs/core/modules/modMrp.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape('vinci') . "' AND type = 'mrp' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modMrp.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape('vinci') . "','mrp'," . ((int) $conf->entity) . ")"1
  • /htdocs/core/modules/modMrp.class.php
'Delete sales orders'1
  • /htdocs/core/modules/modCommande.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[0][2]) . "' AND type = 'order' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modCommande.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[0][2]) . "', 'order', " . ((int) $conf->entity) . ")"1
  • /htdocs/core/modules/modCommande.class.php
'Delete payments of employee salary'1
  • /htdocs/core/modules/modSalaries.class.php
'Delete objects of EventOrganization'1
  • /htdocs/core/modules/modEventOrganization.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[0][2]) . "' AND type = 'bankaccount' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modPrelevement.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[0][2]) . "','bankaccount'," . ((int) $conf->entity) . ")"1
  • /htdocs/core/modules/modPrelevement.class.php
'SELECT f.rowid as rowid, f.code, f.pos, f.label, f.active, f.use_default, f.entity FROM ' . $this->db->prefix( ) . 'c_ticket_type as f WHERE f.entity IN (' . getEntity('c_ticket_type') . ')'1
  • /htdocs/core/modules/modTicket.class.php
'SELECT f.rowid as rowid, f.code, f.pos, f.label, f.active, f.use_default, f.entity FROM ' . $this->db->prefix( ) . 'c_ticket_severity as f WHERE f.entity IN (' . getEntity('c_ticket_severity') . ')'1
  • /htdocs/core/modules/modTicket.class.php
'SELECT f.rowid as rowid, f.code, f.pos, f.label, f.active, f.use_default, f.entity FROM ' . $this->db->prefix( ) . 'c_ticket_resolution as f WHERE f.entity IN (' . getEntity('c_ticket_resolution') . ')'1
  • /htdocs/core/modules/modTicket.class.php
"Delete les tickets"1
  • /htdocs/core/modules/modTicket.class.php
"insert into " . $this->db->prefix( ) . "c_type_contact(rowid, element, source, code, libelle, active ) values (110120, 'ticket', 'internal', 'SUPPORTTEC', 'Utilisateur assigné au ticket', 1);"1
  • /htdocs/core/modules/modTicket.class.php
"insert into " . $this->db->prefix( ) . "c_type_contact(rowid, element, source, code, libelle, active ) values (110121, 'ticket', 'internal', 'CONTRIBUTOR', 'Intervenant', 1);"1
  • /htdocs/core/modules/modTicket.class.php
"insert into " . $this->db->prefix( ) . "c_type_contact(rowid, element, source, code, libelle, active ) values (110122, 'ticket', 'external', 'SUPPORTCLI', 'Contact client suivi incident', 1);"1
  • /htdocs/core/modules/modTicket.class.php
"insert into " . $this->db->prefix( ) . "c_type_contact(rowid, element, source, code, libelle, active ) values (110123, 'ticket', 'external', 'CONTRIBUTOR', 'Intervenant', 1);"1
  • /htdocs/core/modules/modTicket.class.php
"DELETE FROM " . $this->db->prefix( ) . "document_model WHERE nom = 'TICKET_ADDON_PDF_ODT_PATH' AND type = 'ticket' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modTicket.class.php
"INSERT INTO " . $this->db->prefix( ) . "document_model (nom, type, libelle, entity, description) VALUES('generic_ticket_odt','ticket','ODT templates'," . ((int) $conf->entity) . ",'TICKET_ADDON_PDF_ODT_PATH');"1
  • /htdocs/core/modules/modTicket.class.php
"SELECT code, label, description FROM " . MAIN_DB_PREFIX . "c_action_trigger ORDER by rang"1
  • /htdocs/core/modules/modAgenda.class.php
'Delete actions/tasks linked to his account'1
  • /htdocs/core/modules/modAgenda.class.php
'Delete actions/tasks of others'1
  • /htdocs/core/modules/modAgenda.class.php
"SELECT name, label, fieldrequired FROM " . MAIN_DB_PREFIX . "extrafields WHERE elementtype = 'actioncomm' AND entity IN (0, " . $conf->entity . ")"1
  • /htdocs/core/modules/modAgenda.class.php
'Delete objects of BookCal'1
  • /htdocs/core/modules/modBookCal.class.php
'Delete Calendar object of BookCal'1
  • /htdocs/core/modules/modBookCal.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = 'standard_" . $this->db->escape(strtolower($myTmpObjectKey)) . "' AND type = '" . $this->db->escape(strtolower($myTmpObjectKey)) . "' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modBookCal.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('standard_" . $this->db->escape(strtolower($myTmpObjectKey)) . "', '" . $this->db->escape(strtolower($myTmpObjectKey)) . "', " . ((int) $conf->entity) . ")"1
  • /htdocs/core/modules/modBookCal.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = 'generic_" . $this->db->escape(strtolower($myTmpObjectKey)) . "_odt' AND type = '" . $this->db->escape(strtolower($myTmpObjectKey)) . "' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modBookCal.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('generic_" . $this->db->escape(strtolower($myTmpObjectKey)) . "_odt', '" . $this->db->escape(strtolower($myTmpObjectKey)) . "', " . ((int) $conf->entity) . ")"1
  • /htdocs/core/modules/modBookCal.class.php
'Delete articles'1
  • /htdocs/core/modules/modKnowledgeManagement.class.php
'Delete les services'1
  • /htdocs/core/modules/modService.class.php
"SELECT name, label, fieldrequired FROM " . MAIN_DB_PREFIX . "extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0," . $conf->entity . ")"1
  • /htdocs/core/modules/modService.class.php
'Delete website content'1
  • /htdocs/core/modules/modWebsite.class.php
'Delete loans'1
  • /htdocs/core/modules/modLoan.class.php
'Delete operations in Ledger'1
  • /htdocs/core/modules/modAccounting.class.php
'Delete all operations by year and journal in Ledger'1
  • /htdocs/core/modules/modAccounting.class.php
'Delete shipments'1
  • /htdocs/core/modules/modExpedition.class.php
'Delete delivery receipts'1
  • /htdocs/core/modules/modExpedition.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[0][2]) . "' AND type = 'shipping' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modExpedition.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[0][2]) . "', 'shipping', " . ((int) $conf->entity) . ")"1
  • /htdocs/core/modules/modExpedition.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[3][2]) . "' AND type = 'delivery' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modExpedition.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[3][2]) . "', 'delivery', " . ((int) $conf->entity) . ")"1
  • /htdocs/core/modules/modExpedition.class.php
'Delete intracomm report'1
  • /htdocs/core/modules/modIntracommreport.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "const WHERE name = " . $this->db->encrypt('MAIN_MODULE_API')1
  • /htdocs/core/modules/modApi.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "const WHERE name = " . $this->db->encrypt('API_PRODUCTION_MODE')1
  • /htdocs/core/modules/modApi.class.php
'Delete myobject of Zapier'1
  • /htdocs/core/modules/modZapier.class.php
'Delete products'1
  • /htdocs/core/modules/modProduct.class.php
"SELECT name, label, fieldrequired FROM " . MAIN_DB_PREFIX . "extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, " . $conf->entity . ")"1
  • /htdocs/core/modules/modProduct.class.php
"SELECT name, label, fieldrequired FROM " . MAIN_DB_PREFIX . "extrafields WHERE type <> 'separate' AND elementtype = 'product_fournisseur_price' AND entity IN (0, " . $conf->entity . ")"1
  • /htdocs/core/modules/modProduct.class.php
'Delete bom of Bom'1
  • /htdocs/core/modules/modBom.class.php
"SELECT name, label, fieldrequired FROM " . MAIN_DB_PREFIX . "extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, " . $conf->entity . ")"1
  • /htdocs/core/modules/modBom.class.php
"SELECT name, label, fieldrequired FROM " . MAIN_DB_PREFIX . "extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, " . $conf->entity . ")"1
  • /htdocs/core/modules/modBom.class.php
'Delete or disable other users'1
  • /htdocs/core/modules/modUser.class.php
'Delete groups'1
  • /htdocs/core/modules/modUser.class.php
"SELECT name, label, fieldrequired FROM " . MAIN_DB_PREFIX . "extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0," . $conf->entity . ")"1
  • /htdocs/core/modules/modUser.class.php
"SELECT tms FROM " . MAIN_DB_PREFIX . "const"1
  • /htdocs/core/modules/DolibarrModules.class.php
"SELECT tms, note FROM " . MAIN_DB_PREFIX . "const"1
  • /htdocs/core/modules/DolibarrModules.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "const (name, value, visible, entity, note) VALUES"1
  • /htdocs/core/modules/DolibarrModules.class.php
"SELECT count(*) as nb FROM " . MAIN_DB_PREFIX . "boxes_def"1
  • /htdocs/core/modules/DolibarrModules.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "boxes_def (file, entity, note)"1
  • /htdocs/core/modules/DolibarrModules.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "boxes (box_id, position, box_order, fk_user, entity)"1
  • /htdocs/core/modules/DolibarrModules.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "boxes "1
  • /htdocs/core/modules/DolibarrModules.class.php
"SELECT " . MAIN_DB_PREFIX . "boxes_def.rowid "1
  • /htdocs/core/modules/DolibarrModules.class.php
"SELECT count(*) as nb FROM " . MAIN_DB_PREFIX . "cronjob"1
  • /htdocs/core/modules/DolibarrModules.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "cronjob (module_name, datec, datestart, dateend, label, jobtype, classesname, objectname, methodename, command, params, note,"1
  • /htdocs/core/modules/DolibarrModules.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "const (name,type,value,note,visible,entity)"1
  • /htdocs/core/modules/DolibarrModules.class.php
"SELECT " . $this->db->decrypt('value') . " as value"1
  • /htdocs/core/modules/DolibarrModules.class.php
"SELECT count(*) as nb FROM " . MAIN_DB_PREFIX . "rights_def"1
  • /htdocs/core/modules/DolibarrModules.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "rights_def ("1
  • /htdocs/core/modules/DolibarrModules.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "user WHERE admin = 1"1
  • /htdocs/core/modules/DolibarrModules.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "rights_def"1
  • /htdocs/core/modules/DolibarrModules.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "const (name, type, value, note, visible, entity)"1
  • /htdocs/core/modules/DolibarrModules.class.php
'Delete commercial proposals'1
  • /htdocs/core/modules/modPropale.class.php
"SELECT name, label, fieldrequired FROM " . MAIN_DB_PREFIX . "extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, " . $conf->entity . ")"1
  • /htdocs/core/modules/modPropale.class.php
"SELECT name, label, fieldrequired FROM " . MAIN_DB_PREFIX . "extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, " . $conf->entity . ")"1
  • /htdocs/core/modules/modPropale.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[0][2]) . "' AND type = 'propal' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modPropale.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[0][2]) . "','propal'," . ((int) $conf->entity) . ")"1
  • /htdocs/core/modules/modPropale.class.php
'Delete Webhooks'1
  • /htdocs/core/modules/modWebhook.class.php
'Delete objects of Workstation'1
  • /htdocs/core/modules/modWorkstation.class.php
'SELECT f.rowid as rowid, f.code, f.label, f.keyword, f.active FROM ' . MAIN_DB_PREFIX . 'c_partnership_type as f WHERE f.entity = ' . ((int) $conf->entity)1
  • /htdocs/core/modules/modPartnership.class.php
'Delete objects of Partnership'1
  • /htdocs/core/modules/modPartnership.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[1][2]) . "' AND type = 'contract' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modContrat.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[1][2]) . "', 'contract', " . ((int) $conf->entity) . ")"1
  • /htdocs/core/modules/modContrat.class.php
'Delete assets'1
  • /htdocs/core/modules/modAsset.class.php
'Delete asset models'1
  • /htdocs/core/modules/modAsset.class.php
'Delete Job positions to fill and candidatures'1
  • /htdocs/core/modules/modRecruitment.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[0][2]) . "' AND type = 'ficheinter' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modFicheinter.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[0][2]) . "','ficheinter'," . ((int) $conf->entity) . ")"1
  • /htdocs/core/modules/modFicheinter.class.php
'Delete supplier proposals'1
  • /htdocs/core/modules/modSupplierProposal.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[0][2]) . "' AND type = 'supplier_proposal' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modSupplierProposal.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[0][2]) . "','supplier_proposal'," . ((int) $conf->entity) . ")"1
  • /htdocs/core/modules/modSupplierProposal.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "rights_def WHERE module = 'askpricesupplier'"1
  • /htdocs/core/modules/modSupplierProposal.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "emailcollector_emailcollector WHERE ref = 'Collect_Ticket_Requests' and entity = " . $conf->entity1
  • /htdocs/core/modules/modEmailCollector.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "emailcollector_emailcollector WHERE ref = 'Collect_Responses_Out' and entity = " . $conf->entity1
  • /htdocs/core/modules/modEmailCollector.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "emailcollector_emailcollector WHERE ref = 'Collect_Responses_In' and entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modEmailCollector.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "emailcollector_emailcollector WHERE ref = 'Collect_Leads' and entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modEmailCollector.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "emailcollector_emailcollector WHERE ref = 'Collect_Candidatures' and entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modEmailCollector.class.php
"SELECT name, label, fieldrequired FROM " . MAIN_DB_PREFIX . "extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, " . $conf->entity . ")"1
  • /htdocs/core/modules/modFournisseur.class.php
"SELECT name, label, fieldrequired FROM " . MAIN_DB_PREFIX . "extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, " . $conf->entity . ")"1
  • /htdocs/core/modules/modFournisseur.class.php
"SELECT name, label, fieldrequired FROM " . MAIN_DB_PREFIX . "extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, " . $conf->entity . ")"1
  • /htdocs/core/modules/modFournisseur.class.php
"SELECT name, label, fieldrequired FROM " . MAIN_DB_PREFIX . "extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, " . $conf->entity . ")"1
  • /htdocs/core/modules/modFournisseur.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[0][2]) . "' AND type = 'order_supplier' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modFournisseur.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[0][2]) . "', 'order_supplier', " . ((int) $conf->entity) . ")"1
  • /htdocs/core/modules/modFournisseur.class.php
'Delete stock'1
  • /htdocs/core/modules/modStock.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'product as p SET p.stock = (SELECT SUM(ps.reel) FROM ' . MAIN_DB_PREFIX . 'product_stock ps WHERE ps.fk_product = p.rowid);'1
  • /htdocs/core/modules/modStock.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[1][2]) . "' AND type = 'stock' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modStock.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[1][2]) . "','stock'," . ((int) $conf->entity) . ")"1
  • /htdocs/core/modules/modStock.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[2][2]) . "' AND type = 'mouvement' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modStock.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[2][2]) . "','mouvement'," . ((int) $conf->entity) . ")"1
  • /htdocs/core/modules/modStock.class.php
"SELECT name, label, fieldrequired FROM " . MAIN_DB_PREFIX . "extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0," . $conf->entity . ")"1
  • /htdocs/core/modules/modAdherent.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[0][2]) . "' AND type='member' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modAdherent.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[0][2]) . "','member'," . ((int) $conf->entity) . ")"1
  • /htdocs/core/modules/modAdherent.class.php
'Delete resources'1
  • /htdocs/core/modules/modResource.class.php
"SELECT name, label, fieldrequired FROM " . MAIN_DB_PREFIX . "extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0," . $conf->entity . ")"1
  • /htdocs/core/modules/modResource.class.php
'Delete cron Jobs'1
  • /htdocs/core/modules/modCron.class.php
'Update all the currencies using the currencylayer API. An API key needs to be given in the multi-currency module config page'1
  • /htdocs/core/modules/modMultiCurrency.class.php
'Delete currencies and their rates'1
  • /htdocs/core/modules/modMultiCurrency.class.php
'Delete invoices'1
  • /htdocs/core/modules/modFacture.class.php
"SELECT name, label, fieldrequired FROM " . MAIN_DB_PREFIX . "extrafields WHERE elementtype = 'facture' AND entity IN (0, " . $conf->entity . ")"1
  • /htdocs/core/modules/modFacture.class.php
"SELECT name, label, fieldrequired FROM " . MAIN_DB_PREFIX . "extrafields WHERE elementtype = 'facture_det' AND entity IN (0, " . $conf->entity . ")"1
  • /htdocs/core/modules/modFacture.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[1][2]) . "' AND type = 'invoice' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modFacture.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[1][2]) . "','invoice'," . ((int) $conf->entity) . ")"1
  • /htdocs/core/modules/modFacture.class.php
'SELECT rowid, code, libelle, active FROM ' . MAIN_DB_PREFIX . 'c_incoterms'1
  • /htdocs/core/modules/modIncoterm.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[0][2]) . "' AND type = 'reception' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modReception.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[0][2]) . "','reception'," . ((int) $conf->entity) . ")"1
  • /htdocs/core/modules/modReception.class.php
'Delete social contributions'1
  • /htdocs/core/modules/modTax.class.php
'Delete stickers'1
  • /htdocs/core/modules/modLabel.class.php
'Delete attributes of variants'1
  • /htdocs/core/modules/modVariants.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "c_barcode_type (code, libelle, coder, example, entity) VALUES ('EAN8', 'EAN8', 0, '1234567', __ENTITY__)"1
  • /htdocs/core/modules/modBarcode.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "c_barcode_type (code, libelle, coder, example, entity) VALUES ('EAN13', 'EAN13', 0, '123456789012', __ENTITY__)"1
  • /htdocs/core/modules/modBarcode.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "c_barcode_type (code, libelle, coder, example, entity) VALUES ('UPC', 'UPC', 0, '123456789012', __ENTITY__)"1
  • /htdocs/core/modules/modBarcode.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "c_barcode_type (code, libelle, coder, example, entity) VALUES ('ISBN', 'ISBN', 0, '123456789', __ENTITY__)"1
  • /htdocs/core/modules/modBarcode.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "c_barcode_type (code, libelle, coder, example, entity) VALUES ('C39', 'Code 39', 0, '1234567890', __ENTITY__)"1
  • /htdocs/core/modules/modBarcode.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "c_barcode_type (code, libelle, coder, example, entity) VALUES ('C128', 'Code 128', 0, 'ABCD1234567890', __ENTITY__)"1
  • /htdocs/core/modules/modBarcode.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "c_barcode_type (code, libelle, coder, example, entity) VALUES ('DATAMATRIX', 'Datamatrix', 0, '1234567xyz', __ENTITY__)"1
  • /htdocs/core/modules/modBarcode.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "c_barcode_type (code, libelle, coder, example, entity) VALUES ('QRCODE', 'Qr Code', 0, 'www.dolibarr.org', __ENTITY__)"1
  • /htdocs/core/modules/modBarcode.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[0][2]) . "' AND type = 'donation' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modDon.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[0][2]) . "','donation'," . ((int) $conf->entity) . ")"1
  • /htdocs/core/modules/modDon.class.php
"select name, value from " . MAIN_DB_PREFIX . "const"1
  • /htdocs/core/modules/modExternalRss.class.php
'Delete skill/job/position'1
  • /htdocs/core/modules/modHRM.class.php
'Delete evaluations'1
  • /htdocs/core/modules/modHRM.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = 'standard' AND type='evaluation' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modHRM.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('standard','evaluation'," . ((int) $conf->entity) . ")"1
  • /htdocs/core/modules/modHRM.class.php
"Delete project and tasks (shared projects or projects I am contact for)"1
  • /htdocs/core/modules/modProjet.class.php
"Delete all projects and tasks (also private projects I am not contact for)"1
  • /htdocs/core/modules/modProjet.class.php
"SELECT name, label, fieldrequired FROM " . MAIN_DB_PREFIX . "extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0," . $conf->entity . ")"1
  • /htdocs/core/modules/modProjet.class.php
"SELECT name, label, fieldrequired FROM " . MAIN_DB_PREFIX . "extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0," . $conf->entity . ")"1
  • /htdocs/core/modules/modProjet.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = '" . $this->db->escape($this->const[3][2]) . "' AND type = 'task' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modProjet.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('" . $this->db->escape($this->const[3][2]) . "','task'," . ((int) $conf->entity) . ")"1
  • /htdocs/core/modules/modProjet.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = 'beluga' AND type = 'project' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modProjet.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('beluga','project'," . ((int) $conf->entity) . ")"1
  • /htdocs/core/modules/modProjet.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = 'baleine' AND type = 'project' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modProjet.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('baleine','project'," . ((int) $conf->entity) . ")"1
  • /htdocs/core/modules/modProjet.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "c_type_contact WHERE code = 'STDEST' AND element = 'stocktransfer' AND source = 'internal'"1
  • /htdocs/core/modules/modStockTransfer.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "c_type_contact(rowid, element, source, code, libelle, active, module, position) VALUES(" . ((int) $nextid) . ", 'stocktransfer', 'internal', 'STRESP', 'Responsible for stock transfers', 1, NULL, 0)"1
  • /htdocs/core/modules/modStockTransfer.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "c_type_contact WHERE code = 'STFROM' AND element = 'stocktransfer' AND source = 'external'"1
  • /htdocs/core/modules/modStockTransfer.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "c_type_contact(rowid, element, source, code, libelle, active, module, position) VALUES(" . ((int) $nextid) . ", 'stocktransfer', 'external', 'STFROM', 'Contact sending the stock transfer', 1, NULL, 0)"1
  • /htdocs/core/modules/modStockTransfer.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "c_type_contact WHERE code = 'STDEST' AND element = 'stocktransfer' AND source = 'external'"1
  • /htdocs/core/modules/modStockTransfer.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "c_type_contact(rowid, element, source, code, libelle, active, module, position) VALUES(" . ((int) $nextid) . ", 'stocktransfer', 'external', 'STDEST', 'Contact receiving the stock transfer', 1, NULL, 0)"1
  • /htdocs/core/modules/modStockTransfer.class.php
"SELECT MAX(rowid) newid from " . MAIN_DB_PREFIX . "c_type_contact"1
  • /htdocs/core/modules/modStockTransfer.class.php
'Update holiday balance every month'1
  • /htdocs/core/modules/modHoliday.class.php
'Delete leave requests'1
  • /htdocs/core/modules/modHoliday.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "printer_receipt_template WHERE name = '" . $this->db->escape($langs->trans('Example')) . "';"1
  • /htdocs/core/modules/modReceiptPrinter.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "printer_receipt_template (name,template,entity) VALUES ('" . $this->db->escape($langs->trans('Example')) . "', '" . $this->db->escape($templateexample) . "', 1);"1
  • /htdocs/core/modules/modReceiptPrinter.class.php
'Delete third parties'1
  • /htdocs/core/modules/modSociete.class.php
'Delete contacts'1
  • /htdocs/core/modules/modSociete.class.php
"SELECT name, label, fieldrequired FROM " . MAIN_DB_PREFIX . "extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, " . $conf->entity . ")"1
  • /htdocs/core/modules/modSociete.class.php
"SELECT name, label, fieldrequired FROM " . MAIN_DB_PREFIX . "extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, " . $conf->entity . ")"1
  • /htdocs/core/modules/modSociete.class.php
'Delete expense reports'1
  • /htdocs/core/modules/modExpenseReport.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = 'standard' AND type='expensereport' AND entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/modExpenseReport.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('standard','expensereport'," . ((int) $conf->entity) . ")"1
  • /htdocs/core/modules/modExpenseReport.class.php
'Delete mailings after validation and/or sent'1
  • /htdocs/core/modules/modMailing.class.php
"SELECT COUNT(*) nb FROM " . MAIN_DB_PREFIX . "mailing_cibles"1
  • /htdocs/core/modules/mailings/modules_mailings.php
"UPDATE " . MAIN_DB_PREFIX . "mailing"1
  • /htdocs/core/modules/mailings/modules_mailings.php
"INSERT INTO " . MAIN_DB_PREFIX . "mailing_cibles"1
  • /htdocs/core/modules/mailings/modules_mailings.php
"UPDATE " . MAIN_DB_PREFIX . "mailing_cibles as mc"1
  • /htdocs/core/modules/mailings/modules_mailings.php
"SELECT p.ref, p.entity, e.rowid as id, e.fk_project, e.email as email, e.email_company as company_name, e.firstname as firstname, e.lastname as lastname,"1
  • /htdocs/core/modules/mailings/eventorganization.modules.php
"SELECT COUNT(DISTINCT(e.email)) as nb"1
  • /htdocs/core/modules/mailings/eventorganization.modules.php
"SELECT '" . $this->db->escape($langs->trans("FundationMembers")) . "' as label, count(*) as nb"1
  • /htdocs/core/modules/mailings/fraise.modules.php
"SELECT count(distinct(a.email)) as nb"1
  • /htdocs/core/modules/mailings/fraise.modules.php
"SELECT rowid, libelle as label, statut"1
  • /htdocs/core/modules/mailings/fraise.modules.php
"SELECT a.rowid as id, a.email as email, null as fk_contact, "1
  • /htdocs/core/modules/mailings/fraise.modules.php
"SELECT s.rowid as id, s.email as email, s.nom as name, null as fk_contact, null as firstname, null as label"1
  • /htdocs/core/modules/mailings/thirdparties.modules.php
"SELECT '" . $this->db->escape($langs->trans("NbOfCompaniesContacts")) . "' as label,"1
  • /htdocs/core/modules/mailings/contacts1.modules.php
"SELECT count(distinct(c.email)) as nb"1
  • /htdocs/core/modules/mailings/contacts1.modules.php
"SELECT sp.poste, count(distinct(sp.email)) AS nb"1
  • /htdocs/core/modules/mailings/contacts1.modules.php
"SELECT sp.rowid as id, sp.email as email, sp.rowid as fk_contact, sp.lastname, sp.firstname, sp.civility as civility_id, sp.poste as jobposition,"1
  • /htdocs/core/modules/mailings/contacts1.modules.php
"SELECT s.rowid as id, s.email as email, s.nom as name, null as fk_contact, null as firstname, pt.label as label, 'thirdparty' as source"1
  • /htdocs/core/modules/mailings/partnership.modules.php
"SELECT s.rowid as id, s.email as email, s.lastname as name, null as fk_contact, s.firstname as firstname, pt.label as label, 'member' as source"1
  • /htdocs/core/modules/mailings/partnership.modules.php
"SELECT rowid, label, code, active"1
  • /htdocs/core/modules/mailings/partnership.modules.php
"SELECT '" . $this->db->escape($langs->trans("DolibarrUsers")) . "' as label,"1
  • /htdocs/core/modules/mailings/pomme.modules.php
"SELECT count(distinct(u.email)) as nb"1
  • /htdocs/core/modules/mailings/pomme.modules.php
"SELECT u.rowid as id, u.email as email, null as fk_contact,"1
  • /htdocs/core/modules/mailings/pomme.modules.php
"SELECT s.rowid as id, s.email, s.nom as name, cd.rowid as cdid, cd.date_ouverture as date_start_real, cd.date_fin_validite as date_end, cd.fk_contrat"1
  • /htdocs/core/modules/mailings/thirdparties_services_expired.modules.php
"SELECT s.rowid as id, s.email as email, s.nom as name, null as fk_contact"1
  • /htdocs/core/modules/mailings/advthirdparties.modules.php
"SELECT socp.rowid as id, socp.email as email, socp.lastname as lastname, socp.firstname as firstname"1
  • /htdocs/core/modules/mailings/advthirdparties.modules.php
'SELECT f.rowid, f.ref, f.datef, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, pf.amount, f.rowid as facid, f.paye'1
  • /htdocs/core/modules/supplier_payment/doc/pdf_standard.modules.php
"SELECT iban_prefix as iban"1
  • /htdocs/core/modules/supplier_payment/doc/pdf_standard.modules.php
"INSERT INTO " . MAIN_DB_PREFIX . "oauth_token SET service = 'StripeLive" . $db->escape($servicesuffix) . "', entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/oauth/stripelive_oauthcallback.php
"INSERT INTO " . MAIN_DB_PREFIX . "oauth_token SET service = 'StripeTest" . $db->escape($servicesuffix) . "', entity = " . ((int) $conf->entity)1
  • /htdocs/core/modules/oauth/stripetest_oauthcallback.php
"SELECT MAX(CAST(SUBSTRING(ref FROM " . $posindice . ") AS SIGNED) as max"1
  • /htdocs/core/modules/facture/mod_facture_mars.php
"SELECT MAX(SUBSTRING(ref FROM " . $posindice . ")) as max"1
  • /htdocs/core/modules/facture/mod_facture_mars.php
"SELECT rowid,printer_id,copy FROM " . MAIN_DB_PREFIX . "printing WHERE module = '" . $this->db->escape($module) . "' AND driver = 'printipp' AND userid = " . ((int) $user->id)1
  • /htdocs/core/modules/printing/printipp.modules.php
"SELECT rowid,printer_uri,printer_name FROM " . MAIN_DB_PREFIX . "printer_ipp WHERE module = '" . $this->db->escape($module) . "'"1
  • /htdocs/core/modules/printing/printipp.modules.php
"SELECT rowid, printer_id, copy FROM " . MAIN_DB_PREFIX . "printing WHERE module='" . $this->db->escape($module) . "' AND driver='printgcp' AND userid=" . ((int) $user->id)1
  • /htdocs/core/modules/printing/printgcp.modules.php
'SELECT MAX(de.ref_number_int) as max'1
  • /htdocs/core/modules/expensereport/mod_expensereport_jade.php
'UPDATE ' . MAIN_DB_PREFIX . 'expensereport SET ref_number_int = ' . ((int) $ref_number_int) . ' WHERE rowid = ' . ((int) $object->id)1
  • /htdocs/core/modules/expensereport/mod_expensereport_jade.php
"SELECT " . $typethirdparty . " FROM " . MAIN_DB_PREFIX . "societe_perentity"1
  • /htdocs/core/modules/societe/mod_codecompta_digitaria.php
"SELECT " . $typethirdparty . " FROM " . MAIN_DB_PREFIX . "societe"1
  • /htdocs/core/modules/societe/mod_codecompta_digitaria.php
"SELECT MAX(CAST(SUBSTRING(" . $field . " FROM " . $posindice . ") AS SIGNED)) as max"1
  • /htdocs/core/modules/societe/mod_codeclient_monkey.php
"SELECT MAX(CAST(SUBSTRING(task.ref FROM " . $posindice . ") AS SIGNED)) as max"1
  • /htdocs/core/modules/project/task/mod_task_simple.php
"SELECT s.nom as thirdparty, s.rowid as socid, s.client,"1
  • /htdocs/core/modules/action/doc/pdf_standard_actions.class.php
"SELECT p.datep as date, p.fk_paiement as type, p.num_paiement as num_payment, pf.amount as amount, pf.multicurrency_amount,"1
  • /htdocs/core/modules/supplier_invoice/doc/pdf_canelle.modules.php
"SELECT p.rowid as rowid, p.ref, p.label as produit, p.tobatch, p.fk_product_type as type, p.pmp as ppmp, p.price, p.price_ttc, p.entity,"1
  • /htdocs/core/modules/stock/doc/pdf_standard.modules.php
"SELECT barcode FROM " . MAIN_DB_PREFIX . "societe"1
  • /htdocs/core/modules/barcode/mod_barcode_thirdparty_standard.php
"SELECT barcode FROM " . MAIN_DB_PREFIX . "product"1
  • /htdocs/core/modules/barcode/mod_barcode_product_standard.php
"SELECT p.rowid as prowid"1
  • /htdocs/core/modules/rapport/pdf_paiement.class.php
"SELECT p.datep as dp, f.ref"1
  • /htdocs/core/modules/rapport/pdf_paiement.class.php
"SELECT p.datep as dp, f.ref as ref"1
  • /htdocs/core/modules/rapport/pdf_paiement.class.php
"SELECT COUNT(e.rowid) as nbevent"1
  • /htdocs/core/login/functions_dolibarr.php
"SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity, flagdelsessionsbefore"1
  • /htdocs/core/login/functions_dolibarr.php
"SELECT login, entity, datestartvalidity, dateendvalidity"1
  • /htdocs/core/login/functions_openid.php
'SELECT login, entity, datestartvalidity, dateendvalidity'1
  • /htdocs/core/login/functions_openid_connect.php
"SELECT z.location as location_incoterms, z.label as label"1
  • /htdocs/core/ajax/locationincoterms.php
"SELECT DISTINCT s.location_incoterms FROM " . MAIN_DB_PREFIX . 'commande as s'1
  • /htdocs/core/ajax/locationincoterms.php
"SELECT z.rowid, z.zip, z.town, z.fk_county as state_id, z.fk_pays as country_id"1
  • /htdocs/core/ajax/ziptown.php
"SELECT DISTINCT s.zip, s.town, s.fk_departement as state_id, s.fk_pays as country_id"1
  • /htdocs/core/ajax/ziptown.php
"UPDATE " . MAIN_DB_PREFIX . $object->table_element1
  • /htdocs/core/ajax/onlineSign.php
'UPDATE ' . MAIN_DB_PREFIX . 'actioncomm_reminder SET status = 1'1
  • /htdocs/core/ajax/check_notifications.php
'DELETE FROM ' . MAIN_DB_PREFIX . 'actioncomm_reminder'1
  • /htdocs/core/ajax/check_notifications.php
'SELECT a.id as id_agenda, a.code, a.datep, a.label, a.location, ar.rowid as id_reminder, ar.dateremind, ar.fk_user as id_user_reminder'1
  • /htdocs/core/ajax/check_notifications.php
"SELECT kr.rowid, kr.ref, kr.question, kr.answer,kr.url,ctc.code"1
  • /htdocs/core/ajax/fetchKnowledgeRecord.php
"SELECT p.fk_statut, SUM(p.total_ttc) as Mnttot, COUNT(*) as nb"1
  • /htdocs/core/boxes/box_activity.php
"SELECT c.fk_statut, sum(c.total_ttc) as Mnttot, count(*) as nb"1
  • /htdocs/core/boxes/box_activity.php
"SELECT p.rowid, p.ref, p.title, p.fk_soc, p.fk_statut as status, p.fk_opp_status as opp_status, p.opp_percent, p.opp_amount, p.public,"1
  • /htdocs/core/boxes/box_project_opportunities.php
"SELECT DISTINCT b.piece_num"1
  • /htdocs/core/boxes/box_accountancy_last_manual_entries.php
"SELECT a.rowid, a.ref, a.lastname, a.firstname, a.societe as company, a.fk_soc,"1
  • /htdocs/core/boxes/box_members_last_modified.php
"SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status"1
  • /htdocs/core/boxes/box_birthdays.php
"SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status"1
  • /htdocs/core/boxes/box_birthdays.php
"SELECT COUNT(*) as nb_suspense_account"1
  • /htdocs/core/boxes/box_accountancy_suspense_account.php
"SELECT COUNT(t.datec) as nb"1
  • /htdocs/core/boxes/box_graph_new_vs_close_ticket.php
"SELECT COUNT(t.date_close) as nb"1
  • /htdocs/core/boxes/box_graph_new_vs_close_ticket.php
"SELECT pt.rowid, pt.ref, pt.fk_projet, pt.fk_task_parent, pt.datec, pt.dateo, pt.datee, pt.datev, pt.label, pt.description, pt.duration_effective, pt.planned_workload, pt.progress"1
  • /htdocs/core/boxes/box_task.php
"SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email "1
  • /htdocs/core/boxes/box_last_modified_ticket.php
"SELECT a.rowid, a.statut as status, a.lastname, a.firstname, a.societe as company, a.fk_soc,"1
  • /htdocs/core/boxes/box_members_last_subscriptions.php
"SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status"1
  • /htdocs/core/boxes/box_contacts.php
"SELECT p.rowid, p.ref, p.fk_soc, p.dateo as startdate,"1
  • /htdocs/core/boxes/box_validated_projects.php
"SELECT rowid, nom as name FROM " . MAIN_DB_PREFIX . "societe WHERE rowid = " . ((int) $objp->fk_soc)1
  • /htdocs/core/boxes/box_validated_projects.php
"SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity,"1
  • /htdocs/core/boxes/box_produits_alerte_stock.php
"SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client"1
  • /htdocs/core/boxes/box_factures_imp.php
"SELECT u.rowid, u.firstname, u.lastname, u.societe, u.birth, date_format(u.birth, '%d') as daya, u.email, u.statut as status, u.datefin"1
  • /htdocs/core/boxes/box_birthdays_members.php
"SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email,"1
  • /htdocs/core/boxes/box_last_ticket.php
"SELECT cts.rowid, cts.label, cts.code"1
  • /htdocs/core/boxes/box_graph_ticket_by_severity.php
"SELECT t.severity_code, COUNT(t.severity_code) as nb"1
  • /htdocs/core/boxes/box_graph_ticket_by_severity.php
"SELECT CAST(t.datec AS DATE) as datec, COUNT(t.datec) as nb"1
  • /htdocs/core/boxes/box_graph_nb_ticket_last_x_days.php
"SELECT c.subscription, c.dateadh as dateh"1
  • /htdocs/core/boxes/box_members_subscriptions_by_year.php
"SELECT p.rowid, p.ref, p.title, p.fk_statut as status, p.public, p.fk_soc,"1
  • /htdocs/core/boxes/box_project.php
"SELECT count(*) as nb, sum(progress) as totprogress"1
  • /htdocs/core/boxes/box_project.php
"SELECT b.title, b.url, b.target, b.favicon"1
  • /htdocs/core/boxes/box_bookmarks.php
"SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status"1
  • /htdocs/core/boxes/box_ficheinter.php
"SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity"1
  • /htdocs/core/boxes/box_produits.php
"SELECT t.rowid, t.datelastrun, t.datenextrun, t.datestart,"1
  • /htdocs/core/boxes/box_scheduled_jobs.php
"SELECT b.rowid as id, b.box_id, b.position, b.box_order, b.fk_user"1
  • /htdocs/core/boxes/modules_boxes.php
"SELECT ctt.rowid, ctt.label, ctt.code"1
  • /htdocs/core/boxes/box_graph_nb_tickets_type.php
"SELECT t.type_code, COUNT(t.type_code) as nb"1
  • /htdocs/core/boxes/box_graph_nb_tickets_type.php
"SELECT s.rowid, s.nom as name, s.logo, s.code_client, s.code_fournisseur, s.client, s.fournisseur, s.tms as datem, s.status as status,"1
  • /htdocs/core/boxes/box_goodcustomers.php
"SELECT b.rowid, b.ref, b.label, b.bank, b.number, b.courant, b.clos, b.rappro, b.url"1
  • /htdocs/core/boxes/box_comptes.php
'SELECT COUNT(*) as nbtotalofrecords FROM'1
  • /htdocs/asset/model/list.php
"SELECT ad.rowid, ad.depreciation_mode, ad.ref, ad.depreciation_date, ad.depreciation_ht, ad.cumulative_depreciation_ht"1
  • /htdocs/asset/class/asset.class.php
"SELECT COUNT(*) AS has_bookkeeping"1
  • /htdocs/asset/class/asset.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "asset_depreciation(fk_asset, depreciation_mode, ref, depreciation_date, depreciation_ht, cumulative_depreciation_ht, accountancy_code_debit, accountancy_code_credit)"1
  • /htdocs/asset/class/asset.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "asset_depreciation"1
  • /htdocs/asset/class/asset.class.php
"SELECT ad.depreciation_date, ad.cumulative_depreciation_ht"1
  • /htdocs/asset/class/asset.class.php
"DELETE " . MAIN_DB_PREFIX . "asset_depreciation FROM " . MAIN_DB_PREFIX . "asset_depreciation"1
  • /htdocs/asset/class/asset.class.php
"SELECT fk_asset, depreciation_mode, cumulative_depreciation_ht"1
  • /htdocs/asset/class/asset.class.php
"SELECT " . implode(',', array_keys($mode_info['fields']))1
  • /htdocs/asset/class/assetaccountancycodes.class.php
"INSERT INTO " . MAIN_DB_PREFIX . $mode_info['table'] . "("1
  • /htdocs/asset/class/assetaccountancycodes.class.php
'SELECT p.rowid, p.ref, p.label, p.fk_product_type, p.entity, p.tosell as status, p.tobuy as status_buy, p.tobatch as status_batch,'1
  • /htdocs/fourn/card.php
"SELECT p.rowid, p.ref, p.date_valid as dc, p.fk_statut, p.total_ht, p.total_tva, p.total_ttc"1
  • /htdocs/fourn/card.php
'SELECT s.nom, s.rowid as socid, s.client, c.rowid, c.ref, c.total_ht, c.ref_supplier,'1
  • /htdocs/fourn/card.php
"SELECT count(p.rowid) as total"1
  • /htdocs/fourn/card.php
"SELECT p.rowid,p.ref, p.date_commande as date, p.fk_statut, p.total_ht, p.total_tva, p.total_ttc"1
  • /htdocs/fourn/card.php
'SELECT f.rowid, f.libelle as label, f.ref, f.ref_supplier, f.fk_statut, f.datef as df, f.total_ht, f.total_tva, f.total_ttc, f.paye,'1
  • /htdocs/fourn/card.php
"SELECT count(cf.rowid), cf.fk_statut"1
  • /htdocs/fourn/index.php
"SELECT cf.rowid, cf.ref, cf.total_ttc,"1
  • /htdocs/fourn/index.php
"SELECT ff.ref_supplier, ff.rowid, ff.total_ttc, ff.type"1
  • /htdocs/fourn/index.php
"SELECT s.rowid as socid, s.nom as name, s.town, s.datec, s.tms, s.prefix_comm, s.code_fournisseur"1
  • /htdocs/fourn/index.php
"SELECT s.rowid as socid, s.nom as name, st.libelle as stcomm, p.rowid as cidp, p.lastname, p.firstname, p.email, p.phone"1
  • /htdocs/fourn/contact.php
"SELECT s.nom, s.rowid as socid, f.ref_supplier, f.datef as df,"1
  • /htdocs/fourn/recap-fourn.php
'SELECT price, unitprice, tva_tx, ref_fourn'1
  • /htdocs/fourn/commande/card.php
'SELECT price, unitprice, tva_tx, remise_percent, entity, ref_fourn'1
  • /htdocs/fourn/commande/card.php
"SELECT p.rowid as pid, p.ref, p.label,"1
  • /htdocs/fourn/commande/dispatch.php
"SELECT count(cf.rowid) as nb, fk_statut as status"1
  • /htdocs/fourn/commande/index.php
"SELECT c.rowid, c.ref, c.fk_statut as status, c.tms, c.billed, s.nom as name, s.rowid as socid"1
  • /htdocs/fourn/commande/index.php
" SELECT ec.rowid "1
  • /htdocs/fourn/commande/list.php
'SELECT s.nom as name, s.rowid as socid,'1
  • /htdocs/fourn/facture/paiement.php
'SELECT f.rowid as facid, f.ref, f.ref_supplier, f.type, f.total_ht, f.total_ttc,'1
  • /htdocs/fourn/facture/paiement.php
"SELECT p.rowid, p.label, p.ref, p.fk_product_type, p.entity, p.tosell, p.tobuy, p.barcode, p.fk_barcode_type,"1
  • /htdocs/fourn/product/list.php
"SELECT c.rowid, c.entity, c.ref, ref_supplier, c.fk_soc, c.fk_statut as status, c.amount_ht, c.total_ht, c.total_ttc, c.total_tva,"1
  • /htdocs/fourn/class/fournisseur.commande.class.php
"SELECT l.rowid, l.fk_commande, l.ref as ref_supplier, l.fk_product, l.product_type, l.label, l.description, l.qty,"1
  • /htdocs/fourn/class/fournisseur.commande.class.php
'UPDATE ' . $this->db->prefix( ) . "commande_fournisseur"1
  • /htdocs/fourn/class/fournisseur.commande.class.php
'UPDATE ' . $this->db->prefix( ) . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'fournisseur/commande/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/fourn/class/fournisseur.commande.class.php
'UPDATE ' . $this->db->prefix( ) . "ecm_files set filepath = 'fournisseur/commande/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/fourn/class/fournisseur.commande.class.php
'UPDATE ' . $this->db->prefix( ) . 'commande_fournisseur SET billed = 1'1
  • /htdocs/fourn/class/fournisseur.commande.class.php
"UPDATE " . $this->db->prefix( ) . "commande_fournisseur SET fk_statut = " . self::STATUS_REFUSED1
  • /htdocs/fourn/class/fournisseur.commande.class.php
"UPDATE " . $this->db->prefix( ) . "commande_fournisseur SET fk_statut = " . ((int) $statut)1
  • /htdocs/fourn/class/fournisseur.commande.class.php
"INSERT INTO " . $this->db->prefix( ) . "commande_fournisseur ("1
  • /htdocs/fourn/class/fournisseur.commande.class.php
"INSERT INTO " . $this->db->prefix( ) . "receptiondet_batch"1
  • /htdocs/fourn/class/fournisseur.commande.class.php
"DELETE FROM $ef WHERE fk_object IN (SELECT rowid FROM $main WHERE fk_commande = " . ((int) $this->id) . ")"1
  • /htdocs/fourn/class/fournisseur.commande.class.php
"DELETE FROM " . $this->db->prefix( ) . "commande_fournisseurdet WHERE fk_commande =" . ((int) $this->id)1
  • /htdocs/fourn/class/fournisseur.commande.class.php
"DELETE FROM " . $this->db->prefix( ) . "commande_fournisseur WHERE rowid =" . ((int) $this->id)1
  • /htdocs/fourn/class/fournisseur.commande.class.php
"SELECT p.ref, p.label,"1
  • /htdocs/fourn/class/fournisseur.commande.class.php
"INSERT INTO " . $this->db->prefix( ) . "commande_fournisseurdet"1
  • /htdocs/fourn/class/fournisseur.commande.class.php
'UPDATE ' . $this->db->prefix( ) . 'commande_fournisseur'1
  • /htdocs/fourn/class/fournisseur.commande.class.php
'SELECT c.rowid, date_creation as datec, tms as datem, date_valid as date_validation, date_approve as datea, date_approve2 as datea2,'1
  • /htdocs/fourn/class/fournisseur.commande.class.php
"SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht"1
  • /htdocs/fourn/class/fournisseur.commande.class.php
'SELECT cd.rowid, cd.fk_commande, cd.fk_product, cd.product_type, cd.description, cd.qty, cd.tva_tx, cd.special_code,'1
  • /htdocs/fourn/class/fournisseur.commande.class.php
'INSERT INTO ' . $this->db->prefix( ) . $this->table_element1
  • /htdocs/fourn/class/fournisseur.commande.class.php
'UPDATE ' . $this->db->prefix( ) . "commandedet SET fk_commandefourndet = NULL WHERE rowid=" . ((int) $this->id)1
  • /htdocs/fourn/class/fournisseur.commande.class.php
'DELETE FROM ' . $this->db->prefix( ) . "commande_fournisseurdet WHERE rowid=" . ((int) $this->id)1
  • /htdocs/fourn/class/fournisseur.commande.class.php
'SELECT p.rowid, p.ref, p.entity, p.datep as dp, p.amount, p.statut, p.fk_bank, p.multicurrency_amount,'1
  • /htdocs/fourn/class/paiementfourn.class.php
'INSERT INTO ' . MAIN_DB_PREFIX . 'paiementfourn ('1
  • /htdocs/fourn/class/paiementfourn.class.php
'INSERT INTO ' . MAIN_DB_PREFIX . 'paiementfourn_facturefourn (fk_facturefourn, fk_paiementfourn, amount, multicurrency_amount, multicurrency_code, multicurrency_tx)'1
  • /htdocs/fourn/class/paiementfourn.class.php
'DELETE FROM ' . MAIN_DB_PREFIX . 'paiementfourn_facturefourn'1
  • /htdocs/fourn/class/paiementfourn.class.php
'DELETE FROM ' . MAIN_DB_PREFIX . 'paiementfourn'1
  • /htdocs/fourn/class/paiementfourn.class.php
'SELECT c.rowid, datec, fk_user_author as fk_user_creat, tms as fk_user_modif'1
  • /htdocs/fourn/class/paiementfourn.class.php
'SELECT fk_facturefourn'1
  • /htdocs/fourn/class/paiementfourn.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "facture_fourn ("1
  • /htdocs/fourn/class/fournisseur.facture.class.php
'UPDATE ' . MAIN_DB_PREFIX . "facture_fourn SET ref='" . $this->db->escape($this->ref) . "' WHERE rowid=" . ((int) $this->id)1
  • /htdocs/fourn/class/fournisseur.facture.class.php
'SELECT f.rowid, f.ref as ref_supplier, f.description as line_desc, f.date_start, f.date_end, f.pu_ht, f.pu_ttc, f.qty, f.remise_percent, f.vat_src_code, f.tva_tx'1
  • /htdocs/fourn/class/fournisseur.facture.class.php
"UPDATE " . MAIN_DB_PREFIX . "facture_fourn SET"1
  • /htdocs/fourn/class/fournisseur.facture.class.php
"DELETE FROM $ef WHERE fk_object IN (SELECT rowid FROM " . $main . " WHERE fk_facture_fourn = " . ((int) $rowid) . ")"1
  • /htdocs/fourn/class/fournisseur.facture.class.php
'DELETE FROM ' . MAIN_DB_PREFIX . 'facture_fourn_det WHERE fk_facture_fourn = ' . ((int) $rowid)1
  • /htdocs/fourn/class/fournisseur.facture.class.php
'DELETE FROM ' . MAIN_DB_PREFIX . 'facture_fourn WHERE rowid = ' . ((int) $rowid)1
  • /htdocs/fourn/class/fournisseur.facture.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'facture_fourn'1
  • /htdocs/fourn/class/fournisseur.facture.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'fournisseur/facture/" . get_exdir($this->id, 2, 0, 0, $this, 'invoice_supplier') . $this->db->escape($this->newref) . "'"1
  • /htdocs/fourn/class/fournisseur.facture.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'fournisseur/facture/" . get_exdir($this->id, 2, 0, 0, $this, 'invoice_supplier') . $this->db->escape($this->newref) . "'"1
  • /htdocs/fourn/class/fournisseur.facture.class.php
'SELECT c.rowid, datec, tms as datem, '1
  • /htdocs/fourn/class/fournisseur.facture.class.php
"SELECT f.rowid as rowid, f.ref, f.fk_statut,"1
  • /htdocs/fourn/class/fournisseur.facture.class.php
"SELECT f.rowid as rowid, f.ref, f.fk_statut, f.type, f.subtype, f.paye, pf.fk_paiementfourn"1
  • /htdocs/fourn/class/fournisseur.facture.class.php
'SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc'1
  • /htdocs/fourn/class/fournisseur.facture.class.php
"SELECT fk_invoice_supplier FROM " . MAIN_DB_PREFIX . "societe_remise_except WHERE fk_invoice_supplier_source = " . ((int) $this->id)1
  • /htdocs/fourn/class/fournisseur.facture.class.php
"SELECT rowid as id FROM " . MAIN_DB_PREFIX . "facture_fourn as f"1
  • /htdocs/fourn/class/fournisseur.facture.class.php
'SELECT f.rowid, f.ref as ref_supplier, f.description as line_desc, f.date_start, f.date_end, f.pu_ht, f.pu_ttc, f.qty, f.remise_percent, f.tva_tx'1
  • /htdocs/fourn/class/fournisseur.facture.class.php
'DELETE FROM ' . MAIN_DB_PREFIX . 'facture_fourn_det '1
  • /htdocs/fourn/class/fournisseur.facture.class.php
'INSERT INTO ' . MAIN_DB_PREFIX . $this->table_element1
  • /htdocs/fourn/class/fournisseur.facture.class.php
'INSERT INTO ' . MAIN_DB_PREFIX . 'facture_fourn_rec ('1
  • /htdocs/fourn/class/fournisseur.facture-rec.class.php
"UPDATE " . MAIN_DB_PREFIX . "facture_fourn_rec SET"1
  • /htdocs/fourn/class/fournisseur.facture-rec.class.php
'SELECT f.rowid, f.titre as title, f.subtype, f.ref_supplier, f.entity, f.fk_soc'1
  • /htdocs/fourn/class/fournisseur.facture-rec.class.php
"DELETE FROM " . $ef . " WHERE fk_object IN (SELECT rowid FROM " . $main . " WHERE fk_facture_fourn = " . (int) $rowid . ")"1
  • /htdocs/fourn/class/fournisseur.facture-rec.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "facture_fourn_det_rec WHERE fk_facture_fourn = " . (int) $rowid1
  • /htdocs/fourn/class/fournisseur.facture-rec.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "facture_fourn_rec WHERE rowid = " . (int) $rowid1
  • /htdocs/fourn/class/fournisseur.facture-rec.class.php
'INSERT INTO ' . MAIN_DB_PREFIX . 'facture_fourn_det_rec ('1
  • /htdocs/fourn/class/fournisseur.facture-rec.class.php
'SELECT rowid FROM ' . MAIN_DB_PREFIX . 'facture_fourn_rec'1
  • /htdocs/fourn/class/fournisseur.facture-rec.class.php
'DELETE FROM ' . MAIN_DB_PREFIX . $this->table_element . ' WHERE rowid=' . (int) $this->id1
  • /htdocs/fourn/class/fournisseur.facture-rec.class.php
"SELECT count(pfp.rowid) as nb"1
  • /htdocs/fourn/class/fournisseur.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "categorie (label,visible,type)"1
  • /htdocs/fourn/class/fournisseur.class.php
"SELECT s.rowid, s.nom as name"1
  • /htdocs/fourn/class/fournisseur.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "product_fournisseur_price"1
  • /htdocs/fourn/class/fournisseur.product.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "product_fournisseur_price("1
  • /htdocs/fourn/class/fournisseur.product.class.php
"SELECT pfp.rowid, pfp.price, pfp.quantity, pfp.unitprice, pfp.remise_percent, pfp.remise, pfp.tva_tx, pfp.default_vat_code, pfp.info_bits as fourn_tva_npr, pfp.fk_availability,"1
  • /htdocs/fourn/class/fournisseur.product.class.php
"SELECT s.nom as supplier_name, s.rowid as fourn_id, p.ref as product_ref, p.tosell as status, p.tobuy as status_buy, "1
  • /htdocs/fourn/class/fournisseur.product.class.php
"SELECT s.nom as supplier_name, s.rowid as fourn_id,"1
  • /htdocs/fourn/class/fournisseur.product.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "product_fournisseur_price_log("1
  • /htdocs/fourn/class/fournisseur.product.class.php
'SELECT f.rowid, f.rowid as facid, f.ref, f.ref_supplier, f.type, f.paye, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.fk_statut as status,'1
  • /htdocs/fourn/paiement/card.php
'SELECT p.rowid, p.ref, p.datep, p.fk_bank, p.statut, p.num_paiement as num_payment, p.amount'1
  • /htdocs/fourn/paiement/list.php
"SELECT p.rowid, p.num_payment, p.datep as dp, p.amount,"1
  • /htdocs/don/card.php
"SELECT count(d.rowid) as nb, sum(d.amount) as somme , d.fk_statut"1
  • /htdocs/don/index.php
"SELECT c.rowid, c.ref, c.fk_statut, c.societe, c.lastname, c.firstname, c.tms as datem, c.amount"1
  • /htdocs/don/index.php
"SELECT d.rowid, d.datedon, d.fk_soc as socid, d.firstname, d.lastname, d.societe,"1
  • /htdocs/don/list.php
'SELECT d.rowid as did, d.paid, d.amount as d_amount, pd.amount'1
  • /htdocs/don/payment/card.php
"SELECT date_format(d.datedon,'%m') as dm, COUNT(*) as nb"1
  • /htdocs/don/class/donstats.class.php
"SELECT date_format(d.datedon,'%Y') as dm, COUNT(*) as nb, SUM(d." . $this->field . ")"1
  • /htdocs/don/class/donstats.class.php
"SELECT date_format(d.datedon,'%m') as dm, sum(d." . $this->field . ")"1
  • /htdocs/don/class/donstats.class.php
"SELECT date_format(d.datedon,'%m') as dm, avg(d." . $this->field . ")"1
  • /htdocs/don/class/donstats.class.php
"SELECT date_format(d.datedon,'%Y') as year, COUNT(*) as nb, SUM(d." . $this->field . ") as total, AVG(" . $this->field . ") as avg"1
  • /htdocs/don/class/donstats.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "payment_donation (fk_donation, datec, datep, amount,"1
  • /htdocs/don/class/paymentdonation.class.php
"UPDATE " . MAIN_DB_PREFIX . "payment_donation SET"1
  • /htdocs/don/class/paymentdonation.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "payment_donation"1
  • /htdocs/don/class/paymentdonation.class.php
"UPDATE " . MAIN_DB_PREFIX . "payment_donation SET fk_bank = " . (int) $id_bank . " WHERE rowid = " . (int) $this->id1
  • /htdocs/don/class/paymentdonation.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "don ("1
  • /htdocs/don/class/don.class.php
"UPDATE " . MAIN_DB_PREFIX . "don SET"1
  • /htdocs/don/class/don.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "don_extrafields"1
  • /htdocs/don/class/don.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "don"1
  • /htdocs/don/class/don.class.php
"SELECT d.rowid, d.datec, d.date_valid, d.tms as datem, d.datedon,"1
  • /htdocs/don/class/don.class.php
"UPDATE " . MAIN_DB_PREFIX . "don SET fk_statut = 1, fk_user_valid = " . ((int) $userid) . " WHERE rowid = " . ((int) $id) . " AND fk_statut = 0"1
  • /htdocs/don/class/don.class.php
"UPDATE " . MAIN_DB_PREFIX . "don SET fk_statut = 2, paid = 1"1
  • /htdocs/don/class/don.class.php
"UPDATE " . MAIN_DB_PREFIX . "don SET fk_statut = -1 WHERE rowid = " . ((int) $id)1
  • /htdocs/don/class/don.class.php
"SELECT sum(amount) as total"1
  • /htdocs/don/class/don.class.php
"SELECT count(d.rowid) as nb"1
  • /htdocs/don/class/don.class.php
'SELECT d.rowid, d.datec, d.fk_user_author, d.fk_user_valid,'1
  • /htdocs/don/class/don.class.php
"SELECT SUM(amount) as sum_amount FROM " . MAIN_DB_PREFIX . "payment_donation WHERE fk_donation = " . ((int) $this->id)1
  • /htdocs/don/class/don.class.php
"SELECT pd.rowid as payment_id, pd.amount, pd.datep, pd.fk_typepayment, pd.num_payment, pd.amount, pd.fk_bank, "1
  • /htdocs/don/paiement/list.php
"SELECT e.rowid"1
  • /htdocs/commande/class/api_orders.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'commande/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/commande/class/commande.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'commande/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/commande/class/commande.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "commande ("1
  • /htdocs/commande/class/commande.class.php
'UPDATE ' . MAIN_DB_PREFIX . "commande SET ref='" . $this->db->escape($initialref) . "' WHERE rowid=" . ((int) $this->id)1
  • /htdocs/commande/class/commande.class.php
'SELECT c.rowid, c.entity, c.date_creation, c.ref, c.fk_soc, c.fk_user_author, c.fk_user_valid, c.fk_user_modif, c.fk_statut'1
  • /htdocs/commande/class/commande.class.php
'SELECT l.rowid, l.fk_product, l.fk_parent_line, l.product_type, l.fk_commande, l.label as custom_label, l.description, l.price, l.qty, l.vat_src_code, l.tva_tx, l.ref_ext,'1
  • /htdocs/commande/class/commande.class.php
'SELECT COUNT(DISTINCT ed.fk_expedition) as nb'1
  • /htdocs/commande/class/commande.class.php
'SELECT count(*)'1
  • /htdocs/commande/class/commande.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'commande SET'1
  • /htdocs/commande/class/commande.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'commande SET facture = 1'1
  • /htdocs/commande/class/commande.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'commande SET facture = 0'1
  • /htdocs/commande/class/commande.class.php
"UPDATE " . MAIN_DB_PREFIX . "commande SET"1
  • /htdocs/commande/class/commande.class.php
"SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht"1
  • /htdocs/commande/class/commande.class.php
'SELECT c.rowid, date_creation as datec, tms as datem,'1
  • /htdocs/commande/class/commande.class.php
'SELECT cd.rowid, cd.fk_commande, cd.fk_parent_line, cd.fk_product, cd.product_type, cd.label as custom_label, cd.description, cd.price, cd.qty, cd.tva_tx, cd.localtax1_tx, cd.localtax2_tx,'1
  • /htdocs/commande/class/commande.class.php
'DELETE FROM ' . MAIN_DB_PREFIX . "commandedet WHERE rowid = " . ((int) $this->id)1
  • /htdocs/commande/class/commande.class.php
'INSERT INTO ' . MAIN_DB_PREFIX . 'commandedet'1
  • /htdocs/commande/class/commande.class.php
"SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb"1
  • /htdocs/commande/class/commandestats.class.php
"SELECT date_format(c.date_commande,'%Y') as dm, COUNT(*) as nb, SUM(c." . $this->field . ")"1
  • /htdocs/commande/class/commandestats.class.php
"SELECT date_format(c.date_commande,'%m') as dm, SUM(c." . $this->field . ")"1
  • /htdocs/commande/class/commandestats.class.php
"SELECT date_format(c.date_commande,'%m') as dm, AVG(c." . $this->field . ")"1
  • /htdocs/commande/class/commandestats.class.php
"SELECT date_format(c.date_commande,'%Y') as year, COUNT(*) as nb, SUM(c." . $this->field . ") as total, AVG(" . $this->field . ") as avg"1
  • /htdocs/commande/class/commandestats.class.php
"SELECT f.rowid, f.ref, f.fk_statut as status, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms"1
  • /htdocs/compta/index.php
"SELECT ff.rowid, ff.ref, ff.fk_statut as status, ff.type, ff.libelle, ff.total_ht, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier"1
  • /htdocs/compta/index.php
"SELECT d.rowid, d.lastname, d.firstname, d.societe, d.datedon as date, d.tms as dm, d.amount, d.fk_statut as status"1
  • /htdocs/compta/index.php
"SELECT c.rowid, c.amount, c.date_ech, c.paye,"1
  • /htdocs/compta/index.php
"SELECT sum(f.total_ht) as tot_fht, sum(f.total_ttc) as tot_fttc"1
  • /htdocs/compta/index.php
"SELECT s.nom, s.rowid as socid, f.ref, f.total_ttc, f.datef as df,"1
  • /htdocs/compta/recap-compta.php
'SELECT f.rowid as facid, f.ref, f.total_ht, f.total_tva, f.total_ttc, f.multicurrency_code, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, f.type,'1
  • /htdocs/compta/paiement.php
'SELECT p.datep as dp, p.amount, f.total_ttc as fa_amount, f.ref'1
  • /htdocs/compta/paiement.php
"SELECT t.rowid as id, t.entity, t.ref, t.paye as paid, t.total_ht, t.total_ttc, t.total_tva as total_vat,"1
  • /htdocs/compta/accounting-files.php
" SELECT t.rowid as id, t.entity, t.ref, t.paye as paid, t.total_ht, t.total_ttc, t.total_tva as total_vat,"1
  • /htdocs/compta/accounting-files.php
" SELECT t.rowid as id, t.entity, t.ref, t.paid, t.total_ht, t.total_ttc, t.total_tva as total_vat,"1
  • /htdocs/compta/accounting-files.php
" SELECT t.rowid as id, t.entity, t.ref, paid, amount as total_ht, amount as total_ttc, 0 as total_vat,"1
  • /htdocs/compta/accounting-files.php
" SELECT t.rowid as id, t.entity, t.label as ref, 1 as paid, amount as total_ht, amount as total_ttc, 0 as total_vat,"1
  • /htdocs/compta/accounting-files.php
" SELECT t.rowid as id, t.entity, t.libelle as ref, t.paye as paid, t.amount as total_ht, t.amount as total_ttc, 0 as total_vat,"1
  • /htdocs/compta/accounting-files.php
" SELECT t.rowid as id, t.entity, t.ref, 1 as paid, t.amount as total_ht, t.amount as total_ttc, 0 as total_vat,"1
  • /htdocs/compta/accounting-files.php
" SELECT t.rowid as id, l.entity, l.label as ref, 1 as paid, (t.amount_capital+t.amount_insurance+t.amount_interest) as total_ht, (t.amount_capital+t.amount_insurance+t.amount_interest) as total_ttc, 0 as total_vat,"1
  • /htdocs/compta/accounting-files.php
"UPDATE " . MAIN_DB_PREFIX . "societe SET note='" . $db->escape($note) . "' WHERE rowid=" . ((int) $socid)1
  • /htdocs/compta/clients.php
"SELECT f.rowid, f.ref_supplier, f.type, f.datef, f.libelle as label,"1
  • /htdocs/compta/journal/purchasesjournal.php
"SELECT f.rowid, f.ref, f.type, f.datef, f.ref_client,"1
  • /htdocs/compta/journal/sellsjournal.php
"SELECT cs.rowid, cs.fk_type as type, cs.fk_user,"1
  • /htdocs/compta/sociales/list.php
'SELECT COUNT(DISTINCT cs.rowid) as nbtotalofrecords'1
  • /htdocs/compta/sociales/list.php
"SELECT c.id, c.libelle as type_label,"1
  • /htdocs/compta/sociales/payments.php
"INSERT INTO " . MAIN_DB_PREFIX . "paiementcharge (fk_charge, datec, datep, amount,"1
  • /htdocs/compta/sociales/class/paymentsocialcontribution.class.php
"UPDATE " . MAIN_DB_PREFIX . "paiementcharge SET"1
  • /htdocs/compta/sociales/class/paymentsocialcontribution.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "paiementcharge"1
  • /htdocs/compta/sociales/class/paymentsocialcontribution.class.php
"UPDATE " . MAIN_DB_PREFIX . "paiementcharge SET fk_bank = " . ((int) $id_bank) . " WHERE rowid = " . ((int) $this->id)1
  • /htdocs/compta/sociales/class/paymentsocialcontribution.class.php
" SELECT COUNT(ab.rowid) as nb FROM " . MAIN_DB_PREFIX . "accounting_bookkeeping as ab WHERE ab.doc_type='" . $this->db->escape($type) . "' AND ab.fk_doc = " . ((int) $this->bank_line)1
  • /htdocs/compta/sociales/class/paymentsocialcontribution.class.php
"SELECT cs.rowid, cs.date_ech"1
  • /htdocs/compta/sociales/class/chargesociales.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "chargesociales (fk_type, fk_account, fk_mode_reglement, libelle, date_ech, periode, amount, fk_projet, entity, fk_user_author, fk_user, date_creation)"1
  • /htdocs/compta/sociales/class/chargesociales.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "paiementcharge WHERE fk_charge=" . ((int) $this->id)1
  • /htdocs/compta/sociales/class/chargesociales.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "chargesociales WHERE rowid=" . ((int) $this->id)1
  • /htdocs/compta/sociales/class/chargesociales.class.php
"UPDATE " . MAIN_DB_PREFIX . "chargesociales"1
  • /htdocs/compta/sociales/class/chargesociales.class.php
"SELECT SUM(f.amount) as amount"1
  • /htdocs/compta/sociales/class/chargesociales.class.php
"SELECT e.rowid, e.tms as datem, e.date_creation as datec, e.date_valid as datev, e.import_key,"1
  • /htdocs/compta/sociales/class/chargesociales.class.php
"SELECT SUM(amount) as mm, date_format(tva.datev,'%Y-%m') as dm, 'claimed' as mode"1
  • /htdocs/compta/tva/index.php
"SELECT SUM(ptva.amount) as mm, date_format(tva.datev,'%Y-%m') as dm, 'paid' as mode"1
  • /htdocs/compta/tva/index.php
'SELECT t.rowid, t.amount, t.label, t.datec, t.datev, t.paye as status, t.fk_typepayment as type, t.fk_account,'1
  • /htdocs/compta/tva/list.php
"INSERT INTO " . MAIN_DB_PREFIX . "tva("1
  • /htdocs/compta/tva/class/tva.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "tva"1
  • /htdocs/compta/tva/class/tva.class.php
"SELECT sum(f.total_tva) as amount"1
  • /htdocs/compta/tva/class/tva.class.php
"SELECT sum(f.total_tva) as total_tva"1
  • /htdocs/compta/tva/class/tva.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "tva ("1
  • /htdocs/compta/tva/class/tva.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'tva SET fk_bank = ' . (int) $id_bank1
  • /htdocs/compta/tva/class/tva.class.php
"SELECT t.rowid, t.tms, t.fk_user_modif, t.datec, t.fk_user_creat"1
  • /htdocs/compta/tva/class/tva.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "payment_vat (fk_tva, datec, datep, amount,"1
  • /htdocs/compta/tva/class/paymentvat.class.php
"UPDATE " . MAIN_DB_PREFIX . "payment_vat SET"1
  • /htdocs/compta/tva/class/paymentvat.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "payment_vat"1
  • /htdocs/compta/tva/class/paymentvat.class.php
"UPDATE " . MAIN_DB_PREFIX . "payment_vat SET fk_bank = " . ((int) $id_bank) . " WHERE rowid = " . ((int) $this->id)1
  • /htdocs/compta/tva/class/paymentvat.class.php
"SELECT b.rowid, b.dateo as do, b.datev as dv, b.amount, b.label, b.rappro as conciliated, b.num_releve, b.num_chq,"1
  • /htdocs/compta/bank/bankentries_list.php
"SELECT DISTINCT num_releve FROM " . MAIN_DB_PREFIX . "bank"1
  • /htdocs/compta/bank/bankentries_list.php
'SELECT SUM(b.amount) as previoustotal'1
  • /htdocs/compta/bank/bankentries_list.php
"SELECT b.rowid, b.label, b.courant, b.rappro, b.account_number, b.fk_accountancy_journal, b.currency_code, b.datec as date_creation, b.tms as date_modification"1
  • /htdocs/compta/bank/list.php
"SELECT 'invoice' as family, f.rowid as objid, f.ref as ref, f.total_ttc, f.type, f.date_lim_reglement as dlr,"1
  • /htdocs/compta/bank/treso.php
" SELECT 'invoice_supplier' as family, ff.rowid as objid, ff.ref as ref, ff.ref_supplier as ref_supplier, (-1*ff.total_ttc) as total_ttc, ff.type, ff.date_lim_reglement as dlr,"1
  • /htdocs/compta/bank/treso.php
" SELECT 'social_contribution' as family, cs.rowid as objid, cs.libelle as ref, (-1*cs.amount) as total_ttc, ccs.libelle as type, cs.date_ech as dlr,"1
  • /htdocs/compta/bank/treso.php
" SELECT 'salary' as family, sa.rowid as objid, sa.label as ref, (-1*sa.amount) as total_ttc, sa.dateep as dlr,"1
  • /htdocs/compta/bank/treso.php
" SELECT 'vat' as family, t.rowid as objid, t.label as ref, (-1*t.amount) as total_ttc, t.datev as dlr,"1
  • /htdocs/compta/bank/treso.php
"SELECT sum(amount) as amount FROM " . MAIN_DB_PREFIX . "paiement"1
  • /htdocs/compta/bank/bilan.php
"SELECT sum(amount) as amount FROM " . MAIN_DB_PREFIX . "bank WHERE amount > 0"1
  • /htdocs/compta/bank/bilan.php
"SELECT sum(amount) as amount FROM " . MAIN_DB_PREFIX . "bank WHERE amount < 0"1
  • /htdocs/compta/bank/bilan.php
"SELECT sum(amount) as amount FROM " . MAIN_DB_PREFIX . "bank "1
  • /htdocs/compta/bank/bilan.php
"DELETE FROM " . MAIN_DB_PREFIX . "bank_class WHERE lineid = " . ((int) $rowid) . " AND fk_categ = " . ((int) $cat1)1
  • /htdocs/compta/bank/line.php
"DELETE FROM " . MAIN_DB_PREFIX . "bank_class WHERE lineid = " . ((int) $rowid)1
  • /htdocs/compta/bank/line.php
"INSERT INTO " . MAIN_DB_PREFIX . "bank_class (lineid, fk_categ) VALUES (" . ((int) $rowid) . ", " . ((int) $val) . ")"1
  • /htdocs/compta/bank/line.php
"SELECT b.rowid, b.dateo as do, b.datev as dv, b.amount, b.label, b.rappro,"1
  • /htdocs/compta/bank/line.php
"SELECT sum(d.amount) as somme, count(*) as nombre, c.label, c.rowid "1
  • /htdocs/compta/bank/budget.php
"SELECT b.rowid FROM " . MAIN_DB_PREFIX . "bank as b, " . MAIN_DB_PREFIX . "bank_account as ba"1
  • /htdocs/compta/bank/releve.php
"UPDATE " . MAIN_DB_PREFIX . "bank SET num_releve = '" . $db->escape($newbankreceipt) . "'"1
  • /htdocs/compta/bank/releve.php
"SELECT DISTINCT(b.num_releve) as numr"1
  • /htdocs/compta/bank/releve.php
"SELECT SUM(b.amount) as total"1
  • /htdocs/compta/bank/annuel.php
"SELECT v.rowid, v.sens, v.amount, v.label, v.datep as datep, v.datev as datev, v.fk_typepayment as type, v.num_payment, v.fk_bank, v.accountancy_code, v.subledger_account, v.fk_projet as fk_project,"1
  • /htdocs/compta/bank/various_payment/list.php
"INSERT INTO " . MAIN_DB_PREFIX . "bank_categ ("1
  • /htdocs/compta/bank/class/bankcateg.class.php
"UPDATE " . MAIN_DB_PREFIX . "bank_categ SET"1
  • /htdocs/compta/bank/class/bankcateg.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "bank_class"1
  • /htdocs/compta/bank/class/bankcateg.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "bank_categ"1
  • /htdocs/compta/bank/class/bankcateg.class.php
"SELECT rowid, label FROM " . MAIN_DB_PREFIX . "bank_categ WHERE entity = " . $conf->entity . " ORDER BY label"1
  • /htdocs/compta/bank/class/bankcateg.class.php
"SELECT t.rowid FROM " . MAIN_DB_PREFIX . "bank_account AS t LEFT JOIN " . MAIN_DB_PREFIX . "bank_account_extrafields AS ef ON (ef.fk_object = t.rowid)"1
  • /htdocs/compta/bank/class/api_bankaccounts.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "bank "1
  • /htdocs/compta/bank/class/api_bankaccounts.class.php
"SELECT fk_bank, url_id, url, label, type"1
  • /htdocs/compta/bank/class/account.class.php
"SELECT code FROM " . MAIN_DB_PREFIX . "c_paiement"1
  • /htdocs/compta/bank/class/account.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "bank_class("1
  • /htdocs/compta/bank/class/account.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "bank_account ("1
  • /htdocs/compta/bank/class/account.class.php
"SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant as type, ba.clos as status, ba.rappro, ba.url,"1
  • /htdocs/compta/bank/class/account.class.php
"SELECT COUNT(ba.rowid) as nb"1
  • /htdocs/compta/bank/class/account.class.php
"UPDATE " . MAIN_DB_PREFIX . "bank_url SET url_id = " . ((int) $dest_id) . " WHERE url_id = " . ((int) $origin_id) . " AND type='company'"1
  • /htdocs/compta/bank/class/account.class.php
"SELECT b.rowid, b.datec, b.datev, b.dateo, b.amount, b.label as label, b.fk_account,"1
  • /htdocs/compta/bank/class/account.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "bank ("1
  • /htdocs/compta/bank/class/account.class.php
"SELECT COUNT(rowid) as nb FROM " . MAIN_DB_PREFIX . "accounting_bookkeeping WHERE doc_type = 'bank' AND fk_doc = " . ((int) $this->id)1
  • /htdocs/compta/bank/class/account.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "bank_class WHERE lineid=" . (int) $this->rowid1
  • /htdocs/compta/bank/class/account.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "bank_extrafields WHERE fk_object=" . (int) $this->rowid1
  • /htdocs/compta/bank/class/account.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "bank WHERE rowid=" . (int) $this->rowid1
  • /htdocs/compta/bank/class/account.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "bank_url WHERE fk_bank=" . (int) $this->rowid1
  • /htdocs/compta/bank/class/account.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "bank_class ("1
  • /htdocs/compta/bank/class/account.class.php
"SELECT datev FROM " . MAIN_DB_PREFIX . "bank WHERE rowid = " . ((int) $rowid)1
  • /htdocs/compta/bank/class/account.class.php
"SELECT dateo FROM " . MAIN_DB_PREFIX . "bank WHERE rowid = " . ((int) $rowid)1
  • /htdocs/compta/bank/class/account.class.php
'SELECT b.rowid, b.datec, b.tms as datem,'1
  • /htdocs/compta/bank/class/account.class.php
"SELECT COUNT(rowid) as nb FROM " . MAIN_DB_PREFIX . "accounting_bookkeeping"1
  • /htdocs/compta/bank/class/account.class.php
"UPDATE " . MAIN_DB_PREFIX . "payment_various SET"1
  • /htdocs/compta/bank/class/paymentvarious.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "payment_various"1
  • /htdocs/compta/bank/class/paymentvarious.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "payment_various ("1
  • /htdocs/compta/bank/class/paymentvarious.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'payment_various SET fk_bank = ' . ((int) $id_bank)1
  • /htdocs/compta/bank/class/paymentvarious.class.php
'SELECT v.rowid, v.datec, v.fk_user_author'1
  • /htdocs/compta/bank/class/paymentvarious.class.php
" SELECT COUNT(ab.rowid) as nb FROM " . MAIN_DB_PREFIX . "accounting_bookkeeping as ab WHERE ab.doc_type='" . $this->db->escape($type) . "' AND ab.fk_doc = " . ((int) $banklineid)1
  • /htdocs/compta/bank/class/paymentvarious.class.php
"SELECT SUM(pfd.amount) as amount"1
  • /htdocs/compta/facture/prelevement.php
"SELECT pfd.rowid, pfd.traite, pfd.date_demande, pfd.date_traite, pfd.fk_prelevement_bons, pfd.amount,"1
  • /htdocs/compta/facture/prelevement.php
"INSERT INTO " . MAIN_DB_PREFIX . "c_payment_term("1
  • /htdocs/compta/facture/class/paymentterm.class.php
"UPDATE " . MAIN_DB_PREFIX . "c_payment_term SET"1
  • /htdocs/compta/facture/class/paymentterm.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "c_payment_term"1
  • /htdocs/compta/facture/class/paymentterm.class.php
"SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb"1
  • /htdocs/compta/facture/class/facturestats.class.php
"SELECT date_format(f.datef,'%Y') as dm, COUNT(*), SUM(c." . $this->field . ")"1
  • /htdocs/compta/facture/class/facturestats.class.php
"SELECT date_format(datef,'%m') as dm, SUM(f." . $this->field . ")"1
  • /htdocs/compta/facture/class/facturestats.class.php
"SELECT date_format(datef,'%Y') as year, COUNT(*) as nb, SUM(f." . $this->field . ") as total, AVG(f." . $this->field . ") as avg"1
  • /htdocs/compta/facture/class/facturestats.class.php
"SELECT date_format(datef,'%Y') as dm, SUM(f." . $this->field . ")"1
  • /htdocs/compta/facture/class/facturestats.class.php
'SELECT SUM(pf.amount) as total_payments'1
  • /htdocs/compta/facture/class/api_invoices.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "facture_rec ("1
  • /htdocs/compta/facture/class/facture-rec.class.php
"UPDATE " . MAIN_DB_PREFIX . "facture_rec SET"1
  • /htdocs/compta/facture/class/facture-rec.class.php
'SELECT f.rowid, f.entity, f.titre as title, f.suspended, f.fk_soc, f.subtype, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc'1
  • /htdocs/compta/facture/class/facture-rec.class.php
'SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.product_type, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, '1
  • /htdocs/compta/facture/class/facture-rec.class.php
"DELETE FROM $ef WHERE fk_object IN (SELECT rowid FROM " . $main . " WHERE fk_facture = " . ((int) $rowid) . ")"1
  • /htdocs/compta/facture/class/facture-rec.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "facturedet_rec WHERE fk_facture = " . ((int) $rowid)1
  • /htdocs/compta/facture/class/facture-rec.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "facture_rec WHERE rowid = " . ((int) $rowid)1
  • /htdocs/compta/facture/class/facture-rec.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "facturedet_rec ("1
  • /htdocs/compta/facture/class/facture-rec.class.php
"UPDATE " . MAIN_DB_PREFIX . "facturedet_rec SET "1
  • /htdocs/compta/facture/class/facture-rec.class.php
'SELECT rowid FROM ' . MAIN_DB_PREFIX . 'facture_rec'1
  • /htdocs/compta/facture/class/facture-rec.class.php
'SELECT c.rowid, datec, tms as datem,'1
  • /htdocs/compta/facture/class/facture-rec.class.php
'DELETE FROM ' . MAIN_DB_PREFIX . $this->table_element . ' WHERE rowid=' . ((int) $this->id)1
  • /htdocs/compta/facture/class/facture-rec.class.php
'SELECT l.rowid, l.fk_facture, l.fk_parent_line, l.fk_product, l.product_type, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx,'1
  • /htdocs/compta/facture/class/facture-rec.class.php
"UPDATE " . MAIN_DB_PREFIX . "facturedet_rec SET"1
  • /htdocs/compta/facture/class/facture-rec.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "facture ("1
  • /htdocs/compta/facture/class/facture.class.php
'UPDATE ' . MAIN_DB_PREFIX . "facture SET ref='" . $this->db->escape($this->ref) . "' WHERE rowid=" . ((int) $this->id)1
  • /htdocs/compta/facture/class/facture.class.php
'SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.subtype, f.fk_soc'1
  • /htdocs/compta/facture/class/facture.class.php
'SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx,'1
  • /htdocs/compta/facture/class/facture.class.php
'SELECT rowid, type, situation_cycle_ref, situation_counter FROM ' . MAIN_DB_PREFIX . 'facture'1
  • /htdocs/compta/facture/class/facture.class.php
"UPDATE " . MAIN_DB_PREFIX . "facture SET"1
  • /htdocs/compta/facture/class/facture.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'eventorganization_conferenceorboothattendee'1
  • /htdocs/compta/facture/class/facture.class.php
"DELETE FROM " . $ef . " WHERE fk_object IN (SELECT rowid FROM " . $main . " WHERE fk_facture = " . ((int) $rowid) . ")"1
  • /htdocs/compta/facture/class/facture.class.php
'DELETE FROM ' . MAIN_DB_PREFIX . 'facturedet WHERE fk_facture = ' . ((int) $rowid)1
  • /htdocs/compta/facture/class/facture.class.php
'DELETE FROM ' . MAIN_DB_PREFIX . 'facture WHERE rowid = ' . ((int) $rowid)1
  • /htdocs/compta/facture/class/facture.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'facture/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/compta/facture/class/facture.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'facture/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/compta/facture/class/facture.class.php
'SELECT fd.situation_percent FROM ' . MAIN_DB_PREFIX . 'facturedet fd INNER JOIN ' . MAIN_DB_PREFIX . 'facture f ON (fd.fk_facture = f.rowid) WHERE fd.fk_prev_id = ' . ((int) $idline) . ' AND f.fk_statut <> 0'1
  • /htdocs/compta/facture/class/facture.class.php
'SELECT c.rowid, datec, date_valid as datev, tms as datem,'1
  • /htdocs/compta/facture/class/facture.class.php
"SELECT f.rowid as rowid, f.ref, f.fk_statut as status, f.paye as paid,"1
  • /htdocs/compta/facture/class/facture.class.php
"SELECT f.rowid as rowid, f.ref, f.fk_statut, f.type, f.subtype, f.paye, pf.fk_paiement"1
  • /htdocs/compta/facture/class/facture.class.php
"SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut as status, f.total_ht"1
  • /htdocs/compta/facture/class/facture.class.php
"SELECT max(situation_cycle_ref) as maxsituationref"1
  • /htdocs/compta/facture/class/facture.class.php
'SELECT rowid FROM ' . MAIN_DB_PREFIX . 'facture'1
  • /htdocs/compta/facture/class/facture.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'facture SET situation_final = ' . ((int) $this->situation_final) . ' WHERE rowid = ' . ((int) $this->id)1
  • /htdocs/compta/facture/class/facture.class.php
'SELECT max(situation_counter) FROM ' . MAIN_DB_PREFIX . 'facture'1
  • /htdocs/compta/facture/class/facture.class.php
"SELECT rowid as id FROM " . MAIN_DB_PREFIX . "facture as f"1
  • /htdocs/compta/facture/class/facture.class.php
"SELECT datef"1
  • /htdocs/compta/facture/class/facture.class.php
'SELECT fd.rowid, fd.fk_facture, fd.fk_parent_line, fd.fk_product, fd.product_type, fd.label as custom_label, fd.description, fd.price, fd.qty, fd.vat_src_code, fd.tva_tx,'1
  • /htdocs/compta/facture/class/facture.class.php
'INSERT INTO ' . MAIN_DB_PREFIX . 'facturedet'1
  • /htdocs/compta/facture/class/facture.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "facturedet WHERE rowid = " . ((int) $this->id)1
  • /htdocs/compta/facture/class/facture.class.php
"SELECT situation_percent FROM " . MAIN_DB_PREFIX . "facturedet"1
  • /htdocs/compta/facture/class/facture.class.php
'SELECT fd.situation_percent FROM ' . MAIN_DB_PREFIX . 'facturedet fd'1
  • /htdocs/compta/facture/class/facture.class.php
"SELECT SUM(amount) as mm, date_format(f.datev,'%Y-%m') as dm, 'claimed' as mode"1
  • /htdocs/compta/localtax/index.php
"SELECT SUM(amount) as mm, date_format(f.datep,'%Y-%m') as dm, 'paid' as mode"1
  • /htdocs/compta/localtax/index.php
"SELECT rowid, amount, label, f.datev, f.datep"1
  • /htdocs/compta/localtax/list.php
"INSERT INTO " . MAIN_DB_PREFIX . "localtax("1
  • /htdocs/compta/localtax/class/localtax.class.php
"UPDATE " . MAIN_DB_PREFIX . "localtax SET"1
  • /htdocs/compta/localtax/class/localtax.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "localtax"1
  • /htdocs/compta/localtax/class/localtax.class.php
"SELECT sum(f.localtax) as amount"1
  • /htdocs/compta/localtax/class/localtax.class.php
"SELECT sum(f.total_localtax) as total_localtax"1
  • /htdocs/compta/localtax/class/localtax.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "localtax (localtaxtype, datep, datev, amount"1
  • /htdocs/compta/localtax/class/localtax.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'localtax SET fk_bank = ' . ((int) $id)1
  • /htdocs/compta/localtax/class/localtax.class.php
"SELECT SUM(amount) as total FROM " . MAIN_DB_PREFIX . "bank"1
  • /htdocs/compta/cashcontrol/cashcontrol_card.php
"SELECT SUM(pf.amount) as total, COUNT(*) as nb"1
  • /htdocs/compta/cashcontrol/cashcontrol_card.php
"SELECT f.rowid as facid, f.ref, f.datef as do, pf.amount as amount, b.fk_account as bankid, cp.code"1
  • /htdocs/compta/cashcontrol/report.php
"INSERT INTO " . MAIN_DB_PREFIX . "pos_cash_fence ("1
  • /htdocs/compta/cashcontrol/class/cashcontrol.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'pos_cash_fence SET ref = rowid where rowid = ' . ((int) $this->id)1
  • /htdocs/compta/cashcontrol/class/cashcontrol.class.php
"UPDATE " . MAIN_DB_PREFIX . "pos_cash_fence"1
  • /htdocs/compta/cashcontrol/class/cashcontrol.class.php
"SELECT c.id, c.libelle as label,"1
  • /htdocs/compta/charges/index.php
"SELECT ptva.rowid, pv.rowid as id_tva, pv.amount as amount_tva, ptva.amount, pv.label, pv.datev as dm, ptva.datep as date_payment, ptva.fk_bank, ptva.num_paiement as num_payment,"1
  • /htdocs/compta/charges/index.php
"SELECT pv.rowid, pv.amount, pv.label, pv.datev as dm, pv.datep as dp"1
  • /htdocs/compta/charges/index.php
'SELECT f.rowid as scid, f.libelle as label, f.paye, f.amount as sc_amount, pf.amount, pc.libelle as sc_type'1
  • /htdocs/compta/payment_sc/card.php
"SELECT pl.rowid, pl.statut, pl.amount, pl.fk_user,"1
  • /htdocs/compta/prelevement/card.php
"SELECT pl.rowid, pl.statut, pl.amount,"1
  • /htdocs/compta/prelevement/card.php
"SELECT f.ref, f.rowid, f.total_ttc,"1
  • /htdocs/compta/prelevement/demandes.php
"SELECT s.rowid,s.amount as total_ttc, pd.amount,"1
  • /htdocs/compta/prelevement/demandes.php
"SELECT sum(pl.amount), pl.statut"1
  • /htdocs/compta/prelevement/fiche-stat.php
"SELECT p.rowid, p.ref, p.amount, p.statut, p.datec"1
  • /htdocs/compta/prelevement/orders_list.php
"SELECT f.ref, f.rowid, f.total_ttc, f.fk_statut, f.paye, f.type,"1
  • /htdocs/compta/prelevement/index.php
"SELECT pl.rowid, pr.motif, p.ref, pl.statut, p.rowid as bonId,"1
  • /htdocs/compta/prelevement/rejets.php
" SELECT pl.rowid, pr.motif, p.ref, pl.statut, p.rowid as bonId,"1
  • /htdocs/compta/prelevement/rejets.php
"SELECT f.ref, f.rowid, f.total_ttc, s.nom as name, s.rowid as socid,"1
  • /htdocs/compta/prelevement/create.php
"SELECT s.ref, s.rowid, s.amount, CONCAT(u.lastname, ' ', u.firstname) as name, u.rowid as uid,"1
  • /htdocs/compta/prelevement/create.php
"SELECT p.rowid, p.ref, p.statut as status, p.datec"1
  • /htdocs/compta/prelevement/list.php
" SELECT p.rowid, p.ref, p.statut as status, p.datec"1
  • /htdocs/compta/prelevement/list.php
"SELECT COUNT(*) as nbtotalofrecords FROM (" . $sql . ") AS combined_results"1
  • /htdocs/compta/prelevement/list.php
"SELECT sum(pl.amount), count(pl.amount), pl.statut"1
  • /htdocs/compta/prelevement/stats.php
"SELECT sum(pl.amount), count(pl.amount) as cc, pr.motif"1
  • /htdocs/compta/prelevement/stats.php
"SELECT pl.rowid, pl.amount, pl.statut"1
  • /htdocs/compta/prelevement/fiche-rejet.php
"SELECT pf.rowid"1
  • /htdocs/compta/prelevement/line.php
"INSERT INTO " . MAIN_DB_PREFIX . "prelevement_rejet ("1
  • /htdocs/compta/prelevement/class/rejetprelevement.class.php
" UPDATE " . MAIN_DB_PREFIX . "prelevement_lignes "1
  • /htdocs/compta/prelevement/class/rejetprelevement.class.php
"SELECT fk_user_demande"1
  • /htdocs/compta/prelevement/class/rejetprelevement.class.php
"SELECT f.rowid as facid, pl.amount"1
  • /htdocs/compta/prelevement/class/rejetprelevement.class.php
"SELECT pr.date_rejet as dr, motif, afacturer"1
  • /htdocs/compta/prelevement/class/rejetprelevement.class.php
"SELECT pl.rowid, pl.amount, p.ref, p.rowid as bon_rowid"1
  • /htdocs/compta/prelevement/class/ligneprelevement.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "prelevement ("1
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "prelevement_lignes ("1
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
"SELECT p.rowid, p.ref, p.amount, p.note"1
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
" UPDATE " . MAIN_DB_PREFIX . "prelevement_bons"1
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
" UPDATE " . MAIN_DB_PREFIX . "prelevement_lignes"1
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
"UPDATE " . MAIN_DB_PREFIX . "prelevement_bons "1
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
"SELECT sum(pd.amount) as nb"1
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
"SELECT f.rowid, pd.rowid as pfdrowid"1
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
"SELECT substring(ref from char_length(ref) - 1)"1
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "prelevement_bons ("1
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
"UPDATE " . MAIN_DB_PREFIX . "prelevement_demande"1
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "prelevement WHERE fk_prelevement_lignes IN (SELECT rowid FROM " . MAIN_DB_PREFIX . "prelevement_lignes WHERE fk_prelevement_bons = " . ((int) $this->id) . ")"1
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "prelevement_lignes WHERE fk_prelevement_bons = " . ((int) $this->id)1
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "prelevement_bons WHERE rowid = " . ((int) $this->id)1
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
"UPDATE " . MAIN_DB_PREFIX . "prelevement_demande SET fk_prelevement_bons = NULL, traite = 0 WHERE fk_prelevement_bons = " . ((int) $this->id)1
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "notify_def (datec,fk_user, fk_soc, fk_contact, fk_action)"1
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
"SELECT u.rowid as userId, u.address, u.zip, u.town, c.code as country_code, CONCAT(u.firstname,' ',u.lastname) as nom,"1
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
"SELECT COUNT(*) AS nb FROM " . MAIN_DB_PREFIX . "prelevement_lignes"1
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
'SELECT f.rowid as scid, f.label as label, f.paye, f.amount as tva_amount, pf.amount'1
  • /htdocs/compta/payment_vat/card.php
"SELECT f.ref, f.rowid, f.total_ttc, f.fk_statut, f.paye, f.type, f.datef, f.date_lim_reglement,"1
  • /htdocs/compta/paymentbybanktransfer/index.php
"SELECT * FROM " . MAIN_DB_PREFIX . "salary as s, " . MAIN_DB_PREFIX . "prelevement_demande as pd"1
  • /htdocs/compta/paymentbybanktransfer/index.php
"SELECT count(d.rowid) as nb, sum(d.km) as km, d.type"1
  • /htdocs/compta/deplacement/index.php
"SELECT u.rowid as uid, u.lastname, u.firstname, d.rowid, d.dated as date, d.tms as dm, d.km, d.fk_statut"1
  • /htdocs/compta/deplacement/index.php
"SELECT s.nom, d.fk_user, s.rowid as socid,"1
  • /htdocs/compta/deplacement/list.php
"SELECT YEAR(dated) as dm, count(*)"1
  • /htdocs/compta/deplacement/class/deplacementstats.class.php
"SELECT MONTH(dated) as dm, count(*)"1
  • /htdocs/compta/deplacement/class/deplacementstats.class.php
"SELECT date_format(dated,'%m') as dm, sum(" . $this->field . ")"1
  • /htdocs/compta/deplacement/class/deplacementstats.class.php
"SELECT date_format(dated,'%m') as dm, avg(" . $this->field . ")"1
  • /htdocs/compta/deplacement/class/deplacementstats.class.php
"SELECT date_format(dated,'%Y') as year, count(*) as nb, sum(" . $this->field . ") as total, avg(" . $this->field . ") as avg"1
  • /htdocs/compta/deplacement/class/deplacementstats.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "deplacement ("1
  • /htdocs/compta/deplacement/class/deplacement.class.php
"UPDATE " . MAIN_DB_PREFIX . "deplacement "1
  • /htdocs/compta/deplacement/class/deplacement.class.php
"SELECT rowid, fk_user, type, fk_statut, km, fk_soc, dated, note_private, note_public, fk_projet as fk_project, extraparams"1
  • /htdocs/compta/deplacement/class/deplacement.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "deplacement WHERE rowid = " . ((int) $id)1
  • /htdocs/compta/deplacement/class/deplacement.class.php
'SELECT c.rowid, c.datec, c.fk_user_author, c.fk_user_modif,'1
  • /htdocs/compta/deplacement/class/deplacement.class.php
"SELECT sum(p.amount) as amount_ttc, date_format(p.datep,'%Y-%m') as dm"1
  • /htdocs/compta/resultat/index.php
"SELECT c.libelle as nom, date_format(cs.date_ech,'%Y-%m') as dm, sum(cs.amount) as amount"1
  • /htdocs/compta/resultat/index.php
"SELECT c.libelle as nom, date_format(p.datep,'%Y-%m') as dm, sum(p.amount) as amount"1
  • /htdocs/compta/resultat/index.php
"SELECT s.label as nom, date_format(" . $column . ",'%Y-%m') as dm, sum(s.amount) as amount"1
  • /htdocs/compta/resultat/index.php
"SELECT p.label as nom, date_format(" . $column . ",'%Y-%m') as dm, sum(p.amount) as amount"1
  • /htdocs/compta/resultat/index.php
"SELECT date_format(date_valid,'%Y-%m') as dm, sum(p.total_ht) as amount_ht,sum(p.total_ttc) as amount_ttc"1
  • /htdocs/compta/resultat/index.php
"SELECT date_format(pe.datep,'%Y-%m') as dm, sum(p.total_ht) as amount_ht,sum(p.total_ttc) as amount_ttc"1
  • /htdocs/compta/resultat/index.php
"SELECT p.societe as nom, p.firstname, p.lastname, date_format(pe.datep,'%Y-%m') as dm, sum(p.amount) as amount"1
  • /htdocs/compta/resultat/index.php
"SELECT date_format(p.datep, '%Y-%m') AS dm, SUM(p.amount) AS amount FROM " . MAIN_DB_PREFIX . "payment_various as p"1
  • /htdocs/compta/resultat/index.php
"SELECT date_format(p.datep, '%Y-%m') AS dm, SUM(p.amount) AS amount FROM " . MAIN_DB_PREFIX . "payment_various AS p"1
  • /htdocs/compta/resultat/index.php
"SELECT date_format(p.datep, '%Y-%m') AS dm, SUM(p.amount_capital + p.amount_insurance + p.amount_interest) AS amount"1
  • /htdocs/compta/resultat/index.php
"SELECT b.doc_ref, b.numero_compte, b.subledger_account, b.subledger_label, aa.pcg_type, date_format(b.doc_date,'%Y-%m') as dm, sum(b.debit) as debit, sum(b.credit) as credit, sum(b.montant) as amount"1
  • /htdocs/compta/resultat/index.php
"SELECT -1 as socid, aa.pcg_type, SUM(f.credit - f.debit) as amount"1
  • /htdocs/compta/resultat/clientfourn.php
"SELECT 'Autres' as name, '0' as idp, sum(p.amount) as amount_ttc"1
  • /htdocs/compta/resultat/clientfourn.php
"SELECT p.societe as name, p.firstname, p.lastname, date_format(p.datedon,'%Y-%m') as dm, sum(p.amount) as amount"1
  • /htdocs/compta/resultat/clientfourn.php
"SELECT u.rowid, u.firstname, u.lastname, s.fk_user as fk_user, s.label as label, date_format($column,'%Y-%m') as dm, sum(s.amount) as amount"1
  • /htdocs/compta/resultat/clientfourn.php
"SELECT u.rowid, u.firstname, u.lastname, s.fk_user as fk_user, p.label as label, date_format($column,'%Y-%m') as dm, sum(p.amount) as amount"1
  • /htdocs/compta/resultat/clientfourn.php
"SELECT p.rowid, p.ref, u.rowid as userid, u.firstname, u.lastname, date_format(date_valid,'%Y-%m') as dm, p.total_ht as amount_ht, p.total_ttc as amount_ttc"1
  • /htdocs/compta/resultat/clientfourn.php
"SELECT p.rowid, p.ref, u.rowid as userid, u.firstname, u.lastname, date_format(pe.datep,'%Y-%m') as dm, sum(pe.amount) as amount_ht, sum(pe.amount) as amount_ttc"1
  • /htdocs/compta/resultat/clientfourn.php
"SELECT SUM(p.amount) AS amount FROM " . MAIN_DB_PREFIX . "payment_various as p"1
  • /htdocs/compta/resultat/clientfourn.php
'SELECT l.rowid as id, l.label AS label, SUM(p.amount_capital + p.amount_insurance + p.amount_interest) as amount FROM ' . MAIN_DB_PREFIX . 'payment_loan as p'1
  • /htdocs/compta/resultat/clientfourn.php
"SELECT DISTINCT s.rowid as socid, s.nom as name, s.zip, s.town, s.fk_pays,"1
  • /htdocs/compta/stats/supplier_turnover_by_thirdparty.php
"SELECT s.rowid as socid, s.nom as name, s.zip, s.town, s.fk_pays, sum(pf.amount) as amount_ttc"1
  • /htdocs/compta/stats/supplier_turnover_by_thirdparty.php
"SELECT p.rowid as rowid, p.ref as ref, p.label as label, p.fk_product_type as product_type,"1
  • /htdocs/compta/stats/cabyprodserv.php
"SELECT date_format(p.datep, '%Y-%m') as dm, sum(pf.amount) as amount_ttc"1
  • /htdocs/compta/stats/index.php
"SELECT date_format(b.doc_date, '%Y-%m') as dm, sum(b.credit - b.debit) as amount_ttc"1
  • /htdocs/compta/stats/index.php
"SELECT date_format(p.datep,'%Y-%m') as dm, sum(p.amount) as amount_ttc"1
  • /htdocs/compta/stats/index.php
"SELECT DISTINCT p.rowid as rowid, p.ref as ref, p.label as label, p.fk_product_type as product_type,"1
  • /htdocs/compta/stats/supplier_turnover_by_prodserv.php
"SELECT date_format(p.datep,'%Y-%m') as dm, sum(pf.amount) as amount_ttc"1
  • /htdocs/compta/stats/supplier_turnover.php
"SELECT date_format(b.doc_date, '%Y-%m') as dm, sum(b.debit - b.credit) as amount_ttc"1
  • /htdocs/compta/stats/supplier_turnover.php
"SELECT DISTINCT s.rowid as socid, s.nom as name, s.name_alias, s.zip, s.town, s.fk_pays,"1
  • /htdocs/compta/stats/casoc.php
"SELECT s.rowid as socid, s.nom as name, s.name_alias, s.zip, s.town, s.fk_pays, sum(pf.amount) as amount_ttc"1
  • /htdocs/compta/stats/casoc.php
"SELECT '0' as socid, 'Autres' as name, sum(p.amount) as amount_ttc"1
  • /htdocs/compta/stats/casoc.php
"SELECT fd.tva_tx AS vatrate,"1
  • /htdocs/compta/stats/byratecountry.php
"SELECT ffd.tva_tx AS vatrate,"1
  • /htdocs/compta/stats/byratecountry.php
"SELECT u.rowid as rowid, u.lastname as name, u.firstname as firstname, sum(f.total_ht) as amount, sum(f.total_ttc) as amount_ttc"1
  • /htdocs/compta/stats/cabyuser.php
"SELECT u.rowid as rowid, u.lastname as name, u.firstname as firstname, sum(pf.amount) as amount_ttc"1
  • /htdocs/compta/stats/cabyuser.php
"SELECT -1 as rowidx, '' as name, '' as firstname, sum(DISTINCT p.amount) as amount_ttc"1
  • /htdocs/compta/stats/cabyuser.php
'SELECT f.rowid as facid'1
  • /htdocs/compta/paiement/card.php
'SELECT f.rowid as facid, f.ref, f.type, f.total_ttc, f.paye, f.entity, f.fk_statut, pf.amount, s.nom as name, s.rowid as socid'1
  • /htdocs/compta/paiement/card.php
"SELECT p.rowid, p.ref, p.datep, p.amount, p.statut, p.num_paiement as num_payment,"1
  • /htdocs/compta/paiement/list.php
"SELECT p.rowid, p.ref, p.datep, p.fk_bank, p.statut, p.num_paiement as num_payment, p.amount"1
  • /htdocs/compta/paiement/list.php
"SELECT p.rowid, p.datep as dp, p.amount, p.statut"1
  • /htdocs/compta/paiement/tovalidate.php
"SELECT ba.rowid as bid, ba.label,"1
  • /htdocs/compta/paiement/cheque/card.php
"SELECT b.rowid, b.rowid as ref, b.label, b.amount, b.num_chq, b.emetteur,"1
  • /htdocs/compta/paiement/cheque/card.php
"SELECT bc.rowid, bc.date_bordereau as db, bc.amount, bc.ref as ref,"1
  • /htdocs/compta/paiement/cheque/index.php
"SELECT bc.rowid, bc.ref, bc.date_bordereau,"1
  • /htdocs/compta/paiement/cheque/list.php
"SELECT bc.rowid, bc.datec, bc.fk_user_author, bc.fk_bank_account, bc.amount, bc.ref, bc.statut, bc.nbcheque, bc.ref_ext,"1
  • /htdocs/compta/paiement/cheque/class/remisecheque.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "bordereau_cheque ("1
  • /htdocs/compta/paiement/cheque/class/remisecheque.class.php
"SELECT b.rowid"1
  • /htdocs/compta/paiement/cheque/class/remisecheque.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "bordereau_cheque"1
  • /htdocs/compta/paiement/cheque/class/remisecheque.class.php
"SELECT b.banque, b.emetteur, b.amount, b.num_chq"1
  • /htdocs/compta/paiement/cheque/class/remisecheque.class.php
"SELECT amount "1
  • /htdocs/compta/paiement/cheque/class/remisecheque.class.php
'SELECT p.rowid, p.ref, p.ref_ext, p.datep as dp, p.amount, p.statut, p.ext_payment_id, p.ext_payment_site, p.fk_bank, p.multicurrency_amount,'1
  • /htdocs/compta/paiement/class/paiement.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "paiement (entity, ref, ref_ext, datec, datep, amount, multicurrency_amount, fk_paiement, num_paiement, note, ext_payment_id, ext_payment_site, fk_user_creat, pos_change)"1
  • /htdocs/compta/paiement/class/paiement.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "paiement_facture (fk_facture, fk_paiement, amount, multicurrency_amount, multicurrency_code, multicurrency_tx)"1
  • /htdocs/compta/paiement/class/paiement.class.php
'DELETE FROM ' . MAIN_DB_PREFIX . 'paiement_facture'1
  • /htdocs/compta/paiement/class/paiement.class.php
'DELETE FROM ' . MAIN_DB_PREFIX . 'paiement'1
  • /htdocs/compta/paiement/class/paiement.class.php
'UPDATE ' . MAIN_DB_PREFIX . $this->table_element . ' set fk_bank = ' . ((int) $id_bank)1
  • /htdocs/compta/paiement/class/paiement.class.php
'UPDATE ' . MAIN_DB_PREFIX . $this->table_element . ' SET statut = 1 WHERE rowid = ' . ((int) $this->id)1
  • /htdocs/compta/paiement/class/paiement.class.php
'UPDATE ' . MAIN_DB_PREFIX . $this->table_element . ' SET statut = 2 WHERE rowid = ' . ((int) $this->id)1
  • /htdocs/compta/paiement/class/paiement.class.php
'SELECT p.rowid, p.datec, p.fk_user_creat, p.fk_user_modif, p.tms'1
  • /htdocs/compta/paiement/class/paiement.class.php
'SELECT pf.fk_facture'1
  • /htdocs/compta/paiement/class/paiement.class.php
"SELECT u.rowid as uid, u.lastname, u.firstname, u.login, u.email, u.admin, u.photo, u.salary as current_salary, u.fk_soc as fk_soc, u.statut as status,"1
  • /htdocs/salaries/list.php
"SELECT u.rowid as uid, u.lastname, u.firstname, u.login, u.email, u.admin, u.photo, u.gender, u.salary as current_salary, u.fk_soc as fk_soc, u.statut as status,"1
  • /htdocs/salaries/payments.php
"SELECT YEAR(dateep) as dm, count(*)"1
  • /htdocs/salaries/class/salariesstats.class.php
"SELECT MONTH(dateep) as dm, count(*)"1
  • /htdocs/salaries/class/salariesstats.class.php
"SELECT date_format(dateep,'%m') as dm, sum(" . $this->field . ")"1
  • /htdocs/salaries/class/salariesstats.class.php
"SELECT date_format(dateep,'%m') as dm, avg(" . $this->field . ")"1
  • /htdocs/salaries/class/salariesstats.class.php
"SELECT date_format(dateep,'%Y') as year, count(*) as nb, sum(" . $this->field . ") as total, avg(" . $this->field . ") as avg"1
  • /htdocs/salaries/class/salariesstats.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "payment_salary (entity, fk_salary, datec, datep, amount,"1
  • /htdocs/salaries/class/paymentsalary.class.php
"UPDATE " . MAIN_DB_PREFIX . "payment_salary SET"1
  • /htdocs/salaries/class/paymentsalary.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "payment_salary"1
  • /htdocs/salaries/class/paymentsalary.class.php
"UPDATE " . MAIN_DB_PREFIX . "payment_salary SET fk_bank = " . ((int) $id_bank) . " WHERE rowid = " . ((int) $this->id)1
  • /htdocs/salaries/class/paymentsalary.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "salary as t"1
  • /htdocs/salaries/class/api_salaries.class.php
"SELECT t.rowid FROM " . MAIN_DB_PREFIX . "payment_salary as t, " . MAIN_DB_PREFIX . "salary as s"1
  • /htdocs/salaries/class/api_salaries.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "salary (fk_user"1
  • /htdocs/salaries/class/salary.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'salary SET fk_bank = ' . ((int) $id_bank)1
  • /htdocs/salaries/class/salary.class.php
'SELECT ps.rowid, ps.datec, ps.tms as datem, ps.fk_user_author, ps.fk_user_modif'1
  • /htdocs/salaries/class/salary.class.php
'SELECT f.rowid as scid, f.label, f.paye, f.amount as sc_amount, ps.amount'1
  • /htdocs/salaries/payment_salary/card.php
"SELECT s.amount, s.rowid FROM " . MAIN_DB_PREFIX . "salary as s"1
  • /htdocs/salaries/ajax/ajaxsalaries.php
"SELECT ac.id, ac.ref, ac.datep as date_start, ac.datep2 as date_end, ac.label, acr.fk_element"1
  • /htdocs/bookcal/booking_list.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'calendar/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/bookcal/class/calendar.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'calendar/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/bookcal/class/calendar.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'availabilities/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/bookcal/class/availabilities.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'availabilities/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/bookcal/class/availabilities.class.php
"SELECT s.rowid, s.ref, s.label, s.date_creation, s.tms, s.status, COUNT(rc.rowid) as nbapplications"1
  • /htdocs/recruitment/index.php
"SELECT rc.rowid, rc.ref, rc.email, rc.lastname, rc.firstname, rc.date_creation, rc.tms, rc.status"1
  • /htdocs/recruitment/index.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'recruitmentcandidature/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/recruitment/class/recruitmentcandidature.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'recruitmentcandidature/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/recruitment/class/recruitmentcandidature.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'recruitmentjobposition/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/recruitment/class/recruitmentjobposition.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'recruitmentjobposition/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/recruitment/class/recruitmentjobposition.class.php
"SELECT COUNT(rowid) as nb FROM " . MAIN_DB_PREFIX . "recruitment_recruitmentcandidature WHERE fk_recruitmentjobposition = " . ((int) $object->id)1
  • /htdocs/recruitment/lib/recruitment_recruitmentjobposition.lib.php
"UPDATE " . MAIN_DB_PREFIX . "website_page SET fk_page = NULL"1
  • /htdocs/website/index.php
"SELECT wp.rowid, wp.type_container , wp.pageurl, wp.lang, wp.fk_page, wp.tms as tms,"1
  • /htdocs/website/index.php
'SELECT rowid as id, lang, pageurl from ' . MAIN_DB_PREFIX . 'website_page'1
  • /htdocs/website/index.php
"SELECT MAX(rowid) as pagepreviousid FROM " . MAIN_DB_PREFIX . "website_page WHERE rowid < " . ((int) $pageid) . " AND fk_website = " . ((int) $object->id)1
  • /htdocs/website/index.php
"SELECT MIN(rowid) as pagenextid FROM " . MAIN_DB_PREFIX . "website_page WHERE rowid > " . ((int) $pageid) . " AND fk_website = " . ((int) $object->id)1
  • /htdocs/website/index.php
"SELECT rowid, lang from " . MAIN_DB_PREFIX . "website_page where fk_page = " . ((int) $objectpage->id)1
  • /htdocs/website/index.php
'DELETE FROM ' . MAIN_DB_PREFIX . 'categorie_website_page'1
  • /htdocs/website/class/website.class.php
'DELETE FROM ' . MAIN_DB_PREFIX . 'website_page'1
  • /htdocs/website/class/website.class.php
'INSERT INTO llx_website_page(rowid, fk_page, fk_website, pageurl, aliasalt, title, description, lang, image, keywords, status, date_creation, tms, import_key, grabbed_from, type_container, htmlheader, content, author_alias, allowed_in_frames)'1
  • /htdocs/website/class/website.class.php
"UPDATE llx_website SET fk_default_home = " . ($objectpageold->newid > 0 ? $this->db->escape($objectpageold->newid) . "__+MAX_llx_website_page__" : "null") . " WHERE rowid = __WEBSITE_ID__;"1
  • /htdocs/website/class/website.class.php
"UPDATE llx_website SET lang = '" . $this->db->escape($this->lang) . "' WHERE rowid = __WEBSITE_ID__;\n"1
  • /htdocs/website/class/website.class.php
"UPDATE llx_website SET otherlang = '" . $this->db->escape($this->otherlang) . "' WHERE rowid = __WEBSITE_ID__;\n"1
  • /htdocs/website/class/website.class.php
'SELECT MAX(rowid) as max from ' . MAIN_DB_PREFIX . 'website_page'1
  • /htdocs/website/class/website.class.php
"SELECT fk_default_home FROM " . MAIN_DB_PREFIX . "website WHERE rowid = " . ((int) $object->id)1
  • /htdocs/website/class/website.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "website_page WHERE fk_website = " . ((int) $this->id)1
  • /htdocs/website/class/website.class.php
"UPDATE " . $this->db->prefix( ) . "website SET"1
  • /htdocs/website/class/website.class.php
'SELECT COUNT(t.rowid) as nb'1
  • /htdocs/website/class/websitepage.class.php
"SELECT a.rowid, a.status, a.ref, a.tms as datem, a.status, a.fk_product"1
  • /htdocs/mrp/index.php
"SELECT a.rowid, a.status, a.ref, a.tms as datem, a.status"1
  • /htdocs/mrp/index.php
" Select rowid from " . MAIN_DB_PREFIX . "element_element"1
  • /htdocs/mrp/tpl/linkedobjectblock.tpl.php
'SELECT COUNT(rowid) as nb FROM ' . MAIN_DB_PREFIX . 'stock_mouvement as sm'1
  • /htdocs/mrp/class/mo.class.php
'DELETE FROM ' . MAIN_DB_PREFIX . 'mrp_production WHERE fk_mo = ' . ((int) $this->id)1
  • /htdocs/mrp/class/mo.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "mrp_production WHERE fk_mo = " . (int) $this->id1
  • /htdocs/mrp/class/mo.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'mrp/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/mrp/class/mo.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'mrp/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/mrp/class/mo.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "mrp_mo as mo_child"1
  • /htdocs/mrp/class/mo.class.php
"SELECT lineparent.fk_mo as id_moparent FROM " . MAIN_DB_PREFIX . "mrp_mo as mo"1
  • /htdocs/mrp/class/mo.class.php
"SELECT pb.batch, pb.rowid, ps.fk_entrepot, e.ref, pb.qty"1
  • /htdocs/mrp/ajax/interface.php
"SELECT rowid, status FROM " . MAIN_DB_PREFIX . "pos_cash_fence WHERE"1
  • /htdocs/takepos/index.php
'SELECT code FROM ' . MAIN_DB_PREFIX . 'multicurrency'1
  • /htdocs/takepos/index.php
"SELECT rowid, status, entity FROM " . MAIN_DB_PREFIX . "pos_cash_fence WHERE"1
  • /htdocs/takepos/index.php
"SELECT rowid, entity, label, leftpos, toppos, floor FROM " . MAIN_DB_PREFIX . "takepos_floor_tables WHERE floor = " . ((int) $floor) . " AND entity IN (" . getEntity('takepos') . ")"1
  • /htdocs/takepos/floors.php
"UPDATE " . MAIN_DB_PREFIX . "takepos_floor_tables SET leftpos = " . ((int) $left) . ", toppos = " . ((int) $top) . " WHERE rowid = " . ((int) $place)1
  • /htdocs/takepos/floors.php
"DELETE from " . MAIN_DB_PREFIX . "takepos_floor_tables WHERE rowid = " . ((int) $place)1
  • /htdocs/takepos/floors.php
"UPDATE " . MAIN_DB_PREFIX . "takepos_floor_tables SET label='" . $db->escape($newname) . "' WHERE rowid = " . ((int) $place)1
  • /htdocs/takepos/floors.php
"INSERT INTO " . MAIN_DB_PREFIX . "takepos_floor_tables(entity, label, leftpos, toppos, floor) VALUES (" . $conf->entity . ", '', '45', '45', " . ((int) $floor) . ")"1
  • /htdocs/takepos/floors.php
"UPDATE " . MAIN_DB_PREFIX . "takepos_floor_tables SET label = rowid WHERE label = ''"1
  • /htdocs/takepos/floors.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "facture where ref='(PROV-POS" . $db->escape($_SESSION["takeposterminal"] . "-" . $place) . ")'"1
  • /htdocs/takepos/receipt.php
"SELECT p.pos_change as pos_change, p.datep as date, p.fk_paiement, p.num_paiement as num,"1
  • /htdocs/takepos/receipt.php
"SELECT id FROM " . MAIN_DB_PREFIX . "c_paiement"1
  • /htdocs/takepos/invoice.php
"SELECT fk_parent_line FROM " . MAIN_DB_PREFIX . "facturedet where rowid = " . ((int) $selectedline)1
  • /htdocs/takepos/invoice.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "facturedet where fk_facture = " . ((int) $placeid) . " ORDER BY rowid DESC"1
  • /htdocs/takepos/invoice.php
"UPDATE " . MAIN_DB_PREFIX . "facturedet SET batch = '" . $db->escape($batch) . "', fk_warehouse = " . ((int) $warehouseid)1
  • /htdocs/takepos/invoice.php
"SELECT label FROM " . MAIN_DB_PREFIX . "takepos_floor_tables where rowid=" . ((int) $place)1
  • /htdocs/takepos/invoice.php
"UPDATE " . MAIN_DB_PREFIX . "facturedet set special_code='1' where rowid=" . $line->id1
  • /htdocs/takepos/invoice.php
"UPDATE " . MAIN_DB_PREFIX . "facturedet set special_code='4' where special_code='1' and fk_facture=" . $invoice->id1
  • /htdocs/takepos/invoice.php
"UPDATE " . MAIN_DB_PREFIX . "facturedet set special_code='2' where rowid=" . $line->id1
  • /htdocs/takepos/invoice.php
"UPDATE " . MAIN_DB_PREFIX . "facturedet set special_code='4' where special_code='2' and fk_facture=" . $invoice->id1
  • /htdocs/takepos/invoice.php
"UPDATE " . MAIN_DB_PREFIX . "facturedet set special_code='3' where rowid=" . $line->id1
  • /htdocs/takepos/invoice.php
"UPDATE " . MAIN_DB_PREFIX . "facturedet set special_code='4' where special_code='3' and fk_facture=" . $invoice->id1
  • /htdocs/takepos/invoice.php
"SELECT rowid, datec, ref FROM " . MAIN_DB_PREFIX . "facture"1
  • /htdocs/takepos/invoice.php
"SELECT floor, label FROM " . MAIN_DB_PREFIX . "takepos_floor_tables where rowid=" . ((int) $place)1
  • /htdocs/takepos/invoice.php
"SELECT rowid, entity, label, leftpos, toppos, floor FROM " . MAIN_DB_PREFIX . "takepos_floor_tables"1
  • /htdocs/takepos/invoice.php
"SELECT e.rowid, e.ref, e.lieu, e.fk_parent, e.statut, ps.reel, ps.rowid as product_stock_id, p.pmp"1
  • /htdocs/takepos/invoice.php
"UPDATE " . MAIN_DB_PREFIX . "facture set ref='(PROV-POS" . $_SESSION["takeposterminal"] . "-SPLIT)' where rowid=" . $placeid1
  • /htdocs/takepos/split.php
"UPDATE " . MAIN_DB_PREFIX . "facture set ref='(PROV-POS" . $_SESSION["takeposterminal"] . "-" . $place . ")' where rowid=" . $placeid1
  • /htdocs/takepos/split.php
"SELECT rowid, entity, label, leftpos, toppos, floor FROM " . MAIN_DB_PREFIX . "takepos_floor_tables WHERE entity IN (" . getEntity('takepos') . ")"1
  • /htdocs/takepos/admin/bar.php
"SELECT rowid, ref, label, tosell, tobuy, barcode, price, price_ttc"1
  • /htdocs/takepos/ajax/ajax.php
'SELECT p.rowid, p.ref, p.label, p.tosell, p.tobuy, p.barcode, p.price, p.price_ttc'1
  • /htdocs/takepos/ajax/ajax.php
'SELECT p.rowid, p.printer_name, p.printer_location, p.printer_id, p.copy, p.module, p.driver, p.userid, u.login FROM ' . MAIN_DB_PREFIX . 'printing as p, ' . MAIN_DB_PREFIX . 'user as u WHERE p.userid=u.rowid'1
  • /htdocs/printing/admin/printing.php
"SELECT tf.code, tf.label, count(de.rowid) as nb, sum(de.total_ht) as km"1
  • /htdocs/expensereport/index.php
"SELECT u.rowid as uid, u.lastname, u.firstname, u.login, u.statut as user_status, u.photo, u.email, u.admin,"1
  • /htdocs/expensereport/index.php
"SELECT d.rowid, d.ref, d.fk_user_author, d.total_ht, d.total_tva, d.total_ttc, d.fk_statut as status,"1
  • /htdocs/expensereport/list.php
'SELECT er.rowid as eid, er.paid, er.total_ttc, per.amount'1
  • /htdocs/expensereport/payment/card.php
'SELECT pndf.rowid, pndf.rowid as ref, pndf.datep, pndf.amount as pamount, pndf.num_payment'1
  • /htdocs/expensereport/payment/list.php
'UPDATE ' . MAIN_DB_PREFIX . $this->table_element . " SET ref='" . $this->db->escape($this->ref) . "' WHERE rowid=" . ((int) $this->id)1
  • /htdocs/expensereport/class/expensereport.class.php
"SELECT d.rowid, d.entity, d.ref, d.note_public, d.note_private,"1
  • /htdocs/expensereport/class/expensereport.class.php
"UPDATE " . MAIN_DB_PREFIX . "expensereport"1
  • /htdocs/expensereport/class/expensereport.class.php
"SELECT de.fk_expensereport, de.date, de.comments, de.total_ht, de.total_ttc"1
  • /htdocs/expensereport/class/expensereport.class.php
"SELECT d.rowid, d.fk_user_author, d.ref, d.fk_statut as status"1
  • /htdocs/expensereport/class/expensereport.class.php
' SELECT de.rowid, de.comments, de.qty, de.value_unit, de.date, de.rang,'1
  • /htdocs/expensereport/class/expensereport.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'expensereport/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/expensereport/class/expensereport.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'expensereport/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/expensereport/class/expensereport.class.php
'SELECT date_debut'1
  • /htdocs/expensereport/class/expensereport.class.php
'SELECT e.rowid FROM ' . MAIN_DB_PREFIX . 'expensereport e'1
  • /htdocs/expensereport/class/expensereport.class.php
"SELECT c.code as code_type_fees, c.label as label_type_fees"1
  • /htdocs/expensereport/class/expensereport.class.php
"SELECT p.ref as ref_projet, p.title as title_projet"1
  • /htdocs/expensereport/class/expensereport.class.php
' DELETE FROM ' . MAIN_DB_PREFIX . $this->table_element_line1
  • /htdocs/expensereport/class/expensereport.class.php
"SELECT rowid, date_debut, date_fin"1
  • /htdocs/expensereport/class/expensereport.class.php
"SELECT count(ex.rowid) as nb"1
  • /htdocs/expensereport/class/expensereport.class.php
"SELECT ex.rowid, ex.date_valid"1
  • /htdocs/expensereport/class/expensereport.class.php
" SELECT r.range_ik, t.ikoffset, t.coef"1
  • /htdocs/expensereport/class/expensereport.class.php
" SELECT count(n.qty) as cumul FROM " . MAIN_DB_PREFIX . "expensereport_det n"1
  • /htdocs/expensereport/class/expensereport.class.php
'SELECT fde.rowid, fde.fk_expensereport, fde.fk_c_type_fees, fde.fk_c_exp_tax_cat, fde.fk_projet as fk_project, fde.date,'1
  • /htdocs/expensereport/class/expensereport.class.php
'INSERT INTO ' . MAIN_DB_PREFIX . 'expensereport_det'1
  • /htdocs/expensereport/class/expensereport.class.php
'SELECT SUM(d.total_ttc) as total_amount'1
  • /htdocs/expensereport/class/expensereport.class.php
"UPDATE " . MAIN_DB_PREFIX . "expensereport_det SET"1
  • /htdocs/expensereport/class/expensereport.class.php
'SELECT er.rowid'1
  • /htdocs/expensereport/class/expensereport_rule.class.php
"SELECT t.rowid FROM " . MAIN_DB_PREFIX . "payment_expensereport as t, " . MAIN_DB_PREFIX . "expensereport as e"1
  • /htdocs/expensereport/class/api_expensereports.class.php
'SELECT rowid, label, entity, active'1
  • /htdocs/expensereport/class/expensereport_ik.class.php
'SELECT r.rowid FROM ' . MAIN_DB_PREFIX . 'c_exp_tax_range r'1
  • /htdocs/expensereport/class/expensereport_ik.class.php
' SELECT r.rowid, r.fk_c_exp_tax_cat, r.range_ik, c.label, i.rowid as fk_expense_ik, r.active as range_active, c.active as cat_active'1
  • /htdocs/expensereport/class/expensereport_ik.class.php
'SELECT MAX(counted) as nbRange FROM ('1
  • /htdocs/expensereport/class/expensereport_ik.class.php
' SELECT COUNT(*) as counted'1
  • /htdocs/expensereport/class/expensereport_ik.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "payment_expensereport (fk_expensereport, datec, datep, amount,"1
  • /htdocs/expensereport/class/paymentexpensereport.class.php
"UPDATE " . MAIN_DB_PREFIX . "payment_expensereport SET"1
  • /htdocs/expensereport/class/paymentexpensereport.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "payment_expensereport"1
  • /htdocs/expensereport/class/paymentexpensereport.class.php
"UPDATE " . MAIN_DB_PREFIX . "payment_expensereport SET fk_bank = " . ((int) $id_bank) . " WHERE rowid = " . ((int) $this->id)1
  • /htdocs/expensereport/class/paymentexpensereport.class.php
'SELECT e.rowid, e.datec, e.fk_user_creat, e.fk_user_modif, e.tms'1
  • /htdocs/expensereport/class/paymentexpensereport.class.php
"SELECT YEAR(" . $this->db->ifsql("e." . $this->datetouse . " IS NULL", "e.date_create", "e." . $this->datetouse) . ") as dm, count(*)"1
  • /htdocs/expensereport/class/expensereportstats.class.php
"SELECT MONTH(" . $this->db->ifsql("e." . $this->datetouse . " IS NULL", "e.date_create", "e." . $this->datetouse) . ") as dm, count(*)"1
  • /htdocs/expensereport/class/expensereportstats.class.php
"SELECT date_format(" . $this->db->ifsql("e." . $this->datetouse . " IS NULL", "e.date_create", "e." . $this->datetouse) . ",'%m') as dm, sum(" . $this->field . ")"1
  • /htdocs/expensereport/class/expensereportstats.class.php
"SELECT date_format(" . $this->db->ifsql("e." . $this->datetouse . " IS NULL", "e.date_create", "e." . $this->datetouse) . ",'%m') as dm, avg(" . $this->field . ")"1
  • /htdocs/expensereport/class/expensereportstats.class.php
"SELECT date_format(" . $this->db->ifsql("e." . $this->datetouse . " IS NULL", "e.date_create", "e." . $this->datetouse) . ",'%Y') as year, count(*) as nb, sum(" . $this->field . ") as total, avg(" . $this->field . ") as avg"1
  • /htdocs/expensereport/class/expensereportstats.class.php
'SELECT id, uri, displayname, principaluri, description, synctoken FROM ' . $this->addressBooksTableName . ' WHERE principaluri = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CardDAV/Backend/PDO.php
'UPDATE ' . $this->addressBooksTableName . ' SET '1
  • /htdocs/includes/sabre/sabre/dav/lib/CardDAV/Backend/PDO.php
'INSERT INTO ' . $this->addressBooksTableName . ' (uri, displayname, description, principaluri, synctoken) VALUES (:uri, :displayname, :description, :principaluri, 1)'1
  • /htdocs/includes/sabre/sabre/dav/lib/CardDAV/Backend/PDO.php
'DELETE FROM ' . $this->cardsTableName . ' WHERE addressbookid = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CardDAV/Backend/PDO.php
'DELETE FROM ' . $this->addressBooksTableName . ' WHERE id = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CardDAV/Backend/PDO.php
'DELETE FROM ' . $this->addressBookChangesTableName . ' WHERE addressbookid = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CardDAV/Backend/PDO.php
'SELECT id, uri, lastmodified, etag, size FROM ' . $this->cardsTableName . ' WHERE addressbookid = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CardDAV/Backend/PDO.php
'SELECT id, carddata, uri, lastmodified, etag, size FROM ' . $this->cardsTableName . ' WHERE addressbookid = ? AND uri = ? LIMIT 1'1
  • /htdocs/includes/sabre/sabre/dav/lib/CardDAV/Backend/PDO.php
'SELECT id, uri, lastmodified, etag, size, carddata FROM ' . $this->cardsTableName . ' WHERE addressbookid = ? AND uri IN ('1
  • /htdocs/includes/sabre/sabre/dav/lib/CardDAV/Backend/PDO.php
'INSERT INTO ' . $this->cardsTableName . ' (carddata, uri, lastmodified, addressbookid, size, etag) VALUES (?, ?, ?, ?, ?, ?)'1
  • /htdocs/includes/sabre/sabre/dav/lib/CardDAV/Backend/PDO.php
'UPDATE ' . $this->cardsTableName . ' SET carddata = ?, lastmodified = ?, size = ?, etag = ? WHERE uri = ? AND addressbookid =?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CardDAV/Backend/PDO.php
'DELETE FROM ' . $this->cardsTableName . ' WHERE addressbookid = ? AND uri = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CardDAV/Backend/PDO.php
'SELECT synctoken FROM ' . $this->addressBooksTableName . ' WHERE id = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CardDAV/Backend/PDO.php
'SELECT uri, operation FROM ' . $this->addressBookChangesTableName . ' WHERE synctoken >= ? AND synctoken < ? AND addressbookid = ? ORDER BY synctoken'1
  • /htdocs/includes/sabre/sabre/dav/lib/CardDAV/Backend/PDO.php
'SELECT uri FROM ' . $this->cardsTableName . ' WHERE addressbookid = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CardDAV/Backend/PDO.php
'INSERT INTO ' . $this->addressBookChangesTableName . ' (uri, synctoken, addressbookid, operation) SELECT ?, synctoken, ?, ? FROM ' . $this->addressBooksTableName . ' WHERE id = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CardDAV/Backend/PDO.php
'UPDATE ' . $this->addressBooksTableName . ' SET synctoken = synctoken + 1 WHERE id = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CardDAV/Backend/PDO.php
'SELECT ' . implode(',', $fields) . ' FROM ' . $this->tableName1
  • /htdocs/includes/sabre/sabre/dav/lib/DAVACL/PrincipalBackend/PDO.php
'SELECT ' . implode(',', $fields) . ' FROM ' . $this->tableName . ' WHERE uri = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/DAVACL/PrincipalBackend/PDO.php
'UPDATE ' . $this->tableName . ' SET '1
  • /htdocs/includes/sabre/sabre/dav/lib/DAVACL/PrincipalBackend/PDO.php
'SELECT uri FROM ' . $this->tableName . ' WHERE '1
  • /htdocs/includes/sabre/sabre/dav/lib/DAVACL/PrincipalBackend/PDO.php
'SELECT uri FROM ' . $this->tableName . ' WHERE lower(email)=lower(?)'1
  • /htdocs/includes/sabre/sabre/dav/lib/DAVACL/PrincipalBackend/PDO.php
'SELECT * FROM ' . $this->tableName . ' WHERE uri = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/DAVACL/PrincipalBackend/PDO.php
'SELECT principals.uri as uri FROM ' . $this->groupMembersTableName . ' AS groupmembers LEFT JOIN ' . $this->tableName . ' AS principals ON groupmembers.member_id = principals.id WHERE groupmembers.principal_id = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/DAVACL/PrincipalBackend/PDO.php
'SELECT principals.uri as uri FROM ' . $this->groupMembersTableName . ' AS groupmembers LEFT JOIN ' . $this->tableName . ' AS principals ON groupmembers.principal_id = principals.id WHERE groupmembers.member_id = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/DAVACL/PrincipalBackend/PDO.php
'SELECT id, uri FROM ' . $this->tableName . ' WHERE uri IN (? ' . str_repeat(', ? ', count($members)) . ');'1
  • /htdocs/includes/sabre/sabre/dav/lib/DAVACL/PrincipalBackend/PDO.php
'DELETE FROM ' . $this->groupMembersTableName . ' WHERE principal_id = ?;'1
  • /htdocs/includes/sabre/sabre/dav/lib/DAVACL/PrincipalBackend/PDO.php
'INSERT INTO ' . $this->groupMembersTableName . ' (principal_id, member_id) VALUES (?, ?);'1
  • /htdocs/includes/sabre/sabre/dav/lib/DAVACL/PrincipalBackend/PDO.php
'INSERT INTO ' . $this->tableName . ' (uri) VALUES (?)'1
  • /htdocs/includes/sabre/sabre/dav/lib/DAVACL/PrincipalBackend/PDO.php
'SELECT owner, token, timeout, created, scope, depth, uri FROM ' . $this->tableName . ' WHERE (created > (? - timeout)) AND ((uri = ?)'1
  • /htdocs/includes/sabre/sabre/dav/lib/DAV/Locks/Backend/PDO.php
'UPDATE ' . $this->tableName . ' SET owner = ?, timeout = ?, scope = ?, depth = ?, uri = ?, created = ? WHERE token = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/DAV/Locks/Backend/PDO.php
'INSERT INTO ' . $this->tableName . ' (owner,timeout,scope,depth,uri,created,token) VALUES (?,?,?,?,?,?,?)'1
  • /htdocs/includes/sabre/sabre/dav/lib/DAV/Locks/Backend/PDO.php
'DELETE FROM ' . $this->tableName . ' WHERE uri = ? AND token = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/DAV/Locks/Backend/PDO.php
'SELECT digesta1 FROM ' . $this->tableName . ' WHERE username = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/DAV/Auth/Backend/PDO.php
'SELECT ' . $this->digestColumn . ' FROM ' . $this->tableName . ' WHERE ' . $this->uuidColumn . ' = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/DAV/Auth/Backend/PDOBasicAuth.php
'SELECT name, value, valuetype FROM ' . $this->tableName . ' WHERE path = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/DAV/PropertyStorage/Backend/PDO.php
<<<SQL INSERT INTO {$this->tableName} (path, name, valuetype, value) VALUES (:path, :name, :valuetype, :value) ON CONFLICT (path, name) DO UPDATE SET valuetype = :valuetype, value = :value SQL1
  • /htdocs/includes/sabre/sabre/dav/lib/DAV/PropertyStorage/Backend/PDO.php
'DELETE FROM ' . $this->tableName . ' WHERE path = ? AND name = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/DAV/PropertyStorage/Backend/PDO.php
'DELETE FROM ' . $this->tableName . " WHERE path = ? OR path LIKE ? ESCAPE '='"1
  • /htdocs/includes/sabre/sabre/dav/lib/DAV/PropertyStorage/Backend/PDO.php
'SELECT id, path FROM ' . $this->tableName . ' WHERE path = ? OR path LIKE ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/DAV/PropertyStorage/Backend/PDO.php
'UPDATE ' . $this->tableName . ' SET path = ? WHERE id = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/DAV/PropertyStorage/Backend/PDO.php
<<<SQL SELECT {$this->calendarInstancesTableName}.id as id, $fields FROM {$this->calendarInstancesTableName} LEFT JOIN {$this->calendarTableName} ON {$this->calendarInstancesTableName}.calendarid = {$this->calendarTableName}.id WHERE principaluri = ? ORDER BY calendarorder ASC SQL1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'INSERT INTO ' . $this->calendarTableName . ' (synctoken, components) VALUES (1, ?)'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'INSERT INTO ' . $this->calendarInstancesTableName . ' (' . implode(', ', $fieldNames) . ') VALUES (' . implode(', ', array_keys($values)) . ')'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'UPDATE ' . $this->calendarInstancesTableName . ' SET ' . implode(', ', $valuesSql) . ' WHERE id = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'SELECT access FROM ' . $this->calendarInstancesTableName . ' where id = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'DELETE FROM ' . $this->calendarObjectTableName . ' WHERE calendarid = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'DELETE FROM ' . $this->calendarChangesTableName . ' WHERE calendarid = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'DELETE FROM ' . $this->calendarInstancesTableName . ' WHERE calendarid = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'DELETE FROM ' . $this->calendarTableName . ' WHERE id = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'DELETE FROM ' . $this->calendarInstancesTableName . ' WHERE id = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'SELECT id, uri, lastmodified, etag, calendarid, size, componenttype FROM ' . $this->calendarObjectTableName . ' WHERE calendarid = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'SELECT id, uri, lastmodified, etag, calendarid, size, calendardata, componenttype FROM ' . $this->calendarObjectTableName . ' WHERE calendarid = ? AND uri = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'SELECT id, uri, lastmodified, etag, calendarid, size, calendardata, componenttype FROM ' . $this->calendarObjectTableName . ' WHERE calendarid = ? AND uri IN ('1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'INSERT INTO ' . $this->calendarObjectTableName . ' (calendarid, uri, calendardata, lastmodified, etag, size, componenttype, firstoccurence, lastoccurence, uid) VALUES (?,?,?,?,?,?,?,?,?,?)'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'UPDATE ' . $this->calendarObjectTableName . ' SET calendardata = ?, lastmodified = ?, etag = ?, size = ?, componenttype = ?, firstoccurence = ?, lastoccurence = ?, uid = ? WHERE calendarid = ? AND uri = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'DELETE FROM ' . $this->calendarObjectTableName . ' WHERE calendarid = ? AND uri = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'SELECT uri, calendardata FROM ' . $this->calendarObjectTableName . ' WHERE calendarid = :calendarid'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'SELECT uri FROM ' . $this->calendarObjectTableName . ' WHERE calendarid = :calendarid'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'SELECT uri, operation, synctoken FROM ' . $this->calendarChangesTableName . ' WHERE synctoken >= ? AND calendarid = ? ORDER BY synctoken'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'SELECT synctoken FROM ' . $this->calendarTableName . ' WHERE id = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'SELECT uri FROM ' . $this->calendarObjectTableName . ' WHERE calendarid = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'INSERT INTO ' . $this->calendarChangesTableName . ' (uri, synctoken, calendarid, operation) SELECT ?, synctoken, ?, ? FROM ' . $this->calendarTableName . ' WHERE id = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'UPDATE ' . $this->calendarTableName . ' SET synctoken = synctoken + 1 WHERE id = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'SELECT ' . $fields . ' FROM ' . $this->calendarSubscriptionsTableName . ' WHERE principaluri = ? ORDER BY calendarorder ASC'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'INSERT INTO ' . $this->calendarSubscriptionsTableName . ' (' . implode(', ', $fieldNames) . ') VALUES (' . implode(', ', array_keys($values)) . ')'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'UPDATE ' . $this->calendarSubscriptionsTableName . ' SET ' . implode(', ', $valuesSql) . ', lastmodified = ? WHERE id = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'DELETE FROM ' . $this->calendarSubscriptionsTableName . ' WHERE id = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'SELECT uri, calendardata, lastmodified, etag, size FROM ' . $this->schedulingObjectTableName . ' WHERE principaluri = ? AND uri = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'SELECT id, calendardata, uri, lastmodified, etag, size FROM ' . $this->schedulingObjectTableName . ' WHERE principaluri = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'DELETE FROM ' . $this->schedulingObjectTableName . ' WHERE principaluri = ? AND uri = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'INSERT INTO ' . $this->schedulingObjectTableName . ' (principaluri, calendardata, uri, lastmodified, etag, size) VALUES (?, ?, ?, ?, ?, ?)'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'DELETE FROM ' . $this->calendarInstancesTableName . ' WHERE calendarid = ? AND share_href = ? AND access IN (2,3)'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'UPDATE ' . $this->calendarInstancesTableName . ' SET access = ?, share_displayname = ?, share_invitestatus = ? WHERE calendarid = ? AND share_href = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
' INSERT INTO ' . $this->calendarInstancesTableName . ' ( calendarid, principaluri, access, displayname, uri, description, calendarorder, calendarcolor, timezone, transparent, share_href, share_displayname, share_invitestatus ) SELECT ?, ?, ?, displayname, ?, description, calendarorder, calendarcolor, timezone, 1, ?, ?, ? FROM ' . $this->calendarInstancesTableName . ' WHERE id = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/PDO.php
'SELECT id, uri FROM simple_calendars WHERE principaluri = ? ORDER BY id ASC'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/SimplePDO.php
'INSERT INTO simple_calendars (principaluri, uri) VALUES (?, ?)'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/SimplePDO.php
'DELETE FROM simple_calendarobjects WHERE calendarid = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/SimplePDO.php
'DELETE FROM simple_calendars WHERE id = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/SimplePDO.php
'SELECT id, uri, calendardata FROM simple_calendarobjects WHERE calendarid = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/SimplePDO.php
'SELECT id, uri, calendardata FROM simple_calendarobjects WHERE calendarid = ? AND uri = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/SimplePDO.php
'INSERT INTO simple_calendarobjects (calendarid, uri, calendardata) VALUES (?,?,?)'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/SimplePDO.php
'UPDATE simple_calendarobjects SET calendardata = ? WHERE calendarid = ? AND uri = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/SimplePDO.php
'DELETE FROM simple_calendarobjects WHERE calendarid = ? AND uri = ?'1
  • /htdocs/includes/sabre/sabre/dav/lib/CalDAV/Backend/SimplePDO.php
"INSERT INTO " . MAIN_DB_PREFIX . "oauth_token (service, token, entity, datec)"1
  • /htdocs/includes/OAuth/Common/Storage/DoliStorage.php
"SELECT token, datec, tms, state FROM " . MAIN_DB_PREFIX . "oauth_token"1
  • /htdocs/includes/OAuth/Common/Storage/DoliStorage.php
"DELETE FROM " . MAIN_DB_PREFIX . "oauth_token"1
  • /htdocs/includes/OAuth/Common/Storage/DoliStorage.php
"INSERT INTO " . MAIN_DB_PREFIX . "oauth_token (service, state, entity)"1
  • /htdocs/includes/OAuth/Common/Storage/DoliStorage.php
"SELECT state FROM " . MAIN_DB_PREFIX . "oauth_token"1
  • /htdocs/includes/OAuth/Common/Storage/DoliStorage.php
'Update cookie ' . $newName . '=' . $newCookie['value']1
  • /htdocs/includes/nusoap/lib/nusoap.php
"INSERT INTO %tablename% (id, data, meta_utime, meta_datetime, meta_uri, meta_ip, meta_method) VALUES (?, ?, ?, ?, ?, ?, ?)"1
  • /htdocs/includes/maximebf/debugbar/src/DebugBar/Storage/PdoStorage.php
"SELECT data FROM %tablename% WHERE id = ?"1
  • /htdocs/includes/maximebf/debugbar/src/DebugBar/Storage/PdoStorage.php
"SELECT data FROM %tablename% %where% ORDER BY meta_datetime DESC LIMIT %limit% OFFSET %offset%"1
  • /htdocs/includes/maximebf/debugbar/src/DebugBar/Storage/PdoStorage.php
"DELETE FROM %tablename%"1
  • /htdocs/includes/maximebf/debugbar/src/DebugBar/Storage/PdoStorage.php
"UPDATE " . MAIN_DB_PREFIX . "overwrite_trans set transkey = '" . $db->escape($transkey) . "', transvalue = '" . $db->escape($transvalue) . "' WHERE rowid = " . (GETPOSTINT('rowid'))1
  • /htdocs/admin/translation.php
"INSERT INTO " . MAIN_DB_PREFIX . "overwrite_trans(lang, transkey, transvalue, entity) VALUES ('" . $db->escape($langcode) . "','" . $db->escape($transkey) . "','" . $db->escape($transvalue) . "', " . ((int) $conf->entity) . ")"1
  • /htdocs/admin/translation.php
"DELETE FROM " . MAIN_DB_PREFIX . "overwrite_trans WHERE rowid = " . ((int) $id)1
  • /htdocs/admin/translation.php
"SELECT rowid, entity, lang, transkey, transvalue"1
  • /htdocs/admin/translation.php
"SELECT p.rowid, p.printer_name, p.printer_location, p.printer_id, p.copy, p.module, p.driver, p.userid, u.login"1
  • /htdocs/admin/oauthlogintokens.php
"SELECT f.rowid as rowid, f.entity, f.ref, f.description, f.virtualhost, f.position, f.status, f.date_creation, f.lastaccess, f.pageviews_previous_month, f.pageviews_total FROM " . MAIN_DB_PREFIX . 'website as f WHERE f.entity IN (' . getEntity('website') . ')'1
  • /htdocs/admin/website.php
"SELECT MAX(" . $tabrowid[$id] . ") newid from " . $tabname[$id]1
  • /htdocs/admin/website.php
"DELETE from " . MAIN_DB_PREFIX . "website_account WHERE fk_website = " . ((int) $rowid)1
  • /htdocs/admin/website.php
"DELETE from " . MAIN_DB_PREFIX . "website_page WHERE fk_website = " . ((int) $rowid)1
  • /htdocs/admin/website.php
"DELETE from " . MAIN_DB_PREFIX . "website_extrafields WHERE fk_object = " . ((int) $rowid)1
  • /htdocs/admin/website.php
"DELETE from " . MAIN_DB_PREFIX . "website WHERE rowid = " . ((int) $rowid)1
  • /htdocs/admin/website.php
"UPDATE " . $tabname[$id] . " SET status = 1 WHERE rowid = " . ((int) $rowid)1
  • /htdocs/admin/website.php
"UPDATE " . $tabname[$id] . " SET status = 0 WHERE rowid = " . ((int) $rowid)1
  • /htdocs/admin/website.php
"DELETE FROM " . MAIN_DB_PREFIX . "c_email_senderprofile WHERE rowid = " . GETPOSTINT('id')1
  • /htdocs/admin/mails_senderprofile_list.php
"SELECT box_id, box_order FROM " . MAIN_DB_PREFIX . "boxes"1
  • /htdocs/admin/boxes.php
"INSERT INTO " . MAIN_DB_PREFIX . "boxes ("1
  • /htdocs/admin/boxes.php
"SELECT box_id FROM " . MAIN_DB_PREFIX . "boxes"1
  • /htdocs/admin/boxes.php
"UPDATE " . MAIN_DB_PREFIX . "boxes SET box_order='" . $db->escape($newfirst) . "' WHERE rowid=" . ((int) $objfrom->rowid)1
  • /htdocs/admin/boxes.php
"UPDATE " . MAIN_DB_PREFIX . "boxes SET box_order='" . $db->escape($newsecond) . "' WHERE rowid=" . ((int) $objto->rowid)1
  • /htdocs/admin/boxes.php
"SELECT b.rowid, b.box_id, b.position, b.box_order,"1
  • /htdocs/admin/boxes.php
"UPDATE " . MAIN_DB_PREFIX . "boxes SET box_order='" . $db->escape($decalage) . "' WHERE rowid=" . ((int) $obj->rowid)1
  • /htdocs/admin/boxes.php
"SELECT box_order"1
  • /htdocs/admin/boxes.php
"DELETE from " . $tabname[$id] . " WHERE " . $rowidcol . " = " . ((int) $rowid)1
  • /htdocs/admin/mails_templates.php
"UPDATE " . $tabname[$id] . " SET active = 1 WHERE rowid = " . ((int) $rowid)1
  • /htdocs/admin/mails_templates.php
"UPDATE " . $tabname[$id] . " SET active = 0 WHERE rowid = " . ((int) $rowid)1
  • /htdocs/admin/mails_templates.php
"SELECT rowid as rowid, module, label, type_template, lang, fk_user, private, position, topic, email_from,joinfiles, defaultfortype, content_lines, content, enabled, active"1
  • /htdocs/admin/mails_templates.php
"SELECT rowid, code FROM " . MAIN_DB_PREFIX . "multicurrency"1
  • /htdocs/admin/limits.php
"SELECT taux as vat_rate, t.code as vat_code, t.localtax1 as localtax_rate1, t.localtax2 as localtax_rate2"1
  • /htdocs/admin/limits.php
"SELECT rowid, label, clos"1
  • /htdocs/admin/invoice.php
"SELECT f.rowid as rowid, f.code, f.libelle, c.code as country_code, c.label as country, f.active FROM " . MAIN_DB_PREFIX . "c_forme_juridique as f, " . MAIN_DB_PREFIX . "c_country as c WHERE f.fk_pays=c.rowid"1
  • /htdocs/admin/dict.php
"SELECT d.rowid as rowid, d.code_departement as code, d.nom as libelle, d.fk_region as region_id, r.nom as region, c.code as country_code, c.label as country, d.active FROM " . MAIN_DB_PREFIX . "c_departements as d, " . MAIN_DB_PREFIX . "c_regions as r, " . MAIN_DB_PREFIX . "c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid and r.active=1 and c.active=1"1
  • /htdocs/admin/dict.php
"SELECT r.rowid as rowid, r.code_region as code, r.nom as libelle, r.fk_pays as country_id, c.code as country_code, c.label as country, r.active FROM " . MAIN_DB_PREFIX . "c_regions as r, " . MAIN_DB_PREFIX . "c_country as c WHERE r.fk_pays=c.rowid and c.active=1"1
  • /htdocs/admin/dict.php
"SELECT c.rowid as rowid, c.code, c.label, c.active, c.favorite, c.eec FROM " . MAIN_DB_PREFIX . "c_country AS c"1
  • /htdocs/admin/dict.php
"SELECT c.rowid as rowid, c.code as code, c.label, c.active FROM " . MAIN_DB_PREFIX . "c_civility AS c"1
  • /htdocs/admin/dict.php
"SELECT a.id as rowid, a.code as code, a.libelle AS libelle, a.type, a.active, a.module, a.color, a.position FROM " . MAIN_DB_PREFIX . "c_actioncomm AS a"1
  • /htdocs/admin/dict.php
"SELECT a.id as rowid, a.code as code, a.libelle AS libelle, a.accountancy_code as accountancy_code, c.code as country_code, c.label as country, a.fk_pays as country_id, a.active FROM " . MAIN_DB_PREFIX . "c_chargesociales AS a, " . MAIN_DB_PREFIX . "c_country as c WHERE a.fk_pays = c.rowid and c.active = 1"1
  • /htdocs/admin/dict.php
"SELECT t.id as rowid, t.code as code, t.libelle, t.fk_country as country_id, c.code as country_code, c.label as country, t.position, t.active FROM " . MAIN_DB_PREFIX . "c_typent as t LEFT JOIN " . MAIN_DB_PREFIX . "c_country as c ON t.fk_country=c.rowid"1
  • /htdocs/admin/dict.php
"SELECT c.code_iso as code, c.label, c.unicode, c.active FROM " . MAIN_DB_PREFIX . "c_currencies AS c"1
  • /htdocs/admin/dict.php
"SELECT t.rowid, t.entity, t.type_vat, t.code, t.taux, t.localtax1_type, t.localtax1, t.localtax2_type, t.localtax2, c.label as country, c.code as country_code, t.fk_pays as country_id, t.recuperableonly, t.note, t.active, t.accountancy_code_sell, t.accountancy_code_buy FROM " . MAIN_DB_PREFIX . "c_tva as t, " . MAIN_DB_PREFIX . "c_country as c WHERE t.fk_pays = c.rowid AND t.entity IN (" . getEntity($tabname[DICT_TVA]) . ")"1
  • /htdocs/admin/dict.php
"SELECT t.rowid as rowid, t.element, t.source, t.code, t.libelle, t.position, t.active FROM " . MAIN_DB_PREFIX . "c_type_contact AS t"1
  • /htdocs/admin/dict.php
"SELECT c.rowid as rowid, c.code, c.libelle, c.libelle_facture, c.deposit_percent, c.nbjour, c.type_cdr, c.decalage, c.active, c.sortorder, c.entity FROM " . MAIN_DB_PREFIX . "c_payment_term AS c WHERE c.entity IN (" . getEntity($tabname[DICT_PAYMENT_TERM]) . ")"1
  • /htdocs/admin/dict.php
"SELECT c.id as rowid, c.code, c.libelle, c.type, c.active, c.entity FROM " . MAIN_DB_PREFIX . "c_paiement AS c WHERE c.entity IN (" . getEntity($tabname[DICT_PAIEMENT]) . ")"1
  • /htdocs/admin/dict.php
"SELECT e.rowid as rowid, e.code as code, e.label, e.price, e.organization, e.fk_pays as country_id, c.code as country_code, c.label as country, e.active FROM " . MAIN_DB_PREFIX . "c_ecotaxe AS e, " . MAIN_DB_PREFIX . "c_country as c WHERE e.fk_pays=c.rowid and c.active=1"1
  • /htdocs/admin/dict.php
"SELECT t.rowid as rowid, t.code, t.label as libelle, t.width, t.height, t.unit, t.active FROM " . MAIN_DB_PREFIX . "c_paper_format as t"1
  • /htdocs/admin/dict.php
"SELECT t.code, t.label as libelle, t.sortorder, t.active FROM " . MAIN_DB_PREFIX . "c_prospectlevel as t"1
  • /htdocs/admin/dict.php
"SELECT t.id as rowid, t.code, t.label, t.accountancy_code, t.active FROM " . MAIN_DB_PREFIX . "c_type_fees as t"1
  • /htdocs/admin/dict.php
"SELECT t.rowid as rowid, t.code, t.libelle, t.tracking, t.active FROM " . MAIN_DB_PREFIX . "c_shipment_mode as t"1
  • /htdocs/admin/dict.php
"SELECT t.id as rowid, t.code, t.libelle, t.active FROM " . MAIN_DB_PREFIX . "c_effectif as t"1
  • /htdocs/admin/dict.php
"SELECT t.rowid as rowid, t.code, t.libelle, t.active FROM " . MAIN_DB_PREFIX . "c_input_method as t"1
  • /htdocs/admin/dict.php
"SELECT c.rowid as rowid, c.code, c.label, c.type_duration, c.qty, c.active, c.position FROM " . MAIN_DB_PREFIX . "c_availability AS c"1
  • /htdocs/admin/dict.php
"SELECT t.rowid as rowid, t.code, t.label, t.active FROM " . MAIN_DB_PREFIX . "c_input_reason as t"1
  • /htdocs/admin/dict.php
"SELECT t.rowid as rowid, t.taux, t.revenuestamp_type, c.label as country, c.code as country_code, t.fk_pays as country_id, t.note, t.active, t.accountancy_code_sell, t.accountancy_code_buy FROM " . MAIN_DB_PREFIX . "c_revenuestamp as t, " . MAIN_DB_PREFIX . "c_country as c WHERE t.fk_pays=c.rowid"1
  • /htdocs/admin/dict.php
"SELECT t.rowid as rowid, t.code, t.label, t.active FROM " . MAIN_DB_PREFIX . "c_type_resource as t"1
  • /htdocs/admin/dict.php
"SELECT t.rowid as rowid, t.code, t.label, t.active, t.module FROM " . MAIN_DB_PREFIX . "c_type_container as t WHERE t.entity IN (" . getEntity($tabname[DICT_TYPE_CONTAINER]) . ")"1
  • /htdocs/admin/dict.php
"SELECT t.id as rowid, t.code, t.libelle, t.picto, t.active FROM " . MAIN_DB_PREFIX . "c_stcomm as t"1
  • /htdocs/admin/dict.php
"SELECT h.rowid as rowid, h.code, h.label, h.affect, h.delay, h.newbymonth, h.fk_country as country_id, c.code as country_code, c.label as country, h.block_if_negative, h.sortorder, h.active FROM " . MAIN_DB_PREFIX . "c_holiday_types as h LEFT JOIN " . MAIN_DB_PREFIX . "c_country as c ON h.fk_country=c.rowid"1
  • /htdocs/admin/dict.php
"SELECT t.rowid as rowid, t.code, t.label, percent, t.position, t.active FROM " . MAIN_DB_PREFIX . "c_lead_status as t"1
  • /htdocs/admin/dict.php
"SELECT t.rowid, t.code, t.name, t.paper_size, t.orientation, t.metric, t.leftmargin, t.topmargin, t.nx, t.ny, t.spacex, t.spacey, t.width, t.height, t.font_size, t.custom_x, t.custom_y, t.active FROM " . MAIN_DB_PREFIX . "c_format_cards as t"1
  • /htdocs/admin/dict.php
"SELECT t.rowid, t.code, t.label, c.label as country, c.code as country_code, t.fk_country as country_id, t.active FROM " . MAIN_DB_PREFIX . "c_invoice_subtype as t, " . MAIN_DB_PREFIX . "c_country as c WHERE t.fk_country = c.rowid"1
  • /htdocs/admin/dict.php
"SELECT a.id as rowid, a.entity, a.code, a.fk_country as country_id, c.code as country_code, c.label as country, a.dayrule, a.day, a.month, a.year, a.active FROM " . MAIN_DB_PREFIX . "c_hrm_public_holiday as a LEFT JOIN " . MAIN_DB_PREFIX . "c_country as c ON a.fk_country=c.rowid AND c.active=1"1
  • /htdocs/admin/dict.php
"SELECT t.rowid, t.pos, t.code, t.label, t.active FROM " . MAIN_DB_PREFIX . "c_hrm_department as t"1
  • /htdocs/admin/dict.php
"SELECT t.rowid, t.pos, t.code, t.label, t.c_level, t.active FROM " . MAIN_DB_PREFIX . "c_hrm_function as t"1
  • /htdocs/admin/dict.php
"SELECT c.rowid, c.label, c.active, c.entity FROM " . MAIN_DB_PREFIX . "c_exp_tax_cat c as c"1
  • /htdocs/admin/dict.php
"SELECT r.rowid, r.fk_c_exp_tax_cat, r.range_ik, r.active, r.entity FROM " . MAIN_DB_PREFIX . "c_exp_tax_range r"1
  • /htdocs/admin/dict.php
"SELECT r.rowid, r.code, r.sortorder, r.label, r.short_label, r.unit_type, r.scale, r.active FROM " . MAIN_DB_PREFIX . "c_units r"1
  • /htdocs/admin/dict.php
"SELECT s.rowid, s.entity, s.code, s.label, s.url, s.icon, s.active FROM " . MAIN_DB_PREFIX . "c_socialnetworks as s WHERE s.entity IN (" . getEntity($tabname[DICT_SOCIALNETWORKS]) . ")"1
  • /htdocs/admin/dict.php
"SELECT t.code, t.label as libelle, t.sortorder, t.active FROM " . MAIN_DB_PREFIX . "c_prospectcontactlevel as t"1
  • /htdocs/admin/dict.php
"SELECT t.id as rowid, t.code, t.libelle, t.picto, t.active FROM " . MAIN_DB_PREFIX . "c_stcommcontact as t"1
  • /htdocs/admin/dict.php
"SELECT t.rowid as rowid, t.code, t.label, t.active FROM " . MAIN_DB_PREFIX . "c_transport_mode as t"1
  • /htdocs/admin/dict.php
"SELECT t.rowid as rowid, t.code, t.label, t.active FROM " . MAIN_DB_PREFIX . "c_product_nature as t"1
  • /htdocs/admin/dict.php
"SELECT t.rowid, t.code, t.label, t.active FROM " . MAIN_DB_PREFIX . "c_productbatch_qcstatus as t"1
  • /htdocs/admin/dict.php
"SELECT t.rowid, t.code, t.label, t.active FROM " . MAIN_DB_PREFIX . "c_asset_disposal_type as t"1
  • /htdocs/admin/dict.php
"SELECT MAX(" . $tabrowid[$id] . ") as newid FROM " . MAIN_DB_PREFIX . $tablename1
  • /htdocs/admin/dict.php
"INSERT INTO " . MAIN_DB_PREFIX . $tablename . " ("1
  • /htdocs/admin/dict.php
"UPDATE " . MAIN_DB_PREFIX . $tablename . " SET "1
  • /htdocs/admin/dict.php
"DELETE FROM " . MAIN_DB_PREFIX . $tablename . " WHERE " . $rowidcol . " = '" . $db->escape($rowid) . "'" . ($entity != '' ? " AND entity = " . (int) $entity : '')1
  • /htdocs/admin/dict.php
"UPDATE " . MAIN_DB_PREFIX . $tablename . " SET active = 1 WHERE " . $rowidcol . " = '" . $db->escape($rowid) . "'" . ($entity != '' ? " AND entity = " . (int) $entity : '')1
  • /htdocs/admin/dict.php
"UPDATE " . MAIN_DB_PREFIX . $tablename . " SET active = 1 WHERE code = '" . $db->escape(dol_escape_htmltag($code)) . "'" . ($entity != '' ? " AND entity = " . (int) $entity : '')1
  • /htdocs/admin/dict.php
"UPDATE " . MAIN_DB_PREFIX . $tablename . " SET active = 0 WHERE " . $rowidcol . " = '" . $db->escape($rowid) . "'" . ($entity != '' ? " AND entity = " . (int) $entity : '')1
  • /htdocs/admin/dict.php
"UPDATE " . MAIN_DB_PREFIX . $tablename . " SET active = 0 WHERE code = '" . $db->escape(dol_escape_htmltag($code)) . "'" . ($entity != '' ? " AND entity = " . (int) $entity : '')1
  • /htdocs/admin/dict.php
"UPDATE " . MAIN_DB_PREFIX . $tablename . " SET favorite = 1 WHERE " . $rowidcol . " = '" . $db->escape($rowid) . "'" . ($entity != '' ? " AND entity = " . (int) $entity : '')1
  • /htdocs/admin/dict.php
"UPDATE " . MAIN_DB_PREFIX . $tablename . " SET favorite = 1 WHERE code = '" . $db->escape(dol_escape_htmltag($code)) . "'" . ($entity != '' ? " AND entity = " . (int) $entity : '')1
  • /htdocs/admin/dict.php
"UPDATE " . MAIN_DB_PREFIX . $tablename . " SET favorite = 0 WHERE " . $rowidcol . " = '" . $db->escape($rowid) . "'" . ($entity != '' ? " AND entity = " . (int) $entity : '')1
  • /htdocs/admin/dict.php
"UPDATE " . MAIN_DB_PREFIX . $tablename . " SET favorite = 0 WHERE code = '" . $db->escape(dol_escape_htmltag($code)) . "'" . ($entity != '' ? " AND entity = " . (int) $entity : '')1
  • /htdocs/admin/dict.php
"UPDATE " . MAIN_DB_PREFIX . $tablename . " SET eec = 1 WHERE " . $rowidcol . " = '" . $db->escape($rowid) . "'" . ($entity != '' ? " AND entity = " . (int) $entity : '')1
  • /htdocs/admin/dict.php
"UPDATE " . MAIN_DB_PREFIX . $tablename . " SET eec = 1 WHERE code = '" . $db->escape(dol_escape_htmltag($code)) . "'" . ($entity != '' ? " AND entity = " . (int) $entity : '')1
  • /htdocs/admin/dict.php
"UPDATE " . MAIN_DB_PREFIX . $tablename . " SET eec = 0 WHERE " . $rowidcol . " = '" . $db->escape($rowid) . "'" . ($entity != '' ? " AND entity = " . (int) $entity : '')1
  • /htdocs/admin/dict.php
"UPDATE " . MAIN_DB_PREFIX . $tablename . " SET eec = 0 WHERE code = '" . $db->escape(dol_escape_htmltag($code)) . "'" . ($entity != '' ? " AND entity = " . (int) $entity : '')1
  • /htdocs/admin/dict.php
'SELECT COUNT(*) as nbtotalofrecords FROM '1
  • /htdocs/admin/dict.php
"SELECT code_iso, label, unicode, active FROM " . MAIN_DB_PREFIX . "c_currencies"1
  • /htdocs/admin/multicurrency.php
"SELECT a.rowid, a.code, a.label, a.elementtype, a.rang as position"1
  • /htdocs/admin/agenda.php
"SELECT rowid, coder"1
  • /htdocs/admin/barcode.php
"SELECT rowid, code as encoding, libelle as label, coder, example"1
  • /htdocs/admin/barcode.php
"SELECT " . $db->decrypt('name') . " as name FROM " . MAIN_DB_PREFIX . "const"1
  • /htdocs/admin/external_rss.php
"INSERT INTO " . MAIN_DB_PREFIX . "boxes_def (file, note)"1
  • /htdocs/admin/external_rss.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "boxes_def"1
  • /htdocs/admin/external_rss.php
"SELECT rowid, file, note FROM " . MAIN_DB_PREFIX . "boxes_def"1
  • /htdocs/admin/external_rss.php
"select rss boxes"1
  • /htdocs/admin/external_rss.php
"UPDATE " . MAIN_DB_PREFIX . "rights_def SET bydefault=1"1
  • /htdocs/admin/perms.php
"UPDATE " . MAIN_DB_PREFIX . "rights_def SET bydefault=0"1
  • /htdocs/admin/perms.php
"DELETE FROM " . MAIN_DB_PREFIX . "events"1
  • /htdocs/admin/tools/listevents.php
"SELECT e.rowid, e.type, e.ip, e.user_agent, e.dateevent,"1
  • /htdocs/admin/tools/listevents.php
"SELECT conname, contype FROM pg_constraint;"1
  • /htdocs/admin/system/database-tables.php
"SELECT relname, seq_tup_read, idx_tup_fetch, n_tup_ins, n_tup_upd, n_tup_del"1
  • /htdocs/admin/system/database-tables.php
"SELECT name, type FROM sqlite_master where type='table' and name not like 'sqlite%' ORDER BY name"1
  • /htdocs/admin/system/database-tables.php
"SELECT COUNT(*) FROM " . $row[0]1
  • /htdocs/admin/system/database-tables.php
"SHOW TABLE STATUS LIKE '" . $db->escape($db->escapeforlike($table)) . "'"1
  • /htdocs/admin/system/dbtable.php
"SELECT conname,contype FROM pg_constraint"1
  • /htdocs/admin/system/dbtable.php
"SHOW VARIABLES where variable_name = 'system_time_zone'"1
  • /htdocs/admin/system/dolibarr.php
"SELECT m.titre as title"1
  • /htdocs/admin/menus/index.php
"SELECT m.rowid, m.titre, m.langs, m.mainmenu, m.leftmenu, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.position, m.module"1
  • /htdocs/admin/menus/index.php
"SELECT m.rowid, m.mainmenu, m.leftmenu, m.level, m.langs"1
  • /htdocs/admin/menus/edit.php
'SELECT rowid, datec as datec, tms as datem,'1
  • /htdocs/eventorganization/class/conferenceorbooth.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'conferenceorboothattendee/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/eventorganization/class/conferenceorboothattendee.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'conferenceorboothattendee/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/eventorganization/class/conferenceorboothattendee.class.php
"SELECT s.rowid, s.client, s.fournisseur"1
  • /htdocs/societe/index.php
"SELECT d.rowid, d.login, d.lastname, d.firstname, d.societe as company, d.fk_soc,"1
  • /htdocs/societe/societecontact.php
"SELECT count(*) as nb from " . MAIN_DB_PREFIX . "commande_fournisseur where fk_soc = " . ((int) $socid)1
  • /htdocs/societe/consumption.php
'SELECT f.rowid as doc_id, f.ref as doc_number, \'1\' as doc_type, f.datec as dateprint, f.fk_statut as status, NULL as paid, '1
  • /htdocs/societe/consumption.php
'SELECT f.rowid as doc_id, f.ref as doc_number, f.type as doc_type, f.datef as dateprint, f.fk_statut as status, f.paye as paid, d.fk_remise_except, '1
  • /htdocs/societe/consumption.php
'SELECT c.rowid as doc_id, c.ref as doc_number, \'1\' as doc_type, c.datep as dateprint, c.fk_statut as status, NULL as paid,'1
  • /htdocs/societe/consumption.php
'SELECT c.rowid as doc_id, c.ref as doc_number, \'1\' as doc_type, c.date_commande as dateprint, c.fk_statut as status, NULL as paid, c.date_livraison as delivery_planned_date,'1
  • /htdocs/societe/consumption.php
'SELECT f.rowid as doc_id, f.ref as doc_number, \'1\' as doc_type, f.datef as dateprint, f.fk_statut as status, f.paye as paid, '1
  • /htdocs/societe/consumption.php
'SELECT c.rowid as doc_id, c.ref as doc_number, \'1\' as doc_type, c.date_valid as dateprint, c.fk_statut as status, NULL as paid, '1
  • /htdocs/societe/consumption.php
'SELECT c.rowid as doc_id, c.ref as doc_number, \'1\' as doc_type, c.date_valid as dateprint, c.fk_statut as status, NULL as paid, c.date_livraison as delivery_planned_date, '1
  • /htdocs/societe/consumption.php
'SELECT c.rowid as doc_id, c.ref as doc_number, \'1\' as doc_type, c.date_contrat as dateprint, d.statut as status, NULL as paid,'1
  • /htdocs/societe/consumption.php
"DELETE t, et FROM " . MAIN_DB_PREFIX . "socpeople AS t"1
  • /htdocs/societe/contact.php
"SELECT s.rowid, s.nom as name, s.name_alias, s.barcode, s.address, s.town, s.zip, s.datec, s.code_client, s.code_fournisseur, s.logo,"1
  • /htdocs/societe/list.php
"DELETE FROM " . MAIN_DB_PREFIX . "societe_account WHERE site = 'stripe' AND (site_account IS NULL or site_account = '' or site_account = '" . $db->escape($tmpsite_account) . "') AND fk_soc = " . $object->id . " AND status = " . ((int) $tmpservicestatus) . " AND entity = " . $conf->entity1
  • /htdocs/societe/paymentmodes.php
'SELECT rowid FROM ' . MAIN_DB_PREFIX . "societe_account"1
  • /htdocs/societe/paymentmodes.php
'UPDATE ' . MAIN_DB_PREFIX . "societe_account"1
  • /htdocs/societe/paymentmodes.php
"DELETE FROM " . MAIN_DB_PREFIX . "oauth_token WHERE fk_soc = " . $object->id . " AND service = '" . $db->escape($tmpservice) . "' AND entity = " . $conf->entity1
  • /htdocs/societe/paymentmodes.php
"INSERT INTO " . MAIN_DB_PREFIX . "oauth_token (service, fk_soc, entity, tokenstring)"1
  • /htdocs/societe/paymentmodes.php
'SELECT rowid FROM ' . MAIN_DB_PREFIX . "societe_rib"1
  • /htdocs/societe/paymentmodes.php
"INSERT INTO " . MAIN_DB_PREFIX . "notify_def (datec,fk_soc, fk_contact, fk_action)"1
  • /htdocs/societe/notify/card.php
"DELETE FROM " . MAIN_DB_PREFIX . "notify_def where rowid=" . GETPOSTINT('actid')1
  • /htdocs/societe/notify/card.php
"SELECT count(s.rowid) as nb, s.client"1
  • /htdocs/societe/class/client.class.php
"SELECT id, code, libelle as label, picto, sortorder"1
  • /htdocs/societe/class/client.class.php
"SELECT f.ref, f.type as factype, re.fk_facture_source, re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture, re.fk_facture_line"1
  • /htdocs/societe/class/api_thirdparties.class.php
"SELECT rowid as id, fk_action, fk_action as event, fk_soc, fk_soc as socid, fk_contact, fk_contact as target, type, datec, tms"1
  • /htdocs/societe/class/api_thirdparties.class.php
"SELECT rowid, fk_soc, bank, number, code_banque, code_guichet, cle_rib, bic, iban_prefix as iban, domiciliation as address, proprio,"1
  • /htdocs/societe/class/api_thirdparties.class.php
"SELECT rowid, fk_soc, key_account, site, date_creation, tms FROM " . MAIN_DB_PREFIX . "societe_account"1
  • /htdocs/societe/class/api_thirdparties.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "societe_account WHERE fk_soc = " . ((int) $id) . " AND site = '" . $this->db->escape($request_data['site']) . "'"1
  • /htdocs/societe/class/api_thirdparties.class.php
"SELECT rowid, fk_user_creat, date_creation FROM " . MAIN_DB_PREFIX . "societe_account WHERE fk_soc = $id AND site = '" . $this->db->escape($site) . "'"1
  • /htdocs/societe/class/api_thirdparties.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "societe_account WHERE fk_soc = " . ((int) $id) . " AND site = '" . $this->db->escape($site) . "'"1
  • /htdocs/societe/class/api_thirdparties.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "societe_account WHERE fk_soc = $id AND site = '" . $this->db->escape($site) . "'"1
  • /htdocs/societe/class/api_thirdparties.class.php
"SELECT rowid, fk_soc, key_account, site, date_creation, tms"1
  • /htdocs/societe/class/api_thirdparties.class.php
"SELECT sa.fk_soc as fk_soc, sa.key_account, sa.entity"1
  • /htdocs/societe/class/societeaccount.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "societe_rib where fk_soc = " . ((int) $this->socid) . " AND default_rib = 1 AND type = 'ban'"1
  • /htdocs/societe/class/companybankaccount.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "societe_rib (fk_soc, type, datec, model_pdf)"1
  • /htdocs/societe/class/companybankaccount.class.php
"UPDATE " . MAIN_DB_PREFIX . "societe_rib SET"1
  • /htdocs/societe/class/companybankaccount.class.php
"SELECT rowid, label, type, fk_soc as socid, bank, number, code_banque, code_guichet, cle_rib, bic, iban_prefix as iban,"1
  • /htdocs/societe/class/companybankaccount.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "societe_rib"1
  • /htdocs/societe/class/companybankaccount.class.php
"SELECT rowid as id, fk_soc as socid FROM " . MAIN_DB_PREFIX . "societe_rib"1
  • /htdocs/societe/class/companybankaccount.class.php
"UPDATE " . MAIN_DB_PREFIX . "societe_rib SET default_rib = 0"1
  • /htdocs/societe/class/companybankaccount.class.php
"SELECT rowid as id, fk_soc, type FROM " . MAIN_DB_PREFIX . "societe_rib"1
  • /htdocs/societe/class/companypaymentmode.class.php
"UPDATE " . MAIN_DB_PREFIX . "societe_rib SET default_rib = 0, tms = tms"1
  • /htdocs/societe/class/companypaymentmode.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "societe ("1
  • /htdocs/societe/class/societe.class.php
'SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm'1
  • /htdocs/societe/class/societe.class.php
"DELETE FROM " . MAIN_DB_PREFIX . $tabletodelete1
  • /htdocs/societe/class/societe.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "societe_perentity"1
  • /htdocs/societe/class/societe.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "societe"1
  • /htdocs/societe/class/societe.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "societe_remise"1
  • /htdocs/societe/class/societe.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "societe_remise_supplier"1
  • /htdocs/societe/class/societe.class.php
"SELECT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender"1
  • /htdocs/societe/class/societe.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "societe_prices"1
  • /htdocs/societe/class/societe.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "societe_commerciaux"1
  • /htdocs/societe/class/societe.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "societe_commerciaux"1
  • /htdocs/societe/class/societe.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "societe_commerciaux "1
  • /htdocs/societe/class/societe.class.php
"SELECT rowid, email, statut as status, phone_mobile, lastname, poste, firstname"1
  • /htdocs/societe/class/societe.class.php
"SELECT rowid, lastname, firstname FROM " . MAIN_DB_PREFIX . "socpeople WHERE fk_soc = " . ((int) $this->id)1
  • /htdocs/societe/class/societe.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "socpeople WHERE fk_soc = " . ((int) $this->id)1
  • /htdocs/societe/class/societe.class.php
"SELECT rowid, email, phone_mobile, lastname, firstname"1
  • /htdocs/societe/class/societe.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "societe_rib WHERE type='ban' AND fk_soc = " . ((int) $this->id)1
  • /htdocs/societe/class/societe.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'societe SET parent = ' . ($id > 0 ? $id : 'null') . ' WHERE rowid = ' . ((int) $this->id)1
  • /htdocs/societe/class/societe.class.php
'SELECT s.parent'1
  • /htdocs/societe/class/societe.class.php
"SELECT parent FROM " . MAIN_DB_PREFIX . "societe WHERE rowid = " . ((int) $company_id)1
  • /htdocs/societe/class/societe.class.php
"SELECT COUNT(*) as nb FROM " . MAIN_DB_PREFIX . "societe WHERE " . $field . " = '" . $this->db->escape($value) . "' AND entity IN (" . getEntity('societe') . ")"1
  • /htdocs/societe/class/societe.class.php
"SELECT COUNT(*) as numproj FROM " . MAIN_DB_PREFIX . "projet WHERE fk_soc = " . ((int) $this->id)1
  • /htdocs/societe/class/societe.class.php
"SELECT s.rowid, s.nom as name, s.datec, tms as datem,"1
  • /htdocs/societe/class/societe.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "categorie_fournisseur (fk_categorie, fk_soc) "1
  • /htdocs/societe/class/societe.class.php
"SELECT t.localtax1, t.localtax2"1
  • /htdocs/societe/class/societe.class.php
"SELECT rowid, ref, total_ht, total_ttc, paye, type, fk_statut as status, close_code FROM " . MAIN_DB_PREFIX . $table . " as f"1
  • /htdocs/societe/class/societe.class.php
'SELECT rowid FROM ' . MAIN_DB_PREFIX . 'societe_commerciaux '1
  • /htdocs/societe/class/societe.class.php
' SELECT fk_user '1
  • /htdocs/societe/class/societe.class.php
'DELETE FROM ' . MAIN_DB_PREFIX . 'societe_commerciaux WHERE rowid = ' . ((int) $obj->rowid)1
  • /htdocs/societe/class/societe.class.php
"UPDATE " . MAIN_DB_PREFIX . $this->table_element . " SET "1
  • /htdocs/societe/class/societe.class.php
"SELECT sc.rowid, sc.fk_socpeople as id, sc.fk_c_type_contact"1
  • /htdocs/societe/class/societe.class.php
"SELECT s.rowid, s.nom, s.name_alias, s.code_client, s.code_fournisseur, s.address, s.zip, s.town, s.email, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.client, s.fournisseur, s.datec, s.logo"1
  • /htdocs/societe/ajax/ajaxcompanies.php
"SELECT s.nom, s.rowid, p.rowid as propalid, p.fk_statut, p.total_ht"1
  • /htdocs/comm/card.php
"SELECT s.nom, s.rowid"1
  • /htdocs/comm/card.php
'SELECT s.nom, s.rowid as socid, s.client, c.rowid, c.ref, c.total_ht, c.ref_client,'1
  • /htdocs/comm/card.php
'SELECT e.rowid as id'1
  • /htdocs/comm/card.php
"SELECT s.nom, s.rowid, c.rowid as id, c.ref as ref, c.statut as contract_status, c.datec as dc, c.date_contrat as dcon, c.ref_customer as refcus, c.ref_supplier as refsup, c.entity,"1
  • /htdocs/comm/card.php
"SELECT s.nom, s.rowid, f.rowid as id, f.ref, f.fk_statut, f.duree as duration, f.datei as startdate, f.entity"1
  • /htdocs/comm/card.php
'SELECT f.rowid as id, f.titre as ref'1
  • /htdocs/comm/card.php
'SELECT f.rowid as facid, f.ref, f.type'1
  • /htdocs/comm/card.php
"SELECT rc.rowid, rc.remise_client as remise_percent, rc.note, rc.datec as dc,"1
  • /htdocs/comm/remise.php
"SELECT rc.rowid, rc.remise_supplier as remise_percent, rc.note, rc.datec as dc,"1
  • /htdocs/comm/remise.php
"SELECT p.rowid, p.ref, p.ref_client, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status"1
  • /htdocs/comm/index.php
"SELECT p.rowid, p.ref, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status"1
  • /htdocs/comm/index.php
"SELECT c.rowid, c.ref, c.ref_client, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status"1
  • /htdocs/comm/index.php
"SELECT cf.rowid, cf.ref, cf.ref_supplier, cf.total_ht, cf.total_tva, cf.total_ttc, cf.fk_statut as status"1
  • /htdocs/comm/index.php
"SELECT f.rowid, f.ref, s.nom as name, f.fk_statut, f.duree as duration"1
  • /htdocs/comm/index.php
"SELECT p.rowid as propalid, p.entity, p.total_ttc, p.total_ht, p.total_tva, p.ref, p.ref_client, p.fk_statut, p.datep as dp, p.fin_validite as dfv"1
  • /htdocs/comm/index.php
"SELECT c.rowid as commandeid, c.total_ttc, c.total_ht, c.total_tva, c.ref, c.ref_client, c.fk_statut, c.date_valid as dv, c.facture as billed"1
  • /htdocs/comm/index.php
"SELECT s.rowid, s.nom as name, st.libelle as stcomm,"1
  • /htdocs/comm/contact.php
"SELECT rc.rowid,rc.price_level, rc.datec as dc, u.rowid as uid, u.login"1
  • /htdocs/comm/multiprix.php
"SELECT count(*) as cc, st.libelle as stcomm, st.picto, st.id"1
  • /htdocs/comm/prospect/index.php
"SELECT p.rowid, p.ref, p.price, s.nom as sname"1
  • /htdocs/comm/prospect/index.php
"SELECT s.nom as name, s.rowid as socid, s.client, s.canvas,"1
  • /htdocs/comm/prospect/index.php
"SELECT s.nom as name, s.rowid as socid, s.client, s.canvas"1
  • /htdocs/comm/prospect/index.php
"SELECT u.rowid, u.lastname as lastname, u.firstname, u.statut, u.login, u.admin, u.entity"1
  • /htdocs/comm/action/peruser.php
" SELECT ug.fk_user FROM " . $db->prefix( ) . "usergroup_user as ug"1
  • /htdocs/comm/action/peruser.php
"SELECT ba.rowid, bc.label, bc.ref, bc.rowid as id_cal"1
  • /htdocs/comm/action/index.php
'SELECT sp.rowid, sp.lastname, sp.firstname, sp.birthday'1
  • /htdocs/comm/action/index.php
"SELECT u.rowid as uid, u.lastname, u.firstname, u.statut, x.rowid, x.date_debut as date_start, x.date_fin as date_end, x.halfday, x.statut as status"1
  • /htdocs/comm/action/index.php
"INSERT INTO " . MAIN_DB_PREFIX . "actioncomm"1
  • /htdocs/comm/action/class/actioncomm.class.php
"UPDATE " . MAIN_DB_PREFIX . "actioncomm SET ref='" . $this->db->escape($this->ref) . "' WHERE id=" . $this->id1
  • /htdocs/comm/action/class/actioncomm.class.php
'SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency'1
  • /htdocs/comm/action/class/actioncomm.class.php
"SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency"1
  • /htdocs/comm/action/class/actioncomm.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "categorie_actioncomm"1
  • /htdocs/comm/action/class/actioncomm.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "actioncomm_resources"1
  • /htdocs/comm/action/class/actioncomm.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "actioncomm"1
  • /htdocs/comm/action/class/actioncomm.class.php
"UPDATE " . MAIN_DB_PREFIX . "actioncomm"1
  • /htdocs/comm/action/class/actioncomm.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "actioncomm_resources where fk_actioncomm = " . ((int) $this->id) . " AND element_type = 'user'"1
  • /htdocs/comm/action/class/actioncomm.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "actioncomm_resources where fk_actioncomm = " . ((int) $this->id) . " AND element_type = 'socpeople'"1
  • /htdocs/comm/action/class/actioncomm.class.php
"SELECT a.id"1
  • /htdocs/comm/action/class/actioncomm.class.php
"SELECT a.id, a.datep as dp"1
  • /htdocs/comm/action/class/actioncomm.class.php
"SELECT count(a.id) as nb"1
  • /htdocs/comm/action/class/actioncomm.class.php
"SELECT p.rowid as id,"1
  • /htdocs/comm/action/class/actioncomm.class.php
"SELECT u.rowid as uid, u.lastname, u.firstname, u.email, u.statut, x.rowid, x.date_debut as date_start, x.date_fin as date_end, x.halfday, x.statut as status"1
  • /htdocs/comm/action/class/actioncomm.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'actioncomm SET fk_element = ' . ((int) $dest_id) . ' WHERE elementtype="product" AND fk_element = ' . ((int) $origin_id)1
  • /htdocs/comm/action/class/actioncomm.class.php
"SELECT rowid as id, typeremind, dateremind, status, offsetvalue, offsetunit, fk_user, fk_email_template, lasterror"1
  • /htdocs/comm/action/class/actioncomm.class.php
"SELECT rowid as id FROM " . MAIN_DB_PREFIX . "actioncomm_reminder"1
  • /htdocs/comm/action/class/actioncomm.class.php
"UPDATE " . MAIN_DB_PREFIX . "actioncomm "1
  • /htdocs/comm/action/class/actioncomm.class.php
"SELECT t.id as rowid"1
  • /htdocs/comm/action/class/api_agendaevents.class.php
"SELECT id, code, type, libelle as label, color, active, picto"1
  • /htdocs/comm/action/class/cactioncomm.class.php
"SELECT id, code, libelle as label, module, type, color, picto"1
  • /htdocs/comm/action/class/cactioncomm.class.php
"SELECT count(*) as cc,"1
  • /htdocs/comm/action/rapport/index.php
"SELECT p.rowid, p.ref, p.ref_client, p.total_ht, p.total_tva, p.total_ttc"1
  • /htdocs/comm/propal/index.php
"SELECT s.nom as socname, s.rowid as socid, s.canvas, s.client, s.email, s.code_compta"1
  • /htdocs/comm/propal/index.php
"INSERT INTO " . MAIN_DB_PREFIX . "propal ("1
  • /htdocs/comm/propal/class/propal.class.php
'UPDATE ' . MAIN_DB_PREFIX . "propal SET ref='" . $this->db->escape($this->ref) . "' WHERE rowid=" . ((int) $this->id)1
  • /htdocs/comm/propal/class/propal.class.php
"SELECT p.rowid, p.ref, p.entity, p.fk_soc"1
  • /htdocs/comm/propal/class/propal.class.php
"UPDATE " . MAIN_DB_PREFIX . "propal SET"1
  • /htdocs/comm/propal/class/propal.class.php
'SELECT d.rowid, d.fk_propal, d.fk_parent_line, d.label as custom_label, d.description, d.price, d.vat_src_code, d.tva_tx, d.localtax1_tx, d.localtax2_tx, d.localtax1_type, d.localtax2_type, d.qty, d.fk_remise_except, d.remise_percent, d.subprice, d.fk_product,'1
  • /htdocs/comm/propal/class/propal.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'propale/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/comm/propal/class/propal.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'propale/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/comm/propal/class/propal.class.php
"UPDATE " . MAIN_DB_PREFIX . "propal SET datep = '" . $this->db->idate($date) . "'"1
  • /htdocs/comm/propal/class/propal.class.php
"UPDATE " . MAIN_DB_PREFIX . "propal SET fin_validite = " . ($date_end_validity != '' ? "'" . $this->db->idate($date_end_validity) . "'" : 'null')1
  • /htdocs/comm/propal/class/propal.class.php
"UPDATE " . MAIN_DB_PREFIX . "propal SET ref_client = " . (empty($ref_client) ? 'NULL' : "'" . $this->db->escape($ref_client) . "'")1
  • /htdocs/comm/propal/class/propal.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'propal SET fk_statut = ' . self::STATUS_BILLED . ", "1
  • /htdocs/comm/propal/class/propal.class.php
"SELECT rowid as facid, ref, total_ht as total, datef as df, fk_user_author, fk_statut, paye"1
  • /htdocs/comm/propal/class/propal.class.php
"SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht"1
  • /htdocs/comm/propal/class/propal.class.php
'SELECT pd.rowid, pd.fk_propal, pd.fk_parent_line, pd.fk_product, pd.label as custom_label, pd.description, pd.price, pd.qty, pd.vat_src_code, pd.tva_tx,'1
  • /htdocs/comm/propal/class/propal.class.php
'INSERT INTO ' . MAIN_DB_PREFIX . 'propaldet'1
  • /htdocs/comm/propal/class/propal.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "propaldet WHERE rowid = " . ((int) $this->rowid)1
  • /htdocs/comm/propal/class/propal.class.php
"SELECT date_format(" . $this->field_date . ",'%m') as dm, COUNT(*) as nb"1
  • /htdocs/comm/propal/class/propalestats.class.php
"SELECT date_format(" . $this->field_date . ",'%Y') as dm, COUNT(*) as nb, SUM(c." . $this->field . ")"1
  • /htdocs/comm/propal/class/propalestats.class.php
"SELECT date_format(" . $this->field_date . ",'%m') as dm, SUM(p." . $this->field . ")"1
  • /htdocs/comm/propal/class/propalestats.class.php
"SELECT date_format(" . $this->field_date . ",'%m') as dm, AVG(p." . $this->field . ")"1
  • /htdocs/comm/propal/class/propalestats.class.php
"SELECT date_format(" . $this->field_date . ",'%Y') as year, COUNT(*) as nb, SUM(" . $this->field . ") as total, AVG(" . $this->field . ") as avg"1
  • /htdocs/comm/propal/class/propalestats.class.php
"UPDATE " . MAIN_DB_PREFIX . "mailing SET date_envoi='" . $db->idate($now) . "' WHERE rowid=" . ((int) $object->id)1
  • /htdocs/comm/mailing/card.php
"UPDATE " . MAIN_DB_PREFIX . "mailing SET statut=" . ((int) $statut) . " WHERE rowid = " . ((int) $object->id)1
  • /htdocs/comm/mailing/card.php
"SELECT m.rowid, m.titre as title, m.nbemail, m.statut as status, m.date_creat, m.messtype"1
  • /htdocs/comm/mailing/index.php
"SELECT m.rowid, m.messtype, m.titre as title, m.nbemail, m.statut as status, m.date_creat as datec, m.date_envoi as date_envoi,"1
  • /htdocs/comm/mailing/list.php
"SELECT m.rowid, m.messtype, m.titre as title, m.nbemail, m.statut as status, m.date_creat as datec, m.date_envoi as date_envoi"1
  • /htdocs/comm/mailing/list.php
"INSERT INTO " . MAIN_DB_PREFIX . "mailing_advtarget("1
  • /htdocs/comm/mailing/class/advtargetemailing.class.php
"UPDATE " . MAIN_DB_PREFIX . "mailing_advtarget SET"1
  • /htdocs/comm/mailing/class/advtargetemailing.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "mailing_advtarget"1
  • /htdocs/comm/mailing/class/advtargetemailing.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "mailing"1
  • /htdocs/comm/mailing/class/mailing.class.php
"SELECT m.rowid, m.messtype, m.titre as title, m.sujet, m.body, m.bgcolor, m.bgimage, m.evenunsubscribe"1
  • /htdocs/comm/mailing/class/mailing.class.php
"SELECT fk_contact,"1
  • /htdocs/comm/mailing/class/mailing.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "mailing"1
  • /htdocs/comm/mailing/class/mailing.class.php
"SELECT COUNT(rowid) as nb FROM " . MAIN_DB_PREFIX . "mailing_cibles"1
  • /htdocs/comm/mailing/class/mailing.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'mailing SET nbemail = ' . ((int) $nbforupdate)1
  • /htdocs/comm/mailing/class/mailing.class.php
"SELECT d.rowid as rowid, d.code_departement as code, d.nom as department, r.nom as region"1
  • /htdocs/comm/mailing/class/html.formadvtargetemailing.class.php
"SELECT rowid, code as code_iso, label"1
  • /htdocs/comm/mailing/class/html.formadvtargetemailing.class.php
"SELECT DISTINCT u2.rowid, u2.lastname as name, u2.firstname, u2.login"1
  • /htdocs/comm/mailing/class/html.formadvtargetemailing.class.php
"SELECT " . $this->db->sanitize($keyList) . ", " . $this->db->sanitize($InfoFieldList[1])1
  • /htdocs/comm/mailing/class/html.formadvtargetemailing.class.php
"SELECT rowid, code, label as civilite, active FROM " . MAIN_DB_PREFIX . "c_civility"1
  • /htdocs/comm/mailing/class/html.formadvtargetemailing.class.php
"SELECT c.rowid, c.name, c.fk_element"1
  • /htdocs/comm/mailing/class/html.formadvtargetemailing.class.php
"SELECT COUNT(rowid) as nb FROM " . MAIN_DB_PREFIX . 'user WHERE entity IN (' . getEntity('user') . ')'1
  • /htdocs/user/card.php
"SELECT DISTINCT u.rowid, u.lastname, u.firstname, u.admin, u.login, u.fk_soc, u.datec, u.statut"1
  • /htdocs/user/home.php
"SELECT g.rowid, g.nom as name, g.note, g.entity, g.datec"1
  • /htdocs/user/home.php
"SELECT b.rowid, b.fk_user, b.url, b.title"1
  • /htdocs/user/param_ihm.php
"SELECT DISTINCT u.rowid, u.lastname, u.firstname, u.admin, u.fk_soc, u.login, u.office_phone, u.user_mobile, u.email, u.api_key, u.accountancy_code, u.gender, u.employee, u.photo,"1
  • /htdocs/user/list.php
"SELECT s.rowid as sid, s.ref as sref, s.label, s.datesp, s.dateep, s.paye, s.amount, SUM(ps.amount) as alreadypaid"1
  • /htdocs/user/bank.php
"SELECT h.rowid, h.statut as status, h.fk_type, h.date_debut, h.date_fin, h.halfday"1
  • /htdocs/user/bank.php
"SELECT e.rowid, e.ref, e.fk_statut as status, e.date_debut, e.total_ttc"1
  • /htdocs/user/bank.php
"SELECT DISTINCT ur.fk_id"1
  • /htdocs/user/perms.php
"SELECT DISTINCT gr.fk_id, gu.entity"1
  • /htdocs/user/perms.php
"INSERT INTO " . MAIN_DB_PREFIX . "notify_def (datec, fk_user, fk_action)"1
  • /htdocs/user/notify/card.php
"DELETE FROM " . MAIN_DB_PREFIX . "notify_def where rowid=" . GETPOSTINT("actid")1
  • /htdocs/user/notify/card.php
"SELECT g.rowid, g.nom as name, g.note, g.entity, g.datec, g.tms, COUNT(DISTINCT ugu.fk_user) as nb, COUNT(DISTINCT ugr.fk_id) as nbpermissions"1
  • /htdocs/user/group/list.php
"SELECT DISTINCT r.id, r.libelle, r.module, gr.entity"1
  • /htdocs/user/group/perms.php
"INSERT INTO " . $this->db->prefix( ) . "user_rib (fk_user, datec)"1
  • /htdocs/user/class/userbankaccount.class.php
"UPDATE " . $this->db->prefix( ) . "user_rib SET"1
  • /htdocs/user/class/userbankaccount.class.php
"SELECT ur.rowid, ur.fk_user, ur.entity, ur.bank, ur.number, ur.code_banque, ur.code_guichet, ur.cle_rib, ur.bic, ur.iban_prefix as iban, ur.domiciliation as address"1
  • /htdocs/user/class/userbankaccount.class.php
"SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.job,"1
  • /htdocs/user/class/user.class.php
"SELECT param, value FROM " . $this->db->prefix( ) . "user_param"1
  • /htdocs/user/class/user.class.php
"INSERT INTO " . $this->db->prefix( ) . "user_rights (entity, fk_user, fk_id) VALUES (" . ((int) $entity) . ", " . ((int) $this->id) . ", " . ((int) $nid) . ")"1
  • /htdocs/user/class/user.class.php
"SELECT DISTINCT r.module, r.perms, r.subperms"1
  • /htdocs/user/class/user.class.php
"SELECT DISTINCT r.module, r.perms, r.subperms, r.entity"1
  • /htdocs/user/class/user.class.php
"DELETE FROM " . $this->db->prefix( ) . "user_rights WHERE fk_user = " . ((int) $this->id)1
  • /htdocs/user/class/user.class.php
"DELETE FROM " . $this->db->prefix( ) . "usergroup_user WHERE fk_user = " . ((int) $this->id)1
  • /htdocs/user/class/user.class.php
"DELETE FROM " . $this->db->prefix( ) . "user_param WHERE fk_user = " . ((int) $this->id)1
  • /htdocs/user/class/user.class.php
"UPDATE " . $this->db->prefix( ) . "socpeople SET fk_user_creat = null WHERE rowid = " . ((int) $this->contact_id)1
  • /htdocs/user/class/user.class.php
"DELETE FROM " . $this->db->prefix( ) . "user WHERE rowid = " . ((int) $this->id)1
  • /htdocs/user/class/user.class.php
"INSERT INTO " . $this->db->prefix( ) . "user (datec, login, ldap_sid, entity)"1
  • /htdocs/user/class/user.class.php
"SELECT id FROM " . $this->db->prefix( ) . "rights_def"1
  • /htdocs/user/class/user.class.php
"DELETE FROM " . $this->db->prefix( ) . "user_rights WHERE fk_user = $this->id AND fk_id=$rd[$i]"1
  • /htdocs/user/class/user.class.php
"INSERT INTO " . $this->db->prefix( ) . "user_rights (fk_user, fk_id) VALUES ($this->id, $rd[$i])"1
  • /htdocs/user/class/user.class.php
"UPDATE " . $this->db->prefix( ) . "user SET fk_member = NULL where fk_member = " . ((int) $this->fk_member)1
  • /htdocs/user/class/user.class.php
"UPDATE " . $this->db->prefix( ) . "user SET fk_member =" . ($this->fk_member > 0 ? ((int) $this->fk_member) : 'null') . " where rowid = " . ((int) $this->id)1
  • /htdocs/user/class/user.class.php
"SELECT url, login, pass, poste "1
  • /htdocs/user/class/user.class.php
"DELETE FROM " . $this->db->prefix( ) . "user_clicktodial"1
  • /htdocs/user/class/user.class.php
"INSERT INTO " . $this->db->prefix( ) . "user_clicktodial"1
  • /htdocs/user/class/user.class.php
"INSERT INTO " . $this->db->prefix( ) . "usergroup_user (entity, fk_user, fk_usergroup)"1
  • /htdocs/user/class/user.class.php
"SELECT u.rowid, u.login as ref, u.datec,"1
  • /htdocs/user/class/user.class.php
"SELECT rowid FROM " . $this->db->prefix( ) . "user"1
  • /htdocs/user/class/user.class.php
"SELECT fk_user as id_parent, rowid as id_son"1
  • /htdocs/user/class/user.class.php
"SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity"1
  • /htdocs/user/class/user.class.php
"SELECT COUNT(DISTINCT u.rowid) as nb"1
  • /htdocs/user/class/user.class.php
"SELECT rowid, email, user_mobile, civility, lastname, firstname"1
  • /htdocs/user/class/user.class.php
"SELECT g.rowid, ug.entity as usergroup_entity"1
  • /htdocs/user/class/usergroup.class.php
"SELECT u.rowid, u.login, u.lastname, u.firstname, u.photo, u.fk_soc, u.entity, u.employee, u.email, u.statut as status"1
  • /htdocs/user/class/usergroup.class.php
"DELETE FROM " . $this->db->prefix( ) . "usergroup_rights WHERE fk_usergroup = " . ((int) $this->id) . " AND fk_id=" . ((int) $nid) . " AND entity = " . ((int) $entity)1
  • /htdocs/user/class/usergroup.class.php
"INSERT INTO " . $this->db->prefix( ) . "usergroup_rights (entity, fk_usergroup, fk_id) VALUES (" . ((int) $entity) . ", " . ((int) $this->id) . ", " . ((int) $nid) . ")"1
  • /htdocs/user/class/usergroup.class.php
"DELETE FROM " . $this->db->prefix( ) . "usergroup_rights"1
  • /htdocs/user/class/usergroup.class.php
"SELECT r.module, r.perms, r.subperms "1
  • /htdocs/user/class/usergroup.class.php
'INSERT INTO ' . MAIN_DB_PREFIX . 'import_model ('1
  • /htdocs/imports/class/import.class.php
'SELECT em.rowid, em.field, em.label, em.type'1
  • /htdocs/imports/class/import.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "import_model"1
  • /htdocs/imports/class/import.class.php
"SELECT p.rowid, p.label, p.ref, p.fk_product_type as type, p.tobuy, p.tosell, p.tobatch, p.barcode, SUM(pd.qty) as c"1
  • /htdocs/product/popuprop.php
"SELECT COUNT(p.rowid) as total, p.fk_product_type, p.tosell, p.tobuy"1
  • /htdocs/product/index.php
"SELECT p.rowid, p.label, p.price, p.ref, p.fk_product_type, p.tosell, p.tobuy, p.tobatch, p.fk_price_expression,"1
  • /htdocs/product/index.php
"SELECT DATE_FORMAT(p.datep,'%Y') as annee, DATE_FORMAT(p.datep,'%m') as mois, SUM(fd.total_ht) as Mnttot"1
  • /htdocs/product/index.php
" SELECT cp.fk_categorie, cp.fk_warehouse"1
  • /htdocs/product/reassortlot.php
'SELECT p.rowid, p.ref, p.description, p.label, p.fk_product_type, p.barcode, p.price, p.tva_tx, p.price_ttc, p.price_base_type, p.entity,'1
  • /htdocs/product/list.php
"SELECT p.rowid, p.fk_product, p.price, p.price_ttc, p.price_level, p.date_price, p.price_base_type"1
  • /htdocs/product/list.php
"SELECT t.rowid, t.type_vat, t.code, t.recuperableonly, t.localtax1, t.localtax2, t.localtax1_type, t.localtax2_type"1
  • /htdocs/product/price.php
"UPDATE " . MAIN_DB_PREFIX . "product_price_by_qty SET"1
  • /htdocs/product/price.php
"INSERT INTO " . MAIN_DB_PREFIX . "product_price_by_qty (fk_product_price,price,unitprice,quantity,remise_percent,remise) values ("1
  • /htdocs/product/price.php
"SELECT p.rowid, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.recuperableonly, p.localtax1_tx, p.localtax1_type, p.localtax2_tx, p.localtax2_type,"1
  • /htdocs/product/price.php
"UPDATE " . MAIN_DB_PREFIX . "product SET pmp = " . ((float) $object->pmp) . " WHERE rowid = " . ((int) $id)1
  • /htdocs/product/price_suppliers.php
"DELETE FROM " . MAIN_DB_PREFIX . "product_fournisseur_price_extrafields WHERE fk_object = " . ((int) $rowid)1
  • /htdocs/product/price_suppliers.php
"DELETE FROM " . MAIN_DB_PREFIX . "product_pricerules WHERE level = " . ((int) $i)1
  • /htdocs/product/admin/price_rules.php
"INSERT INTO " . MAIN_DB_PREFIX . "product_pricerules (level, fk_level, var_percent, var_min_percent) VALUES ("1
  • /htdocs/product/admin/price_rules.php
"UPDATE " . MAIN_DB_PREFIX . "product_pricerules"1
  • /htdocs/product/admin/price_rules.php
"SELECT rowid, level, fk_level, var_percent, var_min_percent"1
  • /htdocs/product/admin/price_rules.php
'SELECT pfp.rowid, pfp.fk_soc, pfp.price as price, pfp.quantity as qty, pfp.fk_availability, pfp.ref_fourn'1
  • /htdocs/product/admin/product_tools.php
'SELECT DISTINCT p.rowid, p.ref, p.label, p.fk_product_type as type, p.barcode, p.price, p.price_ttc, p.price_base_type, p.entity,'1
  • /htdocs/product/composition/card.php
"UPDATE " . MAIN_DB_PREFIX . "inventorydet"1
  • /htdocs/product/inventory/inventory.php
'UPDATE ' . MAIN_DB_PREFIX . 'product SET pmp = ' . ((float) $line->pmp_real) . ' WHERE rowid = ' . ((int) $line->fk_product)1
  • /htdocs/product/inventory/inventory.php
'UPDATE ' . MAIN_DB_PREFIX . 'product_perentity SET pmp = ' . ((float) $line->pmp_real) . ' WHERE fk_product = ' . ((int) $line->fk_product) . ' AND entity=' . $conf->entity1
  • /htdocs/product/inventory/inventory.php
"UPDATE " . MAIN_DB_PREFIX . "inventory"1
  • /htdocs/product/inventory/inventory.php
"SELECT ps.rowid, ps.fk_entrepot as fk_warehouse, ps.fk_product, ps.reel,"1
  • /htdocs/product/inventory/class/inventory.class.php
" SELECT cp.fk_product"1
  • /htdocs/product/inventory/class/inventory.class.php
" SELECT pa.rowid"1
  • /htdocs/product/inventory/class/inventory.class.php
"SELECT rowid, date_creation as datec, tms as datem, date_validation as datev,"1
  • /htdocs/product/inventory/class/inventory.class.php
'SELECT rowid FROM ' . MAIN_DB_PREFIX . 'entrepot'1
  • /htdocs/product/inventory/class/inventory.class.php
"INSERT INTO " . $this->db->prefix( ) . "product_batch ("1
  • /htdocs/product/class/productbatch.class.php
"UPDATE " . $this->db->prefix( ) . self::$_table_element . " SET"1
  • /htdocs/product/class/productbatch.class.php
"DELETE FROM " . $this->db->prefix( ) . self::$_table_element1
  • /htdocs/product/class/productbatch.class.php
"INSERT INTO " . $this->db->prefix( ) . "product_customer_price("1
  • /htdocs/product/class/productcustomerprice.class.php
"INSERT INTO " . $this->db->prefix( ) . "product_customer_price_log("1
  • /htdocs/product/class/productcustomerprice.class.php
"UPDATE " . $this->db->prefix( ) . "product_customer_price SET"1
  • /htdocs/product/class/productcustomerprice.class.php
"DELETE FROM " . $this->db->prefix( ) . "product_customer_price"1
  • /htdocs/product/class/productcustomerprice.class.php
"INSERT INTO " . $this->db->prefix( ) . "product ("1
  • /htdocs/product/class/product.class.php
"DELETE FROM " . $this->db->prefix( ) . "product_batch WHERE batch in('Undefined', '" . $this->db->escape($valueforundefinedlot) . "') AND fk_product_stock = " . ((int) $ObjW->id)1
  • /htdocs/product/class/product.class.php
"UPDATE " . $this->db->prefix( ) . "product"1
  • /htdocs/product/class/product.class.php
'SELECT pb.qty, ps.fk_entrepot, pb.batch FROM ' . MAIN_DB_PREFIX . 'product_batch as pb'1
  • /htdocs/product/class/product.class.php
"DELETE FROM " . $this->db->prefix( ) . 'product_batch'1
  • /htdocs/product/class/product.class.php
"SELECT rowid FROM " . $this->db->prefix( ) . 'product_stock'1
  • /htdocs/product/class/product.class.php
"DELETE FROM " . $this->db->prefix( ) . "product"1
  • /htdocs/product/class/product.class.php
"DELETE FROM " . $this->db->prefix( ) . "product_lang"1
  • /htdocs/product/class/product.class.php
"UPDATE " . $this->db->prefix( ) . $this->table_element . " SET "1
  • /htdocs/product/class/product.class.php
"SELECT lang, label, description, note as other"1
  • /htdocs/product/class/product.class.php
"INSERT INTO " . $this->db->prefix( ) . "product_price(price_level,date_price, fk_product, fk_user_author, price_label, price, price_ttc, price_base_type,tosell, tva_tx, default_vat_code, recuperableonly,"1
  • /htdocs/product/class/product.class.php
"DELETE FROM " . $this->db->prefix( ) . "product_price_by_qty"1
  • /htdocs/product/class/product.class.php
"DELETE FROM " . $this->db->prefix( ) . "product_price"1
  • /htdocs/product/class/product.class.php
"SELECT t.rowid, t.code, t.recuperableonly as tva_npr, t.localtax1, t.localtax2, t.localtax1_type, t.localtax2_type"1
  • /htdocs/product/class/product.class.php
"UPDATE " . $this->db->prefix( ) . "product SET"1
  • /htdocs/product/class/product.class.php
"SELECT p.rowid, p.ref, p.ref_ext, p.label, p.description, p.url, p.note_public, p.note as note_private, p.customcode, p.fk_country, p.fk_state, p.lifetime, p.qc_frequency, p.price, p.price_ttc,"1
  • /htdocs/product/class/product.class.php
"SELECT pmp FROM " . $this->db->prefix( ) . "product_perentity WHERE fk_product = " . ((int) $id) . " AND entity = " . (int) $conf->entity1
  • /htdocs/product/class/product.class.php
"SELECT rowid,price, unitprice, quantity, remise_percent, remise, remise, price_base_type"1
  • /htdocs/product/class/product.class.php
"SELECT rowid, price, unitprice, quantity, remise_percent, remise, price_base_type"1
  • /htdocs/product/class/product.class.php
"SELECT COUNT(DISTINCT b.rowid) as nb_toproduce,"1
  • /htdocs/product/class/product.class.php
"SELECT COUNT(DISTINCT bl.rowid) as nb_toconsume,"1
  • /htdocs/product/class/product.class.php
"SELECT COUNT(DISTINCT p.fk_soc) as nb_customers, COUNT(DISTINCT p.rowid) as nb,"1
  • /htdocs/product/class/product.class.php
"SELECT COUNT(DISTINCT p.fk_soc) as nb_suppliers, COUNT(DISTINCT p.rowid) as nb,"1
  • /htdocs/product/class/product.class.php
"SELECT SUM(" . $this->db->ifsql('f.type=2', -1, 1) . " * fd.qty) as count FROM " . $this->db->prefix( ) . "facturedet as fd "1
  • /htdocs/product/class/product.class.php
"SELECT sum(" . $this->db->ifsql('f.type=2', -1, 1) . " * fd.qty) as count FROM " . MAIN_DB_PREFIX . "facturedet as fd "1
  • /htdocs/product/class/product.class.php
"SELECT COUNT(DISTINCT c.fk_soc) as nb_suppliers, COUNT(DISTINCT c.rowid) as nb,"1
  • /htdocs/product/class/product.class.php
"SELECT COUNT(DISTINCT e.fk_soc) as nb_customers, COUNT(DISTINCT e.rowid) as nb,"1
  • /htdocs/product/class/product.class.php
"SELECT COUNT(DISTINCT cf.fk_soc) as nb_suppliers, COUNT(DISTINCT cf.rowid) as nb,"1
  • /htdocs/product/class/product.class.php
"SELECT COUNT(DISTINCT m.fk_soc) as nb_customers, COUNT(DISTINCT m.rowid) as nb,"1
  • /htdocs/product/class/product.class.php
"SELECT COUNT(DISTINCT f.fk_soc) as nb_suppliers, COUNT(DISTINCT f.rowid) as nb,"1
  • /htdocs/product/class/product.class.php
"SELECT sum(d.qty) as qty, date_format(p.datep, '%Y%m')"1
  • /htdocs/product/class/product.class.php
"SELECT sum(d.qty) as qty, date_format(p.date_valid, '%Y%m')"1
  • /htdocs/product/class/product.class.php
"SELECT sum(d.qty) as qty, date_format(c.date_contrat, '%Y%m')"1
  • /htdocs/product/class/product.class.php
"SELECT sum(d.qty), date_format(d.date_valid, '%Y%m')"1
  • /htdocs/product/class/product.class.php
"SELECT fk_product_pere from " . $this->db->prefix( ) . "product_association"1
  • /htdocs/product/class/product.class.php
"SELECT MAX(rang) as max_rank FROM " . $this->db->prefix( ) . "product_association"1
  • /htdocs/product/class/product.class.php
"INSERT INTO " . $this->db->prefix( ) . "product_association(fk_product_pere,fk_product_fils,qty,incdec,rang)"1
  • /htdocs/product/class/product.class.php
'UPDATE ' . $this->db->prefix( ) . 'product_association SET '1
  • /htdocs/product/class/product.class.php
"SELECT rowid, rang FROM " . $this->db->prefix( ) . "product_association"1
  • /htdocs/product/class/product.class.php
"UPDATE " . $this->db->prefix( ) . "product_association"1
  • /htdocs/product/class/product.class.php
"SELECT fk_product_pere, qty, incdec"1
  • /htdocs/product/class/product.class.php
"SELECT rowid, fk_product"1
  • /htdocs/product/class/product.class.php
"INSERT INTO " . $this->db->prefix( ) . "product_fournisseur_price("1
  • /htdocs/product/class/product.class.php
"SELECT DISTINCT p.fk_soc"1
  • /htdocs/product/class/product.class.php
"INSERT INTO " . $this->db->prefix( ) . "product_price ("1
  • /htdocs/product/class/product.class.php
'INSERT INTO ' . $this->db->prefix( ) . 'product_association (fk_product_pere, fk_product_fils, qty, incdec)'1
  • /htdocs/product/class/product.class.php
" SELECT " . $toId . ", fk_product_fils, qty, incdec FROM " . $this->db->prefix( ) . "product_association"1
  • /htdocs/product/class/product.class.php
"INSERT " . $this->db->prefix( ) . "product_fournisseur_price ("1
  • /htdocs/product/class/product.class.php
" SELECT '" . $this->db->idate($now) . "', " . ((int) $toId) . ", fk_soc, price, quantity, fk_user, tva_tx"1
  • /htdocs/product/class/product.class.php
"SELECT COUNT(pa.rowid) as nb"1
  • /htdocs/product/class/product.class.php
"SELECT count(rowid) as nb FROM " . $this->db->prefix( ) . "product_attribute_combination WHERE fk_product_parent = " . ((int) $this->id)1
  • /htdocs/product/class/product.class.php
"SELECT rowid FROM " . $this->db->prefix( ) . "product_attribute_combination WHERE fk_product_child = " . ((int) $this->id) . " AND entity IN (" . getEntity('product') . ")"1
  • /htdocs/product/class/product.class.php
"SELECT p.rowid, p.label as label, p.ref as ref, pa.fk_product_pere as id, p.fk_product_type, pa.qty, pa.incdec, p.entity"1
  • /htdocs/product/class/product.class.php
"SELECT p.rowid, p.ref, p.label as label, p.fk_product_type,"1
  • /htdocs/product/class/product.class.php
"SELECT label, code FROM " . $this->db->prefix( ) . "c_product_nature where code = " . ((int) $this->finished) . " AND active=1"1
  • /htdocs/product/class/product.class.php
"SELECT ps.rowid, ps.reel, ps.fk_entrepot"1
  • /htdocs/product/class/product.class.php
"SELECT pb.batch, pb.eatby, pb.sellby, SUM(pb.qty) AS qty FROM " . $this->db->prefix( ) . "product_batch as pb, " . $this->db->prefix( ) . "product_stock as ps"1
  • /htdocs/product/class/product.class.php
"SELECT count(p.rowid) as nb, fk_product_type"1
  • /htdocs/product/class/product.class.php
"SELECT rowid, level, fk_level, var_percent, var_min_percent FROM " . $this->db->prefix( ) . "product_pricerules"1
  • /htdocs/product/class/product.class.php
"SELECT p.rowid, p.ref, p.datec as date_creation, p.tms as date_modification,"1
  • /htdocs/product/class/product.class.php
"INSERT INTO " . $this->db->prefix( ) . "propal_merge_pdf_product("1
  • /htdocs/product/class/propalmergepdfproduct.class.php
"UPDATE " . $this->db->prefix( ) . "propal_merge_pdf_product SET"1
  • /htdocs/product/class/propalmergepdfproduct.class.php
'UPDATE ' . $this->db->prefix( ) . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'productfournisseurprice/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/product/class/productfournisseurprice.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'productfournisseurprice/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/product/class/productfournisseurprice.class.php
"SELECT e.rowid, e.ref as label, e.description, e.fk_parent"1
  • /htdocs/product/class/html.formproduct.class.php
"SELECT w.rowid, w.ref as ref, w.label as label, w.type, w.nb_operators_required,w.thm_operator_estimated,w.thm_machine_estimated"1
  • /htdocs/product/class/html.formproduct.class.php
'SELECT t.rowid, t.ref, t.ref_ext'1
  • /htdocs/product/class/api_products.class.php
'SELECT count(t.rowid) as total'1
  • /htdocs/product/class/api_products.class.php
"SELECT t.rowid, t.ref, t.ref_ext, t.label, t.position, t.entity"1
  • /htdocs/product/class/api_products.class.php
"SELECT rowid, ref, ref_ext, label, position, entity FROM " . $this->db->prefix( ) . "product_attribute WHERE ref LIKE '" . $this->db->escape($ref) . "' AND entity IN (" . getEntity('product') . ")"1
  • /htdocs/product/class/api_products.class.php
"SELECT rowid, ref, ref_ext, label, position, entity FROM " . $this->db->prefix( ) . "product_attribute WHERE ref_ext LIKE '" . $this->db->escape($ref_ext) . "' AND entity IN (" . getEntity('product') . ")"1
  • /htdocs/product/class/api_products.class.php
"SELECT rowid, fk_product_attribute, ref, value FROM " . $this->db->prefix( ) . "product_attribute_value WHERE rowid = " . (int) $id . " AND entity IN (" . getEntity('product') . ")"1
  • /htdocs/product/class/api_products.class.php
"SELECT rowid, fk_product_attribute, ref, value FROM " . $this->db->prefix( ) . "product_attribute_value"1
  • /htdocs/product/class/api_products.class.php
"SELECT rowid FROM " . $this->db->prefix( ) . "product_attribute_value"1
  • /htdocs/product/class/api_products.class.php
"SELECT p.rowid as rowid, p.ref, p.label as produit, p.tobatch, p.fk_product_type as type, p.price, p.price_ttc, p.entity,"1
  • /htdocs/product/stock/card.php
"SELECT ps.fk_product, ps.fk_entrepot as fk_warehouse,"1
  • /htdocs/product/stock/stockatdate.php
"SELECT sm.fk_product, sm.fk_entrepot, SUM(sm.value) AS stock, COUNT(sm.rowid) AS nbofmovement"1
  • /htdocs/product/stock/stockatdate.php
'SELECT p.rowid, p.ref, p.label, p.description, p.price, p.pmp,'1
  • /htdocs/product/stock/stockatdate.php
"SELECT rowid, label, inventorycode, datem"1
  • /htdocs/product/stock/movement_list.php
"SELECT p.rowid, p.ref as product_ref, p.label as produit, p.tosell, p.tobuy, p.tobatch, p.fk_product_type as type, p.entity,"1
  • /htdocs/product/stock/movement_list.php
"SELECT e.rowid, e.ref, e.lieu, e.fk_parent, e.statut as status, ps.reel, ps.rowid as product_stock_id, p.pmp"1
  • /htdocs/product/stock/product.php
"SELECT e.rowid, e.ref, e.statut, e.lieu, e.address, e.zip, e.town, e.fk_pays,"1
  • /htdocs/product/stock/valo.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "entrepot WHERE entity IN (" . $db->sanitize(getEntity('stock')) . ")"1
  • /htdocs/product/stock/replenish.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "commande_fournisseur"1
  • /htdocs/product/stock/replenish.php
'SELECT p.rowid, p.ref, p.label, p.description, p.price,'1
  • /htdocs/product/stock/replenish.php
'SELECT label,description'1
  • /htdocs/product/stock/replenish.php
'SELECT s.rowid as socid, s.nom as name, cf.date_creation as dc,'1
  • /htdocs/product/stock/replenishorders.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'stocktransfer/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/product/stock/stocktransfer/class/stocktransfer.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'stocktransfer/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/product/stock/stocktransfer/class/stocktransfer.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'stocktransferline/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/product/stock/stocktransfer/class/stocktransferline.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'stocktransferline/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/product/stock/stocktransfer/class/stocktransferline.class.php
"INSERT INTO " . $this->db->prefix( ) . "entrepot (ref, entity, datec, fk_user_author, fk_parent, fk_project)"1
  • /htdocs/product/stock/class/entrepot.class.php
"UPDATE " . $this->db->prefix( ) . "entrepot"1
  • /htdocs/product/stock/class/entrepot.class.php
"DELETE FROM " . $this->db->prefix( ) . "product_batch"1
  • /htdocs/product/stock/class/entrepot.class.php
"DELETE FROM " . $this->db->prefix( ) . "entrepot"1
  • /htdocs/product/stock/class/entrepot.class.php
"UPDATE " . $this->db->prefix( ) . "product as p SET stock = (SELECT SUM(ps.reel) FROM " . $this->db->prefix( ) . "product_stock as ps WHERE ps.fk_product = p.rowid)"1
  • /htdocs/product/stock/class/entrepot.class.php
"SELECT rowid, entity, fk_parent, fk_project, ref as label, description, statut, lieu, address, zip, town, fk_pays as country_id, phone, fax,"1
  • /htdocs/product/stock/class/entrepot.class.php
"SELECT e.rowid, e.datec, e.tms as datem, e.fk_user_author"1
  • /htdocs/product/stock/class/entrepot.class.php
"SELECT rowid, ref as label"1
  • /htdocs/product/stock/class/entrepot.class.php
"SELECT count(distinct p.rowid) as nb"1
  • /htdocs/product/stock/class/entrepot.class.php
"SELECT sum(ps.reel) as nb, sum(ps.reel * pa.pmp) as value"1
  • /htdocs/product/stock/class/entrepot.class.php
"SELECT sum(ps.reel) as nb, sum(ps.reel * p.pmp) as value"1
  • /htdocs/product/stock/class/entrepot.class.php
"SELECT fk_parent FROM " . $this->db->prefix( ) . "entrepot WHERE rowid = " . ((int) $parentid)1
  • /htdocs/product/stock/class/entrepot.class.php
"SELECT rowid FROM " . $this->db->prefix( ) . "entrepot WHERE fk_parent = " . ((int) $id)1
  • /htdocs/product/stock/class/entrepot.class.php
"SELECT pb.rowid FROM " . $this->db->prefix( ) . "product_batch as pb, " . $this->db->prefix( ) . "product_stock as ps"1
  • /htdocs/product/stock/class/productlot.class.php
"SELECT sm.rowid FROM " . $this->db->prefix( ) . "stock_mouvement as sm"1
  • /htdocs/product/stock/class/productlot.class.php
"SELECT COUNT(DISTINCT exp.fk_soc) as nb_customers, COUNT(DISTINCT exp.rowid) as nb,"1
  • /htdocs/product/stock/class/productlot.class.php
"SELECT COUNT(DISTINCT cf.fk_soc) as nb_customers, COUNT(DISTINCT cf.rowid) as nb,"1
  • /htdocs/product/stock/class/productlot.class.php
"SELECT COUNT(DISTINCT recep.fk_soc) as nb_customers, COUNT(DISTINCT recep.rowid) as nb,"1
  • /htdocs/product/stock/class/productlot.class.php
"SELECT pb.rowid, pb.batch, pb.eatby, pb.sellby FROM " . $this->db->prefix( ) . "product_lot as pb"1
  • /htdocs/product/stock/class/mouvementstock.class.php
"INSERT INTO " . $this->db->prefix( ) . "stock_mouvement("1
  • /htdocs/product/stock/class/mouvementstock.class.php
"SELECT rowid, reel FROM " . $this->db->prefix( ) . "product_stock"1
  • /htdocs/product/stock/class/mouvementstock.class.php
"UPDATE " . $this->db->prefix( ) . "product_stock SET reel = " . ((float) $oldqtywarehouse + (float) $qty)1
  • /htdocs/product/stock/class/mouvementstock.class.php
"INSERT INTO " . $this->db->prefix( ) . "product_stock"1
  • /htdocs/product/stock/class/mouvementstock.class.php
"UPDATE " . $this->db->prefix( ) . "product as p SET pmp = " . ((float) $newpmp) . ","1
  • /htdocs/product/stock/class/mouvementstock.class.php
"DELETE FROM " . $this->db->prefix( ) . "product_stock WHERE reel = 0 AND rowid NOT IN (SELECT fk_product_stock FROM " . $this->db->prefix( ) . "product_batch as pb)"1
  • /htdocs/product/stock/class/mouvementstock.class.php
"SELECT fk_product_pere, fk_product_fils, qty"1
  • /htdocs/product/stock/class/mouvementstock.class.php
"SELECT SUM(value) as nb from " . $this->db->prefix( ) . "stock_mouvement"1
  • /htdocs/product/stock/class/mouvementstock.class.php
"SELECT sum(pb.qty) as cpt"1
  • /htdocs/product/stock/class/mouvementstock.class.php
"UPDATE " . $this->db->prefix( ) . "stock_mouvement SET"1
  • /htdocs/product/stock/class/mouvementstock.class.php
'SELECT fk_product, SUM(qty) as qtydispatched FROM ' . MAIN_DB_PREFIX . 'receptiondet_batch'1
  • /htdocs/product/stock/lib/replenishment.lib.php
'SELECT fk_product, SUM(qty) as qtyordered FROM ' . MAIN_DB_PREFIX . 'commande_fournisseurdet'1
  • /htdocs/product/stock/lib/replenishment.lib.php
'SELECT rowid FROM ' . MAIN_DB_PREFIX . 'commande_fournisseur'1
  • /htdocs/product/stock/lib/replenishment.lib.php
'SELECT DISTINCT cfd.fk_product, SUM(cfd.qty) as qty FROM'1
  • /htdocs/product/stock/lib/replenishment.lib.php
"update find: " . $price_expression->error1
  • /htdocs/product/dynamic_price/editor.php
"SELECT title, expression"1
  • /htdocs/product/dynamic_price/class/price_expression.class.php
"SELECT rowid, title, expression"1
  • /htdocs/product/dynamic_price/class/price_expression.class.php
"SELECT type, description, parameters, fk_variable, update_interval, next_update, last_status"1
  • /htdocs/product/dynamic_price/class/price_global_variable_updater.class.php
"SELECT code, description, value"1
  • /htdocs/product/dynamic_price/class/price_global_variable.class.php
"SELECT rowid, code, description, value"1
  • /htdocs/product/dynamic_price/class/price_global_variable.class.php
"SELECT DISTINCT s.nom as name, s.rowid as socid, s.code_client, c.rowid, d.total_ht as total_ht, c.ref,"1
  • /htdocs/product/stats/commande.php
"SELECT DISTINCT s.nom as name, s.rowid as socid, s.code_fournisseur, r.ref, r.ref_supplier"1
  • /htdocs/product/stats/reception.php
"SELECT DISTINCT s.nom as name, s.rowid as socid, s.code_client, d.rowid, d.total_ht as line_total_ht,"1
  • /htdocs/product/stats/facture_fournisseur.php
"SELECT DISTINCT s.nom as name, s.rowid as socid, s.code_client, e.ref, e.ref_customer"1
  • /htdocs/product/stats/expedition.php
"SELECT price, unitprice, quantity, remise_percent"1
  • /htdocs/product/ajax/products.php
"SELECT price, price_ttc, price_base_type,"1
  • /htdocs/product/ajax/products.php
"SELECT count(p.rowid), p.fk_statut"1
  • /htdocs/supplier_proposal/index.php
"SELECT c.rowid, c.ref, s.nom as socname, s.rowid as socid, s.canvas, s.client"1
  • /htdocs/supplier_proposal/index.php
"SELECT c.rowid, c.ref, c.fk_statut, s.nom as socname, s.rowid as socid, s.canvas, s.client,"1
  • /htdocs/supplier_proposal/index.php
"SELECT s.nom as socname, s.rowid as socid, s.canvas, s.client, p.rowid as supplier_proposalid, p.total_ttc, p.total_tva, p.total_ht, p.ref, p.fk_statut, p.datec as dp"1
  • /htdocs/supplier_proposal/index.php
"INSERT INTO " . MAIN_DB_PREFIX . "supplier_proposal ("1
  • /htdocs/supplier_proposal/class/supplier_proposal.class.php
'UPDATE ' . MAIN_DB_PREFIX . "supplier_proposal SET ref='" . $this->db->escape($this->ref) . "' WHERE rowid=" . ((int) $this->id)1
  • /htdocs/supplier_proposal/class/supplier_proposal.class.php
"SELECT p.rowid, p.entity, p.ref, p.fk_soc as socid"1
  • /htdocs/supplier_proposal/class/supplier_proposal.class.php
"SELECT d.rowid, d.fk_supplier_proposal, d.fk_parent_line, d.label as custom_label, d.description, d.price, d.tva_tx, d.localtax1_tx, d.localtax2_tx, d.qty, d.fk_remise_except, d.remise_percent, d.subprice, d.fk_product,"1
  • /htdocs/supplier_proposal/class/supplier_proposal.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'supplier_proposal/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/supplier_proposal/class/supplier_proposal.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'supplier_proposal/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/supplier_proposal/class/supplier_proposal.class.php
"UPDATE " . MAIN_DB_PREFIX . "supplier_proposal "1
  • /htdocs/supplier_proposal/class/supplier_proposal.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'product_fournisseur_price SET ' . (!empty($product->ref_fourn) ? 'ref_fourn = "' . $this->db->escape($product->ref_fourn) . '", ' : '') . ' price =' . ((float) $price) . ', unitprice =' . ((float) $unitPrice) . ' WHERE rowid = ' . ((int) $idProductFournPrice)1
  • /htdocs/supplier_proposal/class/supplier_proposal.class.php
'INSERT INTO ' . MAIN_DB_PREFIX . 'product_fournisseur_price '1
  • /htdocs/supplier_proposal/class/supplier_proposal.class.php
"DELETE FROM $ef WHERE fk_object IN (SELECT rowid FROM $main WHERE fk_supplier_proposal = " . ((int) $this->id) . ")"1
  • /htdocs/supplier_proposal/class/supplier_proposal.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "supplier_proposaldet WHERE fk_supplier_proposal = " . ((int) $this->id)1
  • /htdocs/supplier_proposal/class/supplier_proposal.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "supplier_proposal WHERE rowid = " . ((int) $this->id)1
  • /htdocs/supplier_proposal/class/supplier_proposal.class.php
"SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin"1
  • /htdocs/supplier_proposal/class/supplier_proposal.class.php
'SELECT pt.rowid, pt.label as custom_label, pt.description, pt.fk_product, pt.fk_remise_except,'1
  • /htdocs/supplier_proposal/class/supplier_proposal.class.php
'SELECT pd.rowid, pd.fk_supplier_proposal, pd.fk_parent_line, pd.fk_product, pd.label as custom_label, pd.description, pd.price, pd.qty, pd.tva_tx,'1
  • /htdocs/supplier_proposal/class/supplier_proposal.class.php
'INSERT INTO ' . MAIN_DB_PREFIX . 'supplier_proposaldet'1
  • /htdocs/supplier_proposal/class/supplier_proposal.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "supplier_proposaldet"1
  • /htdocs/supplier_proposal/class/supplier_proposal.class.php
"SELECT obj.rowid, obj.fk_product, obj.label, obj.description, obj.product_type as fk_product_type, obj.qty as qty_asked, obj.date_start, obj.date_end"1
  • /htdocs/reception/card.php
"SELECT cfd.rowid, cfd.qty, cfd.fk_entrepot, cfd.batch, cfd.eatby, cfd.sellby, cfd.fk_product"1
  • /htdocs/reception/dispatch.php
"SELECT c.rowid, c.ref, c.ref_supplier as ref_supplier, c.fk_statut as status, c.billed as billed, s.nom as name, s.rowid as socid"1
  • /htdocs/reception/index.php
"SELECT e.rowid, e.ref, e.ref_supplier, e.date_reception as date_reception, e.date_delivery as delivery_date, l.date_delivery as date_reception2, e.fk_statut as status, e.billed,"1
  • /htdocs/reception/list.php
"INSERT INTO " . MAIN_DB_PREFIX . "reception ("1
  • /htdocs/reception/class/reception.class.php
"SELECT e.rowid, e.entity, e.ref, e.fk_soc as socid, e.date_creation, e.ref_supplier, e.ref_ext, e.fk_user_author, e.fk_statut as status, e.billed"1
  • /htdocs/reception/class/reception.class.php
"SELECT cd.fk_product, cd.subprice, cd.remise_percent,"1
  • /htdocs/reception/class/reception.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'reception/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/reception/class/reception.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'reception/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/reception/class/reception.class.php
"SELECT cd.fk_product, cd.subprice, ed.qty, ed.fk_entrepot, ed.eatby, ed.sellby, ed.batch, ed.rowid as receptiondet_batch_id"1
  • /htdocs/reception/class/reception.class.php
"DELETE FROM " . $ef . " WHERE fk_object IN (SELECT rowid FROM " . $main . " WHERE fk_reception = " . ((int) $this->id) . ")"1
  • /htdocs/reception/class/reception.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "receptiondet_batch"1
  • /htdocs/reception/class/reception.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "reception"1
  • /htdocs/reception/class/reception.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "receptiondet_batch"1
  • /htdocs/reception/class/reception.class.php
'SELECT qty, ref, label, description, tva_tx, vat_src_code, subprice, multicurrency_subprice, remise_percent, total_ht, total_ttc, total_tva'1
  • /htdocs/reception/class/reception.class.php
"SELECT em.rowid, em.code, em.libelle"1
  • /htdocs/reception/class/reception.class.php
"SELECT em.rowid, em.code, em.libelle, em.description, em.tracking, em.active"1
  • /htdocs/reception/class/reception.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'reception SET fk_statut = ' . self::STATUS_CLOSED1
  • /htdocs/reception/class/reception.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'reception SET billed=1'1
  • /htdocs/reception/class/reception.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'reception SET fk_statut=1, billed=0'1
  • /htdocs/reception/class/reception.class.php
"SELECT ed.fk_product, cd.subprice,"1
  • /htdocs/reception/class/reception.class.php
"INSERT INTO spip_auteurs (nom, email, login, pass, htpass, alea_futur, statut)"1
  • /htdocs/mailmanspip/class/mailmanspip.class.php
"DELETE FROM spip_auteurs WHERE login = '" . $mydb->escape($object->login) . "'"1
  • /htdocs/mailmanspip/class/mailmanspip.class.php
"SELECT login FROM spip_auteurs WHERE login = '" . $mydb->escape($object->login) . "'"1
  • /htdocs/mailmanspip/class/mailmanspip.class.php
"SELECT " . $keyList . " as rowid, " . $InfoFieldList[2] . " as label" . (empty($InfoFieldList[3]) ? "" : ", " . $InfoFieldList[3] . " as code")1
  • /htdocs/exports/class/export.class.php
"SELECT id as id, " . $keyList . " as rowid, " . $InfoFieldList[2] . " as label" . (empty($InfoFieldList[3]) ? "" : ", " . $InfoFieldList[3] . ' as code')1
  • /htdocs/exports/class/export.class.php
"SELECT " . $keyList . " as rowid, " . $InfoFieldList[2] . " as label, code as code"1
  • /htdocs/exports/class/export.class.php
'INSERT INTO ' . MAIN_DB_PREFIX . 'export_model ('1
  • /htdocs/exports/class/export.class.php
'SELECT em.rowid, em.label, em.type, em.field, em.filter'1
  • /htdocs/exports/class/export.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "export_model"1
  • /htdocs/exports/class/export.class.php
"SELECT em.rowid, em.field, em.label, em.type, em.filter"1
  • /htdocs/exports/class/export.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "categorie_knowledgemanagement WHERE fk_knowledgemanagement = " . ((int) $this->id)1
  • /htdocs/knowledgemanagement/class/knowledgerecord.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'knowledgerecord/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/knowledgemanagement/class/knowledgerecord.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'knowledgerecord/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/knowledgemanagement/class/knowledgerecord.class.php
"SELECT p.rowid, p.ref, p.title, p.dateo as date_start, p.datee as date_end, p.fk_statut as status, p.tms as datem"1
  • /htdocs/projet/index.php
"SELECT COUNT(p.rowid) as nb, SUM(p.opp_amount)"1
  • /htdocs/projet/index.php
"SELECT ctc.rowid, ctc.code, ctc.source FROM " . MAIN_DB_PREFIX . "c_type_contact as ctc"1
  • /htdocs/projet/list.php
"SELECT " . $distinct . " p.rowid as id, p.ref, p.title, p.fk_statut as status, p.fk_opp_status, p.public, p.fk_user_creat,"1
  • /htdocs/projet/list.php
"SELECT t.rowid, t.fk_element, t.element_date, t.element_datehour, t.element_date_withhour, t.element_duration, t.fk_user, t.note, t.thm,"1
  • /htdocs/projet/tasks/time.php
"SELECT " . $distinct . " p.rowid as projectid, p.ref as projectref, p.title as projecttitle, p.fk_statut as projectstatus, p.datee as projectdatee, p.fk_opp_status, p.public, p.fk_user_creat as projectusercreate, p.usage_bill_time,"1
  • /htdocs/projet/tasks/list.php
"SELECT p.ref, p.title, p.rowid as projectid, p.fk_statut as status, p.fk_opp_status as opp_status, p.public, p.dateo as projdate_start, p.datee as projdate_end,"1
  • /htdocs/projet/activity/index.php
"SELECT date_format(t.datec,'%Y') as year, COUNT(t.rowid) as nb"1
  • /htdocs/projet/class/taskstats.class.php
"SELECT date_format(t.datec,'%m') as dm, COUNT(t.rowid) as nb"1
  • /htdocs/projet/class/taskstats.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "projet ("1
  • /htdocs/projet/class/project.class.php
"UPDATE " . MAIN_DB_PREFIX . "projet SET"1
  • /htdocs/projet/class/project.class.php
"SELECT rowid, entity, fk_project, ref, title, description, public, datec, opp_amount, budget_amount,"1
  • /htdocs/projet/class/project.class.php
"SELECT id as rowid FROM " . MAIN_DB_PREFIX . "actioncomm WHERE fk_project IN (" . $this->db->sanitize($ids) . ") AND entity IN (" . getEntity('agenda') . ")"1
  • /htdocs/projet/class/project.class.php
"SELECT ed.rowid FROM " . MAIN_DB_PREFIX . "expensereport as e, " . MAIN_DB_PREFIX . "expensereport_det as ed WHERE e.rowid = ed.fk_expensereport AND e.entity IN (" . getEntity('expensereport') . ") AND ed.fk_projet IN (" . $this->db->sanitize($ids) . ")"1
  • /htdocs/projet/class/project.class.php
"SELECT DISTINCT pt.rowid FROM " . MAIN_DB_PREFIX . "projet_task as pt WHERE pt.fk_projet IN (" . $this->db->sanitize($ids) . ")"1
  • /htdocs/projet/class/project.class.php
"SELECT DISTINCT pt.rowid, ptt.fk_user FROM " . MAIN_DB_PREFIX . "projet_task as pt, " . MAIN_DB_PREFIX . "element_time as ptt WHERE pt.rowid = ptt.fk_element AND ptt.elementtype = 'task' AND pt.fk_projet IN (" . $this->db->sanitize($ids) . ")"1
  • /htdocs/projet/class/project.class.php
"SELECT ms.rowid, ms.fk_user_author as fk_user FROM " . MAIN_DB_PREFIX . "stocktransfer_stocktransfer as ms, " . MAIN_DB_PREFIX . "entrepot as e WHERE e.rowid = ms.fk_entrepot AND e.entity IN (" . getEntity('stock') . ") AND ms.origintype = 'project' AND ms.fk_origin IN (" . $this->db->sanitize($ids) . ") AND ms.type_mouvement = 1"1
  • /htdocs/projet/class/project.class.php
"SELECT l.rowid, l.fk_user_author as fk_user FROM " . MAIN_DB_PREFIX . "loan as l WHERE l.entity IN (" . getEntity('loan') . ") AND l.fk_projet IN (" . $this->db->sanitize($ids) . ")"1
  • /htdocs/projet/class/project.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . $tablename . " WHERE " . $projectkey . " IN (" . $this->db->sanitize($ids) . ") AND entity IN (" . getEntity($type) . ")"1
  • /htdocs/projet/class/project.class.php
"UPDATE " . MAIN_DB_PREFIX . $key . " SET " . $fieldname . " = NULL where " . $fieldname . " = " . ((int) $this->id)1
  • /htdocs/projet/class/project.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "categorie_project"1
  • /htdocs/projet/class/project.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "projet_extrafields"1
  • /htdocs/projet/class/project.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "projet"1
  • /htdocs/projet/class/project.class.php
"SELECT COUNT(id) as nb FROM " . MAIN_DB_PREFIX . "actioncomm WHERE fk_project = " . ((int) $this->id) . " AND entity IN (" . getEntity('agenda') . ")"1
  • /htdocs/projet/class/project.class.php
"SELECT COUNT(ed.rowid) as nb FROM " . MAIN_DB_PREFIX . "expensereport as e, " . MAIN_DB_PREFIX . "expensereport_det as ed WHERE e.rowid = ed.fk_expensereport AND e.entity IN (" . getEntity('expensereport') . ") AND ed.fk_projet = " . ((int) $this->id)1
  • /htdocs/projet/class/project.class.php
"SELECT DISTINCT COUNT(pt.rowid) as nb FROM " . MAIN_DB_PREFIX . "projet_task as pt WHERE pt.fk_projet = " . ((int) $this->id)1
  • /htdocs/projet/class/project.class.php
"SELECT DISTINCT COUNT(pt.rowid) as nb FROM " . MAIN_DB_PREFIX . "projet_task as pt, " . MAIN_DB_PREFIX . "element_time as ptt WHERE pt.rowid = ptt.fk_element AND ptt.elementtype = 'task' AND pt.fk_projet = " . ((int) $this->id)1
  • /htdocs/projet/class/project.class.php
"SELECT COUNT(ms.rowid) as nb FROM " . MAIN_DB_PREFIX . "stock_mouvement as ms, " . MAIN_DB_PREFIX . "entrepot as e WHERE e.rowid = ms.fk_entrepot AND e.entity IN (" . getEntity('stock') . ") AND ms.origintype = 'project' AND ms.fk_origin = " . ((int) $this->id) . " AND ms.type_mouvement = 1"1
  • /htdocs/projet/class/project.class.php
"SELECT COUNT(l.rowid) as nb FROM " . MAIN_DB_PREFIX . "loan as l WHERE l.entity IN (" . getEntity('loan') . ") AND l.fk_projet = " . ((int) $this->id)1
  • /htdocs/projet/class/project.class.php
"SELECT COUNT(rowid) as nb FROM " . MAIN_DB_PREFIX . $tablename . " WHERE " . $projectkey . " = " . ((int) $this->id) . " AND entity IN (" . getEntity($type) . ")"1
  • /htdocs/projet/class/project.class.php
"SELECT " . (($mode == 0 || $mode == 1) ? "DISTINCT " : "") . "p.rowid, p.ref"1
  • /htdocs/projet/class/project.class.php
"SELECT p.rowid, p.fk_statut as status, p.fk_opp_status, p.datee as datee"1
  • /htdocs/projet/class/project.class.php
'SELECT c.rowid, datec as datec, tms as datem,'1
  • /htdocs/projet/class/project.class.php
'SELECT rowid,title'1
  • /htdocs/projet/class/project.class.php
"SELECT date_format(t.datec,'%Y') as year, COUNT(t.rowid) as nb, SUM(t.opp_amount) as total, AVG(t.opp_amount) as avg,"1
  • /htdocs/projet/class/projectstats.class.php
"SELECT date_format(t.datec,'%m') as dm, COUNT(*) as nb"1
  • /htdocs/projet/class/projectstats.class.php
"SELECT date_format(t.datec,'%m') as dm, SUM(t.opp_amount)"1
  • /htdocs/projet/class/projectstats.class.php
"SELECT date_format(t.datec,'%m') as dm, SUM(t.opp_amount * " . $this->db->ifsql("t.opp_percent IS NULL" . ($wonlostfilter ? " OR cls.code IN ('WON','LOST')" : ""), '0', 't.opp_percent') . " / 100)"1
  • /htdocs/projet/class/projectstats.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "projet_task ("1
  • /htdocs/projet/class/task.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "element_time"1
  • /htdocs/projet/class/task.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "projet_task_extrafields"1
  • /htdocs/projet/class/task.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "projet_task"1
  • /htdocs/projet/class/task.class.php
"UPDATE " . MAIN_DB_PREFIX . "element_time as et"1
  • /htdocs/projet/class/task.class.php
"SELECT p.rowid as projectid, p.fk_statut as projectstatus,"1
  • /htdocs/projet/class/task.class.php
"SELECT COUNT(id_comment) as nb_comments"1
  • /htdocs/public/opensurvey/studs.php
"SELECT COUNT(id_users) as nb_records"1
  • /htdocs/public/opensurvey/studs.php
'INSERT INTO ' . MAIN_DB_PREFIX . 'opensurvey_user_studs (nom, id_sondage, reponses, ip, date_creation)'1
  • /htdocs/public/opensurvey/studs.php
"SELECT d.datedon as datedon, d.lastname, d.firstname, d.amount, d.public, d.societe"1
  • /htdocs/public/donations/donateurs_code.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "eventorganization_conferenceorboothattendee"1
  • /htdocs/public/payment/newpayment.php
"INSERT INTO " . MAIN_DB_PREFIX . "actioncomm_resources"1
  • /htdocs/public/bookcal/index.php
"SELECT ba.rowid as id, ba.duration, ba.startHour, ba.endHour, ba.start, ba.end"1
  • /htdocs/public/bookcal/bookcalAjax.php
"SELECT b.datep, b.id"1
  • /htdocs/public/bookcal/bookcalAjax.php
"SELECT mc.rowid, mc.email, mc.statut, mc.source_type, mc.source_id, m.entity"1
  • /htdocs/public/emailing/mailing-read.php
"UPDATE " . MAIN_DB_PREFIX . "mailing_cibles SET statut=" . ((int) $statut) . " WHERE rowid = " . ((int) $obj->rowid)1
  • /htdocs/public/emailing/mailing-read.php
"UPDATE " . MAIN_DB_PREFIX . 'societe SET fk_stcomm = 3 WHERE fk_stcomm <> -1 AND entity = ' . ((int) $obj->entity) . ' AND rowid = ' . ((int) $obj->source_id)1
  • /htdocs/public/emailing/mailing-read.php
"UPDATE " . MAIN_DB_PREFIX . 'societe SET fk_stcomm = 3 WHERE fk_stcomm <> -1 AND entity = ' . ((int) $obj->entity) . ' AND rowid IN (SELECT sc.fk_soc FROM ' . MAIN_DB_PREFIX . 'socpeople AS sc WHERE sc.rowid = ' . ((int) $obj->source_id) . ')'1
  • /htdocs/public/emailing/mailing-read.php
"SELECT mc.rowid, mc.email, mc.statut, m.entity"1
  • /htdocs/public/emailing/mailing-unsubscribe.php
"UPDATE " . MAIN_DB_PREFIX . "mailing_cibles SET statut=" . ((int) $statut) . " WHERE tag = '" . $db->escape($tag) . "'"1
  • /htdocs/public/emailing/mailing-unsubscribe.php
"INSERT INTO " . MAIN_DB_PREFIX . "mailing_unsubscribe (date_creat, entity, email, unsubscribegroup, ip) VALUES ('" . $db->idate(dol_now( )) . "', " . ((int) $obj->entity) . ", '" . $db->escape($obj->email) . "', '', '" . $db->escape(getUserRemoteIP( )) . "')"1
  • /htdocs/public/emailing/mailing-unsubscribe.php
"SELECT COUNT(*) as nb FROM " . MAIN_DB_PREFIX . "eventorganization_conferenceorboothattendee"1
  • /htdocs/public/eventorganization/attendee_new.php
"SELECT COUNT(ref) as nb_attendee"1
  • /htdocs/public/eventorganization/attendee_new.php
"SELECT COUNT(rowid) as nb_projets"1
  • /htdocs/public/project/new.php
"SELECT a.id, a.fk_action, a.datep, a.datep2, a.label, a.fk_soc, a.note, ca.libelle as label FROM " . MAIN_DB_PREFIX . "actioncomm as a INNER JOIN " . MAIN_DB_PREFIX . "c_actioncomm as ca ON (a.fk_action=ca.id) WHERE a.status<2"1
  • /htdocs/public/project/viewandvote.php
"SELECT COUNT(ref) as nb_tickets"1
  • /htdocs/public/ticket/create_ticket.php
"SELECT rowid, firstname, lastname, societe, zip, town, email, birth, photo"1
  • /htdocs/public/members/public_list.php
"SELECT login FROM " . MAIN_DB_PREFIX . "adherent WHERE login = '" . $db->escape(GETPOST('login')) . "'"1
  • /htdocs/public/members/new.php
"SELECT COUNT(ref) as nb_adh"1
  • /htdocs/public/members/new.php
"SELECT d.rowid, d.libelle as label, d.subscription, d.amount, d.caneditamount, d.vote, d.note, d.duration, d.statut as status, d.morphy,"1
  • /htdocs/public/members/new.php
"SELECT COUNT(ref) as nb_partnerships"1
  • /htdocs/public/partnership/new.php
"SELECT entity"1
  • /htdocs/public/stripe/ipn.php
"DELETE FROM " . MAIN_DB_PREFIX . "societe_account WHERE key_account = '" . $db->escape($event->data->object->id) . "' and site='stripe'"1
  • /htdocs/public/stripe/ipn.php
"SELECT pi.rowid, pi.fk_facture, pi.fk_prelevement_bons, pi.amount, pi.type, pi.traite"1
  • /htdocs/public/stripe/ipn.php
"SELECT p.rowid FROM " . MAIN_DB_PREFIX . "paiement as p"1
  • /htdocs/public/stripe/ipn.php
"SELECT p.rowid, p.fk_bank FROM " . MAIN_DB_PREFIX . "paiement as p"1
  • /htdocs/public/stripe/ipn.php
"SELECT dp.fk_prelevement_bons as idbon"1
  • /htdocs/public/stripe/ipn.php
"UPDATE " . MAIN_DB_PREFIX . "prelevement_lignes"1
  • /htdocs/public/stripe/ipn.php
"DELETE FROM " . MAIN_DB_PREFIX . "societe_rib WHERE number = '" . $db->escape($event->data->object->id) . "' and status = " . ((int) $servicestatus)1
  • /htdocs/public/stripe/ipn.php
"SELECT b.rowid, b.dateb, b.fk_user, b.url, b.target, b.title, b.favicon, b.position,"1
  • /htdocs/bookmarks/list.php
"SELECT rowid, fk_user, dateb as datec, url, target,"1
  • /htdocs/bookmarks/class/bookmark.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "bookmark (fk_user,dateb,url,target"1
  • /htdocs/bookmarks/class/bookmark.class.php
"UPDATE " . MAIN_DB_PREFIX . "bookmark"1
  • /htdocs/bookmarks/class/bookmark.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "bookmark"1
  • /htdocs/bookmarks/class/bookmark.class.php
"SELECT u.rowid as uid, u.lastname, u.firstname, u.login, u.email, u.photo, u.statut as user_status,"1
  • /htdocs/hrm/index.php
"SELECT u.rowid as uid, u.lastname, u.firstname, u.login, u.email, u.statut as user_status, u.photo,"1
  • /htdocs/hrm/index.php
"SELECT rc.rowid, rc.ref, rc.email, rc.lastname, rc.firstname, rc.date_creation, rc.tms, rc.status,"1
  • /htdocs/hrm/index.php
"SELECT sr.fk_object, sr.rowid, s.label,s.skill_type, sr.rankorder, sr.fk_skill"1
  • /htdocs/hrm/skill_tab.php
"select e.rowid,e.ref,e.fk_user,e.fk_job,e.date_eval,ed.rankorder,ed.required_rank,ed.fk_skill,s.label"1
  • /htdocs/hrm/skill_tab.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "hrm_evaluation as e"1
  • /htdocs/hrm/skill_tab.php
"SELECT u.rowid FROM " . MAIN_DB_PREFIX . "user u LEFT JOIN " . MAIN_DB_PREFIX . "usergroup_user as ugu ON (u.rowid = ugu.fk_user) WHERE u.statut > 0 AND ugu.entity = " . ((int) $conf->entity)1
  • /htdocs/hrm/compare.php
'SELECT sk.rowid, sk.label, sk.description, sk.skill_type, sr.fk_object, sr.objecttype, sr.fk_skill, '1
  • /htdocs/hrm/compare.php
"SELECT COUNT(rowid) as how_many_max FROM " . MAIN_DB_PREFIX . "hrm_skillrank as sr"1
  • /htdocs/hrm/compare.php
'SELECT sk.rowid, sk.label, sk.description, sk.skill_type, sr.fk_object, sr.objecttype, sr.fk_skill,'1
  • /htdocs/hrm/compare.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'position/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/hrm/class/position.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'position/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/hrm/class/position.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'skilldet/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/hrm/class/skilldet.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'skilldet/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/hrm/class/skilldet.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'evaluationline/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/hrm/class/evaluationdet.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'evaluationline/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/hrm/class/evaluationdet.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "establishment ("1
  • /htdocs/hrm/class/establishment.class.php
'UPDATE ' . MAIN_DB_PREFIX . "establishment SET ref = '" . $this->db->escape($this->id) . "'"1
  • /htdocs/hrm/class/establishment.class.php
"UPDATE " . MAIN_DB_PREFIX . "establishment"1
  • /htdocs/hrm/class/establishment.class.php
"SELECT e.rowid, e.ref, e.label, e.address, e.zip, e.town, e.status, e.fk_country as country_id, e.entity,"1
  • /htdocs/hrm/class/establishment.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "establishment WHERE rowid = " . ((int) $user->id)1
  • /htdocs/hrm/class/establishment.class.php
'SELECT e.rowid, e.ref, e.datec, e.fk_user_author, e.tms as datem, e.fk_user_mod, e.entity'1
  • /htdocs/hrm/class/establishment.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'job/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/hrm/class/job.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'job/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/hrm/class/job.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'evaluation/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/hrm/class/evaluation.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'evaluation/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/hrm/class/evaluation.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "hrm_evaluation "1
  • /htdocs/hrm/class/evaluation.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'skillrank/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/hrm/class/skillrank.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'skillrank/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/hrm/class/skillrank.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'skill/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/hrm/class/skill.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'skill/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/hrm/class/skill.class.php
"SELECT COUNT(rowid) as nb FROM " . MAIN_DB_PREFIX . "hrm_skillrank WHERE objecttype = 'job' AND fk_object = " . ((int) $object->id)1
  • /htdocs/hrm/lib/hrm_job.lib.php
"SELECT COUNT(rowid) as nb FROM " . MAIN_DB_PREFIX . "hrm_job_user WHERE fk_job = " . ((int) $object->id)1
  • /htdocs/hrm/lib/hrm_job.lib.php
'SELECT ft.rowid, ft.description, ft.fk_fichinter, ft.duree, ft.rang,'1
  • /htdocs/fichinter/card.php
"SELECT count(f.rowid), f.fk_statut"1
  • /htdocs/fichinter/index.php
"SELECT f.rowid, f.ref, s.nom as name, s.rowid as socid"1
  • /htdocs/fichinter/index.php
"SELECT f.rowid, f.ref, f.fk_statut, f.date_valid as datec, f.tms as datem,"1
  • /htdocs/fichinter/index.php
"SELECT f.rowid, f.ref, f.fk_statut, s.nom as name, s.rowid as socid"1
  • /htdocs/fichinter/index.php
'SELECT l.rowid, l.description, l.duree'1
  • /htdocs/fichinter/card-rec.php
"SELECT f.rowid as fich_rec, s.nom as name, s.rowid as socid, f.rowid as facid, f.title,"1
  • /htdocs/fichinter/card-rec.php
"INSERT INTO " . MAIN_DB_PREFIX . "fichinter_rec ("1
  • /htdocs/fichinter/class/fichinterrec.class.php
'SELECT f.title, f.fk_soc'1
  • /htdocs/fichinter/class/fichinterrec.class.php
'SELECT l.rowid, l.fk_product, l.product_type as product_type, l.label as custom_label, l.description,'1
  • /htdocs/fichinter/class/fichinterrec.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "fichinterdet_rec WHERE fk_fichinter = " . ((int) $rowid)1
  • /htdocs/fichinter/class/fichinterrec.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "fichinter_rec WHERE rowid = " . ((int) $rowid)1
  • /htdocs/fichinter/class/fichinterrec.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "fichinterdet_rec ("1
  • /htdocs/fichinter/class/fichinterrec.class.php
"UPDATE " . MAIN_DB_PREFIX . "fichinter_rec "1
  • /htdocs/fichinter/class/fichinterrec.class.php
"SELECT date_format(c.date_valid,'%Y') as dm, COUNT(*) as nb, 0"1
  • /htdocs/fichinter/class/fichinterstats.class.php
"SELECT date_format(c.date_valid,'%Y') as year, COUNT(*) as nb, 0 as total, 0 as avg"1
  • /htdocs/fichinter/class/fichinterstats.class.php
"SELECT product.ref, COUNT(product.ref) as nb, 0 as total, 0 as avg"1
  • /htdocs/fichinter/class/fichinterstats.class.php
"SELECT count(fi.rowid) as nb"1
  • /htdocs/fichinter/class/fichinter.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "fichinter ("1
  • /htdocs/fichinter/class/fichinter.class.php
'UPDATE ' . MAIN_DB_PREFIX . "fichinter SET ref='" . $this->db->escape($this->ref) . "' WHERE rowid=" . ((int) $this->id)1
  • /htdocs/fichinter/class/fichinter.class.php
"UPDATE " . MAIN_DB_PREFIX . "fichinter SET "1
  • /htdocs/fichinter/class/fichinter.class.php
"SELECT f.rowid, f.ref, f.ref_client, f.description, f.fk_soc, f.fk_statut as status,"1
  • /htdocs/fichinter/class/fichinter.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'ficheinter/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/fichinter/class/fichinter.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'ficheinter/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/fichinter/class/fichinter.class.php
"DELETE FROM $ef WHERE fk_object IN (SELECT rowid FROM $main WHERE fk_fichinter = " . ((int) $this->id) . ")"1
  • /htdocs/fichinter/class/fichinter.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "fichinterdet"1
  • /htdocs/fichinter/class/fichinter.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "fichinter"1
  • /htdocs/fichinter/class/fichinter.class.php
"SELECT rowid, fk_fichinter, description, duree, date, rang"1
  • /htdocs/fichinter/class/fichinter.class.php
"UPDATE " . MAIN_DB_PREFIX . $this->table_element . " SET ref_client = " . (empty($ref_client) ? 'NULL' : "'" . $this->db->escape($ref_client) . "'")1
  • /htdocs/fichinter/class/fichinter.class.php
'SELECT ft.rowid, ft.fk_fichinter, ft.description, ft.duree, ft.rang, ft.date'1
  • /htdocs/fichinter/class/fichinter.class.php
'SELECT max(rang) as max FROM ' . MAIN_DB_PREFIX . 'fichinterdet'1
  • /htdocs/fichinter/class/fichinter.class.php
'INSERT INTO ' . MAIN_DB_PREFIX . 'fichinterdet'1
  • /htdocs/fichinter/class/fichinter.class.php
"UPDATE " . MAIN_DB_PREFIX . "fichinterdet SET"1
  • /htdocs/fichinter/class/fichinter.class.php
"SELECT SUM(duree) as total_duration, min(date) as dateo, max(date) as datee "1
  • /htdocs/fichinter/class/fichinter.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "fichinterdet WHERE rowid = " . ((int) $this->id)1
  • /htdocs/fichinter/class/fichinter.class.php
" SELECT s.rowid FROM " . MAIN_DB_PREFIX . "societe as s WHERE s.entity = %d AND s.client = 1 AND s.fournisseur = 0 AND s.tms < DATE_SUB(NOW(), INTERVAL %d MONTH) AND NOT EXISTS ( SELECT id FROM " . MAIN_DB_PREFIX . "actioncomm as a WHERE a.fk_soc = s.rowid AND a.tms > DATE_SUB(NOW(), INTERVAL %d MONTH) ) AND NOT EXISTS ( SELECT rowid FROM " . MAIN_DB_PREFIX . "facture as f WHERE f.fk_soc = s.rowid ) "1
  • /htdocs/datapolicy/class/datapolicycron.class.php
" SELECT s.rowid FROM " . MAIN_DB_PREFIX . "societe as s WHERE s.entity = %d AND s.client = 2 AND s.fournisseur = 0 AND s.tms < DATE_SUB(NOW(), INTERVAL %d MONTH) AND NOT EXISTS ( SELECT id FROM " . MAIN_DB_PREFIX . "actioncomm as a WHERE a.fk_soc = s.rowid AND a.tms > DATE_SUB(NOW(), INTERVAL %d MONTH) ) AND NOT EXISTS ( SELECT rowid FROM " . MAIN_DB_PREFIX . "facture as f WHERE f.fk_soc = s.rowid ) "1
  • /htdocs/datapolicy/class/datapolicycron.class.php
" SELECT s.rowid FROM " . MAIN_DB_PREFIX . "societe as s WHERE s.entity = %d AND s.client = 3 AND s.fournisseur = 0 AND s.tms < DATE_SUB(NOW(), INTERVAL %d MONTH) AND NOT EXISTS ( SELECT id FROM " . MAIN_DB_PREFIX . "actioncomm as a WHERE a.fk_soc = s.rowid AND a.tms > DATE_SUB(NOW(), INTERVAL %d MONTH) ) AND NOT EXISTS ( SELECT rowid FROM " . MAIN_DB_PREFIX . "facture as f WHERE f.fk_soc = s.rowid ) "1
  • /htdocs/datapolicy/class/datapolicycron.class.php
" SELECT s.rowid FROM " . MAIN_DB_PREFIX . "societe as s WHERE s.entity = %d AND s.client = 0 AND s.fournisseur = 0 AND s.tms < DATE_SUB(NOW(), INTERVAL %d MONTH) AND NOT EXISTS ( SELECT id FROM " . MAIN_DB_PREFIX . "actioncomm as a WHERE a.fk_soc = s.rowid AND a.tms > DATE_SUB(NOW(), INTERVAL %d MONTH) ) AND NOT EXISTS ( SELECT rowid FROM " . MAIN_DB_PREFIX . "facture as f WHERE f.fk_soc = s.rowid ) "1
  • /htdocs/datapolicy/class/datapolicycron.class.php
" SELECT s.rowid FROM " . MAIN_DB_PREFIX . "societe as s WHERE s.entity = %d AND s.fournisseur = 1 AND s.tms < DATE_SUB(NOW(), INTERVAL %d MONTH) AND NOT EXISTS ( SELECT id FROM " . MAIN_DB_PREFIX . "actioncomm as a WHERE a.fk_soc = s.rowid AND a.tms > DATE_SUB(NOW(), INTERVAL %d MONTH) ) AND NOT EXISTS ( SELECT rowid FROM " . MAIN_DB_PREFIX . "facture as f WHERE f.fk_soc = s.rowid ) "1
  • /htdocs/datapolicy/class/datapolicycron.class.php
" SELECT c.rowid FROM " . MAIN_DB_PREFIX . "socpeople as c INNER JOIN " . MAIN_DB_PREFIX . "societe as s ON s.rowid = c.fk_soc WHERE c.entity = %d AND c.tms < DATE_SUB(NOW(), INTERVAL %d MONTH) AND s.client = 1 AND s.fournisseur = 0 AND NOT EXISTS ( SELECT id FROM " . MAIN_DB_PREFIX . "actioncomm as a WHERE a.fk_contact = c.rowid AND a.tms > DATE_SUB(NOW(), INTERVAL %d MONTH) ) AND NOT EXISTS ( SELECT rowid FROM " . MAIN_DB_PREFIX . "facture as f WHERE f.fk_soc = s.rowid ) "1
  • /htdocs/datapolicy/class/datapolicycron.class.php
" SELECT c.rowid FROM " . MAIN_DB_PREFIX . "socpeople as c INNER JOIN " . MAIN_DB_PREFIX . "societe as s ON s.rowid = c.fk_soc WHERE c.entity = %d AND c.tms < DATE_SUB(NOW(), INTERVAL %d MONTH) AND s.client = 2 AND s.fournisseur = 0 AND NOT EXISTS ( SELECT id FROM " . MAIN_DB_PREFIX . "actioncomm as a WHERE a.fk_contact = c.rowid AND a.tms > DATE_SUB(NOW(), INTERVAL %d MONTH) ) AND NOT EXISTS ( SELECT rowid FROM " . MAIN_DB_PREFIX . "facture as f WHERE f.fk_soc = s.rowid ) "1
  • /htdocs/datapolicy/class/datapolicycron.class.php
" SELECT c.rowid FROM " . MAIN_DB_PREFIX . "socpeople as c INNER JOIN " . MAIN_DB_PREFIX . "societe as s ON s.rowid = c.fk_soc WHERE c.entity = %d AND c.tms < DATE_SUB(NOW(), INTERVAL %d MONTH) AND s.client = 3 AND s.fournisseur = 0 AND NOT EXISTS ( SELECT id FROM " . MAIN_DB_PREFIX . "actioncomm as a WHERE a.fk_contact = c.rowid AND a.tms > DATE_SUB(NOW(), INTERVAL %d MONTH) ) AND NOT EXISTS ( SELECT rowid FROM " . MAIN_DB_PREFIX . "facture as f WHERE f.fk_soc = s.rowid ) "1
  • /htdocs/datapolicy/class/datapolicycron.class.php
" SELECT c.rowid FROM " . MAIN_DB_PREFIX . "socpeople as c INNER JOIN " . MAIN_DB_PREFIX . "societe as s ON s.rowid = c.fk_soc WHERE c.entity = %d AND c.tms < DATE_SUB(NOW(), INTERVAL %d MONTH) AND s.client = 0 AND s.fournisseur = 0 AND NOT EXISTS ( SELECT id FROM " . MAIN_DB_PREFIX . "actioncomm as a WHERE a.fk_contact = c.rowid AND a.tms > DATE_SUB(NOW(), INTERVAL %d MONTH) ) AND NOT EXISTS ( SELECT rowid FROM " . MAIN_DB_PREFIX . "facture as f WHERE f.fk_soc = s.rowid ) "1
  • /htdocs/datapolicy/class/datapolicycron.class.php
" SELECT c.rowid FROM " . MAIN_DB_PREFIX . "socpeople as c INNER JOIN " . MAIN_DB_PREFIX . "societe as s ON s.rowid = c.fk_soc WHERE c.entity = %d AND c.tms < DATE_SUB(NOW(), INTERVAL %d MONTH) AND s.fournisseur = 1 AND NOT EXISTS ( SELECT id FROM " . MAIN_DB_PREFIX . "actioncomm as a WHERE a.fk_contact = c.rowid AND a.tms > DATE_SUB(NOW(), INTERVAL %d MONTH) ) AND NOT EXISTS ( SELECT rowid FROM " . MAIN_DB_PREFIX . "facture as f WHERE f.fk_soc = s.rowid ) "1
  • /htdocs/datapolicy/class/datapolicycron.class.php
" SELECT a.rowid FROM " . MAIN_DB_PREFIX . "adherent as a WHERE a.entity = %d AND a.tms < DATE_SUB(NOW(), INTERVAL %d MONTH) AND NOT EXISTS ( SELECT id FROM " . MAIN_DB_PREFIX . "actioncomm as a WHERE a.fk_element = a.rowid AND a.tms > DATE_SUB(NOW(), INTERVAL %d MONTH) AND a.elementtype LIKE 'member' ) "1
  • /htdocs/datapolicy/class/datapolicycron.class.php
'SELECT rowid, type, rulevalue, status'1
  • /htdocs/emailcollector/class/emailcollector.class.php
'SELECT rowid, type, actionparam, status'1
  • /htdocs/emailcollector/class/emailcollector.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "ticket"1
  • /htdocs/emailcollector/class/emailcollector.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "projet where email_msgid = '" . $this->db->escape($reg[1]) . "'"1
  • /htdocs/emailcollector/class/emailcollector.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "recruitment_recruitmentcandidature where email_msgid = '" . $this->db->escape($reg[1]) . "'"1
  • /htdocs/emailcollector/class/emailcollector.class.php
"SELECT rowid as id FROM " . MAIN_DB_PREFIX . "user WHERE email LIKE '%" . $this->db->escape($from) . "%'"1
  • /htdocs/emailcollector/class/emailcollector.class.php
'SELECT DISTINCT t.rowid '1
  • /htdocs/emailcollector/class/emailcollector.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "delivery ("1
  • /htdocs/delivery/class/delivery.class.php
"UPDATE " . MAIN_DB_PREFIX . "delivery "1
  • /htdocs/delivery/class/delivery.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "deliverydet (fk_delivery, fk_origin_line,"1
  • /htdocs/delivery/class/delivery.class.php
"SELECT l.rowid, l.fk_soc, l.date_creation, l.date_valid, l.ref, l.ref_customer, l.fk_user_author,"1
  • /htdocs/delivery/class/delivery.class.php
"SELECT ref"1
  • /htdocs/delivery/class/delivery.class.php
"UPDATE " . MAIN_DB_PREFIX . "delivery SET"1
  • /htdocs/delivery/class/delivery.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'expedition/receipt/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/delivery/class/delivery.class.php
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'expedition/receipt/" . $this->db->escape($this->newref) . "'"1
  • /htdocs/delivery/class/delivery.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "commandedet"1
  • /htdocs/delivery/class/delivery.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "deliverydet"1
  • /htdocs/delivery/class/delivery.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "delivery"1
  • /htdocs/delivery/class/delivery.class.php
"SELECT ld.rowid, ld.fk_product, ld.description, ld.subprice, ld.total_ht, ld.qty as qty_shipped, ld.fk_origin_line, "1
  • /htdocs/delivery/class/delivery.class.php
"SELECT st.rowid, st.description, st.qty"1
  • /htdocs/delivery/class/delivery.class.php
"SELECT ld.fk_origin_line, sum(ld.qty) as qty"1
  • /htdocs/delivery/class/delivery.class.php
"UPDATE " . MAIN_DB_PREFIX . "delivery"1
  • /htdocs/delivery/class/delivery.class.php
"SELECT t.fk_statut, COUNT(t.fk_statut) as nb"1
  • /htdocs/ticket/index.php
"SELECT t.rowid, t.ref, t.track_id, t.datec, t.subject, t.type_code, t.category_code, t.severity_code, t.fk_statut as status, t.progress,"1
  • /htdocs/ticket/index.php
"INSERT INTO " . MAIN_DB_PREFIX . "ticket("1
  • /htdocs/ticket/class/ticket.class.php
"UPDATE " . MAIN_DB_PREFIX . "ticket SET"1
  • /htdocs/ticket/class/ticket.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "categorie_ticket"1
  • /htdocs/ticket/class/ticket.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "ticket"1
  • /htdocs/ticket/class/ticket.class.php
"SELECT rowid, code, label, use_default, pos, description, public, active, force_severity, fk_parent"1
  • /htdocs/ticket/class/ticket.class.php
"SELECT id as rowid, fk_user_author, email_from, datec, datep, label, note as message, code"1
  • /htdocs/ticket/class/ticket.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "socpeople"1
  • /htdocs/ticket/class/ticket.class.php
"SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact"1
  • /htdocs/ticket/class/ticket.class.php
"SELECT p.rowid, p.ref, p.datec as datec"1
  • /htdocs/ticket/class/ticket.class.php
'SELECT ecm.rowid as id, ecm.src_object_type, ecm.src_object_id'1
  • /htdocs/ticket/class/actions_ticket.class.php
"SELECT YEAR(datec) as dm, count(*)"1
  • /htdocs/ticket/class/ticketstats.class.php
"SELECT MONTH(datec) as dm, count(*)"1
  • /htdocs/ticket/class/ticketstats.class.php
"SELECT date_format(datec,'%m') as dm, sum(" . $this->field . ")"1
  • /htdocs/ticket/class/ticketstats.class.php
"SELECT date_format(datec,'%m') as dm, avg(" . $this->field . ")"1
  • /htdocs/ticket/class/ticketstats.class.php
"SELECT date_format(datec,'%Y') as year, count(*) as nb, sum(" . $this->field . ") as total, avg(" . $this->field . ") as avg"1
  • /htdocs/ticket/class/ticketstats.class.php
"SELECT up.value"1
  • /htdocs/api/index.php
"INSERT INTO " . MAIN_DB_PREFIX . "user_param"1
  • /htdocs/api/index.php
"UPDATE " . MAIN_DB_PREFIX . "user_param as up"1
  • /htdocs/api/index.php
"SELECT u.login, u.datec, u.api_key,"1
  • /htdocs/api/class/api_access.class.php
"SELECT rowid, code, libelle as label, module"1
  • /htdocs/api/class/api_setup.class.php
"SELECT t.rowid FROM " . MAIN_DB_PREFIX . "c_regions as t"1
  • /htdocs/api/class/api_setup.class.php
"SELECT t.rowid FROM " . MAIN_DB_PREFIX . "c_departements as t"1
  • /htdocs/api/class/api_setup.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "c_country as t"1
  • /htdocs/api/class/api_setup.class.php
"SELECT id, code, label, accountancy_code, active, module, position"1
  • /htdocs/api/class/api_setup.class.php
"SELECT rowid, code, element as type, libelle as label, source, module, position"1
  • /htdocs/api/class/api_setup.class.php
"SELECT t.code_iso, t.label, t.unicode"1
  • /htdocs/api/class/api_setup.class.php
"SELECT rowid AS id, zip, town, fk_county, fk_pays AS fk_country"1
  • /htdocs/api/class/api_setup.class.php
"SELECT rowid as id, code, sortorder, libelle as label, libelle_facture as descr, type_cdr, nbjour, decalage, module"1
  • /htdocs/api/class/api_setup.class.php
"SELECT rowid as id, code, libelle as label, description, tracking, module"1
  • /htdocs/api/class/api_setup.class.php
"SELECT t.rowid, t.code, t.label,t.short_label, t.active, t.scale, t.unit_type"1
  • /htdocs/api/class/api_setup.class.php
"SELECT t.rowid, t.code, t.fk_pays, t.libelle, t.isvatexempted, t.active, t.module, t.position"1
  • /htdocs/api/class/api_setup.class.php
"SELECT t.id, t.code, t.libelle, t.active, t.module"1
  • /htdocs/api/class/api_setup.class.php
"SELECT t.rowid, t.entity, t.code, t.label, t.url, t.icon, t.active"1
  • /htdocs/api/class/api_setup.class.php
"SELECT rowid, code, pos, label, use_default, color, description"1
  • /htdocs/api/class/api_setup.class.php
"SELECT rowid, code, active"1
  • /htdocs/api/class/api_setup.class.php
"SELECT sa.rowid as id, sa.pass_crypted"1
  • /htdocs/webportal/class/context.class.php
"SELECT COUNT(sc.rowid) as nb"1
  • /htdocs/margin/agentMargins.php
"SELECT p.label, p.rowid, p.fk_product_type, p.ref, p.entity as pentity,"1
  • /htdocs/margin/productMargins.php
'UPDATE ' . MAIN_DB_PREFIX . 'facturedet'1
  • /htdocs/margin/checkMargins.php
"SELECT distinct s.nom, s.rowid as socid, s.code_client,"1
  • /htdocs/margin/tabs/thirdpartyMargins.php
"SELECT s.nom as name, s.rowid as socid, s.code_client,"1
  • /htdocs/margin/tabs/productMargins.php
"DELETE FROM " . MAIN_DB_PREFIX . "element_resources"1
  • /htdocs/resource/class/dolresource.class.php
"UPDATE " . MAIN_DB_PREFIX . "element_resources SET"1
  • /htdocs/resource/class/dolresource.class.php
'SELECT rowid, resource_id, resource_type, busy, mandatory'1
  • /htdocs/resource/class/dolresource.class.php
"SELECT count(r.rowid) as nb"1
  • /htdocs/resource/class/dolresource.class.php
"UPDATE " . MAIN_DB_PREFIX . "product"1
  • /htdocs/barcode/codeinit.php
"SELECT rowid, ref, fk_product_type"1
  • /htdocs/barcode/codeinit.php
"SELECT count(rowid) as nb FROM " . MAIN_DB_PREFIX . "societe where barcode IS NULL or barcode = ''"1
  • /htdocs/barcode/codeinit.php
"SELECT count(rowid) as nb FROM " . MAIN_DB_PREFIX . "societe"1
  • /htdocs/barcode/codeinit.php
"SELECT count(rowid) as nb, fk_product_type, datec"1
  • /htdocs/barcode/codeinit.php
"SELECT count(rowid) as nb FROM " . MAIN_DB_PREFIX . "product"1
  • /htdocs/barcode/codeinit.php
'SELECT p.rowid, p.ref, p.fk_type, p.fk_soc, p.fk_member, p.status'1
  • /htdocs/partnership/class/partnership.class.php
"SELECT p.rowid, p.fk_member, p.status"1
  • /htdocs/partnership/class/partnershiputils.class.php
"SELECT p.rowid, p.status, p." . $fk_partner1
  • /htdocs/partnership/class/partnershiputils.class.php
"SELECT rowid, fk_parent, entity, label, description, color, position, fk_soc, visible, type, ref_ext"1
  • /htdocs/categories/class/categorie.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "categorie ("1
  • /htdocs/categories/class/categorie.class.php
"DELETE FROM " . MAIN_DB_PREFIX . $key1
  • /htdocs/categories/class/categorie.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "categorie_" . (empty($this->MAP_CAT_TABLE[$type]) ? $type : $this->MAP_CAT_TABLE[$type])1
  • /htdocs/categories/class/categorie.class.php
'SELECT fk_parent FROM ' . MAIN_DB_PREFIX . 'categorie'1
  • /htdocs/categories/class/categorie.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "categorie_" . (empty($this->MAP_CAT_TABLE[$type]) ? $type : $this->MAP_CAT_TABLE[$type])1
  • /htdocs/categories/class/categorie.class.php
"SELECT c.fk_" . (empty($this->MAP_CAT_FK[$type]) ? $type : $this->MAP_CAT_FK[$type]) . " as fk_object"1
  • /htdocs/categories/class/categorie.class.php
"SELECT COUNT(*) as nb FROM " . MAIN_DB_PREFIX . "categorie_" . (empty($this->MAP_CAT_TABLE[$type]) ? $type : $this->MAP_CAT_TABLE[$type])1
  • /htdocs/categories/class/categorie.class.php
"SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.position, c.fk_parent, c.visible"1
  • /htdocs/categories/class/categorie.class.php
"SELECT fk_parent FROM " . MAIN_DB_PREFIX . "categorie"1
  • /htdocs/categories/class/categorie.class.php
"SELECT ct.fk_categorie, c.label, c.rowid"1
  • /htdocs/categories/class/categorie.class.php
"SELECT lang, label, description"1
  • /htdocs/categories/class/categorie.class.php
"SELECT COUNT(rowid) FROM " . MAIN_DB_PREFIX . "categorie"1
  • /htdocs/categories/class/categorie.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "ecm_directories("1
  • /htdocs/ecm/class/ecmdirectory.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "ecm_directories"1
  • /htdocs/ecm/class/ecmdirectory.class.php
"SELECT c.rowid as rowid, c.label as label,"1
  • /htdocs/ecm/class/ecmdirectory.class.php
"SELECT MAX(position) as maxposition FROM " . MAIN_DB_PREFIX . $this->table_element1
  • /htdocs/ecm/class/ecmfiles.class.php
"SELECT rowid,date_creation,tms,user_fullname,action,amounts,element,fk_object,date_object,ref_object,signature,fk_user,object_data"1
  • /htdocs/blockedlog/admin/blockedlog_list.php
"SELECT rowid, date_creation, tms, user_fullname, action, amounts, element, fk_object, date_object, ref_object, signature, fk_user, object_data, object_version"1
  • /htdocs/blockedlog/admin/blockedlog_list.php
"SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite"1
  • /htdocs/blockedlog/admin/blockedlog.php
"SELECT b.rowid, b.signature, b.blockchain, b.tms"1
  • /htdocs/blockedlog/class/authority.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "blockedlog_authority ("1
  • /htdocs/blockedlog/class/authority.class.php
"UPDATE " . MAIN_DB_PREFIX . "blockedlog_authority SET "1
  • /htdocs/blockedlog/class/authority.class.php
"SELECT b.rowid, b.date_creation, b.signature, b.signature_line, b.amounts, b.action, b.element, b.fk_object, b.entity,"1
  • /htdocs/blockedlog/class/blockedlog.class.php
"UPDATE " . MAIN_DB_PREFIX . "blockedlog SET certified=1 WHERE rowid=" . ((int) $this->id)1
  • /htdocs/blockedlog/class/blockedlog.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "blockedlog ("1
  • /htdocs/blockedlog/class/blockedlog.class.php
"SELECT rowid, signature FROM " . MAIN_DB_PREFIX . "blockedlog"1
  • /htdocs/blockedlog/class/blockedlog.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "blockedlog WHERE entity=" . $conf->entity1
  • /htdocs/blockedlog/class/blockedlog.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "blockedlog WHERE entity=" . $conf->entity . " AND certified = 0"1
  • /htdocs/blockedlog/class/blockedlog.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "blockedlog WHERE entity=" . $conf->entity . " AND certified = 1"1
  • /htdocs/blockedlog/class/blockedlog.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "blockedlog WHERE entity=" . $conf->entity . " AND element = '" . $this->db->escape($element) . "'"1
  • /htdocs/blockedlog/class/blockedlog.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "blockedlog"1
  • /htdocs/blockedlog/class/blockedlog.class.php
'SELECT rowid, test FROM ' . MAIN_DB_PREFIX . 'cronjob'1
  • /htdocs/cron/list.php
"INSERT INTO " . MAIN_DB_PREFIX . "cronjob("1
  • /htdocs/cron/class/cronjob.class.php
"UPDATE " . MAIN_DB_PREFIX . "cronjob SET"1
  • /htdocs/cron/class/cronjob.class.php
"SELECT tokenstring"1
  • /htdocs/stripe/class/stripe.class.php
"SELECT pi.ext_payment_id, pi.entity, pi.fk_facture, pi.sourcetype, pi.ext_payment_site"1
  • /htdocs/stripe/class/stripe.class.php
"SELECT pi.rowid"1
  • /htdocs/stripe/class/stripe.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "prelevement_demande (date_demande, fk_user_demande, ext_payment_id, fk_facture, sourcetype, entity, ext_payment_site, amount)"1
  • /htdocs/stripe/class/stripe.class.php
"SELECT sa.stripe_card_ref, sa.proprio, sa.exp_date_month, sa.exp_date_year, sa.number, sa.cvn"1
  • /htdocs/stripe/class/stripe.class.php
"SELECT sa.stripe_card_ref, sa.proprio, sa.iban_prefix as iban, sa.rum"1
  • /htdocs/stripe/class/stripe.class.php
"Update the payment mode of the customer"1
  • /htdocs/stripe/class/stripe.class.php
"SELECT sa.key_account as key_account, sa.fk_soc, sa.entity"1
  • /htdocs/stripe/class/stripe.class.php
"UPDATE " . MAIN_DB_PREFIX1
  • /scripts/emailings/reset-invalid-emails.php
"SELECT m.rowid, m.statut as status"1
  • /scripts/emailings/mailing-send.php
"UPDATE " . MAIN_DB_PREFIX . "mailing SET statut = 2 WHERE rowid = " . ((int) $obj->rowid)1
  • /scripts/emailings/mailing-send.php
"UPDATE " . MAIN_DB_PREFIX . "mailing SET date_envoi='" . $db->idate($now) . "' WHERE rowid=" . ((int) $id)1
  • /scripts/emailings/mailing-send.php
"UPDATE " . MAIN_DB_PREFIX . "mailing SET statut=3 WHERE rowid=" . $obj->rowid1
  • /scripts/emailings/mailing-send.php
"update global status"1
  • /scripts/emailings/mailing-send.php
"Update status of emailing id " . $id . " to " . $statut . "\n"1
  • /scripts/emailings/mailing-send.php
"SELECT f.ref, f.total_ttc, f.date_lim_reglement as due_date,"1
  • /scripts/invoices/email_unpaid_invoices_to_customers.php
"SELECT f.ref, f.total_ttc, f.date_lim_reglement as due_date, s.nom as name, s.email, s.default_lang,"1
  • /scripts/invoices/email_unpaid_invoices_to_representatives.php
"SELECT c.ref, cd.date_fin_validite, cd.total_ttc, cd.description as description, p.label as plabel,"1
  • /scripts/contracts/email_expire_services_to_customers.php
"SELECT DISTINCT c.ref, c.fk_soc, cd.date_fin_validite, cd.total_ttc, cd.description as description, p.label as plabel, s.rowid, s.nom as name, s.email, s.default_lang,"1
  • /scripts/contracts/email_expire_services_to_representatives.php
'SELECT c.id, c.title, c.alias, c.created, c.introtext, `fulltext`, c.metadesc, c.metakey, c.language, c.created, c.publish_up, u.username FROM ' . $joomlaprefix . '_content as c'1
  • /scripts/website/migrate-news-joomla2dolibarr.php
'INSERT INTO ' . MAIN_DB_PREFIX . 'website_page(fk_website, pageurl, aliasalt, title, description, keywords, content, status, type_container, lang, import_key, image, date_creation, author_alias)'1
  • /scripts/website/migrate-news-joomla2dolibarr.php
"Insert done - pageid = " . $pageid . "\n"1
  • /scripts/website/migrate-news-joomla2dolibarr.php
"SELECT rowid as uid from " . MAIN_DB_PREFIX . "user"1
  • /scripts/user/migrate_picture_path.php
"SELECT rowid as pid from " . MAIN_DB_PREFIX . "product"1
  • /scripts/product/migrate_picture_path.php
'SELECT login, entity from ' . MAIN_DB_PREFIX . 'user WHERE admin = 1 and statut = 1 ORDER BY entity LIMIT 1'1
  • /scripts/cron/cron_run_jobs.php
"INSERT INTO"1
  • /dev/tools/dolibarr-postgres2mysql.php
"INSERT INTO $heads VALUES\n" . implode(",\n", $values) . ";\n\n"1
  • /dev/tools/dolibarr-postgres2mysql.php
"INSERT INTO $heads VALUES\n" . implode(",\n", $values) . ";\n"1
  • /dev/tools/dolibarr-postgres2mysql.php
"Update dates to current year for database name = " . $db->database_name . "\n"1
  • /dev/initdemo/updatedemo.php
"select rowid from " . MAIN_DB_PREFIX . $tablekey . " where " . $tableval[0] . " between '" . $year . "-01-01' and '" . $year . "-12-31' and " . $tableval[0] . " < DATE_ADD(NOW(), INTERVAL -1 YEAR)"1
  • /dev/initdemo/updatedemo.php
"UPDATE " . MAIN_DB_PREFIX . $tablekey . " set "1
  • /dev/initdemo/updatedemo.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "societe WHERE client in (1, 3)"1
  • /dev/initdata/generate-invoice.php
"DELETE FROM " . MAIN_DB_PREFIX . "user_rights WHERE fk_user IN (SELECT rowid FROM " . MAIN_DB_PREFIX . "user WHERE admin = 0 and login != 'admin') AND fk_user IN (select rowid FROM " . MAIN_DB_PREFIX . "user where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "user WHERE admin = 0 and login != 'admin' AND datec < '__DATE__'"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "actioncomm WHERE datec < '__DATE__'"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "paiement_facture where fk_facture IN (select rowid FROM " . MAIN_DB_PREFIX . "facture where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "paiement where rowid NOT IN (SELECT fk_paiement FROM " . MAIN_DB_PREFIX . "paiement_facture)"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "paiementfourn_facturefourn where fk_facturefourn IN (select rowid FROM " . MAIN_DB_PREFIX . "facture_fourn where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "paiementfourn where rowid NOT IN (SELECT fk_paiementfourn FROM " . MAIN_DB_PREFIX . "paiementfourn_facturefourn)"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "bank_class WHERE lineid IN (SELECT rowid FROM " . MAIN_DB_PREFIX . "bank WHERE datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "bank_url WHERE fk_bank IN (SELECT rowid FROM " . MAIN_DB_PREFIX . "bank WHERE datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "bank WHERE datec < '__DATE__'"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "bank_account WHERE datec < '__DATE__'"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "societe_remise_except where fk_facture_source IN (select rowid FROM " . MAIN_DB_PREFIX . "facture where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "societe_remise_except where fk_facture IN (select rowid FROM " . MAIN_DB_PREFIX . "facture where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "societe_remise_except where fk_facture_line IN (select rowid FROM " . MAIN_DB_PREFIX . "facturedet as fd WHERE fd.fk_facture IN (select rowid from " . MAIN_DB_PREFIX . "facture where datec < '__DATE__'))"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "facture_rec where datec < '__DATE__'"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "facturedet WHERE fk_facture IN (select rowid FROM " . MAIN_DB_PREFIX . "facture where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"UPDATE " . MAIN_DB_PREFIX . "facture SET fk_facture_source = NULL WHERE fk_facture_source IN (select f2.rowid FROM (select * from " . MAIN_DB_PREFIX . "facture) as f2 where f2.datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "facture where datec < '__DATE__'"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "accounting_bookkeeping where doc_date < '__DATE__'"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "propaldet WHERE fk_propal IN (select rowid FROM " . MAIN_DB_PREFIX . "propal where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "propal WHERE datec < '__DATE__'"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "supplier_proposaldet WHERE fk_supplier_proposal IN (select rowid FROM " . MAIN_DB_PREFIX . "propal where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "supplier_proposal where datec < '__DATE__'"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "commandedet WHERE fk_commande IN (select rowid FROM " . MAIN_DB_PREFIX . "commande where date_creation < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "commande where date_creation < '__DATE__'"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "commande_fournisseurdet WHERE fk_commande IN (select rowid FROM " . MAIN_DB_PREFIX . "commande_fournisseur where date_creation < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "commande_fournisseur where date_creation < '__DATE__'"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "facture_fourn_det WHERE fk_facture_fourn IN (select rowid FROM " . MAIN_DB_PREFIX . "facture_fourn where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "facture_fourn where datec < '__DATE__'"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "expeditiondet_batch WHERE fk_expeditiondet IN (select rowid FROM " . MAIN_DB_PREFIX . "expeditiondet WHERE fk_expedition IN (select rowid FROM " . MAIN_DB_PREFIX . "expedition where date_creation < '__DATE__'))"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "expeditiondet_extrafields WHERE fk_object IN (select rowid FROM " . MAIN_DB_PREFIX . "expeditiondet WHERE fk_expedition IN (select rowid FROM " . MAIN_DB_PREFIX . "expedition where date_creation < '__DATE__'))"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "expeditiondet WHERE fk_expedition IN (select rowid FROM " . MAIN_DB_PREFIX . "expedition where date_creation < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "expedition_extrafields WHERE fk_object IN (select rowid FROM " . MAIN_DB_PREFIX . "expedition where date_creation < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "expedition where date_creation < '__DATE__'"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "deliverydet WHERE fk_delivery IN (select rowid FROM " . MAIN_DB_PREFIX . "delivery where date_creation < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "delivery where date_creation < '__DATE__'"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "contratdet_extrafields WHERE fk_object IN (select rowid FROM " . MAIN_DB_PREFIX . "contratdet WHERE fk_contrat IN (select rowid FROM " . MAIN_DB_PREFIX . "contrat where datec < '__DATE__'))"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "contratdet WHERE fk_contrat IN (select rowid FROM " . MAIN_DB_PREFIX . "contrat where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "contrat_extrafields WHERE fk_object IN (select rowid FROM " . MAIN_DB_PREFIX . "contrat where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "contrat WHERE datec < '__DATE__'"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "fichinterdet WHERE fk_fichinter IN (select rowid FROM " . MAIN_DB_PREFIX . "fichinter where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "fichinter where datec < '__DATE__'"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "stock_mouvement WHERE datem < '__DATE__'"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "categorie_product WHERE fk_product IN (select rowid FROM " . MAIN_DB_PREFIX . "product where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "product_lang WHERE fk_product IN (select rowid FROM " . MAIN_DB_PREFIX . "product where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "product_price_by_qty WHERE fk_product_price IN (select rowid FROM " . MAIN_DB_PREFIX . "product_price where fk_product IN (select rowid FROM " . MAIN_DB_PREFIX . "product where datec < '__DATE__'))"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "product_price WHERE fk_product IN (select rowid FROM " . MAIN_DB_PREFIX . "product where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "product_fournisseur_price WHERE fk_product IN (select rowid FROM " . MAIN_DB_PREFIX . "product where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "product_batch WHERE fk_product_stock IN (select rowid FROM " . MAIN_DB_PREFIX . "product_stock where fk_product IN (select rowid FROM " . MAIN_DB_PREFIX . "product where datec < '__DATE__'))"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "product_stock WHERE fk_product IN (select rowid FROM " . MAIN_DB_PREFIX . "product where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "product_lot WHERE fk_product IN (select rowid FROM " . MAIN_DB_PREFIX . "product where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "product where datec < '__DATE__'"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "element_time WHERE elementtype = 'task' AND fk_element IN (select rowid FROM " . MAIN_DB_PREFIX . "projet_task WHERE fk_projet IN (select rowid FROM " . MAIN_DB_PREFIX . "projet where datec < '__DATE__'))"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "projet_task WHERE fk_projet IN (select rowid FROM " . MAIN_DB_PREFIX . "projet where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "projet where datec < '__DATE__'"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "categorie_contact WHERE fk_socpeople IN (select rowid FROM " . MAIN_DB_PREFIX . "socpeople where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "socpeople where datec < '__DATE__'"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "cabinetmed_cons WHERE fk_soc IN (select rowid FROM " . MAIN_DB_PREFIX . "societe where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"UPDATE " . MAIN_DB_PREFIX . "adherent SET fk_soc = NULL WHERE fk_soc IN (select rowid FROM " . MAIN_DB_PREFIX . "societe where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "categorie_fournisseur WHERE fk_soc IN (select rowid FROM " . MAIN_DB_PREFIX . "societe where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "categorie_societe WHERE fk_soc IN (select rowid FROM " . MAIN_DB_PREFIX . "societe where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "societe_remise_except WHERE fk_soc IN (select rowid FROM " . MAIN_DB_PREFIX . "societe where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "societe_rib WHERE fk_soc IN (select rowid FROM " . MAIN_DB_PREFIX . "societe where datec < '__DATE__')"1
  • /dev/initdata/purge-data.php
"DELETE FROM " . MAIN_DB_PREFIX . "societe where datec < '__DATE__'"1
  • /dev/initdata/purge-data.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "societe where client in (1, 3)"1
  • /dev/initdata/generate-order.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "societe WHERE client in (1,3)"1
  • /dev/initdata/generate-proposal.php
"SELECT rowid, fk_soc FROM " . MAIN_DB_PREFIX . "socpeople"1
  • /dev/initdata/generate-proposal.php
'Delete current files ' . $outputdir . '/filelist*.xml*' . "\n"1
  • /build/generate_filelist_xml.php
"SELECT e.rowid, e.ref, e.ref_customer,"2
  • /htdocs/expedition/index.php (2)
"SELECT cd.fk_product, cd.subprice, ed.qty, ed.fk_entrepot, ed.rowid as expeditiondet_id"2
  • /htdocs/expedition/class/expedition.class.php (2)
"SELECT em.code, em.tracking"2
  • /htdocs/expedition/class/expedition.class.php
  • /htdocs/reception/class/reception.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "expeditiondet_batch"2
  • /htdocs/expedition/class/expedition.class.php (2)
"SELECT date_format(c.date_valid,'%Y') as dm, COUNT(*) as nb, SUM(c." . $this->field . ")"2
  • /htdocs/expedition/class/expeditionstats.class.php
  • /htdocs/reception/class/receptionstats.class.php
"SELECT date_format(c.date_valid,'%m') as dm, SUM(c." . $this->field . ")"2
  • /htdocs/expedition/class/expeditionstats.class.php
  • /htdocs/reception/class/receptionstats.class.php
"SELECT date_format(c.date_valid,'%m') as dm, AVG(c." . $this->field . ")"2
  • /htdocs/expedition/class/expeditionstats.class.php
  • /htdocs/reception/class/receptionstats.class.php
"SELECT date_format(c.date_valid,'%Y') as year, COUNT(*) as nb, SUM(c." . $this->field . ") as total, AVG(" . $this->field . ") as avg"2
  • /htdocs/expedition/class/expeditionstats.class.php
  • /htdocs/reception/class/receptionstats.class.php
"SELECT ps.fk_entrepot, ps.fk_product, p.barcode, ps.reel, pb.batch"2
  • /htdocs/expedition/ajax/searchfrombarcode.php
  • /htdocs/product/inventory/ajax/searchfrombarcode.php
"SELECT ps.fk_entrepot, ps.fk_product, p.barcode,ps.reel"2
  • /htdocs/expedition/ajax/searchfrombarcode.php
  • /htdocs/product/inventory/ajax/searchfrombarcode.php
"SELECT cr.rowid"2
  • /htdocs/multicurrency/class/multicurrency.class.php (2)
"SELECT cd.rowid, cd.date_fin_validite as datefin"2
  • /htdocs/contrat/class/contrat.class.php (2)
"UPDATE " . MAIN_DB_PREFIX . "contratdet SET"2
  • /htdocs/contrat/class/contrat.class.php (2)
'UPDATE ' . MAIN_DB_PREFIX . 'contratdet SET'2
  • /htdocs/contrat/class/contrat.class.php (2)
"INSERT INTO " . MAIN_DB_PREFIX . "contratdet"2
  • /htdocs/contrat/class/contrat.class.php (2)
"SELECT count(cd.rowid) as nb, cd.statut as status"2
  • /htdocs/contrat/index.php (2)
"SELECT c.ref, c.fk_soc as thirdpartyid, cd.rowid as cid, cd.statut, cd.label, cd.fk_product, cd.description as note, cd.fk_contrat,"2
  • /htdocs/contrat/index.php (2)
'SELECT id_users, nom as name'2
  • /htdocs/opensurvey/results.php
  • /htdocs/public/opensurvey/studs.php
"DELETE FROM " . MAIN_DB_PREFIX . $this->table_element_line2
  • /htdocs/contrat/class/contrat.class.php
  • /htdocs/variants/class/ProductAttribute.class.php
"UPDATE " . MAIN_DB_PREFIX . "holiday_config SET"2
  • /htdocs/holiday/class/holiday.class.php (2)
"INSERT INTO " . MAIN_DB_PREFIX . "holiday_users"2
  • /htdocs/holiday/class/holiday.class.php (2)
"SELECT DISTINCT ur.fk_user"2
  • /htdocs/holiday/class/holiday.class.php
  • /htdocs/expensereport/class/expensereport.class.php
" SELECT DISTINCT ugu.fk_user"2
  • /htdocs/holiday/class/holiday.class.php
  • /htdocs/expensereport/class/expensereport.class.php
"SELECT count(u.rowid) as compteur"2
  • /htdocs/holiday/class/holiday.class.php (2)
"SELECT DISTINCT"2
  • /htdocs/adherents/list.php
  • /htdocs/public/ticket/list.php
"SELECT code, label FROM " . MAIN_DB_PREFIX . "c_country WHERE rowid = " . ((int) $this->object->country_id)2
  • /htdocs/adherents/canvas/actions_adherentcard_common.class.php
  • /htdocs/contact/canvas/actions_contactcard_common.class.php
"UPDATE " . MAIN_DB_PREFIX . "user SET fk_member = NULL WHERE fk_member = " . ((int) $this->id)2
  • /htdocs/adherents/class/adherent.class.php (2)
"UPDATE " . MAIN_DB_PREFIX . "adherent_type_lang"2
  • /htdocs/adherents/class/adherent_type.class.php (2)
"INSERT INTO " . MAIN_DB_PREFIX . "adherent_type_lang (fk_type, lang, label, description"2
  • /htdocs/adherents/class/adherent_type.class.php (2)
"SELECT a.rowid"2
  • /htdocs/adherents/class/adherent_type.class.php
  • /htdocs/datapolicy/class/datapolicy.class.php
"SELECT COUNT(DISTINCT d.rowid) as nb, COUNT(s.rowid) as nbsubscriptions,"2
  • /htdocs/adherents/stats/byproperties.php (2)
"SELECT rowid FROM " . MAIN_DB_PREFIX . "facture where ref='(PROV-POS" . $_SESSION["takeposterminal"] . "-" . $place . ")' AND entity IN (" . getEntity('invoice') . ")"2
  • /htdocs/contact/list.php
  • /htdocs/societe/list.php
"UPDATE " . MAIN_DB_PREFIX . "facture set fk_soc=" . ((int) $idcustomer) . " where ref='(PROV-POS" . $_SESSION["takeposterminal"] . "-" . $place . ")'"2
  • /htdocs/contact/list.php
  • /htdocs/societe/list.php
"SELECT code, label, sortorder"2
  • /htdocs/contact/list.php
  • /htdocs/societe/list.php
"UPDATE " . MAIN_DB_PREFIX . "socpeople SET"2
  • /htdocs/contact/class/contact.class.php (2)
"SELECT fk_user"2
  • /htdocs/contact/class/contact.class.php
  • /htdocs/admin/boxes.php
"DELETE FROM " . MAIN_DB_PREFIX . "element_contact"2
  • /htdocs/contact/class/contact.class.php
  • /htdocs/core/class/commonobject.class.php
"SELECT COUNT(rowid) as nb FROM " . MAIN_DB_PREFIX . "mailing_unsubscribe WHERE entity IN (" . getEntity('mailing', 0) . ") AND email = '" . $this->db->escape($this->email) . "'"2
  • /htdocs/contact/class/contact.class.php
  • /htdocs/societe/class/societe.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "mailing_unsubscribe(email, entity, date_creat) VALUES ('" . $this->db->escape($this->email) . "', " . getEntity('mailing', 0) . ", '" . $this->db->idate(dol_now( )) . "')"2
  • /htdocs/contact/class/contact.class.php
  • /htdocs/societe/class/societe.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "mailing_unsubscribe WHERE email = '" . $this->db->escape($this->email) . "' AND entity IN (" . getEntity('mailing', 0) . ")"2
  • /htdocs/contact/class/contact.class.php
  • /htdocs/societe/class/societe.class.php
"SELECT COUNT(rowid) as nb FROM " . MAIN_DB_PREFIX . "mailing_unsubscribe WHERE entity IN (" . getEntity('mailing') . ") AND email = '" . $this->db->escape($this->email) . "'"2
  • /htdocs/contact/class/contact.class.php
  • /htdocs/societe/class/societe.class.php
"SELECT p.rowid"2
  • /htdocs/loan/class/loanschedule.class.php
  • /htdocs/core/modules/societe/doc/doc_generic_odt.modules.php
"SELECT rowid, ref, ref_ext, label, position"2
  • /htdocs/variants/class/ProductAttribute.class.php (2)
"SELECT COUNT(*) AS count"2
  • /htdocs/variants/class/ProductAttribute.class.php (2)
"SELECT rowid, fk_product_attribute_combination, fk_price_level, variation_price, variation_price_percentage"2
  • /htdocs/variants/class/ProductCombination.class.php (2)
"SELECT a.rowid, a.pcg_version, a.label, a.active"2
  • /htdocs/accountancy/index.php
  • /htdocs/accountancy/class/accountancysystem.class.php
'SELECT v.rowid as ref'2
  • /htdocs/accountancy/journal/bankjournal.php (2)
" UPDATE " . MAIN_DB_PREFIX . "expensereport_det"2
  • /htdocs/accountancy/expensereport/card.php
  • /htdocs/accountancy/expensereport/list.php
"UPDATE " . MAIN_DB_PREFIX . "expensereport_det as erd"2
  • /htdocs/accountancy/expensereport/lines.php
  • /htdocs/accountancy/expensereport/index.php
'SELECT DISTINCT pcg_type FROM ' . MAIN_DB_PREFIX . 'accounting_account'2
  • /htdocs/accountancy/admin/card.php
  • /htdocs/asset/admin/setup.php
"SELECT MAX(" . $db->sanitize($tabrowid[$id]) . ") newid FROM " . $db->sanitize($tabname[$id])2
  • /htdocs/accountancy/admin/categories_list.php
  • /htdocs/accountancy/admin/journals_list.php
"UPDATE " . $db->sanitize($tabname[$id]) . " SET active = 1 WHERE " . $db->sanitize($rowidcol) . " = " . ((int) $rowid)2
  • /htdocs/accountancy/admin/categories_list.php
  • /htdocs/accountancy/admin/journals_list.php
"UPDATE " . $db->sanitize($tabname[$id]) . " SET active = 1 WHERE code = '" . $db->escape($code) . "'"2
  • /htdocs/accountancy/admin/categories_list.php
  • /htdocs/accountancy/admin/journals_list.php
"UPDATE " . $db->sanitize($tabname[$id]) . " SET active = 0 WHERE " . $db->sanitize($rowidcol) . " = " . ((int) $rowid)2
  • /htdocs/accountancy/admin/categories_list.php
  • /htdocs/accountancy/admin/journals_list.php
" UPDATE " . MAIN_DB_PREFIX . "facture_fourn_det"2
  • /htdocs/accountancy/supplier/card.php
  • /htdocs/accountancy/supplier/list.php
"SELECT f.rowid as facid, f.ref, f.ref_supplier, f.libelle as invoice_label, f.datef, f.type as ftype, f.fk_facture_source,"2
  • /htdocs/accountancy/supplier/index.php
  • /htdocs/accountancy/supplier/list.php
"UPDATE " . MAIN_DB_PREFIX . "accounting_account "2
  • /htdocs/accountancy/class/accountingaccount.class.php (2)
"UPDATE " . MAIN_DB_PREFIX . "accounting_account"2
  • /htdocs/accountancy/class/accountingaccount.class.php
  • /htdocs/accountancy/class/accountancycategory.class.php
"SELECT rowid, doc_date, doc_type,"2
  • /htdocs/accountancy/class/bookkeeping.class.php (2)
' SELECT doc_date, doc_type,'2
  • /htdocs/accountancy/class/bookkeeping.class.php (2)
"SELECT date_start, date_end"2
  • /htdocs/accountancy/class/bookkeeping.class.php (2)
"SELECT t.rowid, t.account_number, t.label as account_label"2
  • /htdocs/accountancy/class/accountancycategory.class.php (2)
"UPDATE " . MAIN_DB_PREFIX . "accounting_bookkeeping SET"2
  • /htdocs/accountancy/class/lettering.class.php (2)
" UPDATE " . MAIN_DB_PREFIX . "facturedet"2
  • /htdocs/accountancy/customer/card.php
  • /htdocs/accountancy/customer/list.php
"UPDATE " . MAIN_DB_PREFIX . "facturedet"2
  • /htdocs/accountancy/customer/lines.php
  • /htdocs/accountancy/customer/index.php
"SELECT '" . $db->escape($langs->trans("Vide")) . "' AS marge,"2
  • /htdocs/accountancy/customer/index.php (2)
"SELECT u.rowid, u.pass, u.pass_crypted"2
  • /htdocs/install/step5.php
  • /htdocs/admin/security.php
"DELETE FROM " . MAIN_DB_PREFIX . "const WHERE " . $db->decrypt('name') . " = 'MAIN_NOT_INSTALLED'"2
  • /htdocs/install/step5.php (2)
"SELECT distinct p.rowid, p.datec, p.amount as pamount, bu.fk_bank, b.amount as bamount,"2
  • /htdocs/install/upgrade2.php (2)
" SELECT distinct f.rowid from " . MAIN_DB_PREFIX . "facture as f"2
  • /htdocs/install/upgrade2.php (2)
"INSERT INTO " . MAIN_DB_PREFIX . "bank_url ("2
  • /htdocs/install/upgrade2.php
  • /htdocs/compta/bank/class/account.class.php
"UPDATE " . MAIN_DB_PREFIX . "contrat"2
  • /htdocs/install/upgrade2.php (2)
"SELECT t1.rowid, t1." . $field1 . " as field"2
  • /htdocs/install/upgrade2.php (2)
"UPDATE " . MAIN_DB_PREFIX . $table2 . " SET"2
  • /htdocs/install/upgrade2.php (2)
"INSERT INTO " . MAIN_DB_PREFIX . "element_contact ("2
  • /htdocs/install/upgrade2.php (2)
"UPDATE " . MAIN_DB_PREFIX . "projet_task SET"2
  • /htdocs/install/upgrade2.php
  • /htdocs/projet/class/task.class.php
"SELECT fk_categorie_mere, fk_categorie_fille"2
  • /htdocs/install/upgrade2.php (2)
"INSERT INTO " . MAIN_DB_PREFIX . "actioncomm_resources(fk_actioncomm, element_type, fk_element) "2
  • /htdocs/install/upgrade2.php (2)
"SELECT f.entity"2
  • /htdocs/install/upgrade2.php (2)
"SELECT u.rowid, u.entity"2
  • /htdocs/install/upgrade2.php (2)
"SELECT p.rowid, p.ref, p.tobatch, ps.rowid as psrowid, ps.fk_entrepot, ps.reel, SUM(pb.qty) as reelbatch"2
  • /htdocs/install/repair.php (2)
"SELECT f.rowid as facid"2
  • /htdocs/webservices/server_supplier_invoice.php
  • /htdocs/core/boxes/box_factures.php
"SELECT rowid, ref, ref_ext"2
  • /htdocs/webservices/server_productorservice.php
  • /htdocs/core/class/commonobject.class.php
'SELECT rowid, fk_bom_child, fk_product, qty FROM ' . MAIN_DB_PREFIX . 'bom_bomline AS bl'2
  • /htdocs/bom/tpl/objectline_view.tpl.php
  • /htdocs/mrp/tpl/originproductline.tpl.php
"SELECT " . $objectline->getFieldList('l')2
  • /htdocs/bom/class/bom.class.php
  • /htdocs/core/class/commonobject.class.php
"SELECT rowid, label, email FROM " . MAIN_DB_PREFIX . "c_email_senderprofile WHERE rowid = " . (int) $reg[1]2
  • /htdocs/core/actions_massactions.inc.php
  • /htdocs/eventorganization/core/actions_massactions_mail.inc.php
"SELECT rowid, title, url, target FROM " . MAIN_DB_PREFIX . "bookmark"2
  • /htdocs/core/bookmarks_page.php
  • /htdocs/bookmarks/bookmarks.lib.php
'SELECT rowid, label, email FROM ' . MAIN_DB_PREFIX . 'c_email_senderprofile'2
  • /htdocs/core/actions_sendmails.inc.php
  • /htdocs/admin/mails.php
"SELECT wp.rowid, wp.lang, wp.pageurl, wp.fk_page"2
  • /htdocs/core/website.inc.php
  • /htdocs/website/class/website.class.php
"SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type"2
  • /htdocs/core/class/commoninvoice.class.php (2)
"SELECT s.label FROM " . $this->db->prefix( ) . $table . " AS f"2
  • /htdocs/core/class/commoninvoice.class.php (2)
"SELECT rowid, code, label as label"2
  • /htdocs/core/class/commoninvoice.class.php
  • /htdocs/core/class/html.form.class.php
'INSERT INTO ' . $this->db->prefix( ) . 'prelevement_demande('2
  • /htdocs/core/class/commoninvoice.class.php
  • /htdocs/salaries/class/salary.class.php
"UPDATE " . MAIN_DB_PREFIX . "prelevement_demande SET"2
  • /htdocs/core/class/commoninvoice.class.php
  • /htdocs/stripe/class/stripe.class.php
'DELETE FROM ' . $this->db->prefix( ) . 'prelevement_demande'2
  • /htdocs/core/class/commoninvoice.class.php
  • /htdocs/salaries/class/salary.class.php
"SELECT rowid, code, label"2
  • /htdocs/core/class/html.form.class.php
  • /htdocs/api/class/api_setup.class.php
"SELECT c.label, c.rowid"2
  • /htdocs/core/class/html.form.class.php
  • /htdocs/categories/class/categorie.class.php
"SELECT t.rowid, " . $fieldstoshow . " FROM " . $this->db->prefix( ) . $objecttmp->table_element . " as t"2
  • /htdocs/core/class/html.form.class.php
  • /htdocs/webportal/class/html.formwebportal.class.php
"SELECT c.id, c.libelle as type"2
  • /htdocs/core/class/html.formsocialcontrib.class.php (2)
"SELECT rowid, label, fk_user"2
  • /htdocs/core/class/html.formother.class.php (2)
"SELECT rowid, name, fk_type, fk_profile, parameter"2
  • /htdocs/core/class/dolreceiptprinter.class.php (2)
"SELECT t.rowid, t.label as ref"2
  • /htdocs/core/class/html.formprojet.class.php (2)
"SELECT t.rowid, t.ref, t.ref_supplier"2
  • /htdocs/core/class/html.formprojet.class.php (2)
"SELECT t.rowid, t.ref"2
  • /htdocs/core/class/html.formprojet.class.php (2)
"SELECT t.rowid, t.num_payment as ref"2
  • /htdocs/core/class/html.formprojet.class.php (2)
"UPDATE " . $this->db->prefix( ) . $this->table_element . ' SET'2
  • /htdocs/core/class/cgenericdic.class.php
  • /htdocs/core/class/commonobject.class.php
"SELECT id, code, libelle as label"2
  • /htdocs/core/class/html.formcompany.class.php (2)
"SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM"2
  • /htdocs/core/class/html.formcompany.class.php
  • /htdocs/resource/class/html.formresource.class.php
"INSERT INTO " . $this->db->prefix( ) . "extrafields("2
  • /htdocs/core/class/extrafields.class.php (2)
"SELECT rowid FROM " . $this->db->prefix( ) . $this->table_element2
  • /htdocs/core/class/commonobject.class.php (2)
"SELECT max(" . $positionfield . ") FROM " . $this->db->prefix( ) . $this->table_element_line2
  • /htdocs/core/class/commonobject.class.php (2)
"UPDATE " . $this->db->prefix( ) . $this->table_element_line . " SET " . $fieldtva . " = " . price2num((float) $tmpcal[1]) . ", total_ttc = " . price2num((float) $tmpcal[2]) . " WHERE rowid = " . ((int) $obj->rowid)2
  • /htdocs/core/class/commonobject.class.php (2)
"DELETE FROM " . $this->db->prefix( ) . $table_element . "_extrafields WHERE fk_object = " . ((int) $this->id)2
  • /htdocs/core/class/commonobject.class.php (2)
"SELECT " . $label_type . ", code from " . $this->db->prefix( ) . "c_units where rowid = " . ((int) $this->fk_unit)2
  • /htdocs/core/class/commonobjectline.class.php
  • /htdocs/product/class/product.class.php
"SELECT a.code, c.email, c.rowid"2
  • /htdocs/core/class/notify.class.php (2)
"UPDATE " . $this->db->prefix( ) . "societe_remise_except"2
  • /htdocs/core/class/discount.class.php (2)
"SELECT count(*)"2
  • /htdocs/core/class/menubase.class.php
  • /htdocs/core/modules/DolibarrModules.class.php
"SELECT rowid, entity, datea, url, label, objecttype, objectid FROM " . $this->db->prefix( ) . "links"2
  • /htdocs/core/class/link.class.php (2)
"SELECT rowid, ref"2
  • /htdocs/core/class/html.formwebsite.class.php
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
"SELECT code FROM " . $this->db->prefix( ) . "c_incoterms WHERE rowid = " . (int) $this->fk_incoterms2
  • /htdocs/core/class/commonincoterm.class.php (2)
"SELECT rowid, code, label, nature, entity, active"2
  • /htdocs/core/class/html.formaccounting.class.php (2)
"SELECT c.rowid, c.label as type, c.range_account"2
  • /htdocs/core/class/html.formaccounting.class.php (2)
"SELECT COUNT(sc.fk_soc) as nb"2
  • /htdocs/core/lib/security.lib.php (2)
"DELETE FROM " . MAIN_DB_PREFIX . "session"2
  • /htdocs/core/lib/phpsessionindb.lib.php (2)
"UPDATE " . MAIN_DB_PREFIX . $tabletocleantree2
  • /htdocs/core/lib/functions2.lib.php (2)
"SELECT DISTINCT a.id, a.label as label,"2
  • /htdocs/core/lib/company.lib.php
  • /htdocs/core/lib/functions.lib.php
"SELECT a.id, a.label as label,"2
  • /htdocs/core/lib/company.lib.php
  • /htdocs/core/lib/functions.lib.php
"SELECT m.rowid as id, m.titre as label, mc.date_envoi as dp, mc.date_envoi as dp2, '100' as percent, 'mailing' as type"2
  • /htdocs/core/lib/company.lib.php
  • /htdocs/core/lib/functions.lib.php
"SELECT fk_soc as fk_soc FROM " . MAIN_DB_PREFIX . "projet WHERE ref='" . $db->escape($refname) . "' AND entity IN (" . getEntity('project') . ")"2
  • /htdocs/core/lib/files.lib.php (2)
'SELECT id FROM ' . MAIN_DB_PREFIX . 'actioncomm'2
  • /htdocs/core/lib/ticket.lib.php
  • /htdocs/ticket/document.php
"SELECT rowid, code, label, nature"2
  • /htdocs/core/menus/standard/auguria.lib.php
  • /htdocs/core/menus/standard/eldy.lib.php
'DELETE FROM \\1 USING \\3'2
  • /htdocs/core/db/sqlite3.class.php
  • /htdocs/core/db/pgsql.class.php
"SHOW FULL COLUMNS FROM " . $tmptable . ";"2
  • /htdocs/core/db/sqlite3.class.php
  • /htdocs/core/db/mysqli.class.php
'SHOW VARIABLES LIKE \'basedir\''2
  • /htdocs/core/db/sqlite3.class.php (2)
'SHOW SERVER_ENCODING'2
  • /htdocs/core/db/pgsql.class.php (2)
'SHOW LC_COLLATE'2
  • /htdocs/core/db/pgsql.class.php (2)
'SHOW data_directory'2
  • /htdocs/core/db/pgsql.class.php (2)
"SHOW VARIABLES LIKE 'basedir'"2
  • /htdocs/core/db/mysqli.class.php (2)
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = 'standard_" . strtolower($myTmpObjectKey) . "' AND type = '" . strtolower($myTmpObjectKey) . "' AND entity = " . ((int) $conf->entity)2
  • /htdocs/core/modules/modKnowledgeManagement.class.php
  • /htdocs/core/modules/modPartnership.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('standard_" . strtolower($myTmpObjectKey) . "','" . strtolower($myTmpObjectKey) . "'," . ((int) $conf->entity) . ")"2
  • /htdocs/core/modules/modKnowledgeManagement.class.php
  • /htdocs/core/modules/modPartnership.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = 'generic_" . strtolower($myTmpObjectKey) . "_odt' AND type = '" . strtolower($myTmpObjectKey) . "' AND entity = " . ((int) $conf->entity)2
  • /htdocs/core/modules/modKnowledgeManagement.class.php
  • /htdocs/core/modules/modPartnership.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('generic_" . strtolower($myTmpObjectKey) . "_odt', '" . strtolower($myTmpObjectKey) . "', " . ((int) $conf->entity) . ")"2
  • /htdocs/core/modules/modKnowledgeManagement.class.php
  • /htdocs/core/modules/modPartnership.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "boxes_def"2
  • /htdocs/core/modules/DolibarrModules.class.php
  • /htdocs/admin/external_rss.php
"DELETE FROM " . MAIN_DB_PREFIX . "cronjob"2
  • /htdocs/core/modules/DolibarrModules.class.php
  • /htdocs/cron/class/cronjob.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "const ("2
  • /htdocs/core/modules/DolibarrModules.class.php (2)
"DELETE FROM " . MAIN_DB_PREFIX . "menu"2
  • /htdocs/core/modules/DolibarrModules.class.php
  • /htdocs/admin/menus/index.php
"INSERT INTO " . MAIN_DB_PREFIX . "emailcollector_emailcollectoraction (fk_emailcollector, type, actionparam, date_creation, fk_user_creat, status)"2
  • /htdocs/core/modules/modEmailCollector.class.php (2)
"DELETE FROM " . MAIN_DB_PREFIX . "mailing_cibles"2
  • /htdocs/core/modules/mailings/modules_mailings.php
  • /htdocs/comm/mailing/class/mailing.class.php
"SELECT s.rowid as id, s.email as email, s.nom as name, null as fk_contact, null as firstname, c.label as label"2
  • /htdocs/core/modules/mailings/thirdparties.modules.php (2)
"SELECT ref FROM " . MAIN_DB_PREFIX . "product"2
  • /htdocs/core/modules/mailings/thirdparties_services_expired.modules.php
  • /htdocs/core/modules/product/mod_codeproduct_elephant.php
"SELECT re.rowid, re.amount_ht, re.multicurrency_amount_ht, re.amount_tva, re.multicurrency_amount_tva, re.amount_ttc, re.multicurrency_amount_ttc,"2
  • /htdocs/core/modules/facture/doc/pdf_crabe.modules.php
  • /htdocs/core/modules/facture/doc/pdf_sponge.modules.php
"SELECT p.datep as date, p.fk_paiement, p.num_paiement as num, pf.amount as amount, pf.multicurrency_amount,"2
  • /htdocs/core/modules/facture/doc/pdf_crabe.modules.php
  • /htdocs/core/modules/facture/doc/pdf_sponge.modules.php
"SELECT MAX(CAST(ref AS SIGNED)) as max"2
  • /htdocs/core/modules/member/mod_member_simple.php (2)
"SELECT p.rowid, p.num_payment, p.datep as dp, p.amount, p.fk_bank,"2
  • /htdocs/core/modules/expensereport/doc/pdf_standard.modules.php
  • /htdocs/expensereport/card.php
"SELECT t.rowid, t.element_date as task_date, t.element_duration as task_duration, t.fk_user, t.note"2
  • /htdocs/core/modules/project/task/doc/doc_generic_task_odt.modules.php
  • /htdocs/core/modules/project/doc/doc_generic_project_odt.modules.php
"SELECT " . $field . " as aliasfield FROM " . $table2
  • /htdocs/core/modules/import/import_xlsx.modules.php
  • /htdocs/core/modules/import/import_csv.modules.php
"SELECT " . $fname . " FROM " . $tablename2
  • /htdocs/core/modules/import/import_xlsx.modules.php
  • /htdocs/core/modules/import/import_csv.modules.php
"SELECT rowid FROM " . $tablename2
  • /htdocs/core/modules/import/import_xlsx.modules.php
  • /htdocs/core/modules/import/import_csv.modules.php
"UPDATE " . $tablename2
  • /htdocs/core/modules/import/import_xlsx.modules.php
  • /htdocs/core/modules/import/import_csv.modules.php
"INSERT INTO " . $tablename . "(" . implode(", ", $listfields) . ", import_key"2
  • /htdocs/core/modules/import/import_xlsx.modules.php
  • /htdocs/core/modules/import/import_csv.modules.php
"UPDATE " . MAIN_DB_PREFIX . "societe SET "2
  • /htdocs/core/ajax/ajaxstatusprospect.php
  • /htdocs/societe/class/societe.class.php
"SELECT a.id, a.label, a.datep as dp, a.percent as percentage"2
  • /htdocs/core/boxes/box_actions.php
  • /htdocs/core/boxes/box_actions_future.php
"SELECT f.fk_statut, SUM(f.total_ttc) as Mnttot, COUNT(*) as nb"2
  • /htdocs/core/boxes/box_activity.php (2)
"SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur,"2
  • /htdocs/core/boxes/box_services_contracts.php
  • /htdocs/core/boxes/box_contracts.php
"SELECT p.ref as product_ref"2
  • /htdocs/core/boxes/box_mos.php
  • /htdocs/core/boxes/box_boms.php
'SELECT k.rowid as id, k.date_creation, k.ref, k.lang, k.question, k.status as status'2
  • /htdocs/core/boxes/box_last_knowledgerecord.php
  • /htdocs/core/boxes/box_last_modified_knowledgerecord.php
"SELECT SUM(f.total_ht) as total_ht " . $sql22
  • /htdocs/core/boxes/box_factures_fourn_imp.php
  • /htdocs/core/boxes/box_factures_imp.php
"SELECT cls.rowid, cls.code, cls.percent, cls.label"2
  • /htdocs/core/boxes/box_funnel_of_prospection.php
  • /htdocs/projet/index.php
"SELECT p.fk_opp_status as opp_status, cls.code, COUNT(p.rowid) as nb, SUM(p.opp_amount) as opp_amount, SUM(p.opp_amount * p.opp_percent) as ponderated_opp_amount"2
  • /htdocs/core/boxes/box_funnel_of_prospection.php
  • /htdocs/projet/graph_opportunities.inc.php
"UPDATE " . MAIN_DB_PREFIX . $options->deprecation_options_fields[$mode_key]['table']2
  • /htdocs/asset/class/asset.class.php (2)
"DELETE FROM " . MAIN_DB_PREFIX . $mode_info['table']2
  • /htdocs/asset/class/assetdepreciationoptions.class.php
  • /htdocs/asset/class/assetaccountancycodes.class.php
"SELECT p.rowid, p.datep as dp, pf.amount, p.statut,"2
  • /htdocs/fourn/recap-fourn.php
  • /htdocs/compta/recap-compta.php
"SELECT l.rowid, cfd.fk_product, sum(cfd.qty) as qty"2
  • /htdocs/fourn/commande/dispatch.php
  • /htdocs/reception/dispatch.php
"SELECT l.rowid, l.fk_product, l.subprice, l.remise_percent, l.ref AS sref, l.qty as qty,"2
  • /htdocs/fourn/commande/dispatch.php
  • /htdocs/reception/dispatch.php
"SELECT c.rowid, c.ref, s.nom as name, s.rowid as socid"2
  • /htdocs/fourn/commande/index.php
  • /htdocs/commande/index.php
"SELECT s.nom as name, s.rowid as socid, f.rowid as facid, f.titre as title, f.total_ht, f.total_tva, f.total_ttc, f.frequency, f.unit_frequency,"2
  • /htdocs/fourn/facture/list-rec.php
  • /htdocs/compta/facture/invoicetemplate_list.php
'SELECT SUM(pf.amount) as total_paiements'2
  • /htdocs/fourn/facture/card.php
  • /htdocs/compta/facture/card.php
'SELECT r.rowid, r.titre as title, r.total_ttc'2
  • /htdocs/fourn/facture/card.php
  • /htdocs/compta/facture/card.php
'SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank,'2
  • /htdocs/fourn/facture/card.php
  • /htdocs/compta/facture/card.php
"SELECT COUNT(pfd.rowid) as nb, SUM(pfd.amount) as amount"2
  • /htdocs/fourn/facture/paiement.php
  • /htdocs/compta/paiement.php
'SELECT rowid, packaging FROM ' . $this->db->prefix( ) . "product_fournisseur_price"2
  • /htdocs/fourn/class/fournisseur.commande.class.php (2)
"SELECT count(co.rowid) as nb"2
  • /htdocs/fourn/class/fournisseur.commande.class.php
  • /htdocs/commande/class/commande.class.php
'SELECT cd.rowid, cd.fk_product,'2
  • /htdocs/fourn/class/fournisseur.commande.class.php
  • /htdocs/commande/class/commande.class.php
'INSERT INTO ' . MAIN_DB_PREFIX . 'facture_fourn_det (fk_facture_fourn, special_code, fk_remise_except)'2
  • /htdocs/fourn/class/fournisseur.facture.class.php (2)
'DELETE FROM ' . MAIN_DB_PREFIX . 'societe_remise_except'2
  • /htdocs/fourn/class/fournisseur.facture.class.php
  • /htdocs/compta/facture/class/facture.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'facture_fourn SET'2
  • /htdocs/fourn/class/fournisseur.facture.class.php (2)
"UPDATE " . MAIN_DB_PREFIX . "facture_fourn"2
  • /htdocs/fourn/class/fournisseur.facture.class.php (2)
"UPDATE " . MAIN_DB_PREFIX . "facture_fourn_det SET"2
  • /htdocs/fourn/class/fournisseur.facture.class.php (2)
'SELECT l.rowid,'2
  • /htdocs/fourn/class/fournisseur.facture-rec.class.php (2)
'UPDATE ' . MAIN_DB_PREFIX . 'facture_fourn_det_rec SET'2
  • /htdocs/fourn/class/fournisseur.facture-rec.class.php (2)
"SELECT count(s.rowid) as nb"2
  • /htdocs/fourn/class/fournisseur.class.php
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "product_fournisseur_price"2
  • /htdocs/fourn/class/fournisseur.product.class.php (2)
'SELECT COUNT(DISTINCT p.rowid) as nbtotalofrecords'2
  • /htdocs/fourn/paiement/list.php
  • /htdocs/compta/paiement/list.php
"SELECT s.nom as name FROM " . MAIN_DB_PREFIX . "societe as s"2
  • /htdocs/asterisk/wrapper.php
  • /htdocs/public/clicktodial/cidlookup.php
"SELECT c.rowid, c.entity, c.ref, c.fk_statut as status, c.facture, c.date_cloture as datec, c.tms as datem,"2
  • /htdocs/commande/index.php
  • /htdocs/comm/index.php
"SELECT c.rowid, c.entity, c.ref, c.fk_statut as status, c.facture, c.date_commande as date, s.nom as name, s.rowid as socid"2
  • /htdocs/commande/index.php (2)
"SELECT s.rowid, s.nom as name, s.client, s.town, s.datec, s.datea"2
  • /htdocs/commande/customer.php
  • /htdocs/compta/clients.php
"DELETE FROM " . MAIN_DB_PREFIX . $tabletodelete . "_extrafields WHERE fk_object IN (SELECT rowid FROM " . MAIN_DB_PREFIX . $tabletodelete . " WHERE " . $this->fk_element . " = " . ((int) $this->id) . ")"2
  • /htdocs/commande/class/commande.class.php
  • /htdocs/comm/propal/class/propal.class.php
"UPDATE " . MAIN_DB_PREFIX . "commandedet SET"2
  • /htdocs/commande/class/commande.class.php (2)
"SELECT p.rowid, p.num_paiement as num_payment, p.datep as dp, p.amount,"2
  • /htdocs/compta/sociales/card.php
  • /htdocs/compta/tva/card.php
"UPDATE " . MAIN_DB_PREFIX . "chargesociales SET"2
  • /htdocs/compta/sociales/class/chargesociales.class.php (2)
"SELECT tva.rowid, tva.label as label, b.fk_account, ptva.fk_bank"2
  • /htdocs/compta/tva/payments.php (2)
"SELECT sum(f.amount) as amount"2
  • /htdocs/compta/tva/class/tva.class.php
  • /htdocs/compta/localtax/class/localtax.class.php
"SELECT DISTINCT(b.num_releve) as num"2
  • /htdocs/compta/bank/account_statement_document.php (2)
"SELECT MIN(b.datev) as min, MAX(b.datev) as max"2
  • /htdocs/compta/bank/graph.php
  • /htdocs/compta/bank/annuel.php
"SELECT date_format(b.datev,'%d')"2
  • /htdocs/compta/bank/graph.php (2)
"SELECT b.num_releve as num"2
  • /htdocs/compta/bank/releve.php (2)
"SELECT b.rowid, b.dateo as do, b.datev as dv,"2
  • /htdocs/compta/bank/releve.php
  • /scripts/bank/export-bank-receipts.php
"DELETE FROM " . MAIN_DB_PREFIX . "categorie_account"2
  • /htdocs/compta/bank/class/bankcateg.class.php
  • /htdocs/compta/bank/class/account.class.php
"UPDATE " . MAIN_DB_PREFIX . "bank_account SET "2
  • /htdocs/compta/bank/class/account.class.php (2)
"SELECT sum(amount) as amount"2
  • /htdocs/compta/bank/class/account.class.php
  • /htdocs/salaries/class/salary.class.php
"SELECT b.rowid, b.datev as datefin"2
  • /htdocs/compta/bank/class/account.class.php
  • /htdocs/compta/paiement/cheque/class/remisecheque.class.php
" SELECT COUNT(ab.rowid) as nb FROM " . MAIN_DB_PREFIX . "accounting_bookkeeping as ab WHERE ab.doc_type='" . $this->db->escape($type) . "' AND ab.fk_doc = " . ((int) $this->id)2
  • /htdocs/compta/bank/class/account.class.php
  • /htdocs/expensereport/class/expensereport.class.php
'SELECT pf.amount'2
  • /htdocs/compta/facture/card.php
  • /htdocs/stripe/class/actions_stripe.class.php
'UPDATE ' . MAIN_DB_PREFIX . 'element_time'2
  • /htdocs/compta/facture/class/facture.class.php (2)
'UPDATE ' . MAIN_DB_PREFIX . 'facture SET'2
  • /htdocs/compta/facture/class/facture.class.php (2)
"UPDATE " . MAIN_DB_PREFIX . "facturedet SET"2
  • /htdocs/compta/facture/class/facture.class.php (2)
"SELECT pf.rowid, p.type,"2
  • /htdocs/compta/prelevement/factures.php (2)
"SELECT p.rowid, p.ref, p.amount, p.datec, p.statut"2
  • /htdocs/compta/prelevement/index.php
  • /htdocs/compta/paymentbybanktransfer/index.php
"SELECT sum(pl.amount), count(pl.amount)"2
  • /htdocs/compta/prelevement/stats.php (2)
"UPDATE " . MAIN_DB_PREFIX . "prelevement_bons"2
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
  • /htdocs/public/stripe/ipn.php
"SELECT soc.rowid as socid, soc.code_client as code, soc.address, soc.zip, soc.town, c.code as country_code,"2
  • /htdocs/compta/prelevement/class/bonprelevement.class.php (2)
"SELECT pl.amount"2
  • /htdocs/compta/prelevement/class/bonprelevement.class.php (2)
"SELECT sum(f.total_ht) as amount_ht, sum(f.total_ttc) as amount_ttc, date_format(f.datef,'%Y-%m') as dm"2
  • /htdocs/compta/resultat/index.php (2)
"SELECT sum(pf.amount) as amount_ttc, date_format(p.datep,'%Y-%m') as dm"2
  • /htdocs/compta/resultat/index.php (2)
"SELECT sum(f.total_tva) as amount, date_format(f.datef,'%Y-%m') as dm"2
  • /htdocs/compta/resultat/index.php (2)
"SELECT sum(t.amount) as amount, date_format(t.datev,'%Y-%m') as dm"2
  • /htdocs/compta/resultat/index.php (2)
"SELECT p.societe as nom, p.firstname, p.lastname, date_format(p.datedon,'%Y-%m') as dm, sum(p.amount) as amount"2
  • /htdocs/compta/resultat/index.php
  • /htdocs/compta/resultat/clientfourn.php
"SELECT s.nom as name, s.rowid as socid, sum(f.total_ht) as amount_ht, sum(f.total_ttc) as amount_ttc"2
  • /htdocs/compta/resultat/clientfourn.php (2)
"SELECT s.nom as name, s.rowid as socid, sum(pf.amount) as amount_ttc"2
  • /htdocs/compta/resultat/clientfourn.php (2)
"SELECT c.id, c.libelle as label, c.accountancy_code, sum(cs.amount) as amount"2
  • /htdocs/compta/resultat/clientfourn.php (2)
"SELECT c.id, c.libelle as label, c.accountancy_code, sum(p.amount) as amount"2
  • /htdocs/compta/resultat/clientfourn.php (2)
"SELECT date_format(f.datef,'%Y-%m') as dm, sum(f.total_tva) as amount"2
  • /htdocs/compta/resultat/clientfourn.php (2)
"SELECT date_format(t.datev,'%Y-%m') as dm, sum(t.amount) as amount"2
  • /htdocs/compta/resultat/clientfourn.php (2)
"SELECT date_format(f.datef,'%Y-%m') as dm, sum(f.total_ht) as amount, sum(f.total_ttc) as amount_ttc"2
  • /htdocs/compta/stats/index.php
  • /htdocs/compta/stats/supplier_turnover.php
'SELECT pf.fk_facture, pf.amount'2
  • /htdocs/compta/paiement/cheque/class/remisecheque.class.php
  • /htdocs/compta/paiement/class/paiement.class.php
"UPDATE " . MAIN_DB_PREFIX . 'bank'2
  • /htdocs/compta/paiement/class/paiement.class.php
  • /htdocs/salaries/class/paymentsalary.class.php
"SELECT p.rowid, p.num_payment as num_payment, p.datep as dp, p.amount,"2
  • /htdocs/salaries/card.php
  • /htdocs/salaries/virement_request.php
"SELECT pb.batch, pb.rowid, ps.fk_entrepot, pb.qty, e.ref as label, ps.fk_product"2
  • /htdocs/mrp/ajax/interface.php
  • /htdocs/product/class/html.formproduct.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "facture where ref='(PROV-POS" . $_SESSION["takeposterminal"] . "-" . $place . ")'"2
  • /htdocs/takepos/reduction.php
  • /htdocs/takepos/split.php
"SELECT code, libelle as label FROM " . MAIN_DB_PREFIX . "c_paiement"2
  • /htdocs/takepos/pay.php
  • /htdocs/takepos/admin/terminal.php
"UPDATE " . MAIN_DB_PREFIX . "facturedet set fk_facture=" . $placeid . " where rowid=" . $line2
  • /htdocs/takepos/split.php (2)
"SELECT f.rowid,"2
  • /htdocs/expensereport/class/expensereport.class.php
  • /htdocs/fichinter/class/fichinter.class.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "oauth_token"2
  • /htdocs/includes/OAuth/Common/Storage/DoliStorage.php (2)
"INSERT INTO " . $tabname[$id] . " ("2
  • /htdocs/admin/website.php
  • /htdocs/admin/mails_templates.php
"UPDATE " . $tabname[$id] . " SET "2
  • /htdocs/admin/website.php
  • /htdocs/admin/mails_templates.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "multicurrency WHERE entity = " . ((int) $conf->entity)2
  • /htdocs/admin/multicurrency.php
  • /htdocs/product/price_suppliers.php
"UPDATE " . MAIN_DB_PREFIX . "c_barcode_type"2
  • /htdocs/admin/barcode.php (2)
'UPDATE ' . MAIN_DB_PREFIX . "rights_def SET module_position = " . ((int) $newmoduleposition) . ","2
  • /htdocs/admin/perms.php
  • /htdocs/user/perms.php
"SHOW TABLE STATUS"2
  • /htdocs/admin/system/database-tables.php (2)
"SELECT m.rowid, m.position, m.type, m.fk_menu"2
  • /htdocs/admin/menus/index.php (2)
"SELECT m.rowid, m.position"2
  • /htdocs/admin/menus/index.php (2)
"SELECT c.label, count(*) as nb"2
  • /htdocs/societe/index.php
  • /htdocs/product/index.php
"SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur"2
  • /htdocs/societe/index.php (2)
"UPDATE " . MAIN_DB_PREFIX . "societe_rib as sr "2
  • /htdocs/societe/paymentmodes.php (2)
"SELECT n.rowid, n.type,"2
  • /htdocs/societe/notify/card.php
  • /htdocs/user/notify/card.php
"SELECT n.rowid, n.daten, n.email, n.objet_type as object_type, n.objet_id as object_id, n.type,"2
  • /htdocs/societe/notify/card.php
  • /htdocs/user/notify/card.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "societe_account WHERE fk_soc = " . ((int) $id) . " AND site = '" . $this->db->escape($request_data['site']) . "' "2
  • /htdocs/societe/class/api_thirdparties.class.php (2)
"SELECT sa.key_account as key_account, sa.entity"2
  • /htdocs/societe/class/societeaccount.class.php
  • /htdocs/stripe/class/stripe.class.php
"UPDATE " . MAIN_DB_PREFIX . "societe_rib SET default_rib = 1"2
  • /htdocs/societe/class/companybankaccount.class.php
  • /htdocs/societe/class/companypaymentmode.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "societe_perentity WHERE fk_soc = " . ((int) $this->id) . " AND entity = " . ((int) $conf->entity)2
  • /htdocs/societe/class/societe.class.php (2)
"INSERT INTO " . MAIN_DB_PREFIX . "societe_perentity ("2
  • /htdocs/societe/class/societe.class.php (2)
"UPDATE " . MAIN_DB_PREFIX . "societe "2
  • /htdocs/societe/class/societe.class.php (2)
"SELECT rowid, ref, total_ht, total_ttc, fk_statut as status FROM " . MAIN_DB_PREFIX . $table . " as f"2
  • /htdocs/societe/class/societe.class.php (2)
"SELECT c.rowid, c.entity, c.ref, c.fk_statut as status, date_cloture as datec, c.tms as datem,"2
  • /htdocs/comm/index.php
  • /htdocs/comm/propal/index.php
"SELECT SUM(rc.amount_ht) as amount, rc.fk_user"2
  • /htdocs/comm/remx.php (2)
" SELECT resource_id FROM " . MAIN_DB_PREFIX . "element_resources"2
  • /htdocs/comm/action/card.php (2)
"SELECT code, color, libelle as label FROM " . MAIN_DB_PREFIX . "c_actioncomm ORDER BY position"2
  • /htdocs/comm/action/peruser.php
  • /htdocs/comm/action/pertype.php
"SELECT a.id,"2
  • /htdocs/comm/action/class/actioncomm.class.php (2)
"DELETE FROM " . MAIN_DB_PREFIX . "actioncomm_reminder"2
  • /htdocs/comm/action/class/actioncomm.class.php (2)
"SELECT p.rowid as id, p.ref, s.nom"2
  • /htdocs/comm/propal/card.php
  • /htdocs/supplier_proposal/card.php
"UPDATE " . MAIN_DB_PREFIX . "propal "2
  • /htdocs/comm/propal/class/propal.class.php (2)
'UPDATE ' . MAIN_DB_PREFIX . 'propal'2
  • /htdocs/comm/propal/class/propal.class.php (2)
"SELECT c.rowid, "2
  • /htdocs/comm/propal/class/propal.class.php
  • /htdocs/supplier_proposal/class/supplier_proposal.class.php
"UPDATE " . MAIN_DB_PREFIX . "propaldet SET"2
  • /htdocs/comm/propal/class/propal.class.php (2)
"SELECT mc.rowid, mc.fk_mailing, mc.lastname, mc.firstname, mc.email, mc.other, mc.source_url, mc.source_id, mc.source_type, mc.tag"2
  • /htdocs/comm/mailing/card.php
  • /scripts/emailings/mailing-send.php
"UPDATE " . MAIN_DB_PREFIX . "societe SET fk_stcomm=2 WHERE rowid IN (SELECT source_id FROM " . MAIN_DB_PREFIX . "mailing_cibles WHERE rowid=" . ((int) $obj->rowid) . ")"2
  • /htdocs/comm/mailing/card.php
  • /scripts/emailings/mailing-send.php
"UPDATE " . MAIN_DB_PREFIX . "societe SET fk_stcomm=2 WHERE rowid IN (SELECT sc.fk_soc FROM " . MAIN_DB_PREFIX . "socpeople AS sc INNER JOIN " . MAIN_DB_PREFIX . "mailing_cibles AS mc ON mc.rowid=" . ((int) $obj->rowid) . " AND mc.source_type = 'contact' AND mc.source_id = sc.rowid)"2
  • /htdocs/comm/mailing/card.php
  • /scripts/emailings/mailing-send.php
"SELECT mc.rowid, mc.lastname, mc.firstname, mc.email, mc.other, mc.statut as status, mc.date_envoi, mc.tms,"2
  • /htdocs/comm/mailing/cibles.php (2)
"DELETE FROM " . MAIN_DB_PREFIX . "mailing_cibles WHERE rowid = " . ((int) $rowid)2
  • /htdocs/comm/mailing/cibles.php
  • /htdocs/comm/mailing/advtargetemailing.php
"UPDATE " . MAIN_DB_PREFIX . "mailing "2
  • /htdocs/comm/mailing/class/mailing.class.php (2)
"DELETE FROM " . $this->db->prefix( ) . "user_rights"2
  • /htdocs/user/class/user.class.php (2)
"SELECT COUNT(*) as nb FROM " . $this->db->prefix( ) . "user WHERE entity IN (" . $this->db->sanitize((int) $this->entity) . ", 0) AND login = '" . $this->db->escape($this->login) . "'"2
  • /htdocs/user/class/user.class.php (2)
"SELECT COUNT(*) as nb FROM " . $this->db->prefix( ) . "user WHERE entity IN (" . $this->db->sanitize((int) $this->entity) . ", 0) AND email = '" . $this->db->escape($this->email) . "'"2
  • /htdocs/user/class/user.class.php (2)
"UPDATE " . $this->db->prefix( ) . "user SET"2
  • /htdocs/user/class/user.class.php (2)
"DELETE FROM " . $this->db->prefix( ) . "usergroup_user"2
  • /htdocs/user/class/user.class.php (2)
"SELECT rowid, label, fk_user, entity"2
  • /htdocs/imports/import.php
  • /htdocs/exports/export.php
"SELECT e.rowid, e.ref as label, e.lieu, e.statut as status"2
  • /htdocs/product/index.php
  • /htdocs/product/stock/index.php
"SELECT p.rowid, p.label as produit, p.tobatch, p.tosell, p.tobuy,"2
  • /htdocs/product/index.php
  • /htdocs/product/stock/index.php
'SELECT p.rowid, p.ref, p.label, p.barcode, p.price, p.price_ttc, p.price_base_type, p.entity,'2
  • /htdocs/product/reassortlot.php
  • /htdocs/product/reassort.php
" SELECT cp.fk_categorie, cp.fk_product"2
  • /htdocs/product/reassortlot.php
  • /htdocs/product/reassort.php
"DELETE FROM " . MAIN_DB_PREFIX . "product_price_by_qty"2
  • /htdocs/product/price.php (2)
"SELECT rowid, name, alias, title, align, sort, search, visible, enabled, rang"2
  • /htdocs/product/canvas/product/actions_card_product.class.php
  • /htdocs/product/canvas/service/actions_card_service.class.php
'DELETE FROM ' . $this->db->prefix( ) . 'inventorydet WHERE fk_inventory = ' . ((int) $this->id)2
  • /htdocs/product/inventory/class/inventory.class.php (2)
"DELETE FROM " . $this->db->prefix( ) . "product_perentity WHERE fk_product = " . ((int) $this->id) . " AND entity = " . ((int) $conf->entity)2
  • /htdocs/product/class/product.class.php (2)
"INSERT INTO " . $this->db->prefix( ) . "product_perentity ("2
  • /htdocs/product/class/product.class.php (2)
"DELETE FROM " . $this->db->prefix( ) . $table2
  • /htdocs/product/class/product.class.php
  • /htdocs/product/stock/class/entrepot.class.php
"DELETE FROM " . $this->db->prefix( ) . "product_association"2
  • /htdocs/product/class/product.class.php (2)
"UPDATE " . $this->db->prefix( ) . "product_lang"2
  • /htdocs/product/class/product.class.php (2)
"INSERT INTO " . $this->db->prefix( ) . "product_lang (fk_product, lang, label, description"2
  • /htdocs/product/class/product.class.php (2)
"SELECT pfp.rowid, pfp.price as price, pfp.quantity as quantity, pfp.remise_percent, pfp.fk_soc,"2
  • /htdocs/product/class/product.class.php (2)
"SELECT COUNT(DISTINCT f.fk_soc) as nb_customers, COUNT(DISTINCT f.rowid) as nb,"2
  • /htdocs/product/class/product.class.php (2)
"SELECT sum(d.qty) as qty, date_format(f.datef, '%Y%m')"2
  • /htdocs/product/class/product.class.php (2)
"SELECT sum(d.qty) as qty, date_format(c.date_commande, '%Y%m')"2
  • /htdocs/product/class/product.class.php (2)
"SELECT t.rowid, t.ref, t.ref_ext"2
  • /htdocs/product/class/api_products.class.php (2)
"SELECT MAX(m.datem) as datem"2
  • /htdocs/product/stock/movement_list.php
  • /htdocs/product/stock/movement_card.php
"SELECT DISTINCT s.nom as name, s.rowid as socid, s.code_fournisseur,"2
  • /htdocs/product/stock/stats/commande_fournisseur.php
  • /htdocs/product/stock/stats/reception.php
"SELECT rowid, type, description, parameters, fk_variable, update_interval, next_update, last_status"2
  • /htdocs/product/dynamic_price/class/price_global_variable_updater.class.php (2)
"SELECT DISTINCT s.nom as name, s.rowid as socid, p.rowid as propalid, p.ref, d.total_ht as amount,"2
  • /htdocs/product/stats/propal.php
  • /htdocs/product/stats/supplier_proposal.php
"SELECT b.rowid as rowid, b.ref, b.status, b.date_valid, b.fk_product,"2
  • /htdocs/product/stats/bom.php (2)
"UPDATE " . MAIN_DB_PREFIX . "supplier_proposaldet SET"2
  • /htdocs/supplier_proposal/class/supplier_proposal.class.php (2)
"SELECT e.rowid, e.ref, e.ref_supplier,"2
  • /htdocs/reception/index.php (2)
"UPDATE " . MAIN_DB_PREFIX . "reception SET"2
  • /htdocs/reception/class/reception.class.php (2)
"UPDATE " . MAIN_DB_PREFIX . "projet"2
  • /htdocs/projet/class/project.class.php (2)
"UPDATE " . MAIN_DB_PREFIX . $tableName2
  • /htdocs/projet/class/project.class.php (2)
"SELECT ptt.rowid as taskid, ptt.element_duration, ptt.element_date, ptt.element_datehour, ptt.fk_element"2
  • /htdocs/projet/class/project.class.php (2)
"SELECT date_format(t.datec,'%m') as dm, count(t.opp_amount)"2
  • /htdocs/projet/class/projectstats.class.php (2)
"SELECT thm FROM " . MAIN_DB_PREFIX . "user WHERE rowid = " . ((int) $timespent->fk_user)2
  • /htdocs/projet/class/task.class.php (2)
"INSERT INTO " . MAIN_DB_PREFIX . "societe_account (fk_soc, login, key_account, site, site_account, status, entity, date_creation, fk_user_creat)"2
  • /htdocs/public/payment/paymentok.php
  • /htdocs/stripe/class/stripe.class.php
"SELECT COUNT(ref) as nb_confs"2
  • /htdocs/public/project/suggestconference.php
  • /htdocs/public/project/suggestbooth.php
"SELECT e.rowid, e.rowid as ref, e.label, e.address, e.zip, e.town, e.status"2
  • /htdocs/hrm/admin/admin_establishment.php
  • /htdocs/api/class/api_setup.class.php
"SELECT date_format(c.date_valid,'%m') as dm, 0"2
  • /htdocs/fichinter/class/fichinterstats.class.php (2)
"SELECT rowid, code, label, use_default, pos, description"2
  • /htdocs/ticket/class/ticket.class.php (2)
"SELECT rowid, code, label, module"2
  • /htdocs/api/class/api_setup.class.php (2)
"SELECT id, code, type, libelle as label, module"2
  • /htdocs/api/class/api_setup.class.php (2)
"SELECT t.rowid as id, t.name, t.entity, t.elementtype, t.label, t.type, t.size, t.fieldcomputed, t.fielddefault,"2
  • /htdocs/api/class/api_setup.class.php (2)
"SELECT t.rowid as id"2
  • /htdocs/api/class/api_setup.class.php (2)
"SELECT rowid, code, pos, label, use_default, description"2
  • /htdocs/api/class/api_setup.class.php (2)
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filename = CONCAT('" . $this->db->escape($this->newref) . "', SUBSTR(filename, " . (strlen($this->ref) + 1) . ")), filepath = 'partnership/" . $this->db->escape($this->newref) . "'"2
  • /htdocs/partnership/class/partnership.class.php (2)
'UPDATE ' . MAIN_DB_PREFIX . "ecm_files set filepath = 'partnership/" . $this->db->escape($this->newref) . "'"2
  • /htdocs/partnership/class/partnership.class.php (2)
"UPDATE " . MAIN_DB_PREFIX . "categorie"2
  • /htdocs/categories/class/categorie.class.php (2)
"SELECT fk_parent as id_parent, rowid as id_son"2
  • /htdocs/categories/class/categorie.class.php
  • /htdocs/ecm/class/ecmdirectory.class.php
"UPDATE " . MAIN_DB_PREFIX . "categorie_lang"2
  • /htdocs/categories/class/categorie.class.php (2)
"INSERT INTO " . MAIN_DB_PREFIX . "categorie_lang (fk_category, lang, label, description)"2
  • /htdocs/categories/class/categorie.class.php (2)
"UPDATE " . MAIN_DB_PREFIX . "societe_rib"2
  • /htdocs/stripe/class/stripe.class.php (2)
"SELECT rowid FROM " . MAIN_DB_PREFIX . "product"2
  • /dev/initdata/generate-product.php
  • /dev/initdata/generate-thirdparty.php
"SELECT COUNT(rowid) as nb FROM " . MAIN_DB_PREFIX . "user WHERE admin <> 1"3
  • /htdocs/admin/modules.php (2)
  • /htdocs/modulebuilder/index.php
"UPDATE " . MAIN_DB_PREFIX . "expedition"3
  • /htdocs/expedition/class/expedition.class.php (2)
  • /htdocs/core/ajax/onlineSign.php
"DELETE FROM " . MAIN_DB_PREFIX . "expeditiondet"3
  • /htdocs/expedition/class/expedition.class.php (3)
"SELECT date_format(c.date_valid,'%m') as dm, COUNT(*) as nb"3
  • /htdocs/expedition/class/expeditionstats.class.php
  • /htdocs/reception/class/receptionstats.class.php
  • /htdocs/fichinter/class/fichinterstats.class.php
"SELECT c.rowid"3
  • /htdocs/contrat/class/contrat.class.php
  • /htdocs/datapolicy/class/datapolicy.class.php
  • /htdocs/categories/class/categorie.class.php
'UPDATE ' . MAIN_DB_PREFIX . "opensurvey_user_studs"3
  • /htdocs/opensurvey/results.php (2)
  • /htdocs/public/opensurvey/studs.php
'UPDATE ' . MAIN_DB_PREFIX . "opensurvey_sondage"3
  • /htdocs/opensurvey/results.php (3)
"SELECT ctc.code, ctc.source, ec.fk_socpeople FROM " . MAIN_DB_PREFIX . "element_contact as ec, " . MAIN_DB_PREFIX . "c_type_contact as ctc"3
  • /htdocs/contrat/class/contrat.class.php
  • /htdocs/commande/class/commande.class.php
  • /htdocs/compta/facture/class/facture.class.php
"UPDATE " . MAIN_DB_PREFIX . "holiday SET"3
  • /htdocs/holiday/class/holiday.class.php (3)
"UPDATE " . MAIN_DB_PREFIX . "adherent"3
  • /htdocs/adherents/class/adherent.class.php
  • /htdocs/societe/card.php
  • /htdocs/societe/class/societe.class.php
"UPDATE " . MAIN_DB_PREFIX . "facture set ref='(PROV-POS" . $_SESSION["takeposterminal"] . "-" . $place . ")' where rowid = " . ((int) $placeid)3
  • /htdocs/contact/list.php
  • /htdocs/takepos/invoice.php
  • /htdocs/societe/list.php
"UPDATE " . MAIN_DB_PREFIX . "loan SET"3
  • /htdocs/loan/class/loan.class.php (3)
"DELETE FROM " . MAIN_DB_PREFIX . "bank_url"3
  • /htdocs/loan/class/paymentloan.class.php
  • /htdocs/don/class/paymentdonation.class.php
  • /htdocs/expensereport/class/paymentexpensereport.class.php
"UPDATE " . MAIN_DB_PREFIX . $this->table_element . " SET position = " . ((int) $position)3
  • /htdocs/variants/class/ProductAttribute.class.php (3)
" UPDATE " . MAIN_DB_PREFIX . "accounting_bookkeeping"3
  • /htdocs/accountancy/bookkeeping/export.php
  • /htdocs/accountancy/class/api_accountancy.class.php
  • /htdocs/accountancy/class/bookkeeping.class.php
"INSERT INTO " . $db->sanitize($tabname[$id]) . " ("3
  • /htdocs/accountancy/admin/categories_list.php
  • /htdocs/accountancy/admin/journals_list.php
  • /htdocs/accountancy/admin/accountmodel.php
"UPDATE " . $db->sanitize($tabname[$id]) . " SET "3
  • /htdocs/accountancy/admin/categories_list.php
  • /htdocs/accountancy/admin/journals_list.php
  • /htdocs/accountancy/admin/accountmodel.php
"DELETE from " . $db->sanitize($tabname[$id]) . " WHERE " . $db->sanitize($rowidcol) . " = " . ((int) $rowid)3
  • /htdocs/accountancy/admin/categories_list.php
  • /htdocs/accountancy/admin/journals_list.php
  • /htdocs/accountancy/admin/accountmodel.php
'DELETE FROM ' . MAIN_DB_PREFIX . $this->table_element . '_tmp WHERE piece_num = ' . ((int) $piece_num) . ' AND entity = ' . ((int) $conf->entity)3
  • /htdocs/accountancy/class/bookkeeping.class.php (3)
"INSERT INTO " . MAIN_DB_PREFIX . "paiement_facture (fk_facture, fk_paiement, amount)"3
  • /htdocs/install/upgrade2.php (3)
"SELECT cd.rowid, cd.qty, cd.subprice, cd.remise_percent, cd.tva_tx as vatrate, cd.info_bits,"3
  • /htdocs/install/upgrade2.php (3)
"UPDATE " . MAIN_DB_PREFIX . "livraison SET"3
  • /htdocs/install/upgrade2.php (3)
"INSERT INTO " . MAIN_DB_PREFIX . "element_element ("3
  • /htdocs/install/upgrade2.php (2)
  • /htdocs/fourn/commande/list.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "facture"3
  • /htdocs/core/actions_massactions.inc.php
  • /htdocs/takepos/invoice.php
  • /htdocs/takepos/pay.php
"SELECT id, code, label"3
  • /htdocs/core/class/html.form.class.php
  • /htdocs/compta/deplacement/class/deplacement.class.php
  • /htdocs/expensereport/class/expensereport.class.php
'UPDATE ' . $this->db->prefix( ) . $this->table_element . ' SET'3
  • /htdocs/core/class/ctyperesource.class.php
  • /htdocs/product/stock/class/productlot.class.php
  • /htdocs/product/stock/class/productstockentrepot.class.php
'DELETE FROM ' . $this->db->prefix( ) . $this->table_element3
  • /htdocs/core/class/ctyperesource.class.php
  • /htdocs/product/stock/class/productlot.class.php
  • /htdocs/product/stock/class/productstockentrepot.class.php
"DELETE FROM " . $this->db->prefix( ) . "extrafields"3
  • /htdocs/core/class/extrafields.class.php (3)
"SELECT rowid FROM " . $this->db->prefix( ) . $this->table_element_line3
  • /htdocs/core/class/commonobject.class.php (3)
"UPDATE " . $this->db->prefix( ) . $this->table_element_line . " SET " . $fieldposition . " = " . ((int) $rang)3
  • /htdocs/core/class/commonobject.class.php (3)
"SELECT COUNT(pfd.rowid) as nb"3
  • /htdocs/core/lib/invoice.lib.php
  • /htdocs/core/lib/fourn.lib.php
  • /htdocs/core/lib/salaries.lib.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity, libelle, description)"3
  • /htdocs/societe/admin/societe.php (2)
  • /htdocs/core/lib/admin.lib.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model"3
  • /htdocs/societe/admin/societe.php (2)
  • /htdocs/core/lib/admin.lib.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('standard_" . strtolower($myTmpObjectKey) . "','" . $this->db->escape(strtolower($myTmpObjectKey)) . "'," . ((int) $conf->entity) . ")"3
  • /htdocs/core/modules/modEventOrganization.class.php
  • /htdocs/core/modules/modWorkstation.class.php
  • /htdocs/core/modules/modRecruitment.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "boxes"3
  • /htdocs/core/modules/DolibarrModules.class.php
  • /htdocs/admin/boxes.php
  • /htdocs/admin/external_rss.php
"INSERT INTO " . MAIN_DB_PREFIX . "emailcollector_emailcollectorfilter (fk_emailcollector, type, rulevalue, date_creation, fk_user_creat, status)"3
  • /htdocs/core/modules/modEmailCollector.class.php (3)
"INSERT INTO " . MAIN_DB_PREFIX . "emailcollector_emailcollectoraction (fk_emailcollector, type, date_creation, fk_user_creat, status)"3
  • /htdocs/core/modules/modEmailCollector.class.php (3)
"SELECT rowid, label, type, visible"3
  • /htdocs/core/modules/mailings/fraise.modules.php
  • /htdocs/core/modules/mailings/thirdparties.modules.php
  • /htdocs/core/modules/mailings/advthirdparties.modules.php
"SELECT c.label, count(distinct(sp.email)) AS nb"3
  • /htdocs/core/modules/mailings/contacts1.modules.php (3)
"SELECT p.rowid, p.ref as product_ref, p.label as produit, p.tobatch, p.fk_product_type as type, p.entity,"3
  • /htdocs/core/modules/movement/doc/pdf_standard.modules.php
  • /htdocs/mrp/mo_movements.php
  • /htdocs/product/stock/movement_card.php
'UPDATE ' . MAIN_DB_PREFIX . 'commande_fournisseur'3
  • /htdocs/fourn/commande/card.php (3)
"SELECT count(f.rowid) as nb"3
  • /htdocs/fourn/class/fournisseur.facture.class.php
  • /htdocs/compta/facture/class/facture.class.php
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
'SELECT rowid'3
  • /htdocs/fourn/class/fournisseur.facture-rec.class.php
  • /htdocs/user/class/user.class.php
  • /htdocs/product/admin/product_tools.php
" SELECT ec.fk_c_type_contact, ec.element_id, ec.fk_socpeople"3
  • /htdocs/commande/list.php
  • /htdocs/compta/facture/list.php
  • /htdocs/comm/propal/list.php
"DELETE FROM " . MAIN_DB_PREFIX . $tabletodelete . " WHERE " . $this->fk_element . " = " . ((int) $this->id)3
  • /htdocs/commande/class/commande.class.php
  • /htdocs/expensereport/class/expensereport.class.php
  • /htdocs/comm/propal/class/propal.class.php
"SELECT product.ref, COUNT(product.ref) as nb, SUM(tl." . $this->field_line . ") as total, AVG(tl." . $this->field_line . ") as avg"3
  • /htdocs/commande/class/commandestats.class.php
  • /htdocs/compta/facture/class/facturestats.class.php
  • /htdocs/comm/propal/class/propalestats.class.php
'SELECT sum(amount) as amount'3
  • /htdocs/compta/sociales/class/chargesociales.class.php
  • /htdocs/compta/tva/class/tva.class.php
  • /htdocs/expensereport/class/expensereport.class.php
"UPDATE " . MAIN_DB_PREFIX . "tva SET"3
  • /htdocs/compta/tva/class/tva.class.php (3)
"SELECT date_format(b.datev,'%Y%m%d')"3
  • /htdocs/compta/bank/graph.php (3)
"SELECT count(b.rowid) as nb"3
  • /htdocs/compta/bank/class/account.class.php
  • /htdocs/compta/paiement/cheque/index.php
  • /htdocs/compta/paiement/cheque/class/remisecheque.class.php
"SELECT pfd.rowid, pfd.traite, pfd.date_demande as date_demande,"3
  • /htdocs/salaries/virement_request.php (2)
  • /htdocs/compta/facture/prelevement.php
"SELECT date_format(datef,'%m') as dm, AVG(f." . $this->field . ")"3
  • /htdocs/compta/facture/class/facturestats.class.php
  • /htdocs/projet/class/taskstats.class.php
  • /htdocs/projet/class/projectstats.class.php
"UPDATE " . MAIN_DB_PREFIX . "facture"3
  • /htdocs/compta/facture/class/facture.class.php (2)
  • /htdocs/takepos/invoice.php
"UPDATE " . MAIN_DB_PREFIX . "salary SET"3
  • /htdocs/salaries/class/salary.class.php (3)
"SELECT COUNT(t.rowid) as nb, status"3
  • /htdocs/recruitment/index.php (2)
  • /htdocs/mrp/index.php
"DELETE FROM " . MAIN_DB_PREFIX . $table3
  • /htdocs/website/class/websitepage.class.php
  • /htdocs/knowledgemanagement/class/knowledgerecord.class.php
  • /htdocs/projet/class/project.class.php
"SELECT code, libelle FROM " . MAIN_DB_PREFIX . "c_paiement"3
  • /htdocs/takepos/index.php
  • /htdocs/takepos/admin/other.php
  • /htdocs/takepos/admin/setup.php
"SHOW FULL COLUMNS IN " . $db->sanitize($table)3
  • /htdocs/admin/system/dbtable.php (3)
"SELECT count(*) as nb from " . MAIN_DB_PREFIX . "facture where fk_soc = " . ((int) $socid)3
  • /htdocs/societe/paymentmodes.php (2)
  • /htdocs/societe/consumption.php
"UPDATE " . MAIN_DB_PREFIX . "societe"3
  • /htdocs/societe/class/societe.class.php (2)
  • /htdocs/barcode/codeinit.php
'SELECT id.rowid, id.datec as date_creation, id.tms as date_modification, id.fk_inventory, id.fk_warehouse,'3
  • /htdocs/product/inventory/inventory.php (3)
"SELECT price, price_ttc, price_min, price_min_ttc,"3
  • /htdocs/product/class/product.class.php (3)
"DELETE FROM " . $this->db->prefix( ) . "propal_merge_pdf_product"3
  • /htdocs/product/class/propalmergepdfproduct.class.php (3)
"SELECT COUNT(*) as nb FROM " . $this->db->prefix( ) . "product_attribute_combination2val as pac2v"3
  • /htdocs/product/class/api_products.class.php (3)
"UPDATE " . MAIN_DB_PREFIX . "reception"3
  • /htdocs/reception/class/reception.class.php (3)
'UPDATE ' . MAIN_DB_PREFIX . 'element_time SET invoice_line_id = ' . ((int) $lineid) . ', invoice_id = ' . ((int) $tmpinvoice->id)3
  • /htdocs/projet/tasks/time.php (3)
'SELECT ec.rowid FROM ' . MAIN_DB_PREFIX . 'element_contact as ec, ' . MAIN_DB_PREFIX . 'c_type_contact as tc WHERE tc.rowid = ec.fk_c_type_contact'3
  • /htdocs/projet/activity/perday.php
  • /htdocs/projet/activity/perweek.php
  • /htdocs/projet/activity/permonth.php
"UPDATE " . MAIN_DB_PREFIX . "projet_task"3
  • /htdocs/projet/class/task.class.php (3)
"UPDATE " . MAIN_DB_PREFIX . "fichinter"3
  • /htdocs/fichinter/class/fichinter.class.php (3)
"UPDATE " . MAIN_DB_PREFIX . "fichinter "3
  • /htdocs/fichinter/class/fichinter.class.php (3)
"SELECT rowid FROM " . MAIN_DB_PREFIX . "categorie"3
  • /htdocs/categories/class/categorie.class.php (3)
"UPDATE " . MAIN_DB_PREFIX . "ecm_directories SET"3
  • /htdocs/ecm/class/ecmdirectory.class.php (3)
"SELECT rowid FROM " . MAIN_DB_PREFIX . "product WHERE tosell=1"3
  • /dev/initdata/generate-invoice.php
  • /dev/initdata/generate-order.php
  • /dev/initdata/generate-proposal.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "commande"3
  • /dev/initdata/generate-order.php
  • /dev/initdata/generate-product.php
  • /dev/initdata/generate-thirdparty.php
"UPDATE " . MAIN_DB_PREFIX . "expedition SET"4
  • /htdocs/expedition/class/expedition.class.php (2)
  • /htdocs/install/upgrade2.php (2)
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = 'standard_" . strtolower($myTmpObjectKey) . "' AND type = '" . $this->db->escape(strtolower($myTmpObjectKey)) . "' AND entity = " . ((int) $conf->entity)4
  • /htdocs/modulebuilder/template/core/modules/modMyModule.class.php
  • /htdocs/core/modules/modEventOrganization.class.php
  • /htdocs/core/modules/modWorkstation.class.php
  • /htdocs/core/modules/modRecruitment.class.php
"DELETE FROM " . MAIN_DB_PREFIX . "document_model WHERE nom = 'generic_" . strtolower($myTmpObjectKey) . "_odt' AND type = '" . $this->db->escape(strtolower($myTmpObjectKey)) . "' AND entity = " . ((int) $conf->entity)4
  • /htdocs/modulebuilder/template/core/modules/modMyModule.class.php
  • /htdocs/core/modules/modEventOrganization.class.php
  • /htdocs/core/modules/modWorkstation.class.php
  • /htdocs/core/modules/modRecruitment.class.php
"INSERT INTO " . MAIN_DB_PREFIX . "document_model (nom, type, entity) VALUES('generic_" . strtolower($myTmpObjectKey) . "_odt', '" . $this->db->escape(strtolower($myTmpObjectKey)) . "', " . ((int) $conf->entity) . ")"4
  • /htdocs/modulebuilder/template/core/modules/modMyModule.class.php
  • /htdocs/core/modules/modEventOrganization.class.php
  • /htdocs/core/modules/modWorkstation.class.php
  • /htdocs/core/modules/modRecruitment.class.php
"SELECT cd.fk_product, cd.subprice,"4
  • /htdocs/expedition/class/expedition.class.php (2)
  • /htdocs/reception/class/reception.class.php (2)
"SELECT rowid,"4
  • /htdocs/modulebuilder/template/class/myobject.class.php
  • /htdocs/core/class/timespent.class.php
  • /htdocs/bookcal/class/calendar.class.php
  • /htdocs/bookcal/class/availabilities.class.php
"INSERT INTO " . MAIN_DB_PREFIX . $this->table_element . "("4
  • /htdocs/multicurrency/class/multicurrency.class.php (2)
  • /htdocs/reception/class/receptionlinebatch.class.php
  • /htdocs/resource/class/dolresource.class.php
'DELETE FROM ' . MAIN_DB_PREFIX . $this->table_element4
  • /htdocs/multicurrency/class/multicurrency.class.php
  • /htdocs/compta/sociales/class/cchargesociales.class.php
  • /htdocs/compta/paiement/class/cpaiement.class.php
  • /htdocs/ecm/class/ecmfiles.class.php
"SELECT id_users, nom as name, id_sondage, reponses"4
  • /htdocs/opensurvey/results.php (3)
  • /htdocs/public/opensurvey/studs.php
"SELECT rowid FROM " . MAIN_DB_PREFIX . "adherent"4
  • /htdocs/adherents/class/adherent.class.php (2)
  • /htdocs/adherents/card.php
  • /htdocs/adherents/subscription.php
"SELECT count(mc.email) as nb"4
  • /htdocs/adherents/class/adherent.class.php
  • /htdocs/contact/class/contact.class.php
  • /htdocs/societe/class/societe.class.php
  • /htdocs/user/class/user.class.php
"DELETE FROM " . MAIN_DB_PREFIX . $this->table_element . " WHERE rowid = " . ((int) $this->id)4
  • /htdocs/variants/class/ProductAttributeValue.class.php
  • /htdocs/commande/class/commande.class.php
  • /htdocs/expensereport/class/expensereport.class.php
  • /htdocs/comm/propal/class/propal.class.php
"SELECT date_start, date_end from " . MAIN_DB_PREFIX . "accounting_fiscalyear "4
  • /htdocs/accountancy/bookkeeping/export.php
  • /htdocs/accountancy/bookkeeping/list.php
  • /htdocs/accountancy/bookkeeping/listbyaccount.php
  • /htdocs/accountancy/bookkeeping/balance.php
"SELECT count(*) as nb"4
  • /htdocs/accountancy/class/bookkeeping.class.php
  • /htdocs/core/modules/DolibarrModules.class.php
  • /htdocs/core/modules/mailings/thirdparties_services_expired.modules.php
  • /htdocs/product/class/product.class.php
'SELECT rowid, socialnetworks'4
  • /htdocs/install/upgrade2.php (4)
"SELECT count(rowid) as nb"4
  • /htdocs/core/class/commoninvoice.class.php
  • /htdocs/core/class/fiscalyear.class.php
  • /htdocs/salaries/class/salary.class.php
  • /htdocs/user/class/user.class.php
"SELECT rowid, code, label, active"4
  • /htdocs/core/class/html.form.class.php
  • /htdocs/resource/class/dolresource.class.php
  • /scripts/user/sync_users_ldap2dolibarr.php
  • /scripts/members/sync_members_ldap2dolibarr.php
'INSERT INTO ' . $this->db->prefix( ) . $this->table_element . '('4
  • /htdocs/core/class/cgenericdic.class.php
  • /htdocs/core/class/ctyperesource.class.php
  • /htdocs/product/stock/class/productlot.class.php
  • /htdocs/product/stock/class/productstockentrepot.class.php
"INSERT INTO " . $this->db->prefix( ) . $this->table_element . " ("4
  • /htdocs/core/class/comment.class.php
  • /htdocs/product/dynamic_price/class/price_expression.class.php
  • /htdocs/product/dynamic_price/class/price_global_variable_updater.class.php
  • /htdocs/product/dynamic_price/class/price_global_variable.class.php
"SELECT d.rowid, d.product_type as dtype, d." . $fk_facture . " as facid, d.$f_rate as rate, d.total_ht as total_ht, d.total_ttc as total_ttc, d." . $total_tva . " as total_vat, d.description as descr,"4
  • /htdocs/core/lib/tax.lib.php (4)
"SELECT d.rowid, d.product_type as dtype, d." . $fk_facture . " as facid, d.$f_rate as rate, d.vat_src_code as vat_src_code, d.total_ht as total_ht, d.total_ttc as total_ttc, d." . $total_tva . " as total_vat, d.description as descr,"4
  • /htdocs/core/lib/tax.lib.php (4)
"SELECT code, label FROM " . MAIN_DB_PREFIX . "c_socialnetworks WHERE active = 1"4
  • /htdocs/core/modules/modSociete.class.php (4)
"SELECT count(distinct(s.email)) as nb"4
  • /htdocs/core/modules/mailings/partnership.modules.php (2)
  • /htdocs/core/modules/mailings/thirdparties.modules.php
  • /htdocs/core/modules/mailings/advthirdparties.modules.php
"SELECT MAX(CAST(SUBSTRING(batch FROM " . $posindice . ") AS SIGNED)) as max"4
  • /htdocs/core/modules/product_batch/mod_lot_standard.php (2)
  • /htdocs/core/modules/product_batch/mod_sn_standard.php (2)
"SELECT ref as ref"4
  • /htdocs/core/modules/facture/mod_facture_mars.php
  • /htdocs/core/modules/facture/mod_facture_terre.php
  • /htdocs/core/modules/takepos/mod_takepos_ref_simple.php
  • /htdocs/core/modules/supplier_invoice/mod_facture_fournisseur_cactus.php
"SELECT max(m.datem) as datem"4
  • /htdocs/core/modules/movement/doc/pdf_standard.modules.php
  • /htdocs/core/modules/stock/doc/pdf_standard.modules.php
  • /htdocs/product/stock/card.php
  • /htdocs/product/stock/product.php
"SELECT pfd.rowid, pfd.traite, pfd.date_demande as date_demande"4
  • /htdocs/fourn/facture/list.php
  • /htdocs/compta/facture/list.php
  • /htdocs/compta/facture/prelevement.php
  • /htdocs/salaries/list.php
'UPDATE ' . MAIN_DB_PREFIX . 'commande'4
  • /htdocs/commande/class/commande.class.php (4)
"SELECT s.rowid, s.nom as name, s.client,"4
  • /htdocs/commande/class/commande.class.php
  • /htdocs/compta/facture/class/facture.class.php
  • /htdocs/comm/propal/class/propal.class.php
  • /htdocs/supplier_proposal/class/supplier_proposal.class.php
'INSERT INTO ' . MAIN_DB_PREFIX . $this->table_element . '('4
  • /htdocs/compta/sociales/class/cchargesociales.class.php
  • /htdocs/compta/paiement/class/cpaiement.class.php
  • /htdocs/website/class/website.class.php
  • /htdocs/ecm/class/ecmfiles.class.php
'UPDATE ' . MAIN_DB_PREFIX . $this->table_element . ' SET'4
  • /htdocs/compta/sociales/class/cchargesociales.class.php
  • /htdocs/compta/paiement/class/cpaiement.class.php
  • /htdocs/website/class/website.class.php
  • /htdocs/ecm/class/ecmfiles.class.php
"SELECT SUM(b.amount)"4
  • /htdocs/compta/bank/graph.php (2)
  • /htdocs/compta/bank/annuel.php (2)
"SELECT date_format(b.datev,'%m')"4
  • /htdocs/compta/bank/graph.php (2)
  • /htdocs/compta/bank/annuel.php (2)
"SELECT sum(b.amount) as amount"4
  • /htdocs/compta/bank/releve.php (3)
  • /scripts/bank/export-bank-receipts.php
'UPDATE ' . MAIN_DB_PREFIX . 'facture'4
  • /htdocs/compta/facture/class/facture.class.php (3)
  • /htdocs/compta/facture/card.php
"UPDATE " . MAIN_DB_PREFIX . "oauth_token"4
  • /htdocs/includes/OAuth/Common/Storage/DoliStorage.php (2)
  • /htdocs/admin/oauth.php
  • /htdocs/societe/paymentmodes.php
"UPDATE " . MAIN_DB_PREFIX . "boxes SET box_order = '" . $db->escape($box_order) . "' WHERE entity = " . $conf->entity . " AND box_order = '" . $db->escape($record['box_order']) . "'"4
  • /htdocs/admin/boxes.php (4)
"SELECT r.id, r.libelle as label, r.module, r.perms, r.subperms, r.module_position, r.bydefault"4
  • /htdocs/user/perms.php (2)
  • /htdocs/admin/perms.php
  • /htdocs/user/group/perms.php
"UPDATE " . MAIN_DB_PREFIX . "menu as m"4
  • /htdocs/admin/menus/index.php (4)
"SELECT er.rowid, r.ref as r_ref, ac.id as ac_id, ac.label as ac_label"4
  • /htdocs/comm/action/card.php (2)
  • /htdocs/resource/element_resource.php (2)
"INSERT INTO " . MAIN_DB_PREFIX . "actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status)"4
  • /htdocs/comm/action/class/actioncomm.class.php (4)
"SELECT module, perms, subperms"4
  • /htdocs/user/class/user.class.php (2)
  • /htdocs/user/class/usergroup.class.php (2)
"SELECT COUNT(DISTINCT c.fk_soc) as nb_customers, COUNT(DISTINCT c.rowid) as nb,"4
  • /htdocs/product/class/product.class.php (3)
  • /htdocs/product/stock/class/productlot.class.php
"SELECT DISTINCT s.nom as name, s.rowid as socid, s.code_client,"4
  • /htdocs/product/stock/stats/expedition.php
  • /htdocs/product/stats/commande_fournisseur.php
  • /htdocs/product/stats/facture.php
  • /htdocs/product/stats/facturerec.php
"UPDATE " . MAIN_DB_PREFIX . "supplier_proposal"4
  • /htdocs/supplier_proposal/class/supplier_proposal.class.php (4)
"SELECT p.rowid, p.ref, p.title, p.public, SUM(tt.element_duration) as nb"4
  • /htdocs/projet/activity/index.php (4)
"UPDATE " . MAIN_DB_PREFIX . "ecm_directories set cachenbofdoc = -1 WHERE cachenbofdoc < 0"4
  • /htdocs/ecm/index.php
  • /htdocs/ecm/index_medias.php
  • /htdocs/ecm/index_auto.php
  • /htdocs/ecm/ajax/ecmdatabase.php
"SELECT rowid, date_creation as datec, tms as datem,"5
  • /htdocs/webhook/class/target.class.php
  • /htdocs/asset/class/asset.class.php
  • /htdocs/asset/class/assetmodel.class.php
  • /htdocs/product/class/productfournisseurprice.class.php
  • /htdocs/partnership/class/partnership_type.class.php
"UPDATE " . MAIN_DB_PREFIX . "adherent SET"5
  • /htdocs/adherents/class/adherent.class.php (5)
"SELECT COUNT(rowid) as nb FROM " . MAIN_DB_PREFIX . "accounting_fiscalyear WHERE entity = " . ((int) $conf->entity)5
  • /htdocs/accountancy/journal/bankjournal.php
  • /htdocs/accountancy/journal/expensereportsjournal.php
  • /htdocs/accountancy/journal/variousjournal.php
  • /htdocs/accountancy/journal/purchasesjournal.php
  • /htdocs/accountancy/journal/sellsjournal.php
"SELECT id"5
  • /htdocs/user/class/user.class.php (2)
  • /htdocs/user/class/usergroup.class.php (2)
  • /htdocs/install/upgrade2.php
"SELECT code, label"5
  • /htdocs/core/class/html.formcompany.class.php (2)
  • /htdocs/core/modules/mailings/contacts1.modules.php (2)
  • /htdocs/comm/mailing/class/html.formadvtargetemailing.class.php
'UPDATE ' . $this->db->prefix( ) . $this->table_element5
  • /htdocs/core/class/commonobject.class.php (5)
"DELETE FROM " . MAIN_DB_PREFIX . "notify_def"5
  • /htdocs/compta/prelevement/class/bonprelevement.class.php (2)
  • /htdocs/core/class/notify.class.php
  • /htdocs/societe/notify/card.php
  • /htdocs/user/notify/card.php
"INSERT INTO " . MAIN_DB_PREFIX . "emailcollector_emailcollector (entity, ref, label, description, source_directory, date_creation, fk_user_creat, status)"5
  • /htdocs/core/modules/modEmailCollector.class.php (5)
"SELECT rowid FROM " . MAIN_DB_PREFIX . "societe"5
  • /htdocs/core/modules/societe/mod_codeclient_elephant.php
  • /htdocs/core/modules/societe/mod_codeclient_monkey.php
  • /htdocs/ticket/class/ticket.class.php
  • /dev/initdata/generate-product.php
  • /dev/initdata/generate-thirdparty.php
"UPDATE " . MAIN_DB_PREFIX . "product_fournisseur_price"5
  • /htdocs/fourn/commande/dispatch.php (2)
  • /htdocs/fourn/class/fournisseur.product.class.php (2)
  • /htdocs/reception/dispatch.php
"SELECT sum(p.amount) as total"5
  • /htdocs/don/payment/payment.php
  • /htdocs/compta/paiement_vat.php
  • /htdocs/compta/paiement_charge.php
  • /htdocs/salaries/paiement_salary.php
  • /htdocs/expensereport/payment/payment.php
"UPDATE " . MAIN_DB_PREFIX . "commande"5
  • /htdocs/commande/class/commande.class.php (5)
"UPDATE " . MAIN_DB_PREFIX . "bank"5
  • /htdocs/compta/paiement/cheque/class/remisecheque.class.php (3)
  • /htdocs/compta/bank/line.php (2)
"UPDATE " . MAIN_DB_PREFIX . "bank SET"5
  • /htdocs/compta/bank/class/account.class.php (5)
"UPDATE " . MAIN_DB_PREFIX . "bordereau_cheque"5
  • /htdocs/compta/paiement/cheque/class/remisecheque.class.php (5)
"UPDATE " . MAIN_DB_PREFIX . "user"5
  • /htdocs/user/card.php (3)
  • /htdocs/admin/security.php
  • /htdocs/api/class/api_login.class.php
"SELECT count(p.rowid) as nb"5
  • /htdocs/comm/propal/class/propal.class.php
  • /htdocs/supplier_proposal/class/supplier_proposal.class.php
  • /htdocs/projet/class/project.class.php
  • /htdocs/projet/class/task.class.php
  • /htdocs/ticket/class/ticket.class.php
"UPDATE " . MAIN_DB_PREFIX . "mailing_cibles"5
  • /htdocs/comm/mailing/card.php (2)
  • /scripts/emailings/mailing-send.php (2)
  • /htdocs/comm/mailing/class/mailing.class.php
"SELECT s.rowid"5
  • /htdocs/product/class/productcustomerprice.class.php
  • /htdocs/public/bookcal/index.php
  • /htdocs/datapolicy/class/datapolicy.class.php
  • /htdocs/emailcollector/class/emailcollector.class.php
  • /htdocs/categories/class/categorie.class.php
"SELECT ctc.rowid, ctc.code FROM " . MAIN_DB_PREFIX . "c_type_contact as ctc"5
  • /htdocs/projet/tasks/list.php (2)
  • /htdocs/projet/activity/index.php (2)
  • /htdocs/projet/class/project.class.php
"INSERT INTO " . MAIN_DB_PREFIX . $this->table_element . " ("6
  • /htdocs/expedition/class/expeditionlinebatch.class.php
  • /htdocs/variants/class/ProductAttribute.class.php
  • /htdocs/variants/class/ProductCombination.class.php
  • /htdocs/variants/class/ProductAttributeValue.class.php
  • /htdocs/accountancy/class/bookkeeping.class.php
  • /htdocs/expensereport/class/expensereport.class.php
"SELECT " . $db->ifsql('aa.account_number IS NULL', "'tobind'", 'aa.account_number') . " AS codecomptable,"6
  • /htdocs/accountancy/expensereport/index.php (2)
  • /htdocs/accountancy/supplier/index.php (2)
  • /htdocs/accountancy/customer/index.php (2)
"SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc,"6
  • /htdocs/fourn/facture/card.php (2)
  • /htdocs/compta/facture/card.php (2)
  • /htdocs/core/class/html.form.class.php
  • /htdocs/compta/facture/class/api_invoices.class.php
"SELECT rowid, code, libelle as label"6
  • /htdocs/core/class/html.form.class.php
  • /htdocs/core/class/html.formbarcode.class.php
  • /htdocs/core/class/html.formorder.class.php
  • /htdocs/core/modules/barcode/mod_barcode_thirdparty_standard.php
  • /htdocs/core/modules/barcode/mod_barcode_product_standard.php
  • /htdocs/fourn/class/fournisseur.commande.class.php
"DELETE FROM " . $this->db->prefix( ) . $this->table_element6
  • /htdocs/core/class/cgenericdic.class.php
  • /htdocs/core/class/cproductnature.class.php
  • /htdocs/core/class/comment.class.php
  • /htdocs/product/dynamic_price/class/price_expression.class.php
  • /htdocs/product/dynamic_price/class/price_global_variable_updater.class.php
  • /htdocs/product/dynamic_price/class/price_global_variable.class.php
"SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount"6
  • /htdocs/core/class/discount.class.php (6)
"INSERT INTO " . MAIN_DB_PREFIX . "emailcollector_emailcollectorfilter (fk_emailcollector, type, date_creation, fk_user_creat, status)"6
  • /htdocs/core/modules/modEmailCollector.class.php (6)
"UPDATE " . $this->db->prefix( ) . "commande_fournisseur"6
  • /htdocs/fourn/class/fournisseur.commande.class.php (6)
'UPDATE ' . MAIN_DB_PREFIX . 'societe_remise_except'6
  • /htdocs/fourn/class/fournisseur.facture.class.php (3)
  • /htdocs/compta/facture/class/facture.class.php (3)
"SELECT rc.rowid, rc.amount_ht, rc.amount_tva, rc.amount_ttc, rc.tva_tx, rc.vat_src_code,"6
  • /htdocs/comm/remx.php (6)
"UPDATE " . $this->db->prefix( ) . "user"6
  • /htdocs/user/class/user.class.php (6)
"UPDATE " . MAIN_DB_PREFIX . "ticket"6
  • /htdocs/ticket/class/ticket.class.php (6)
"SELECT COUNT(rowid) as nb"7
  • /htdocs/core/class/discount.class.php (2)
  • /htdocs/accountancy/journal/variousjournal.php
  • /htdocs/core/class/extrafields.class.php
  • /htdocs/core/lib/website.lib.php
  • /htdocs/compta/bank/class/account.class.php
  • /htdocs/comm/mailing/class/mailing.class.php
"SELECT COUNT(n.rowid) as nb"7
  • /htdocs/core/lib/company.lib.php (5)
  • /htdocs/core/lib/member.lib.php
  • /htdocs/core/lib/usergroups.lib.php
'SELECT DISTINCT'8
  • /htdocs/expedition/list.php
  • /htdocs/fourn/commande/list.php
  • /htdocs/fourn/facture/list.php
  • /htdocs/commande/list.php
  • /htdocs/commande/list_det.php
  • /htdocs/compta/facture/list.php
  • /htdocs/comm/propal/list.php
  • /htdocs/supplier_proposal/list.php
"SELECT rowid, label"8
  • /htdocs/admin/order.php (2)
  • /htdocs/admin/propal.php (2)
  • /htdocs/core/class/html.form.class.php
  • /htdocs/compta/bank/categ.php
  • /htdocs/admin/invoice.php
  • /htdocs/societe/class/societe.class.php
"SELECT COUNT(id) as nb"8
  • /htdocs/core/lib/invoice.lib.php (2)
  • /htdocs/core/lib/member.lib.php
  • /htdocs/core/lib/fichinter.lib.php
  • /htdocs/core/lib/order.lib.php
  • /htdocs/core/lib/contract.lib.php
  • /htdocs/core/lib/company.lib.php
  • /htdocs/core/lib/propal.lib.php
"SELECT COUNT(dbt." . $dbt_select . ") as nb"8
  • /htdocs/core/lib/security.lib.php (8)
"DELETE FROM " . MAIN_DB_PREFIX . "const"8
  • /htdocs/core/modules/DolibarrModules.class.php (6)
  • /htdocs/core/lib/admin.lib.php (2)
"UPDATE " . MAIN_DB_PREFIX . "propal"8
  • /htdocs/comm/propal/class/propal.class.php (6)
  • /htdocs/core/ajax/onlineSign.php
  • /htdocs/public/onlinesign/newonlinesign.php
"UPDATE " . MAIN_DB_PREFIX . $this->table_element . " SET"9
  • /htdocs/expensereport/class/expensereport.class.php (2)
  • /htdocs/expedition/class/expedition.class.php
  • /htdocs/multicurrency/class/multicurrency.class.php
  • /htdocs/loan/class/loanschedule.class.php
  • /htdocs/variants/class/ProductAttribute.class.php
  • /htdocs/variants/class/ProductAttributeValue.class.php
  • /htdocs/reception/class/receptionlinebatch.class.php
  • /htdocs/resource/class/dolresource.class.php
"DELETE FROM " . MAIN_DB_PREFIX . $this->table_element9
  • /htdocs/expedition/class/expeditionlinebatch.class.php
  • /htdocs/multicurrency/class/multicurrency.class.php
  • /htdocs/loan/class/loanschedule.class.php
  • /htdocs/variants/class/ProductAttribute.class.php
  • /htdocs/variants/class/ProductCombination.class.php
  • /htdocs/compta/bank/class/account.class.php
  • /htdocs/user/class/userbankaccount.class.php
  • /htdocs/reception/class/receptionlinebatch.class.php
  • /htdocs/resource/class/dolresource.class.php
" SELECT cat_cus.fk_soc"9
  • /htdocs/contrat/list.php (3)
  • /htdocs/projet/list.php (3)
  • /htdocs/projet/tasks/list.php (3)
"UPDATE " . $this->db->prefix( ) . $this->table_element . " SET"9
  • /htdocs/product/dynamic_price/class/price_global_variable_updater.class.php (3)
  • /htdocs/fourn/class/fournisseur.commande.class.php (2)
  • /htdocs/core/class/cproductnature.class.php
  • /htdocs/core/class/comment.class.php
  • /htdocs/product/dynamic_price/class/price_expression.class.php
  • /htdocs/product/dynamic_price/class/price_global_variable.class.php
"SELECT " . $keyList11
  • /htdocs/core/class/extrafields.class.php (4)
  • /htdocs/core/class/commonobject.class.php (4)
  • /htdocs/webportal/class/html.formwebportal.class.php (3)
"SELECT t.rowid, t.code, t.recuperableonly, t.localtax1, t.localtax2, t.localtax1_type, t.localtax2_type"11
  • /htdocs/product/price.php (9)
  • /htdocs/societe/price.php
  • /htdocs/product/card.php
"SELECT COUNT(*) as nb"12
  • /htdocs/admin/system/perf.php (6)
  • /htdocs/install/repair.php (2)
  • /htdocs/projet/class/task.class.php (2)
  • /htdocs/core/class/commonobject.class.php
  • /htdocs/societe/class/societe.class.php
"SELECT label"12
  • /htdocs/core/modules/movement/doc/pdf_standard.modules.php
  • /htdocs/core/modules/stock/doc/pdf_standard.modules.php
  • /htdocs/core/boxes/box_produits_alerte_stock.php
  • /htdocs/core/boxes/box_produits.php
  • /htdocs/compta/bank/releve.php
  • /htdocs/mrp/mo_movements.php
  • /htdocs/product/popuprop.php
  • /htdocs/product/index.php
  • /htdocs/product/reassortlot.php
  • /htdocs/product/list.php
  • /htdocs/product/stock/card.php
  • /htdocs/product/stock/movement_list.php
"UPDATE " . $this->db->prefix( ) . $this->table_element13
  • /htdocs/core/class/commonobject.class.php (11)
  • /htdocs/core/class/commonincoterm.class.php
  • /htdocs/product/class/productfournisseurprice.class.php
"SELECT s.rowid as socid, s.nom as name, s.name_alias"14
  • /htdocs/comm/index.php (3)
  • /htdocs/core/boxes/box_fournisseurs.php
  • /htdocs/core/boxes/box_prospect.php
  • /htdocs/core/boxes/box_supplier_orders.php
  • /htdocs/core/boxes/box_customers_outstanding_bill_reached.php
  • /htdocs/core/boxes/box_factures_fourn_imp.php
  • /htdocs/core/boxes/box_supplier_orders_awaiting_reception.php
  • /htdocs/core/boxes/box_propales.php
  • /htdocs/core/boxes/box_factures_fourn.php
  • /htdocs/core/boxes/box_shipments.php
  • /htdocs/core/boxes/box_commandes.php
  • /htdocs/core/boxes/box_clients.php
'UPDATE ' . MAIN_DB_PREFIX . $this->table_element21
  • /htdocs/compta/facture/class/facture-rec.class.php (6)
  • /htdocs/expensereport/class/expensereport.class.php (5)
  • /htdocs/fichinter/class/fichinterrec.class.php (5)
  • /htdocs/compta/facture/class/facture.class.php (2)
  • /htdocs/variants/class/ProductCombination.class.php
  • /htdocs/commande/class/commande.class.php
  • /htdocs/fichinter/class/fichinter.class.php
'SELECT rowid, date_creation as datec, tms as datem,'25
  • /htdocs/bom/class/bom.class.php (2)
  • /htdocs/workstation/class/workstation.class.php
  • /htdocs/zapier/class/hook.class.php
  • /htdocs/recruitment/class/recruitmentcandidature.class.php
  • /htdocs/recruitment/class/recruitmentjobposition.class.php
  • /htdocs/mrp/class/mo.class.php
  • /htdocs/eventorganization/class/conferenceorboothattendee.class.php
  • /htdocs/societe/class/societeaccount.class.php
  • /htdocs/societe/class/companypaymentmode.class.php
  • /htdocs/product/stock/stocktransfer/class/stocktransfer.class.php
  • /htdocs/product/stock/stocktransfer/class/stocktransferline.class.php
  • /htdocs/knowledgemanagement/class/knowledgerecord.class.php
  • /htdocs/hrm/class/position.class.php
  • /htdocs/hrm/class/skilldet.class.php
  • /htdocs/hrm/class/evaluationdet.class.php
  • /htdocs/hrm/class/job.class.php
  • /htdocs/hrm/class/evaluation.class.php
  • /htdocs/hrm/class/skillrank.class.php
  • /htdocs/hrm/class/skill.class.php
  • /htdocs/emailcollector/class/emailcollector.class.php
  • /htdocs/emailcollector/class/emailcollectoraction.class.php
  • /htdocs/emailcollector/class/emailcollectorfilter.class.php
  • /htdocs/ticket/class/cticketcategory.class.php
  • /htdocs/partnership/class/partnership.class.php
"SELECT "26
  • /htdocs/core/class/html.form.class.php (4)
  • /htdocs/projet/class/task.class.php (2)
  • /htdocs/modulebuilder/template/class/myobject.class.php
  • /htdocs/webhook/class/target.class.php
  • /htdocs/variants/class/ProductAttributeValue.class.php
  • /htdocs/core/customreports.php
  • /htdocs/core/class/defaultvalues.class.php
  • /htdocs/core/class/timespent.class.php
  • /htdocs/core/lib/admin.lib.php
  • /htdocs/core/db/pgsql.class.php
  • /htdocs/core/modules/societe/mod_codecompta_aquarium.php
  • /htdocs/core/boxes/box_services_expired.php
  • /htdocs/asset/class/asset.class.php
  • /htdocs/asset/class/assetmodel.class.php
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
  • /htdocs/bookcal/class/calendar.class.php
  • /htdocs/bookcal/class/availabilities.class.php
  • /htdocs/product/class/productfournisseurprice.class.php
  • /htdocs/product/class/api_products.class.php
  • /htdocs/webportal/class/html.formlistwebportal.class.php
  • /htdocs/resource/class/dolresource.class.php
  • /htdocs/partnership/class/partnership_type.class.php
"SELECT rowid"34
  • /htdocs/product/class/product.class.php (3)
  • /htdocs/adherents/class/adherent_type.class.php (2)
  • /htdocs/core/class/commoninvoice.class.php (2)
  • /htdocs/admin/translation.php (2)
  • /htdocs/contrat/class/contrat.class.php
  • /htdocs/adherents/class/api_subscriptions.class.php
  • /htdocs/webservices/server_user.php
  • /htdocs/core/class/commonobject.class.php
  • /htdocs/fourn/class/fournisseur.commande.class.php
  • /htdocs/fourn/class/fournisseur.facture.class.php
  • /htdocs/fourn/class/fournisseur.class.php
  • /htdocs/don/class/don.class.php
  • /htdocs/commande/class/commande.class.php
  • /htdocs/compta/facture/class/facture-rec.class.php
  • /htdocs/compta/facture/class/facture.class.php
  • /htdocs/compta/prelevement/class/bonprelevement.class.php
  • /htdocs/societe/class/api_thirdparties.class.php
  • /htdocs/comm/propal/class/propal.class.php
  • /htdocs/product/dynamic_price/class/price_expression.class.php
  • /htdocs/supplier_proposal/class/supplier_proposal.class.php
  • /htdocs/hrm/class/job.class.php
  • /htdocs/delivery/class/delivery.class.php
  • /htdocs/barcode/codeinit.php
  • /htdocs/categories/class/categorie.class.php
  • /scripts/user/sync_users_dolibarr2ldap.php
  • /scripts/user/sync_groups_dolibarr2ldap.php
  • /scripts/members/sync_members_types_dolibarr2ldap.php
  • /scripts/members/sync_members_dolibarr2ldap.php
  • /scripts/company/sync_contacts_dolibarr2ldap.php
"SELECT nom"36
  • /htdocs/projet/admin/project.php (2)
  • /htdocs/modulebuilder/template/admin/setup.php
  • /htdocs/asset/admin/setup.php
  • /htdocs/don/admin/donation.php
  • /htdocs/recruitment/admin/setup_candidatures.php
  • /htdocs/recruitment/admin/setup.php
  • /htdocs/admin/mrp.php
  • /htdocs/admin/supplier_invoice.php
  • /htdocs/admin/order.php
  • /htdocs/admin/agenda_other.php
  • /htdocs/admin/delivery.php
  • /htdocs/admin/stock.php
  • /htdocs/admin/expensereport.php
  • /htdocs/admin/ticket.php
  • /htdocs/admin/user.php
  • /htdocs/admin/supplier_order.php
  • /htdocs/admin/propal.php
  • /htdocs/admin/holiday.php
  • /htdocs/admin/workstation.php
  • /htdocs/admin/invoice.php
  • /htdocs/admin/hrm.php
  • /htdocs/admin/supplier_proposal.php
  • /htdocs/admin/stocktransfer.php
  • /htdocs/admin/bank.php
  • /htdocs/admin/supplier_payment.php
  • /htdocs/admin/knowledgemanagement.php
  • /htdocs/admin/fichinter.php
  • /htdocs/admin/contract.php
  • /htdocs/admin/reception_setup.php
  • /htdocs/admin/bom.php
  • /htdocs/admin/usergroup.php
  • /htdocs/admin/expedition.php
  • /htdocs/societe/admin/societe.php
  • /htdocs/product/admin/product.php
  • /htdocs/product/admin/product_lot.php
"SELECT t.rowid"37
  • /htdocs/adherents/class/api_members.class.php (2)
  • /htdocs/core/lib/project.lib.php (2)
  • /htdocs/recruitment/class/api_recruitments.class.php (2)
  • /htdocs/user/class/api_users.class.php (2)
  • /htdocs/expedition/class/api_shipments.class.php
  • /htdocs/modulebuilder/template/class/api_mymodule.class.php
  • /htdocs/multicurrency/class/api_multicurrencies.class.php
  • /htdocs/contrat/class/api_contracts.class.php
  • /htdocs/bom/class/api_boms.class.php
  • /htdocs/fourn/class/api_supplier_invoices.class.php
  • /htdocs/fourn/class/api_supplier_orders.class.php
  • /htdocs/don/class/api_donations.class.php
  • /htdocs/commande/class/api_orders.class.php
  • /htdocs/zapier/class/api_zapier.class.php
  • /htdocs/compta/facture/class/api_invoices.class.php
  • /htdocs/mrp/class/api_mos.class.php
  • /htdocs/expensereport/class/api_expensereports.class.php
  • /htdocs/societe/class/api_thirdparties.class.php
  • /htdocs/societe/class/api_contacts.class.php
  • /htdocs/societe/class/societe.class.php
  • /htdocs/comm/propal/class/api_proposals.class.php
  • /htdocs/user/class/user.class.php
  • /htdocs/product/stock/class/api_warehouses.class.php
  • /htdocs/product/stock/class/api_stockmovements.class.php
  • /htdocs/supplier_proposal/class/api_supplier_proposals.class.php
  • /htdocs/reception/class/api_receptions.class.php
  • /htdocs/knowledgemanagement/class/api_knowledgemanagement.class.php
  • /htdocs/projet/class/api_tasks.class.php
  • /htdocs/projet/class/api_projects.class.php
  • /htdocs/fichinter/class/api_interventions.class.php
  • /htdocs/ticket/class/api_tickets.class.php
  • /htdocs/partnership/class/api_partnerships.class.php
  • /htdocs/categories/class/api_categories.class.php
"UPDATE " . MAIN_DB_PREFIX . $this->table_element38
  • /htdocs/fourn/class/fournisseur.facture-rec.class.php (6)
  • /htdocs/compta/paiement/class/paiement.class.php (2)
  • /htdocs/recruitment/class/recruitmentjobposition.class.php (2)
  • /htdocs/partnership/class/partnership.class.php (2)
  • /htdocs/modulebuilder/template/class/myobject.class.php
  • /htdocs/webhook/class/target.class.php
  • /htdocs/multicurrency/class/multicurrency.class.php
  • /htdocs/bom/class/bom.class.php
  • /htdocs/core/class/timespent.class.php
  • /htdocs/asset/class/assetmodel.class.php
  • /htdocs/fourn/class/fournisseur.facture.class.php
  • /htdocs/salaries/class/paymentsalary.class.php
  • /htdocs/bookcal/class/calendar.class.php
  • /htdocs/bookcal/class/availabilities.class.php
  • /htdocs/recruitment/class/recruitmentcandidature.class.php
  • /htdocs/mrp/class/mo.class.php
  • /htdocs/expensereport/class/expensereport.class.php
  • /htdocs/eventorganization/class/conferenceorbooth.class.php
  • /htdocs/eventorganization/class/conferenceorboothattendee.class.php
  • /htdocs/societe/class/societe.class.php
  • /htdocs/product/stock/stocktransfer/class/stocktransfer.class.php
  • /htdocs/product/stock/stocktransfer/class/stocktransferline.class.php
  • /htdocs/knowledgemanagement/class/knowledgerecord.class.php
  • /htdocs/hrm/class/position.class.php
  • /htdocs/hrm/class/skilldet.class.php
  • /htdocs/hrm/class/evaluationdet.class.php
  • /htdocs/hrm/class/job.class.php
  • /htdocs/hrm/class/evaluation.class.php
  • /htdocs/hrm/class/skillrank.class.php
  • /htdocs/hrm/class/skill.class.php
'SELECT DISTINCT '52
  • /htdocs/core/modules/modCategorie.class.php (8)
  • /htdocs/core/modules/modService.class.php (4)
  • /htdocs/core/modules/modProduct.class.php (4)
  • /htdocs/core/modules/modStock.class.php (4)
  • /htdocs/core/modules/modFournisseur.class.php (3)
  • /htdocs/core/modules/modBanque.class.php (2)
  • /htdocs/core/modules/modUser.class.php (2)
  • /htdocs/core/modules/modFacture.class.php (2)
  • /htdocs/core/modules/modSociete.class.php (2)
  • /htdocs/core/modules/modMrp.class.php
  • /htdocs/core/modules/modCommande.class.php
  • /htdocs/core/modules/modSalaries.class.php
  • /htdocs/core/modules/modEventOrganization.class.php
  • /htdocs/core/modules/modTicket.class.php
  • /htdocs/core/modules/modAgenda.class.php
  • /htdocs/core/modules/modWebsite.class.php
  • /htdocs/core/modules/modAccounting.class.php
  • /htdocs/core/modules/modExpedition.class.php
  • /htdocs/core/modules/modBom.class.php
  • /htdocs/core/modules/modPropale.class.php
  • /htdocs/core/modules/modContrat.class.php
  • /htdocs/core/modules/modFicheinter.class.php
  • /htdocs/core/modules/modAdherent.class.php
  • /htdocs/core/modules/modResource.class.php
  • /htdocs/core/modules/modReception.class.php
  • /htdocs/core/modules/modTax.class.php
  • /htdocs/core/modules/modProjet.class.php
  • /htdocs/core/modules/modDeplacement.class.php
  • /htdocs/core/modules/modHoliday.class.php
  • /htdocs/core/modules/modExpenseReport.class.php
'SELECT '57
  • /htdocs/mrp/class/mo.class.php (3)
  • /htdocs/bom/class/bom.class.php (2)
  • /htdocs/workstation/workstation_list.php
  • /htdocs/workstation/class/workstation.class.php
  • /htdocs/modulebuilder/template/myobject_list.php
  • /htdocs/webhook/target_list.php
  • /htdocs/contrat/index.php
  • /htdocs/opensurvey/class/opensurveysondage.class.php
  • /htdocs/bom/bom_list.php
  • /htdocs/core/modules/modBanque.class.php
  • /htdocs/asset/list.php
  • /htdocs/asset/model/list.php
  • /htdocs/compta/cashcontrol/cashcontrol_list.php
  • /htdocs/bookcal/availabilities_list.php
  • /htdocs/bookcal/calendar_list.php
  • /htdocs/recruitment/recruitmentjobposition_list.php
  • /htdocs/recruitment/recruitmentcandidature_list.php
  • /htdocs/recruitment/class/recruitmentcandidature.class.php
  • /htdocs/recruitment/class/recruitmentjobposition.class.php
  • /htdocs/mrp/mo_list.php
  • /htdocs/admin/emailcollector_list.php
  • /htdocs/admin/mails_senderprofile_list.php
  • /htdocs/eventorganization/conferenceorboothattendee_list.php
  • /htdocs/eventorganization/conferenceorbooth_list.php
  • /htdocs/eventorganization/class/conferenceorbooth.class.php
  • /htdocs/eventorganization/class/conferenceorboothattendee.class.php
  • /htdocs/societe/website.php
  • /htdocs/comm/action/index.php
  • /htdocs/comm/action/class/actioncomm.class.php
  • /htdocs/product/inventory/list.php
  • /htdocs/product/stock/productlot_list.php
  • /htdocs/product/stock/list.php
  • /htdocs/product/stock/stocktransfer/stocktransfer_list.php
  • /htdocs/product/stock/stocktransfer/class/stocktransfer.class.php
  • /htdocs/product/stock/stocktransfer/class/stocktransferline.class.php
  • /htdocs/knowledgemanagement/knowledgerecord_list.php
  • /htdocs/knowledgemanagement/class/knowledgerecord.class.php
  • /htdocs/hrm/position.php
  • /htdocs/hrm/skill_card.php
  • /htdocs/hrm/job_list.php
  • /htdocs/hrm/evaluation_list.php
  • /htdocs/hrm/position_list.php
  • /htdocs/hrm/skill_list.php
  • /htdocs/hrm/class/position.class.php
  • /htdocs/hrm/class/skilldet.class.php
  • /htdocs/hrm/class/evaluationdet.class.php
  • /htdocs/hrm/class/job.class.php
  • /htdocs/hrm/class/evaluation.class.php
  • /htdocs/hrm/class/skillrank.class.php
  • /htdocs/hrm/class/skill.class.php
  • /htdocs/ticket/list.php
  • /htdocs/ticket/class/cticketcategory.class.php
  • /htdocs/partnership/partnership_list.php
  • /htdocs/partnership/class/partnership.class.php
'SELECT COUNT(*) as nbtotalofrecords'68
  • /htdocs/accountancy/bookkeeping/export.php (2)
  • /htdocs/workstation/workstation_list.php
  • /htdocs/expedition/list.php
  • /htdocs/modulebuilder/template/myobject_list.php
  • /htdocs/webhook/target_list.php
  • /htdocs/intracommreport/list.php
  • /htdocs/contrat/list.php
  • /htdocs/holiday/list.php
  • /htdocs/adherents/type.php
  • /htdocs/adherents/list.php
  • /htdocs/adherents/subscription/list.php
  • /htdocs/contact/list.php
  • /htdocs/loan/list.php
  • /htdocs/accountancy/bookkeeping/list.php
  • /htdocs/bom/bom_list.php
  • /htdocs/asset/list.php
  • /htdocs/fourn/commande/list.php
  • /htdocs/fourn/facture/list-rec.php
  • /htdocs/fourn/facture/list.php
  • /htdocs/fourn/product/list.php
  • /htdocs/don/list.php
  • /htdocs/don/paiement/list.php
  • /htdocs/commande/list.php
  • /htdocs/compta/tva/list.php
  • /htdocs/compta/bank/list.php
  • /htdocs/compta/bank/various_payment/list.php
  • /htdocs/compta/facture/invoicetemplate_list.php
  • /htdocs/compta/facture/list.php
  • /htdocs/compta/cashcontrol/cashcontrol_list.php
  • /htdocs/compta/prelevement/orders_list.php
  • /htdocs/compta/prelevement/list.php
  • /htdocs/compta/prelevement/line.php
  • /htdocs/compta/paiement/cheque/list.php
  • /htdocs/salaries/list.php
  • /htdocs/bookcal/availabilities_list.php
  • /htdocs/bookcal/calendar_list.php
  • /htdocs/recruitment/recruitmentcandidature_list.php
  • /htdocs/mrp/mo_list.php
  • /htdocs/expensereport/list.php
  • /htdocs/admin/mails_senderprofile_list.php
  • /htdocs/eventorganization/conferenceorboothattendee_list.php
  • /htdocs/eventorganization/conferenceorbooth_list.php
  • /htdocs/societe/list.php
  • /htdocs/comm/action/list.php
  • /htdocs/comm/propal/list.php
  • /htdocs/comm/mailing/list.php
  • /htdocs/user/list.php
  • /htdocs/product/list.php
  • /htdocs/product/inventory/list.php
  • /htdocs/product/stock/productlot_list.php
  • /htdocs/product/stock/movement_list.php
  • /htdocs/product/stock/list.php
  • /htdocs/product/stock/stocktransfer/stocktransfer_list.php
  • /htdocs/reception/list.php
  • /htdocs/knowledgemanagement/knowledgerecord_list.php
  • /htdocs/projet/list.php
  • /htdocs/projet/tasks/time.php
  • /htdocs/projet/tasks/list.php
  • /htdocs/public/members/public_list.php
  • /htdocs/bookmarks/list.php
  • /htdocs/hrm/evaluation_list.php
  • /htdocs/hrm/skill_list.php
  • /htdocs/fichinter/list.php
  • /htdocs/ticket/list.php
  • /htdocs/webportal/class/html.formlistwebportal.class.php
  • /htdocs/resource/list.php
  • /htdocs/partnership/partnership_list.php
"SELECT MAX(CAST(SUBSTRING(ref FROM " . $posindice . ") AS SIGNED)) as max"68
  • /htdocs/core/modules/facture/mod_facture_terre.php (4)
  • /htdocs/core/modules/supplier_invoice/mod_facture_fournisseur_cactus.php (4)
  • /htdocs/modulebuilder/template/core/modules/mymodule/mod_myobject_standard.php (2)
  • /htdocs/core/modules/workstation/mod_workstation_standard.php (2)
  • /htdocs/core/modules/expedition/mod_expedition_safor.php (2)
  • /htdocs/core/modules/supplier_payment/mod_supplier_payment_bronan.php (2)
  • /htdocs/core/modules/holiday/mod_holiday_madonna.php (2)
  • /htdocs/core/modules/contract/mod_contract_serpis.php (2)
  • /htdocs/core/modules/bom/mod_bom_standard.php (2)
  • /htdocs/core/modules/asset/mod_asset_standard.php (2)
  • /htdocs/core/modules/commande/mod_commande_marbre.php (2)
  • /htdocs/core/modules/cheque/mod_chequereceipt_mint.php (2)
  • /htdocs/core/modules/propale/mod_propale_marbre.php (2)
  • /htdocs/core/modules/payment/mod_payment_cicada.php (2)
  • /htdocs/core/modules/mrp/mod_mo_standard.php (2)
  • /htdocs/core/modules/member/mod_member_advanced.php (2)
  • /htdocs/core/modules/takepos/mod_takepos_ref_simple.php (2)
  • /htdocs/core/modules/expensereport/mod_expensereport_jade.php (2)
  • /htdocs/core/modules/supplier_proposal/mod_supplier_proposal_marbre.php (2)
  • /htdocs/core/modules/reception/mod_reception_beryl.php (2)
  • /htdocs/core/modules/project/mod_project_simple.php (2)
  • /htdocs/core/modules/hrm/mod_evaluation_standard.php (2)
  • /htdocs/core/modules/fichinter/mod_pacific.php (2)
  • /htdocs/core/modules/stocktransfer/mod_stocktransfer_standard.php (2)
  • /htdocs/core/modules/delivery/mod_delivery_jade.php (2)
  • /htdocs/core/modules/ticket/mod_ticket_simple.php (2)
  • /htdocs/core/modules/supplier_order/mod_commande_fournisseur_muguet.php (2)
  • /htdocs/recruitment/core/modules/recruitment/mod_recruitmentcandidature_standard.php (2)
  • /htdocs/recruitment/core/modules/recruitment/mod_recruitmentjobposition_standard.php (2)
  • /htdocs/knowledgemanagement/core/modules/knowledgemanagement/mod_knowledgerecord_standard.php (2)
  • /htdocs/partnership/core/modules/partnership/mod_partnership_standard.php (2)
  • /htdocs/core/modules/facture/mod_facture_mars.php
  • /htdocs/core/modules/project/task/mod_task_simple.php