2020-02-15 16:40:49 DEBUG 78.157.25.48 - This is an already logged session. _SESSION['dol_login']=martin.d@gs.com.mk _SESSION['dol_entity']=1 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note as note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_int, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM llxv3_user as u LEFT JOIN llxv3_c_country as c ON u.fk_country = c.rowid LEFT JOIN llxv3_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'martin.d@gs.com.mk' ORDER BY u.entity ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT rowid,name,label,type,size,elementtype,fieldunique,fieldrequired,param,pos,alwayseditable,perms,langs,list,totalizable,fielddefault,fieldcomputed,entity,enabled,help FROM llxv3_extrafields WHERE elementtype = 'user' ORDER BY pos 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT param, value FROM llxv3_user_param WHERE fk_user = 1 AND entity = 1 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT rowid, entity, type, page, param, value FROM llxv3_default_values WHERE entity IN (1) AND user_id IN (0, 1) 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM llxv3_user_rights as ur, llxv3_rights_def as r WHERE r.id = ur.fk_id AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM llxv3_usergroup_rights as gr, llxv3_usergroup_user as gu, llxv3_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity = 1 AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL 2020-02-15 16:40:49 INFO 78.157.25.48 --- Access to /admin/modules.php - action=, massaction= 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT transkey, transvalue FROM llxv3_overwrite_trans where lang='mk_MK' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM llxv3_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid 2020-02-15 16:40:49 INFO 78.157.25.48 Scan directory /home2/groupsolutioncom/public_html/erp/core/modules/ for module descriptor files (modXXX.class.php) 2020-02-15 16:40:49 DEBUG 78.157.25.48 User::loadParentOf 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT fk_user as id_parent, rowid as id_son FROM llxv3_user WHERE fk_user <> 0 AND entity IN (0,1) 2020-02-15 16:40:49 DEBUG 78.157.25.48 User::get_full_tree get user list 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=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 FROM llxv3_user as u WHERE u.entity IN (0,1) 2020-02-15 16:40:49 DEBUG 78.157.25.48 User::get_full_tree call to build_path_from_id_user 2020-02-15 16:40:49 DEBUG 78.157.25.48 User::build_path_from_id_user id_user=1 protection=0 2020-02-15 16:40:49 DEBUG 78.157.25.48 User::build_path_from_id_user id_user=2 protection=0 2020-02-15 16:40:49 DEBUG 78.157.25.48 User::get_full_tree dol_sort_array 2020-02-15 16:40:49 INFO 78.157.25.48 Build childid for id = 1 2020-02-15 16:40:49 INFO 78.157.25.48 Module modDeplacement not qualified 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'expensereport' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 INFO 78.157.25.48 Module modWebServicesClient not qualified 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT code, label, description FROM llxv3_c_action_trigger ORDER by rang 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, fieldrequired FROM llxv3_extrafields WHERE elementtype = 'user' AND entity IN (0,1) 2020-02-15 16:40:49 DEBUG 78.157.25.48 useNPR 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT t.rowid FROM llxv3_c_tva as t, llxv3_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'MK' AND t.active = 1 AND t.recuperableonly = 1 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'product' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 useNPR 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT t.rowid FROM llxv3_c_tva as t, llxv3_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'MK' AND t.active = 1 AND t.recuperableonly = 1 2020-02-15 16:40:49 DEBUG 78.157.25.48 useLocalTax 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT t.localtax1, t.localtax2 FROM llxv3_c_tva as t, llxv3_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'MK' AND t.active = 1 AND t.localtax1_type <> '0' 2020-02-15 16:40:49 DEBUG 78.157.25.48 useLocalTax 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT t.localtax1, t.localtax2 FROM llxv3_c_tva as t, llxv3_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'MK' AND t.active = 1 AND t.localtax2_type <> '0' 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, fieldrequired FROM llxv3_extrafields WHERE elementtype = 'product' AND entity IN (0,1) 2020-02-15 16:40:49 DEBUG 78.157.25.48 useNPR 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT t.rowid FROM llxv3_c_tva as t, llxv3_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'MK' AND t.active = 1 AND t.recuperableonly = 1 2020-02-15 16:40:49 DEBUG 78.157.25.48 useLocalTax 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT t.localtax1, t.localtax2 FROM llxv3_c_tva as t, llxv3_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'MK' AND t.active = 1 AND t.localtax1_type <> '0' 2020-02-15 16:40:49 DEBUG 78.157.25.48 useLocalTax 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT t.localtax1, t.localtax2 FROM llxv3_c_tva as t, llxv3_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'MK' AND t.active = 1 AND t.localtax2_type <> '0' 2020-02-15 16:40:49 INFO 78.157.25.48 Module modCollab not qualified 2020-02-15 16:40:49 INFO 78.157.25.48 Module modDataPolicy not qualified 2020-02-15 16:40:49 INFO 78.157.25.48 Module modDocumentGeneration not qualified 2020-02-15 16:40:49 INFO 78.157.25.48 Module modReceiptPrinter not qualified 2020-02-15 16:40:49 INFO 78.157.25.48 Module modHRM not qualified 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'projet' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'projet_task' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, fieldrequired FROM llxv3_extrafields WHERE elementtype = 'projet_task' AND entity IN (0,1) 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'propal' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'propaldet' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'product' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'societe' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'resource' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, fieldrequired FROM llxv3_extrafields WHERE elementtype = 'resource' AND entity IN (0,1) 2020-02-15 16:40:49 INFO 78.157.25.48 Module modAsset not qualified 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'societe' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'socpeople' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'societe' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, fieldrequired FROM llxv3_extrafields WHERE elementtype = 'societe' AND entity IN (0, 1) 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, fieldrequired FROM llxv3_extrafields WHERE elementtype = 'socpeople' AND entity IN (0, 1) 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'holiday' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 INFO 78.157.25.48 Module modDynamicPrices not qualified 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param FROM llxv3_extrafields WHERE elementtype = 'societe' AND entity IN (0, 1) 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param FROM llxv3_extrafields WHERE elementtype = 'socpeople' AND entity IN (0, 1) 2020-02-15 16:40:49 INFO 78.157.25.48 Module modZapier not qualified 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'fichinter' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'fichinterdet' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM llxv3_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM llxv3_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'reception' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 INFO 78.157.25.48 Module modReception not qualified 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'facture' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'facturedet' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'product' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'facture' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM llxv3_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM llxv3_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'expedition' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'expeditiondet' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'product' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'commande' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'commandedet' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'product' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param FROM llxv3_extrafields WHERE elementtype = 'facture_fourn' AND entity IN (0, 1) 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param FROM llxv3_extrafields WHERE elementtype = 'facture_fourn_det' AND entity IN (0, 1) 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param FROM llxv3_extrafields WHERE elementtype = 'facture_fourn' AND entity IN (0, 1) 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param FROM llxv3_extrafields WHERE elementtype = 'commande_fournisseur' AND entity IN (0, 1) 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param FROM llxv3_extrafields WHERE elementtype = 'commande_fournisseurdet' AND entity IN (0, 1) 2020-02-15 16:40:49 INFO 78.157.25.48 Module modMrp not qualified 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'product' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'adherent' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, fieldrequired FROM llxv3_extrafields WHERE elementtype = 'adherent' AND entity IN (0,1) 2020-02-15 16:40:49 DEBUG 78.157.25.48 useNPR 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT t.rowid FROM llxv3_c_tva as t, llxv3_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'MK' AND t.active = 1 AND t.recuperableonly = 1 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'product' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'product' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 useNPR 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT t.rowid FROM llxv3_c_tva as t, llxv3_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'MK' AND t.active = 1 AND t.recuperableonly = 1 2020-02-15 16:40:49 DEBUG 78.157.25.48 useLocalTax 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT t.localtax1, t.localtax2 FROM llxv3_c_tva as t, llxv3_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'MK' AND t.active = 1 AND t.localtax1_type <> '0' 2020-02-15 16:40:49 DEBUG 78.157.25.48 useLocalTax 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT t.localtax1, t.localtax2 FROM llxv3_c_tva as t, llxv3_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'MK' AND t.active = 1 AND t.localtax2_type <> '0' 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, fieldrequired FROM llxv3_extrafields WHERE elementtype = 'product' AND entity IN (0, 1) 2020-02-15 16:40:49 DEBUG 78.157.25.48 useNPR 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT t.rowid FROM llxv3_c_tva as t, llxv3_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'MK' AND t.active = 1 AND t.recuperableonly = 1 2020-02-15 16:40:49 DEBUG 78.157.25.48 useLocalTax 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT t.localtax1, t.localtax2 FROM llxv3_c_tva as t, llxv3_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'MK' AND t.active = 1 AND t.localtax1_type <> '0' 2020-02-15 16:40:49 DEBUG 78.157.25.48 useLocalTax 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT t.localtax1, t.localtax2 FROM llxv3_c_tva as t, llxv3_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'MK' AND t.active = 1 AND t.localtax2_type <> '0' 2020-02-15 16:40:49 DEBUG 78.157.25.48 useNPR 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT t.rowid FROM llxv3_c_tva as t, llxv3_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'MK' AND t.active = 1 AND t.recuperableonly = 1 2020-02-15 16:40:49 DEBUG 78.157.25.48 useLocalTax 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT t.localtax1, t.localtax2 FROM llxv3_c_tva as t, llxv3_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'MK' AND t.active = 1 AND t.localtax1_type <> '0' 2020-02-15 16:40:49 DEBUG 78.157.25.48 useLocalTax 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT t.localtax1, t.localtax2 FROM llxv3_c_tva as t, llxv3_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'MK' AND t.active = 1 AND t.localtax2_type <> '0' 2020-02-15 16:40:49 DEBUG 78.157.25.48 useNPR 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT t.rowid FROM llxv3_c_tva as t, llxv3_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'MK' AND t.active = 1 AND t.recuperableonly = 1 2020-02-15 16:40:49 DEBUG 78.157.25.48 useLocalTax 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT t.localtax1, t.localtax2 FROM llxv3_c_tva as t, llxv3_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'MK' AND t.active = 1 AND t.localtax1_type <> '0' 2020-02-15 16:40:49 DEBUG 78.157.25.48 useLocalTax 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT t.localtax1, t.localtax2 FROM llxv3_c_tva as t, llxv3_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'MK' AND t.active = 1 AND t.localtax2_type <> '0' 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'bom_bom' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 DEBUG 78.157.25.48 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM llxv3_extrafields WHERE elementtype = 'bom_bomline' AND type != 'separate' AND entity IN (0, 1) ORDER BY pos ASC 2020-02-15 16:40:49 INFO 78.157.25.48 Module modLabel not qualified 2020-02-15 16:40:50 INFO 78.157.25.48 Save lastsearch_values_tmp_admin/modules.php={"search_keyword":"log"} (systematic recording of last search criterias) 2020-02-15 16:40:50 INFO 78.157.25.48 --- End access to /admin/modules.php 2020-02-15 16:40:51 DEBUG 78.157.25.48 - This is an already logged session. _SESSION['dol_login']=martin.d@gs.com.mk _SESSION['dol_entity']=1 2020-02-15 16:40:51 DEBUG 78.157.25.48 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note as note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_int, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM llxv3_user as u LEFT JOIN llxv3_c_country as c ON u.fk_country = c.rowid LEFT JOIN llxv3_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'martin.d@gs.com.mk' ORDER BY u.entity ASC 2020-02-15 16:40:51 DEBUG 78.157.25.48 sql=SELECT rowid,name,label,type,size,elementtype,fieldunique,fieldrequired,param,pos,alwayseditable,perms,langs,list,totalizable,fielddefault,fieldcomputed,entity,enabled,help FROM llxv3_extrafields WHERE elementtype = 'user' ORDER BY pos 2020-02-15 16:40:51 DEBUG 78.157.25.48 sql=SELECT param, value FROM llxv3_user_param WHERE fk_user = 1 AND entity = 1 2020-02-15 16:40:51 DEBUG 78.157.25.48 sql=SELECT rowid, entity, type, page, param, value FROM llxv3_default_values WHERE entity IN (1) AND user_id IN (0, 1) 2020-02-15 16:40:51 DEBUG 78.157.25.48 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM llxv3_user_rights as ur, llxv3_rights_def as r WHERE r.id = ur.fk_id AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL 2020-02-15 16:40:51 DEBUG 78.157.25.48 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM llxv3_usergroup_rights as gr, llxv3_usergroup_user as gu, llxv3_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity = 1 AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL 2020-02-15 16:40:51 INFO 78.157.25.48 --- Access to /admin/syslog.php - action=, massaction= 2020-02-15 16:40:51 DEBUG 78.157.25.48 sql=SELECT transkey, transvalue FROM llxv3_overwrite_trans where lang='mk_MK' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC 2020-02-15 16:40:51 DEBUG 78.157.25.48 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM llxv3_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid 2020-02-15 16:40:51 DEBUG 78.157.25.48 admin.lib::dolibarr_get_const 2020-02-15 16:40:51 DEBUG 78.157.25.48 sql=SELECT value as value FROM llxv3_const WHERE name = 'SYSLOG_FACILITY' AND entity = 0 2020-02-15 16:40:51 DEBUG 78.157.25.48 admin.lib::dolibarr_get_const 2020-02-15 16:40:51 DEBUG 78.157.25.48 sql=SELECT value as value FROM llxv3_const WHERE name = 'SYSLOG_FILE' AND entity = 0 2020-02-15 16:40:51 INFO 78.157.25.48 --- End access to /admin/syslog.php 2020-02-15 16:41:05 DEBUG 78.157.25.48 - This is an already logged session. _SESSION['dol_login']=martin.d@gs.com.mk _SESSION['dol_entity']=1 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note as note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_int, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM llxv3_user as u LEFT JOIN llxv3_c_country as c ON u.fk_country = c.rowid LEFT JOIN llxv3_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'martin.d@gs.com.mk' ORDER BY u.entity ASC 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT rowid,name,label,type,size,elementtype,fieldunique,fieldrequired,param,pos,alwayseditable,perms,langs,list,totalizable,fielddefault,fieldcomputed,entity,enabled,help FROM llxv3_extrafields WHERE elementtype = 'user' ORDER BY pos 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT param, value FROM llxv3_user_param WHERE fk_user = 1 AND entity = 1 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT rowid, entity, type, page, param, value FROM llxv3_default_values WHERE entity IN (1) AND user_id IN (0, 1) 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM llxv3_user_rights as ur, llxv3_rights_def as r WHERE r.id = ur.fk_id AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM llxv3_usergroup_rights as gr, llxv3_usergroup_user as gu, llxv3_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity = 1 AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL 2020-02-15 16:41:05 INFO 78.157.25.48 --- Access to /fourn/facture/card.php - action=, massaction= 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT transkey, transvalue FROM llxv3_overwrite_trans where lang='mk_MK' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM llxv3_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT rowid,name,label,type,size,elementtype,fieldunique,fieldrequired,param,pos,alwayseditable,perms,langs,list,totalizable,fielddefault,fieldcomputed,entity,enabled,help FROM llxv3_extrafields WHERE elementtype = 'facture_fourn' ORDER BY pos 2020-02-15 16:41:05 DEBUG 78.157.25.48 FactureFournisseur::fetch 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT t.rowid, t.ref, t.ref_supplier, t.entity, t.type, t.fk_soc, t.datec, t.datef, t.tms, t.libelle as label, t.paye, t.amount, t.remise, t.close_code, t.close_note, t.tva, t.localtax1, t.localtax2, t.total_ht, t.total_tva, t.total_ttc, t.fk_statut, t.fk_user_author, t.fk_user_valid, t.fk_facture_source, t.fk_projet as fk_project, t.fk_cond_reglement, t.fk_account, t.fk_mode_reglement, t.date_lim_reglement, t.note_private, t.note_public, t.model_pdf, t.import_key, t.extraparams, cr.code as cond_reglement_code, cr.libelle as cond_reglement_libelle, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, s.nom as socnom, s.rowid as socid, t.fk_incoterms, t.location_incoterms, i.libelle as label_incoterms, t.fk_multicurrency, t.multicurrency_code, t.multicurrency_tx, t.multicurrency_total_ht, t.multicurrency_total_tva, t.multicurrency_total_ttc FROM llxv3_facture_fourn as t LEFT JOIN llxv3_societe as s ON (t.fk_soc = s.rowid) LEFT JOIN llxv3_c_payment_term as cr ON t.fk_cond_reglement = cr.rowid LEFT JOIN llxv3_c_paiement as p ON t.fk_mode_reglement = p.id LEFT JOIN llxv3_c_incoterms as i ON t.fk_incoterms = i.rowid WHERE t.rowid=159 2020-02-15 16:41:05 DEBUG 78.157.25.48 FactureFournisseur::fetch_lines 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT f.rowid, f.ref as ref_supplier, f.description, f.date_start, f.date_end, f.pu_ht, f.pu_ttc, f.qty, f.remise_percent, f.vat_src_code, f.tva_tx, f.localtax1_tx, f.localtax2_tx, f.localtax1_type, f.localtax2_type, f.total_localtax1, f.total_localtax2, f.fk_facture_fourn , f.total_ht, f.tva as total_tva, f.total_ttc, f.fk_product, f.product_type, f.info_bits, f.rang, f.special_code, f.fk_parent_line, f.fk_unit, p.rowid as product_id, p.ref as product_ref, p.label as label, p.description as product_desc, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_subprice, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc FROM llxv3_facture_fourn_det as f LEFT JOIN llxv3_product as p ON f.fk_product = p.rowid WHERE fk_facture_fourn=159 ORDER BY f.rang, f.rowid 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.ref_int, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.model_pdf, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.remise_supplier, s.mode_reglement, s.cond_reglement, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, st.libelle as stcomm, te.code as typent_code, i.libelle as label_incoterms, sr.remise_client FROM llxv3_societe as s LEFT JOIN llxv3_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN llxv3_c_country as c ON s.fk_pays = c.rowid LEFT JOIN llxv3_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN llxv3_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN llxv3_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN llxv3_c_typent as te ON s.fk_typent = te.id LEFT JOIN llxv3_c_incoterms as i ON s.fk_incoterms = i.rowid LEFT JOIN llxv3_societe_remise as sr ON sr.rowid = (SELECT MAX(rowid) FROM llxv3_societe_remise WHERE fk_soc = s.rowid AND entity IN (1)) WHERE s.entity IN (1) AND s.rowid = 142 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT rowid,name,label,type,size,elementtype,fieldunique,fieldrequired,param,pos,alwayseditable,perms,langs,list,totalizable,fielddefault,fieldcomputed,entity,enabled,help FROM llxv3_extrafields WHERE elementtype = 'societe' ORDER BY pos 2020-02-15 16:41:05 DEBUG 78.157.25.48 FactureFournisseur::fetch 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT t.rowid, t.ref, t.ref_supplier, t.entity, t.type, t.fk_soc, t.datec, t.datef, t.tms, t.libelle as label, t.paye, t.amount, t.remise, t.close_code, t.close_note, t.tva, t.localtax1, t.localtax2, t.total_ht, t.total_tva, t.total_ttc, t.fk_statut, t.fk_user_author, t.fk_user_valid, t.fk_facture_source, t.fk_projet as fk_project, t.fk_cond_reglement, t.fk_account, t.fk_mode_reglement, t.date_lim_reglement, t.note_private, t.note_public, t.model_pdf, t.import_key, t.extraparams, cr.code as cond_reglement_code, cr.libelle as cond_reglement_libelle, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, s.nom as socnom, s.rowid as socid, t.fk_incoterms, t.location_incoterms, i.libelle as label_incoterms, t.fk_multicurrency, t.multicurrency_code, t.multicurrency_tx, t.multicurrency_total_ht, t.multicurrency_total_tva, t.multicurrency_total_ttc FROM llxv3_facture_fourn as t LEFT JOIN llxv3_societe as s ON (t.fk_soc = s.rowid) LEFT JOIN llxv3_c_payment_term as cr ON t.fk_cond_reglement = cr.rowid LEFT JOIN llxv3_c_paiement as p ON t.fk_mode_reglement = p.id LEFT JOIN llxv3_c_incoterms as i ON t.fk_incoterms = i.rowid WHERE t.rowid=159 2020-02-15 16:41:05 DEBUG 78.157.25.48 FactureFournisseur::fetch_lines 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT f.rowid, f.ref as ref_supplier, f.description, f.date_start, f.date_end, f.pu_ht, f.pu_ttc, f.qty, f.remise_percent, f.vat_src_code, f.tva_tx, f.localtax1_tx, f.localtax2_tx, f.localtax1_type, f.localtax2_type, f.total_localtax1, f.total_localtax2, f.fk_facture_fourn , f.total_ht, f.tva as total_tva, f.total_ttc, f.fk_product, f.product_type, f.info_bits, f.rang, f.special_code, f.fk_parent_line, f.fk_unit, p.rowid as product_id, p.ref as product_ref, p.label as label, p.description as product_desc, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_subprice, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc FROM llxv3_facture_fourn_det as f LEFT JOIN llxv3_product as p ON f.fk_product = p.rowid WHERE fk_facture_fourn=159 ORDER BY f.rang, f.rowid 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.ref_int, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.model_pdf, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.remise_supplier, s.mode_reglement, s.cond_reglement, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, st.libelle as stcomm, te.code as typent_code, i.libelle as label_incoterms, sr.remise_client FROM llxv3_societe as s LEFT JOIN llxv3_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN llxv3_c_country as c ON s.fk_pays = c.rowid LEFT JOIN llxv3_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN llxv3_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN llxv3_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN llxv3_c_typent as te ON s.fk_typent = te.id LEFT JOIN llxv3_c_incoterms as i ON s.fk_incoterms = i.rowid LEFT JOIN llxv3_societe_remise as sr ON sr.rowid = (SELECT MAX(rowid) FROM llxv3_societe_remise WHERE fk_soc = s.rowid AND entity IN (1)) WHERE s.entity IN (1) AND s.rowid = 142 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.ref_int, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.model_pdf, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.remise_supplier, s.mode_reglement, s.cond_reglement, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, st.libelle as stcomm, te.code as typent_code, i.libelle as label_incoterms, sr.remise_client FROM llxv3_societe as s LEFT JOIN llxv3_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN llxv3_c_country as c ON s.fk_pays = c.rowid LEFT JOIN llxv3_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN llxv3_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN llxv3_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN llxv3_c_typent as te ON s.fk_typent = te.id LEFT JOIN llxv3_c_incoterms as i ON s.fk_incoterms = i.rowid LEFT JOIN llxv3_societe_remise as sr ON sr.rowid = (SELECT MAX(rowid) FROM llxv3_societe_remise WHERE fk_soc = s.rowid AND entity IN (1)) WHERE s.entity IN (1) AND s.rowid = 142 2020-02-15 16:41:05 DEBUG 78.157.25.48 FactureFournisseur::getSommePaiement 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM llxv3_paiementfourn_facturefourn WHERE fk_facturefourn = 159 2020-02-15 16:41:05 DEBUG 78.157.25.48 DiscountAbsolute::getSumCreditNotesUsed 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM llxv3_societe_remise_except as rc, llxv3_facture_fourn as f WHERE rc.fk_invoice_supplier_source=f.rowid AND rc.fk_invoice_supplier = 159 AND (f.type = 2 OR f.type = 0) 2020-02-15 16:41:05 DEBUG 78.157.25.48 DiscountAbsolute::getAvailableDiscounts discount_type=1 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT SUM(rc.amount_ttc) as amount FROM llxv3_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=1 AND (rc.fk_invoice_supplier IS NULL AND rc.fk_invoice_supplier_line IS NULL) AND rc.fk_soc = 142 AND (fk_invoice_supplier_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS PAID)%')) 2020-02-15 16:41:05 DEBUG 78.157.25.48 DiscountAbsolute::getAvailableDiscounts discount_type=1 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT SUM(rc.amount_ttc) as amount FROM llxv3_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=1 AND (rc.fk_invoice_supplier IS NULL AND rc.fk_invoice_supplier_line IS NULL) AND rc.fk_soc = 142 AND (fk_invoice_supplier_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS PAID)%')) 2020-02-15 16:41:05 DEBUG 78.157.25.48 FactureFournisseur::liste_contact 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM llxv3_c_type_contact tc, llxv3_element_contact ec LEFT JOIN llxv3_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id =159 AND ec.fk_c_type_contact=tc.rowid AND tc.element='invoice_supplier' AND tc.source = 'internal' AND tc.active=1 ORDER BY t.lastname ASC 2020-02-15 16:41:05 DEBUG 78.157.25.48 FactureFournisseur::liste_contact 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM llxv3_c_type_contact tc, llxv3_element_contact ec LEFT JOIN llxv3_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id =159 AND ec.fk_c_type_contact=tc.rowid AND tc.element='invoice_supplier' AND tc.source = 'external' AND tc.active=1 ORDER BY t.lastname ASC 2020-02-15 16:41:05 INFO 78.157.25.48 files.lib.php::dol_dir_list path=/home2/groupsolutioncom/dolibarrdata/fournisseur/facture/9/5/(PROV159) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$" 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT COUNT(rowid) as nb FROM llxv3_links WHERE objecttype = 'invoice_supplier' AND objectid = 159 AND entity = 1 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT MAX(te.ref) FROM llxv3_facture_fourn as te WHERE te.ref < '(PROV159)' AND te.entity IN (1) 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT MIN(te.ref) FROM llxv3_facture_fourn as te WHERE te.ref > '(PROV159)' AND te.entity IN (1) 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT rowid FROM llxv3_facture_fourn WHERE fk_facture_source = 159 AND type = 2 2020-02-15 16:41:05 DEBUG 78.157.25.48 FactureFournisseur::getSommePaiement 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM llxv3_paiementfourn_facturefourn WHERE fk_facturefourn = 159 2020-02-15 16:41:05 DEBUG 78.157.25.48 Form::load_cache_conditions_paiements 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT rowid, code, libelle as label FROM llxv3_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder 2020-02-15 16:41:05 DEBUG 78.157.25.48 Translate::loadCacheCurrencies 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT code_iso, label, unicode FROM llxv3_c_currencies WHERE active = 1 AND code_iso = 'MKD' 2020-02-15 16:41:05 DEBUG 78.157.25.48 Translate::getLabelFromKey 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT label as label FROM llxv3_c_currencies WHERE code_iso = 'MKD' 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT COUNT(ab.rowid) as nb FROM llxv3_accounting_bookkeeping as ab WHERE ab.doc_type='supplier_invoice' AND ab.fk_doc = 159 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT p.datep as dp, p.ref, p.num_paiement, p.rowid, p.fk_bank, c.id as paiement_type, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal FROM llxv3_paiementfourn as p LEFT JOIN llxv3_bank as b ON p.fk_bank = b.rowid LEFT JOIN llxv3_bank_account as ba ON b.fk_account = ba.rowid LEFT JOIN llxv3_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN llxv3_paiementfourn_facturefourn as pf ON pf.fk_paiementfourn = p.rowid WHERE pf.fk_facturefourn = 159 ORDER BY p.datep, p.tms 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_invoice_supplier_source FROM llxv3_societe_remise_except as re WHERE fk_invoice_supplier = 159 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT rowid,name,label,type,size,elementtype,fieldunique,fieldrequired,param,pos,alwayseditable,perms,langs,list,totalizable,fielddefault,fieldcomputed,entity,enabled,help FROM llxv3_extrafields WHERE elementtype = 'facture_fourn_det' ORDER BY pos 2020-02-15 16:41:05 DEBUG 78.157.25.48 Form::select_produits_fournisseurs_list 2020-02-15 16:41:05 DEBUG 78.157.25.48 sql=SELECT p.rowid, p.ref, p.label, p.price, p.duration, p.fk_product_type, pfp.ref_fourn, pfp.rowid as idprodfournprice, pfp.price as fprice, pfp.quantity, pfp.remise_percent, pfp.remise, pfp.unitprice, pfp.fk_supplier_price_expression, pfp.fk_product, pfp.tva_tx, pfp.fk_soc, s.nom as name, pfp.supplier_reputation, u.label as unit_long, u.short_label as unit_short, p.weight, p.weight_units, p.length, p.length_units, p.width, p.width_units, p.height, p.height_units, p.surface, p.surface_units, p.volume, p.volume_units FROM llxv3_product as p LEFT JOIN llxv3_product_fournisseur_price as pfp ON p.rowid = pfp.fk_product AND pfp.fk_soc = 142 LEFT JOIN llxv3_societe as s ON pfp.fk_soc = s.rowid LEFT JOIN llxv3_c_units u ON u.rowid = p.fk_unit WHERE p.entity IN (1) AND p.tobuy = 1 ORDER BY pfp.ref_fourn DESC, pfp.quantity ASC 2020-02-15 16:41:05 INFO 78.157.25.48 --- End access to /fourn/facture/card.php