18/03/2026 09:17:04 am >> SELECT document_num FROM ps_document WHERE document_num = '796' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-03-18') 18/03/2026 09:17:04 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '796' , '2026-03-18' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '5.00' , '5.00' , NOW() , NOW() ) 18/03/2026 09:17:04 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '101791' 18/03/2026 09:17:04 am >> DELETE FROM ps_document_detail WHERE id_document = '101791' 18/03/2026 09:17:04 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101791' , '8245' , 'PREGATE IL SANTO ROSARIO OGNI GIORNO - 8234' , '1' , '-1' , '4' , '2.50' , '2.5' , '0' , '0' , '2.50' ) 18/03/2026 09:17:04 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101791' , '24798' , 'ROSARIO LA PREGHIERA PIU BELLA - G. GHIGLIONE' , '1' , '-1' , '4' , '2.50' , '2.5' , '0' , '0' , '2.50' ) 18/03/2026 09:48:42 am >> SELECT document_num FROM ps_document WHERE document_num = '797' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-03-18') 18/03/2026 09:48:42 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '797' , '2026-03-18' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '9.10' , '8.45' , NOW() , NOW() ) 18/03/2026 09:48:42 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '101792' 18/03/2026 09:48:42 am >> DELETE FROM ps_document_detail WHERE id_document = '101792' 18/03/2026 09:48:42 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101792' , '17617' , 'IMMAGINI ISONZO X 100' , '1' , '-1' , '1' , '3.60' , '2.9508196721311' , '22' , '0' , '3.60' ) 18/03/2026 09:48:42 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101792' , '24471' , 'SANTI DEL MESSALINO - JOHN HENRY NEWMAN - 8568' , '1' , '-1' , '4' , '3.00' , '3' , '0' , '0' , '3.00' ) 18/03/2026 09:48:42 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101792' , '15020' , 'PREGARE OGNI GIORNO' , '1' , '-1' , '4' , '1.00' , '1' , '0' , '0' , '1.00' ) 18/03/2026 09:48:42 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101792' , '18357' , 'MIE PREGHIERINE N.E.' , '1' , '-1' , '4' , '1.50' , '1.5' , '0' , '0' , '1.50' ) 18/03/2026 10:19:14 am >> SELECT document_num FROM ps_document WHERE document_num = '798' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-03-18') 18/03/2026 10:19:14 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '798' , '2026-03-18' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '40.30' , '36.51' , NOW() , NOW() ) 18/03/2026 10:19:14 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '101793' 18/03/2026 10:19:14 am >> DELETE FROM ps_document_detail WHERE id_document = '101793' 18/03/2026 10:19:14 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101793' , '7311' , 'OSTIA SOTTILE 74MM' , '3' , '-3' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '6.00' ) 18/03/2026 10:19:14 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101793' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '5' , '-5' , '3' , '3.70' , '3.5576923076923' , '4' , '0' , '18.50' ) 18/03/2026 10:19:14 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101793' , '11757' , 'VINO LIQUOROSO DOLCE - 16%' , '2' , '-2' , '1' , '7.90' , '6.4754098360656' , '22' , '0' , '15.80' ) 18/03/2026 10:27:38 am >> SELECT document_num FROM ps_document WHERE document_num = '799' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-03-18') 18/03/2026 10:27:38 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '799' , '2026-03-18' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '19.60' , '16.07' , NOW() , NOW() ) 18/03/2026 10:27:38 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '101794' 18/03/2026 10:27:38 am >> DELETE FROM ps_document_detail WHERE id_document = '101794' 18/03/2026 10:27:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101794' , '19106' , 'FRAGRANZA NARDO' , '1' , '-1' , '1' , '16.00' , '13.114754098361' , '22' , '0' , '16.00' ) 18/03/2026 10:27:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101794' , '17617' , 'IMMAGINI ISONZO X 100' , '1' , '-1' , '1' , '3.60' , '2.9508196721311' , '22' , '0' , '3.60' ) 18/03/2026 11:12:47 am >> SELECT document_num FROM ps_document WHERE document_num = '800' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-03-18') 18/03/2026 11:12:47 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '800' , '2026-03-18' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '15.45' , '15.23' , NOW() , NOW() ) 18/03/2026 11:12:47 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '101795' 18/03/2026 11:12:47 am >> DELETE FROM ps_document_detail WHERE id_document = '101795' 18/03/2026 11:12:47 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101795' , '19298' , 'BIGLIETTO AUGURALE GRANDE' , '1' , '-1' , '1' , '1.20' , '0.98360655737705' , '22' , '0' , '1.20' ) 18/03/2026 11:12:47 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101795' , '23405' , 'DIARIO SANTA FAUSTINA - N.E.' , '1' , '-1' , '4' , '15.00' , '15' , '0' , '5' , '14.25' ) 18/03/2026 11:42:38 am >> SELECT document_num FROM ps_document WHERE document_num = '22/A' AND id_document != '101121' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2026-01-27') 18/03/2026 11:42:38 am >> UPDATE ps_document SET id_document_type = '24', document_num = '22/A', document_date = '2026-01-27', document_letter = 'A', id_customer = '2332', id_supplier = '', id_address = '4679092', address1 = 'P.ZZA S. ROCCO 84088 SIANO', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '17', id_causal = '0', price_tax_included = '253.03', price_tax_excluded = '219.92', date_upd = NOW() WHERE id_document = '101121' 18/03/2026 11:42:38 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '101121' 18/03/2026 11:42:38 am >> DELETE FROM ps_document_detail WHERE id_document = '101121' 18/03/2026 11:42:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '12816' , 'LIBRO DEI DEFUNTI' , '1' , '-1' , '1' , '40.0000' , '32.786885245902' , '22' , '5' , '38.00' ) 18/03/2026 11:42:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '1626' , 'CANDELE VOTIVE KG 10 - 13X26 - CIRCA 300 PZ' , '1' , '-1' , '1' , '70.0000' , '57.377049180328' , '22' , '0' , '70.00' ) 18/03/2026 11:42:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '1090' , 'BIBBIA' , '1' , '-1' , '4' , '9.9000' , '9.9' , '0' , '0' , '9.90' ) 18/03/2026 11:42:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '2679' , 'CONOSCERE GESU\'' , '10' , '-10' , '4' , '3.5000' , '3.5' , '0' , '15' , '29.75' ) 18/03/2026 11:42:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '8509' , 'PRIMI PASSI CON GESÙ - ANNO A' , '10' , '-10' , '4' , '3.5000' , '3.5' , '0' , '15' , '29.75' ) 18/03/2026 11:42:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '17617' , 'IMMAGINI ISONZO X 100' , '3' , '-3' , '1' , '3.3300' , '2.7295081967213' , '22' , '0' , '9.99' ) 18/03/2026 11:42:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '0' , '04/02' , '1' , '-1' , '0' , '0.0000' , '0' , '0' , '0' , '0.00' ) 18/03/2026 11:42:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '1710' , 'CARBONCINI PER TURIBOLO - PZ 120' , '3' , '-3' , '1' , '13.0000' , '10.655737704918' , '22' , '0' , '39.00' ) 18/03/2026 11:42:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '0' , '9/3/2026' , '0' , '0' , '0' , '0.0000' , '0' , '0' , '0' , '0.00' ) 18/03/2026 11:42:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '0' , 'TUNICA BORDO ORO MISURA 115-120-125-130' , '4' , '-4' , '0' , '0.0000' , '0' , '0' , '0' , '0.00' ) 18/03/2026 11:42:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '' , '18/03' , '1' , '-1' , '0' , '0' , '0' , '' , '0' , '0' ) 18/03/2026 11:42:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '17617' , 'IMMAGINI ISONZO X 100' , '8' , '-8' , '1' , '3.33' , '2.7295081967213' , '22' , '0' , '26.64' ) 18/03/2026 11:58:56 am >> SELECT document_num FROM ps_document WHERE document_num = '801' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-03-18') 18/03/2026 11:58:56 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '801' , '2026-03-18' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '15' , '0' , '41.80' , '35.11' , NOW() , NOW() ) 18/03/2026 11:58:56 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '101796' 18/03/2026 11:58:56 am >> DELETE FROM ps_document_detail WHERE id_document = '101796' 18/03/2026 11:58:56 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101796' , '19147' , 'CANDELINE NON GOCCIOLANTI GRECHE' , '2' , '-2' , '1' , '17.90' , '14.672131147541' , '22' , '0' , '35.80' ) 18/03/2026 11:58:56 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101796' , '16689' , 'OSTIA PAN DI CENA mm80' , '3' , '-3' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '6.00' ) 18/03/2026 12:08:58 pm >> SELECT document_num FROM ps_document WHERE document_num = '28/A' AND id_document != '101444' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2026-02-20') 18/03/2026 12:08:58 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '28/A', document_date = '2026-02-20', document_letter = 'A', id_customer = '4244', id_supplier = '', id_address = '4679551', address1 = 'VIA SAN LORENZO 84084 VILLA DI FISCIANO', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '17', id_causal = '0', price_tax_included = '89.70', price_tax_excluded = '79.96', date_upd = NOW() WHERE id_document = '101444' 18/03/2026 12:08:58 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '101444' 18/03/2026 12:08:59 pm >> DELETE FROM ps_document_detail WHERE id_document = '101444' 18/03/2026 12:08:59 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101444' , '20952' , 'VANGELO E ATTI DEGLI APOSTOLI - ragazzi' , '15' , '-15' , '4' , '2.8000' , '2.8' , '0' , '15' , '35.70' ) 18/03/2026 12:08:59 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101444' , '1041' , 'BENEDIZIONI' , '200' , '-200' , '1' , '0.1800' , '0.14754098360656' , '22' , '0' , '36.00' ) 18/03/2026 12:08:59 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101444' , '' , '18/03' , '1' , '-1' , '1' , '0' , '0' , '22' , '0' , '0' ) 18/03/2026 12:08:59 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101444' , '1041' , 'BENEDIZIONI' , '100' , '-100' , '1' , '0.18' , '0.14754098360656' , '22' , '0' , '18.00' ) 18/03/2026 12:11:57 pm >> SELECT document_num FROM ps_document WHERE document_num = '22/A' AND id_document != '101121' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2026-01-27') 18/03/2026 12:11:57 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '22/A', document_date = '2026-01-27', document_letter = 'A', id_customer = '2332', id_supplier = '', id_address = '4679092', address1 = 'P.ZZA S. ROCCO 84088 SIANO', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '17', id_causal = '0', price_tax_included = '2143.03', price_tax_excluded = '1769.10', date_upd = NOW() WHERE id_document = '101121' 18/03/2026 12:11:57 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '101121' 18/03/2026 12:11:57 pm >> DELETE FROM ps_document_detail WHERE id_document = '101121' 18/03/2026 12:11:57 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '12816' , 'LIBRO DEI DEFUNTI' , '1' , '-1' , '1' , '40.0000' , '32.786885245902' , '22' , '5' , '38.00' ) 18/03/2026 12:11:57 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '1626' , 'CANDELE VOTIVE KG 10 - 13X26 - CIRCA 300 PZ' , '1' , '-1' , '1' , '70.0000' , '57.377049180328' , '22' , '0' , '70.00' ) 18/03/2026 12:11:57 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '1090' , 'BIBBIA' , '1' , '-1' , '4' , '9.9000' , '9.9' , '0' , '0' , '9.90' ) 18/03/2026 12:11:57 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '2679' , 'CONOSCERE GESU\'' , '10' , '-10' , '4' , '3.5000' , '3.5' , '0' , '15' , '29.75' ) 18/03/2026 12:11:57 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '8509' , 'PRIMI PASSI CON GESÙ - ANNO A' , '10' , '-10' , '4' , '3.5000' , '3.5' , '0' , '15' , '29.75' ) 18/03/2026 12:11:57 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '17617' , 'IMMAGINI ISONZO X 100' , '3' , '-3' , '1' , '3.3300' , '2.7295081967213' , '22' , '0' , '9.99' ) 18/03/2026 12:11:57 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '0' , '04/02' , '1' , '-1' , '0' , '0.0000' , '0' , '0' , '0' , '0.00' ) 18/03/2026 12:11:57 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '1710' , 'CARBONCINI PER TURIBOLO - PZ 120' , '3' , '-3' , '1' , '13.0000' , '10.655737704918' , '22' , '0' , '39.00' ) 18/03/2026 12:11:57 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '0' , '9/3/2026' , '0' , '0' , '0' , '0.0000' , '0' , '0' , '0' , '0.00' ) 18/03/2026 12:11:57 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '0' , 'TUNICA BORDO ORO MISURA 115-120-125-130' , '4' , '-4' , '0' , '0.0000' , '0' , '0' , '0' , '0.00' ) 18/03/2026 12:11:57 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '0' , '18/03' , '1' , '-1' , '0' , '0.0000' , '0' , '0' , '0' , '0.00' ) 18/03/2026 12:11:57 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '17617' , 'IMMAGINI ISONZO X 100' , '8' , '-8' , '1' , '3.3300' , '2.7295081967213' , '22' , '0' , '26.64' ) 18/03/2026 12:11:57 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101121' , '16053' , 'TABERNACOLO - 4005' , '1' , '-1' , '1' , '1890' , '1549.1803278689' , '22' , '0' , '1890.00' ) 18/03/2026 12:26:01 pm >> SELECT document_num FROM ps_document WHERE document_num = '802' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-03-18') 18/03/2026 12:26:01 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '802' , '2026-03-18' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '15' , '0' , '19.90' , '16.31' , NOW() , NOW() ) 18/03/2026 12:26:01 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '101797' 18/03/2026 12:26:01 pm >> DELETE FROM ps_document_detail WHERE id_document = '101797' 18/03/2026 12:26:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101797' , '22424' , 'CROCE EMOTICONS H 14' , '1' , '-1' , '1' , '19.9' , '16.311475409836' , '22' , '0' , '19.90' ) 18/03/2026 02:37:32 pm >> INSERT INTO ps_product ( ean13 , id_tax_rules_group , `date_add` , `date_upd` ) VALUES ( '' , '1' , NOW() , NOW() ) 18/03/2026 02:37:32 pm >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '24862' , '1' , '' , 'nuovo-prodotto' ) 18/03/2026 02:37:32 pm >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , `date_add` , `date_upd` ) VALUES ( '24862' , '1' , '1' , '2' , NOW() , NOW() ) 18/03/2026 02:37:32 pm >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) VALUES ( '24862' , '0' , '1' , '0' , '0' ) 18/03/2026 02:38:23 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '9788892250000' AND id_product != '24862' AND ean13 != '' 18/03/2026 02:38:23 pm >> UPDATE ps_product SET id_supplier = '', reference = '14', ean13 = '9788892250000', date_upd = NOW() WHERE id_product = '24862' 18/03/2026 02:38:23 pm >> UPDATE ps_product_lang SET name = 'ARTE DI SCOMPARIRE', description = '' WHERE id_product = '24862' 18/03/2026 02:38:23 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '14' WHERE id_product = '24862' 18/03/2026 02:38:23 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '14', id_tax_rules_group = '4', id_category_default = '30', id_argoment_default = '59', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '24862' 18/03/2026 02:38:23 pm >> DELETE FROM ps_specific_price WHERE id_product = '24862' 18/03/2026 02:39:02 pm >> INSERT INTO ps_product ( ean13 , id_tax_rules_group , `date_add` , `date_upd` ) VALUES ( '' , '1' , NOW() , NOW() ) 18/03/2026 02:39:02 pm >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '24863' , '1' , '' , 'nuovo-prodotto' ) 18/03/2026 02:39:02 pm >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , `date_add` , `date_upd` ) VALUES ( '24863' , '1' , '1' , '2' , NOW() , NOW() ) 18/03/2026 02:39:02 pm >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) VALUES ( '24863' , '0' , '1' , '0' , '0' ) 18/03/2026 02:40:14 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '9788892250307' AND id_product != '24863' AND ean13 != '' 18/03/2026 02:40:14 pm >> UPDATE ps_product SET id_supplier = '', reference = '6/5', ean13 = '9788892250307', date_upd = NOW() WHERE id_product = '24863' 18/03/2026 02:40:14 pm >> UPDATE ps_product_lang SET name = 'FUTURO SENZA NUMERI E SENZA MURA - A. ARTIME', description = '' WHERE id_product = '24863' 18/03/2026 02:40:14 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '16' WHERE id_product = '24863' 18/03/2026 02:40:14 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '16', id_tax_rules_group = '4', id_category_default = '30', id_argoment_default = '23', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '24863' 18/03/2026 02:40:14 pm >> DELETE FROM ps_specific_price WHERE id_product = '24863' 18/03/2026 02:45:16 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '33' , '7168' , '2026-03-17' , '' , '0' , '7' , '2602' , 'P. ZZA SAN PAOLO, 14 12051 ALBA' , '' , '' , '2.6' , '4' , '0' , '0' , '0' , '' , '11' , '0' , '90.60' , '90.60' , NOW() , NOW() ) 18/03/2026 02:45:16 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '101798' 18/03/2026 02:45:16 pm >> DELETE FROM ps_document_detail WHERE id_document = '101798' 18/03/2026 02:45:16 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101798' , '24862' , 'ARTE DI SCOMPARIRE' , '4' , '4' , '4' , '14.00' , '14' , '0' , '33' , '37.5200' ) 18/03/2026 02:45:16 pm >> DELETE FROM ps_product_supplier WHERE id_product = '24862' AND id_supplier = '7' 18/03/2026 02:45:16 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '24862' , '7' , '1' ) 18/03/2026 02:45:16 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101798' , '24863' , 'FUTURO SENZA NUMERI E SENZA MURA - A. ARTIME' , '1' , '1' , '4' , '16.00' , '16' , '0' , '33' , '10.7200' ) 18/03/2026 02:45:16 pm >> DELETE FROM ps_product_supplier WHERE id_product = '24863' AND id_supplier = '7' 18/03/2026 02:45:16 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '24863' , '7' , '1' ) 18/03/2026 02:45:16 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101798' , '20846' , 'REDEMPTOR HOMINIS' , '1' , '1' , '4' , '3.50' , '3.5' , '0' , '33' , '2.3450' ) 18/03/2026 02:45:16 pm >> DELETE FROM ps_product_supplier WHERE id_product = '20846' AND id_supplier = '7' 18/03/2026 02:45:16 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20846' , '7' , '1' ) 18/03/2026 02:45:16 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101798' , '17377' , 'SAMARITANUS BONUS' , '1' , '1' , '4' , '2.20' , '2.2' , '0' , '33' , '1.4740' ) 18/03/2026 02:45:16 pm >> DELETE FROM ps_product_supplier WHERE id_product = '17377' AND id_supplier = '7' 18/03/2026 02:45:16 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17377' , '7' , '1' ) 18/03/2026 02:45:16 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101798' , '5589' , 'LECTIO DIVINA OGNI GIORNO - 15' , '1' , '1' , '4' , '18.00' , '18' , '0' , '30' , '12.6000' ) 18/03/2026 02:45:16 pm >> DELETE FROM ps_product_supplier WHERE id_product = '5589' AND id_supplier = '7' 18/03/2026 02:45:16 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5589' , '7' , '1' ) 18/03/2026 02:45:16 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101798' , '10293' , 'STORIA DI SAN FRANCESCO' , '1' , '1' , '4' , '2.50' , '2.5' , '0' , '30' , '1.7500' ) 18/03/2026 02:45:16 pm >> DELETE FROM ps_product_supplier WHERE id_product = '10293' AND id_supplier = '7' 18/03/2026 02:45:16 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '10293' , '7' , '1' ) 18/03/2026 02:45:16 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101798' , '21814' , 'VIVERE IL LUTTO INSIEME A DIO - C. GALATOLO' , '1' , '1' , '4' , '14.00' , '14' , '0' , '30' , '9.8000' ) 18/03/2026 02:45:16 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21814' AND id_supplier = '7' 18/03/2026 02:45:16 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21814' , '7' , '1' ) 18/03/2026 02:45:16 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101798' , '19636' , 'PREGHIAMO CON I SALMI' , '1' , '1' , '4' , '5.90' , '5.9' , '0' , '33' , '3.9530' ) 18/03/2026 02:45:16 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19636' AND id_supplier = '7' 18/03/2026 02:45:16 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19636' , '7' , '1' ) 18/03/2026 02:45:16 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101798' , '24399' , 'AMEN - APR 26' , '3' , '3' , '4' , '3.90' , '3.9' , '0' , '33' , '7.8390' ) 18/03/2026 02:45:16 pm >> DELETE FROM ps_product_supplier WHERE id_product = '24399' AND id_supplier = '7' 18/03/2026 02:45:16 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '24399' , '7' , '1' ) 18/03/2026 03:10:24 pm >> SELECT document_num FROM ps_document WHERE document_num = '786' AND id_document != '101777' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-03-16') 18/03/2026 03:10:24 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '786', document_date = '2026-03-16', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = '', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '1', id_causal = '0', price_tax_included = '43.00', price_tax_excluded = '42.73', date_upd = NOW() WHERE id_document = '101777' 18/03/2026 03:10:24 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '101777' 18/03/2026 03:10:24 pm >> DELETE FROM ps_document_detail WHERE id_document = '101777' 18/03/2026 03:10:24 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101777' , '24660' , 'PARTICOLA TAGLIO CHIUSO MM 35 - W500' , '2' , '-2' , '3' , '3.5000' , '3.3653846153846' , '4' , '0' , '7.00' ) 18/03/2026 03:10:24 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101777' , '21899' , 'SACRA BIBBIA cei/uelci ' , '1' , '-1' , '4' , '18.0000' , '18' , '0' , '0' , '18.00' ) 18/03/2026 03:10:24 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101777' , '5589' , 'LECTIO DIVINA OGNI GIORNO - 15' , '1' , '-1' , '4' , '18.00' , '18' , '0' , '0' , '18.00' ) 18/03/2026 04:00:06 pm >> SELECT document_num FROM ps_document WHERE document_num = '803' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-03-18') 18/03/2026 04:00:06 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '803' , '2026-03-18' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '15' , '0' , '70.00' , '70.00' , NOW() , NOW() ) 18/03/2026 04:00:06 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '101799' 18/03/2026 04:00:06 pm >> DELETE FROM ps_document_detail WHERE id_document = '101799' 18/03/2026 04:00:06 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101799' , '17734' , 'VANGELO E ATTI BAMBINI' , '25' , '-25' , '4' , '2.8' , '2.8' , '0' , '0' , '70.00' ) 18/03/2026 04:00:54 pm >> SELECT document_num FROM ps_document WHERE document_num = '779' AND id_document != '101769' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-03-16') 18/03/2026 04:00:54 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '779', document_date = '2026-03-16', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = '', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '1', id_causal = '0', price_tax_included = '6.00', price_tax_excluded = '6.00', date_upd = NOW() WHERE id_document = '101769' 18/03/2026 04:00:54 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '101769' 18/03/2026 04:00:54 pm >> DELETE FROM ps_document_detail WHERE id_document = '101769' 18/03/2026 04:00:54 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101769' , '17734' , 'VANGELO E ATTI BAMBINI' , '2' , '-2' , '4' , '3.00' , '3' , '0' , '0' , '6.00' ) 18/03/2026 04:01:28 pm >> SELECT document_num FROM ps_document WHERE document_num = '628' AND id_document != '101546' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-02-28') 18/03/2026 04:01:28 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '628', document_date = '2026-02-28', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = '', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '15', id_causal = '0', price_tax_included = '51.90', price_tax_excluded = '44.98', date_upd = NOW() WHERE id_document = '101546' 18/03/2026 04:01:28 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '101546' 18/03/2026 04:01:28 pm >> DELETE FROM ps_document_detail WHERE id_document = '101546' 18/03/2026 04:01:28 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101546' , '2097' , 'CIPOLLINA MANGIAFUMO - 1057' , '1' , '-1' , '1' , '9.0000' , '7.3770491803279' , '22' , '0' , '9.00' ) 18/03/2026 04:01:28 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101546' , '1914' , 'CERA DELLA LITURGIA' , '6' , '-6' , '1' , '4.9000' , '4.016393442623' , '22' , '0' , '29.40' ) 18/03/2026 04:01:28 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101546' , '19636' , 'PREGHIAMO CON I SALMI' , '1' , '-1' , '4' , '5.9000' , '5.9' , '0' , '5' , '5.61' ) 18/03/2026 04:01:29 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101546' , '17734' , 'VANGELO E ATTI BAMBINI' , '3' , '-3' , '4' , '2.63' , '2.63' , '0' , '0' , '7.89' ) 18/03/2026 04:02:31 pm >> SELECT document_num FROM ps_document WHERE document_num = '778' AND id_document != '101768' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-03-16') 18/03/2026 04:02:31 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '778', document_date = '2026-03-16', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = '', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '15', id_causal = '0', price_tax_included = '250.00', price_tax_excluded = '228.36', date_upd = NOW() WHERE id_document = '101768' 18/03/2026 04:02:31 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '101768' 18/03/2026 04:02:31 pm >> DELETE FROM ps_document_detail WHERE id_document = '101768' 18/03/2026 04:02:31 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101768' , '20791' , 'BOTTIGLIE PER ACQUA BENEDETTA - CONF. 100 PZ' , '5' , '-5' , '1' , '24.0000' , '19.672131147541' , '22' , '0' , '120.00' ) 18/03/2026 04:02:31 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101768' , '17734' , 'VANGELO E ATTI BAMBINI' , '50' , '-50' , '4' , '2.6' , '2.6' , '0' , '0' , '130.00' ) 18/03/2026 04:02:55 pm >> SELECT document_num FROM ps_document WHERE document_num = '804' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-03-18') 18/03/2026 04:02:55 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '804' , '2026-03-18' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '85.50' , '85.50' , NOW() , NOW() ) 18/03/2026 04:02:55 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '101800' 18/03/2026 04:02:55 pm >> DELETE FROM ps_document_detail WHERE id_document = '101800' 18/03/2026 04:02:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101800' , '17734' , 'VANGELO E ATTI BAMBINI' , '30' , '-30' , '4' , '3.00' , '3' , '0' , '5' , '85.50' ) 18/03/2026 04:51:40 pm >> INSERT INTO ps_product ( ean13 , id_tax_rules_group , `date_add` , `date_upd` ) VALUES ( '' , '1' , NOW() , NOW() ) 18/03/2026 04:51:40 pm >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '24864' , '1' , '' , 'nuovo-prodotto' ) 18/03/2026 04:51:40 pm >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , `date_add` , `date_upd` ) VALUES ( '24864' , '1' , '1' , '2' , NOW() , NOW() ) 18/03/2026 04:51:40 pm >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) VALUES ( '24864' , '0' , '1' , '0' , '0' ) 18/03/2026 04:54:34 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '002426' AND id_product != '24864' AND ean13 != '' 18/03/2026 04:54:34 pm >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '002426', date_upd = NOW() WHERE id_product = '24864' 18/03/2026 04:54:34 pm >> UPDATE ps_product_lang SET name = 'STELLARIO STELLA 5 PUNTE', description = '' WHERE id_product = '24864' 18/03/2026 04:54:34 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '23.770491803278688' WHERE id_product = '24864' 18/03/2026 04:54:34 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '23.770491803278688', id_tax_rules_group = '1', id_category_default = '424', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '24864' 18/03/2026 04:54:34 pm >> DELETE FROM ps_specific_price WHERE id_product = '24864' 18/03/2026 04:55:06 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '31' , '57/A' , '2026-03-17' , 'A' , '0' , '116' , '4669160' , 'VIA SAN DOMENICO snc 80044 OTTAVIANO' , '' , '' , '12' , '1' , '0' , '0' , '0' , '' , '3' , '0' , '133.14' , '109.13' , NOW() , NOW() ) 18/03/2026 04:55:06 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '101801' 18/03/2026 04:55:06 pm >> DELETE FROM ps_document_detail WHERE id_document = '101801' 18/03/2026 04:55:06 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101801' , '14063' , 'STELLARIO PLEX CM 10 / 12' , '10' , '10' , '1' , '7.2' , '5.9016393442623' , '22' , '45' , '48.3120' ) 18/03/2026 04:55:06 pm >> DELETE FROM ps_product_supplier WHERE id_product = '14063' AND id_supplier = '116' 18/03/2026 04:55:06 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '14063' , '116' , '1' ) 18/03/2026 04:55:06 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101801' , '14064' , 'STELLARIO PLEX CM 16' , '3' , '3' , '1' , '8.2' , '6.7213114754098' , '22' , '45' , '16.5066' ) 18/03/2026 04:55:06 pm >> DELETE FROM ps_product_supplier WHERE id_product = '14064' AND id_supplier = '116' 18/03/2026 04:55:06 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '14064' , '116' , '1' ) 18/03/2026 04:55:06 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101801' , '18764' , 'STELLARIO PLEX CM 18/20' , '1' , '1' , '1' , '12' , '9.8360655737705' , '22' , '45' , '8.0520' ) 18/03/2026 04:55:06 pm >> DELETE FROM ps_product_supplier WHERE id_product = '18764' AND id_supplier = '116' 18/03/2026 04:55:06 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18764' , '116' , '1' ) 18/03/2026 04:55:06 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101801' , '21289' , 'STELLARIO PLEX CM 22' , '1' , '1' , '1' , '16' , '13.114754098361' , '22' , '45' , '10.7360' ) 18/03/2026 04:55:06 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21289' AND id_supplier = '116' 18/03/2026 04:55:06 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21289' , '116' , '1' ) 18/03/2026 04:55:06 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101801' , '24864' , 'STELLARIO STELLA 5 PUNTE' , '2' , '2' , '1' , '26' , '21.311475409836' , '22' , '45' , '34.8920' ) 18/03/2026 04:55:06 pm >> DELETE FROM ps_product_supplier WHERE id_product = '24864' AND id_supplier = '116' 18/03/2026 04:55:06 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '24864' , '116' , '1' ) 18/03/2026 05:24:07 pm >> INSERT INTO ps_product ( ean13 , id_tax_rules_group , `date_add` , `date_upd` ) VALUES ( '' , '1' , NOW() , NOW() ) 18/03/2026 05:24:07 pm >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '24865' , '1' , '' , 'nuovo-prodotto' ) 18/03/2026 05:24:07 pm >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , `date_add` , `date_upd` ) VALUES ( '24865' , '1' , '1' , '2' , NOW() , NOW() ) 18/03/2026 05:24:07 pm >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) VALUES ( '24865' , '0' , '1' , '0' , '0' ) 18/03/2026 05:25:49 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '1000000010237' AND id_product != '24865' AND ean13 != '' 18/03/2026 05:25:49 pm >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '1000000010237', date_upd = NOW() WHERE id_product = '24865' 18/03/2026 05:25:49 pm >> UPDATE ps_product_lang SET name = 'LAMPADA SANTISSIMO - 303', description = '' WHERE id_product = '24865' 18/03/2026 05:25:49 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '77.8688524590164' WHERE id_product = '24865' 18/03/2026 05:25:49 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '77.8688524590164', id_tax_rules_group = '1', id_category_default = '147', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '24865' 18/03/2026 05:25:49 pm >> DELETE FROM ps_specific_price WHERE id_product = '24865' 18/03/2026 05:27:05 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '000070' AND id_product != '782' AND ean13 != '' 18/03/2026 05:27:05 pm >> UPDATE ps_product SET id_supplier = '12', reference = '', ean13 = '000070', date_upd = NOW() WHERE id_product = '782' 18/03/2026 05:27:05 pm >> UPDATE ps_product_lang SET name = 'ASPERGES PER SECCHIELLO - 701', description = '' WHERE id_product = '782' 18/03/2026 05:27:05 pm >> UPDATE ps_product SET wholesale_price = '21.85', on_sale = '0', price = '45.08196721311476' WHERE id_product = '782' 18/03/2026 05:27:05 pm >> UPDATE ps_product_shop SET wholesale_price = '21.85', price = '45.08196721311476', id_tax_rules_group = '1', id_category_default = '147', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '782' 18/03/2026 05:27:05 pm >> DELETE FROM ps_specific_price WHERE id_product = '782' 18/03/2026 05:33:30 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '31' , '832' , '2026-03-16' , '' , '0' , '12' , '2607' , 'VIA NAZIONALE NORD, 4 - LAGARO 40035 CASTIGLIONE DEI PEPOLI' , '' , '' , '10.08' , '1' , '0' , '0' , '0' , '' , '9' , '0' , '189.58' , '155.39' , NOW() , NOW() ) 18/03/2026 05:33:30 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '101802' 18/03/2026 05:33:30 pm >> DELETE FROM ps_document_detail WHERE id_document = '101802' 18/03/2026 05:33:30 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101802' , '24865' , 'LAMPADA SANTISSIMO - 303' , '1' , '1' , '1' , '34.5' , '28.27868852459' , '22' , '5' , '39.9855' ) 18/03/2026 05:33:30 pm >> DELETE FROM ps_product_supplier WHERE id_product = '24865' AND id_supplier = '12' 18/03/2026 05:33:30 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '24865' , '12' , '1' ) 18/03/2026 05:33:30 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101802' , '782' , 'ASPERGES PER SECCHIELLO - 701' , '2' , '2' , '1' , '23.7' , '19.426229508197' , '22' , '5' , '54.9366' ) 18/03/2026 05:33:30 pm >> DELETE FROM ps_product_supplier WHERE id_product = '782' AND id_supplier = '12' 18/03/2026 05:33:30 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '782' , '12' , '1' ) 18/03/2026 05:33:30 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101802' , '2436' , 'COLORANTE PER CERA LIQUIDA - 1002' , '12' , '12' , '1' , '1.03' , '0.84426229508197' , '22' , '5' , '14.3252' ) 18/03/2026 05:33:31 pm >> DELETE FROM ps_product_supplier WHERE id_product = '2436' AND id_supplier = '12' 18/03/2026 05:33:31 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '2436' , '12' , '1' ) 18/03/2026 05:33:31 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101802' , '15768' , 'ANTIVENTO PER TORCIA ORO DIAM. 5 - 35' , '2' , '2' , '1' , '22.15' , '18.155737704918' , '22' , '5' , '51.3437' ) 18/03/2026 05:33:31 pm >> DELETE FROM ps_product_supplier WHERE id_product = '15768' AND id_supplier = '12' 18/03/2026 05:33:31 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '15768' , '12' , '1' ) 18/03/2026 05:33:31 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101802' , '11269' , 'VETRO BIANCO CON DECORAZIONI 8GG - 1495 ' , '2' , '2' , '1' , '7.2' , '5.9016393442623' , '22' , '5' , '16.6896' ) 18/03/2026 05:33:31 pm >> DELETE FROM ps_product_supplier WHERE id_product = '11269' AND id_supplier = '12' 18/03/2026 05:33:31 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '11269' , '12' , '1' ) 18/03/2026 05:51:13 pm >> SELECT document_num FROM ps_document WHERE document_num = '9/E' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2026-03-18') 18/03/2026 05:51:13 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '23' , '9/E' , '2026-03-18' , 'E' , '31' , '0' , '4670717' , 'VIA LOURDES, 21 14015 SAN DAMIANO D\\\'ASTI' , '' , '' , '0.00' , '4' , '0' , '0' , '0' , '' , '17' , '0' , '278.40' , '228.20' , NOW() , NOW() ) 18/03/2026 05:51:13 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '101803' 18/03/2026 05:51:13 pm >> DELETE FROM ps_document_detail WHERE id_document = '101803' 18/03/2026 05:51:13 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101803' , '12849' , 'LIBRO DELLE SS. MESSE' , '4' , '-4' , '1' , '20.0000' , '16.3934' , '22' , '40' , '48.00' ) 18/03/2026 05:51:13 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101803' , '16603' , 'LIBRO INTENZIONI SANTE MESSE' , '2' , '-2' , '1' , '12.0000' , '9.8361' , '22' , '40' , '14.40' ) 18/03/2026 05:51:13 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101803' , '12815' , 'LIBRO DEI CRESIMATI' , '2' , '-2' , '1' , '40.0000' , '32.7869' , '22' , '40' , '48.00' ) 18/03/2026 05:51:13 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101803' , '12818' , 'LIBRO DELLE PRIME COMUNIONI' , '4' , '-4' , '1' , '40.0000' , '32.7869' , '22' , '40' , '96.00' ) 18/03/2026 05:51:13 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101803' , '12816' , 'LIBRO DEI DEFUNTI' , '3' , '-3' , '1' , '40.0000' , '32.7869' , '22' , '40' , '72.00' ) 18/03/2026 05:57:17 pm >> SELECT document_num FROM ps_document WHERE document_num = '141/A' AND id_document != '99866' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2025-11-12') 18/03/2026 05:57:17 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '141/A', document_date = '2025-11-12', document_letter = 'A', id_customer = '31', id_supplier = '', id_address = '4670717', address1 = 'VIA LOURDES, 21 14015 SAN DAMIANO D\\\'ASTI', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '17', id_causal = '0', price_tax_included = '336.00', price_tax_excluded = '336.00', date_upd = NOW() WHERE id_document = '99866' 18/03/2026 05:57:17 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '99866' 18/03/2026 05:57:18 pm >> DELETE FROM ps_document_detail WHERE id_document = '99866' 18/03/2026 05:57:18 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '99866' , '20953' , 'VANGELO E ATTI DEGLI APOSTOLI' , '100' , '-100' , '4' , '2.8000' , '2.8' , '0' , '40' , '168.00' ) 18/03/2026 05:57:18 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '99866' , '20952' , 'VANGELO E ATTI DEGLI APOSTOLI - ragazzi' , '100' , '-100' , '4' , '2.8000' , '2.8' , '0' , '40' , '168.00' ) 18/03/2026 06:24:45 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '001900' AND id_product != '19099' AND ean13 != '' 18/03/2026 06:24:45 pm >> UPDATE ps_product SET id_supplier = '157', reference = '', ean13 = '001900', date_upd = NOW() WHERE id_product = '19099' 18/03/2026 06:24:45 pm >> UPDATE ps_product_lang SET name = 'INCENSO A', description = '' WHERE id_product = '19099' 18/03/2026 06:24:46 pm >> UPDATE ps_product SET wholesale_price = '20.00', on_sale = '0', price = '43.442622950819676' WHERE id_product = '19099' 18/03/2026 06:24:46 pm >> UPDATE ps_product_shop SET wholesale_price = '20.00', price = '43.442622950819676', id_tax_rules_group = '1', id_category_default = '489', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '19099' 18/03/2026 06:24:46 pm >> DELETE FROM ps_specific_price WHERE id_product = '19099' 18/03/2026 06:25:45 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '001907' AND id_product != '19107' AND ean13 != '' 18/03/2026 06:25:45 pm >> UPDATE ps_product SET id_supplier = '157', reference = '', ean13 = '001907', date_upd = NOW() WHERE id_product = '19107' 18/03/2026 06:25:45 pm >> UPDATE ps_product_lang SET name = 'INCENSO GRANI 3A - BUSTA', description = '' WHERE id_product = '19107' 18/03/2026 06:25:45 pm >> UPDATE ps_product SET wholesale_price = '10.00', on_sale = '0', price = '28.688524590163937' WHERE id_product = '19107' 18/03/2026 06:25:45 pm >> UPDATE ps_product_shop SET wholesale_price = '10.00', price = '28.688524590163937', id_tax_rules_group = '1', id_category_default = '489', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '19107' 18/03/2026 06:25:45 pm >> DELETE FROM ps_specific_price WHERE id_product = '19107' 18/03/2026 06:27:02 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '000856' AND id_product != '19818' AND ean13 != '' 18/03/2026 06:27:02 pm >> UPDATE ps_product SET id_supplier = '157', reference = '', ean13 = '000856', date_upd = NOW() WHERE id_product = '19818' 18/03/2026 06:27:02 pm >> UPDATE ps_product_lang SET name = 'INCENSO NATURALE 3A KG 1', description = '' WHERE id_product = '19818' 18/03/2026 06:27:03 pm >> UPDATE ps_product SET wholesale_price = '7.90', on_sale = '0', price = '22.950819672131146' WHERE id_product = '19818' 18/03/2026 06:27:03 pm >> UPDATE ps_product_shop SET wholesale_price = '7.90', price = '22.950819672131146', id_tax_rules_group = '1', id_category_default = '489', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '19818' 18/03/2026 06:27:03 pm >> DELETE FROM ps_specific_price WHERE id_product = '19818' 18/03/2026 06:28:18 pm >> INSERT INTO ps_product ( ean13 , id_tax_rules_group , `date_add` , `date_upd` ) VALUES ( '' , '1' , NOW() , NOW() ) 18/03/2026 06:28:18 pm >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '24866' , '1' , '' , 'nuovo-prodotto' ) 18/03/2026 06:28:18 pm >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , `date_add` , `date_upd` ) VALUES ( '24866' , '1' , '1' , '2' , NOW() , NOW() ) 18/03/2026 06:28:18 pm >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) VALUES ( '24866' , '0' , '1' , '0' , '0' ) 18/03/2026 06:30:08 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '002427' AND id_product != '24866' AND ean13 != '' 18/03/2026 06:30:08 pm >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '002427', date_upd = NOW() WHERE id_product = '24866' 18/03/2026 06:30:08 pm >> UPDATE ps_product_lang SET name = 'FRAGRANZA MIRRA VARIE PROFUMAZIONI 8ML', description = '' WHERE id_product = '24866' 18/03/2026 06:30:08 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '3.19672131147541' WHERE id_product = '24866' 18/03/2026 06:30:09 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '3.19672131147541', id_tax_rules_group = '1', id_category_default = '489', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '24866' 18/03/2026 06:30:09 pm >> DELETE FROM ps_specific_price WHERE id_product = '24866' 18/03/2026 06:33:21 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '001900' AND id_product != '19099' AND ean13 != '' 18/03/2026 06:33:22 pm >> UPDATE ps_product SET id_supplier = '157', reference = '', ean13 = '001900', date_upd = NOW() WHERE id_product = '19099' 18/03/2026 06:33:22 pm >> UPDATE ps_product_lang SET name = 'INCENSO A', description = '' WHERE id_product = '19099' 18/03/2026 06:33:22 pm >> UPDATE ps_product SET wholesale_price = '20.00', on_sale = '0', price = '40.98360655737705' WHERE id_product = '19099' 18/03/2026 06:33:22 pm >> UPDATE ps_product_shop SET wholesale_price = '20.00', price = '40.98360655737705', id_tax_rules_group = '1', id_category_default = '489', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '19099' 18/03/2026 06:33:22 pm >> DELETE FROM ps_specific_price WHERE id_product = '19099' 18/03/2026 06:37:42 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '0400020' AND id_product != '1710' AND ean13 != '' 18/03/2026 06:37:42 pm >> UPDATE ps_product SET id_supplier = '157', reference = '2015', ean13 = '0400020', date_upd = NOW() WHERE id_product = '1710' 18/03/2026 06:37:42 pm >> UPDATE ps_product_lang SET name = 'CARBONCINI - PZ 120', description = '' WHERE id_product = '1710' 18/03/2026 06:37:42 pm >> UPDATE ps_product SET wholesale_price = '3.00', on_sale = '0', price = '10.6557' WHERE id_product = '1710' 18/03/2026 06:37:42 pm >> UPDATE ps_product_shop SET wholesale_price = '3.00', price = '10.6557', id_tax_rules_group = '1', id_category_default = '489', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '1710' 18/03/2026 06:37:42 pm >> DELETE FROM ps_specific_price WHERE id_product = '1710' 18/03/2026 06:38:54 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '31' , '2574' , '2026-03-13' , '' , '0' , '157' , '4673300' , '10 AGIAS ANNIS STR 17778 ATHENS - GRECIA' , '' , '' , '210' , '0' , '0' , '0' , '0' , '' , '9' , '0' , '3291.00' , '3291.00' , NOW() , NOW() ) 18/03/2026 06:38:54 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '101804' 18/03/2026 06:38:54 pm >> DELETE FROM ps_document_detail WHERE id_document = '101804' 18/03/2026 06:38:54 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101804' , '19099' , 'INCENSO A' , '40' , '40' , '0' , '22' , '22' , '' , '0' , '880.0000' ) 18/03/2026 06:38:54 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19099' AND id_supplier = '157' 18/03/2026 06:38:54 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19099' , '157' , '1' ) 18/03/2026 06:38:54 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101804' , '19107' , 'INCENSO GRANI 3A - BUSTA' , '40' , '40' , '0' , '14' , '14' , '' , '0' , '560.0000' ) 18/03/2026 06:38:54 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19107' AND id_supplier = '157' 18/03/2026 06:38:54 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19107' , '157' , '1' ) 18/03/2026 06:38:54 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101804' , '19818' , 'INCENSO NATURALE 3A KG 1' , '50' , '50' , '0' , '11.5' , '11.5' , '' , '0' , '575.0000' ) 18/03/2026 06:38:54 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19818' AND id_supplier = '157' 18/03/2026 06:38:54 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19818' , '157' , '1' ) 18/03/2026 06:38:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101804' , '24866' , 'FRAGRANZA MIRRA VARIE PROFUMAZIONI 8ML' , '70' , '70' , '0' , '0.9' , '0.9' , '' , '0' , '63.0000' ) 18/03/2026 06:38:55 pm >> DELETE FROM ps_product_supplier WHERE id_product = '24866' AND id_supplier = '157' 18/03/2026 06:38:55 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '24866' , '157' , '1' ) 18/03/2026 06:38:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101804' , '19105' , 'FRAGRANZA MIRRA' , '25' , '25' , '0' , '2' , '2' , '' , '0' , '50.0000' ) 18/03/2026 06:38:55 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19105' AND id_supplier = '157' 18/03/2026 06:38:55 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19105' , '157' , '1' ) 18/03/2026 06:38:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101804' , '19106' , 'FRAGRANZA NARDO' , '25' , '25' , '0' , '2.6' , '2.6' , '' , '0' , '65.0000' ) 18/03/2026 06:38:55 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19106' AND id_supplier = '157' 18/03/2026 06:38:55 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19106' , '157' , '1' ) 18/03/2026 06:38:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101804' , '1710' , 'CARBONCINI PER TURIBOLO - PZ 120' , '200' , '200' , '0' , '3' , '3' , '' , '0' , '600.0000' ) 18/03/2026 06:38:55 pm >> DELETE FROM ps_product_supplier WHERE id_product = '1710' AND id_supplier = '157' 18/03/2026 06:38:55 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '1710' , '157' , '1' ) 18/03/2026 06:38:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101804' , '19102' , 'CARBONCINI MM 40' , '72' , '72' , '0' , '4' , '4' , '' , '0' , '288.0000' ) 18/03/2026 06:38:55 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19102' AND id_supplier = '157' 18/03/2026 06:38:55 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19102' , '157' , '1' ) 18/03/2026 06:44:33 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '001907' AND id_product != '19107' AND ean13 != '' 18/03/2026 06:44:33 pm >> UPDATE ps_product SET id_supplier = '157', reference = '', ean13 = '001907', date_upd = NOW() WHERE id_product = '19107' 18/03/2026 06:44:33 pm >> UPDATE ps_product_lang SET name = 'INCENSO GRANI 3A - BUSTA', description = '' WHERE id_product = '19107' 18/03/2026 06:44:33 pm >> UPDATE ps_product SET wholesale_price = '10.00', on_sale = '0', price = '28.6885' WHERE id_product = '19107' 18/03/2026 06:44:33 pm >> UPDATE ps_product_shop SET wholesale_price = '10.00', price = '28.6885', id_tax_rules_group = '1', id_category_default = '489', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '19107' 18/03/2026 06:44:33 pm >> DELETE FROM ps_specific_price WHERE id_product = '19107' 18/03/2026 07:01:14 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '002427' AND id_product != '24866' AND ean13 != '' 18/03/2026 07:01:14 pm >> UPDATE ps_product SET id_supplier = '157', reference = '', ean13 = '002427', date_upd = NOW() WHERE id_product = '24866' 18/03/2026 07:01:14 pm >> UPDATE ps_product_lang SET name = 'FRAGRANZA MIRRA VARIE PROFUMAZIONI 8ML', description = '' WHERE id_product = '24866' 18/03/2026 07:01:14 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '3.19672131147541' WHERE id_product = '24866' 18/03/2026 07:01:14 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '3.19672131147541', id_tax_rules_group = '1', id_category_default = '489', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '24866' 18/03/2026 07:01:14 pm >> DELETE FROM ps_specific_price WHERE id_product = '24866' 18/03/2026 07:32:27 pm >> SELECT document_num FROM ps_document WHERE document_num = '805' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-03-18') 18/03/2026 07:32:27 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '805' , '2026-03-18' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '19.98' , '16.38' , NOW() , NOW() ) 18/03/2026 07:32:27 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '101805' 18/03/2026 07:32:27 pm >> DELETE FROM ps_document_detail WHERE id_document = '101805' 18/03/2026 07:32:27 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101805' , '17617' , 'IMMAGINI ISONZO X 100' , '6' , '-6' , '1' , '3.33' , '2.7295081967213' , '22' , '0' , '19.98' ) 18/03/2026 07:38:26 pm >> SELECT document_num FROM ps_document WHERE document_num = '806' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-03-18') 18/03/2026 07:38:26 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '806' , '2026-03-18' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '6.95' , '5.70' , NOW() , NOW() ) 18/03/2026 07:38:26 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '101806' 18/03/2026 07:38:26 pm >> DELETE FROM ps_document_detail WHERE id_document = '101806' 18/03/2026 07:38:26 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101806' , '22735' , 'MEDAGLIA SANT\'ANTONIO - G022-25' , '1' , '-1' , '1' , '0.25' , '0.20491803278689' , '22' , '0' , '0.25' ) 18/03/2026 07:38:26 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101806' , '24619' , 'CONFEZIONE TAU CON CARTONCINO - 1242' , '1' , '-1' , '1' , '4.00' , '3.2786885245902' , '22' , '0' , '4.00' ) 18/03/2026 07:38:26 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '101806' , '24620' , 'CONFEZIONE DECINA S. FRANCESCO - 3169' , '1' , '-1' , '1' , '2.70' , '2.2131147540984' , '22' , '0' , '2.70' )