21/01/2026 09:55:58 am >> SELECT document_num FROM ps_document WHERE document_num = '209' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 09:55:58 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' , '209' , '2026-01-21' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '20.70' , '19.10' , NOW() , NOW() ) 21/01/2026 09:55:58 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 = '101005' 21/01/2026 09:55:58 am >> DELETE FROM ps_document_detail WHERE id_document = '101005' 21/01/2026 09:55:58 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 ( '101005' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '2' , '-2' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '7.00' ) 21/01/2026 09:55:58 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 ( '101005' , '7311' , 'OSTIA SOTTILE 74MM' , '4' , '-4' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '8.00' ) 21/01/2026 09:55:58 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 ( '101005' , '18122' , 'ROCCA STOPPINO M. 100 - 469/100' , '2' , '-2' , '1' , '1.10' , '0.9016393442623' , '22' , '0' , '2.20' ) 21/01/2026 09:55:58 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 ( '101005' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '3.5' , '2.8688524590164' , '22' , '0' , '3.50' ) 21/01/2026 10:23:23 am >> SELECT document_num FROM ps_document WHERE document_num = '10/A' AND id_document != '100808' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2026-01-05') 21/01/2026 10:23:23 am >> UPDATE ps_document SET id_document_type = '24', document_num = '10/A', document_date = '2026-01-05', document_letter = 'A', id_customer = '3812', id_supplier = '', id_address = '4679440', address1 = 'LARGO PLEBISCITO 12 84121 SALERNO ', address2 = '', note = '149/A DEL 03/12/2025', 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 = '217.70', price_tax_excluded = '187.52', date_upd = NOW() WHERE id_document = '100808' 21/01/2026 10:23:23 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 = '100808' 21/01/2026 10:23:23 am >> DELETE FROM ps_document_detail WHERE id_document = '100808' 21/01/2026 10:23:23 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 ( '100808' , '16689' , 'OSTIA PAN DI CENA mm80' , '10' , '-10' , '3' , '2.0000' , '1.9230769230769' , '4' , '0' , '20.00' ) 21/01/2026 10:23:23 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 ( '100808' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '10' , '-10' , '3' , '3.5000' , '3.3653846153846' , '4' , '0' , '35.00' ) 21/01/2026 10:23:23 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 ( '100808' , '17004' , 'BIGLIETTO AUGURALE PICCOLO' , '6' , '-6' , '1' , '0.8000' , '0.65573770491803' , '22' , '0' , '4.80' ) 21/01/2026 10:23:23 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 ( '100808' , '16691' , 'PARTICOLE PER CELIACI 25pz' , '2' , '-2' , '3' , '4.5000' , '4.3269230769231' , '4' , '0' , '9.00' ) 21/01/2026 10:23:23 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 ( '100808' , '1914' , 'CERA DELLA LITURGIA' , '12' , '-12' , '1' , '4.7' , '3.8524590163934' , '22' , '0' , '56.40' ) 21/01/2026 10:23:23 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 ( '100808' , '24433' , 'LITURGICO CARTA - KING CELLOPHANE' , '25' , '-25' , '1' , '3.7' , '3.0327868852459' , '22' , '0' , '92.50' ) 21/01/2026 10:25:14 am >> SELECT ean13 FROM ps_product WHERE ean13 = '002386' AND id_product != '23840' AND ean13 != '' 21/01/2026 10:25:14 am >> UPDATE ps_product SET id_supplier = '89', reference = '', ean13 = '002386', date_upd = NOW() WHERE id_product = '23840' 21/01/2026 10:25:14 am >> UPDATE ps_product_lang SET name = 'COPRILEGGIO - 331/TP', description = '' WHERE id_product = '23840' 21/01/2026 10:25:14 am >> UPDATE ps_product SET wholesale_price = '28.50', on_sale = '0', price = '55.7377' WHERE id_product = '23840' 21/01/2026 10:25:14 am >> UPDATE ps_product_shop SET wholesale_price = '28.50', price = '55.7377', id_tax_rules_group = '1', id_category_default = '396', 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 = '23840' 21/01/2026 10:25:14 am >> DELETE FROM ps_specific_price WHERE id_product = '23840' 21/01/2026 10:26:11 am >> SELECT document_num FROM ps_document WHERE document_num = '1/L' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 10:26:11 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 ( '23' , '1/L' , '2026-01-21' , 'L' , '204' , '0' , '4671483' , 'VIA ROBERTO IL GUISCARDO, 3 84121 SALERNO' , '' , 'CAPPELLANIA OSP. CAMPOLONGO' , '0.00' , '4' , '0' , '0' , '0' , '' , '3' , '0' , '339.70' , '283.85' , NOW() , NOW() ) 21/01/2026 10:26:11 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 = '101006' 21/01/2026 10:26:11 am >> DELETE FROM ps_document_detail WHERE id_document = '101006' 21/01/2026 10:26:11 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 ( '101006' , '7202' , 'ARTICOLI RELIGIOSI culla' , '1' , '-1' , '1' , '25.0000' , '20.4918' , '22' , '0' , '25.00' ) 21/01/2026 10:26:11 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 ( '101006' , '11384' , 'VINO BIANCO DOLCE - 102' , '3' , '-3' , '1' , '8.9000' , '7.2951' , '22' , '0' , '26.70' ) 21/01/2026 10:26:11 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 ( '101006' , '23223' , 'COPRILEGGIO - CL10' , '1' , '-1' , '1' , '55.0000' , '45.082' , '22' , '0' , '55.00' ) 21/01/2026 10:26:11 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 ( '101006' , '23840' , 'COPRI LEGGIO - 331/TP' , '1' , '-1' , '1' , '68.0000' , '55.7377' , '22' , '0' , '68.00' ) 21/01/2026 10:26:11 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 ( '101006' , '21612' , 'RITO ESEQUIE - ED. MIN.- N.E.' , '1' , '-1' , '4' , '30.0000' , '30' , '0' , '0' , '30.00' ) 21/01/2026 10:26:11 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 ( '101006' , '7202' , 'ARTICOLI RELIGIOSI - portacero' , '1' , '-1' , '1' , '135.0000' , '110.6557' , '22' , '0' , '135.00' ) 21/01/2026 10:34:02 am >> SELECT document_num FROM ps_document WHERE document_num = '210' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 10:34:02 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' , '210' , '2026-01-21' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '2.40' , '2.40' , NOW() , NOW() ) 21/01/2026 10:34:02 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 = '101007' 21/01/2026 10:34:02 am >> DELETE FROM ps_document_detail WHERE id_document = '101007' 21/01/2026 10:34:02 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 ( '101007' , '23807' , 'CALENDARIO LITURGICO 2026' , '3' , '-3' , '4' , '0.80' , '0.8' , '0' , '0' , '2.40' ) 21/01/2026 10:34:43 am >> DELETE FROM ps_document WHERE id_document = '100806' 21/01/2026 10:34:43 am >> DELETE FROM ps_document_detail WHERE id_document = '100806' 21/01/2026 10:35:47 am >> SELECT document_num FROM ps_document WHERE document_num = '10/A' AND id_document != '100808' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2026-01-05') 21/01/2026 10:35:47 am >> UPDATE ps_document SET id_document_type = '24', document_num = '10/A', document_date = '2026-01-05', document_letter = 'A', id_customer = '3812', id_supplier = '', id_address = '4679440', address1 = 'LARGO PLEBISCITO 12 84121 SALERNO ', address2 = '', note = '149/A DEL 03/12/2025', 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 = '310.20', price_tax_excluded = '263.34', date_upd = NOW() WHERE id_document = '100808' 21/01/2026 10:35: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 = '100808' 21/01/2026 10:35:48 am >> DELETE FROM ps_document_detail WHERE id_document = '100808' 21/01/2026 10:35:48 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 ( '100808' , '16689' , 'OSTIA PAN DI CENA mm80' , '10' , '-10' , '3' , '2.0000' , '1.9230769230769' , '4' , '0' , '20.00' ) 21/01/2026 10:35:48 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 ( '100808' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '10' , '-10' , '3' , '3.5000' , '3.3653846153846' , '4' , '0' , '35.00' ) 21/01/2026 10:35:48 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 ( '100808' , '17004' , 'BIGLIETTO AUGURALE PICCOLO' , '6' , '-6' , '1' , '0.8000' , '0.65573770491803' , '22' , '0' , '4.80' ) 21/01/2026 10:35:48 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 ( '100808' , '16691' , 'PARTICOLE PER CELIACI 25pz' , '2' , '-2' , '3' , '4.5000' , '4.3269230769231' , '4' , '0' , '9.00' ) 21/01/2026 10:35:48 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 ( '100808' , '1914' , 'CERA DELLA LITURGIA' , '12' , '-12' , '1' , '4.7000' , '3.8524590163934' , '22' , '0' , '56.40' ) 21/01/2026 10:35:48 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 ( '100808' , '24433' , 'LITURGICO CARTA - KING CELLOPHANE' , '50' , '-50' , '1' , '3.7000' , '3.0327868852459' , '22' , '0' , '185.00' ) 21/01/2026 10:46:46 am >> SELECT document_num FROM ps_document WHERE document_num = '211' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 10:46:46 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' , '211' , '2026-01-21' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '15' , '0' , '176.30' , '156.51' , NOW() , NOW() ) 21/01/2026 10:46:46 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 = '101008' 21/01/2026 10:46:46 am >> DELETE FROM ps_document_detail WHERE id_document = '101008' 21/01/2026 10:46:46 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 ( '101008' , '5903' , 'LITURGICO ART. 60LT ROSSO SUPER' , '30' , '-30' , '1' , '3' , '2.4590163934426' , '22' , '0' , '90.00' ) 21/01/2026 10:46:46 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 ( '101008' , '16691' , 'PARTICOLE PER CELIACI 25pz' , '1' , '-1' , '3' , '4.50' , '4.3269230769231' , '4' , '0' , '4.50' ) 21/01/2026 10:46:46 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 ( '101008' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '15' , '-15' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '52.50' ) 21/01/2026 10:46:46 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 ( '101008' , '16689' , 'OSTIA PAN DI CENA mm80' , '10' , '-10' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '20.00' ) 21/01/2026 10:46:46 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 ( '101008' , '22152' , 'A TE RICORRIAMO' , '2' , '-2' , '4' , '3.00' , '3' , '0' , '0' , '6.00' ) 21/01/2026 10:46:46 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 ( '101008' , '18122' , 'ROCCA STOPPINO M. 100 - 469/100' , '3' , '-3' , '1' , '1.10' , '0.9016393442623' , '22' , '0' , '3.30' ) 21/01/2026 10:59:56 am >> SELECT document_num FROM ps_document WHERE document_num = '212' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 10:59: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' , '212' , '2026-01-21' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '19.50' , '15.98' , NOW() , NOW() ) 21/01/2026 10:59: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 = '101009' 21/01/2026 10:59:56 am >> DELETE FROM ps_document_detail WHERE id_document = '101009' 21/01/2026 10:59: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 ( '101009' , '1912' , 'CERA DELL\'EREMO - 415/B ' , '3' , '-3' , '1' , '6.50' , '5.327868852459' , '22' , '0' , '19.50' ) 21/01/2026 11:06:30 am >> SELECT document_num FROM ps_document WHERE document_num = '213' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 11:06:30 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' , '213' , '2026-01-21' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '28.50' , '28.50' , NOW() , NOW() ) 21/01/2026 11:06:30 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 = '101010' 21/01/2026 11:06:30 am >> DELETE FROM ps_document_detail WHERE id_document = '101010' 21/01/2026 11:06:30 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 ( '101010' , '24348' , 'MESSALINO QUOTIDIANO - FEB MAR APR 26' , '2' , '-2' , '4' , '6.00' , '6' , '0' , '5' , '11.40' ) 21/01/2026 11:06:30 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 ( '101010' , '13432' , 'ARTE DI RICOMINCIARE - F. ROSINI' , '1' , '-1' , '4' , '18.00' , '18' , '0' , '5' , '17.10' ) 21/01/2026 11:15:28 am >> SELECT document_num FROM ps_document WHERE document_num = '214' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 11:15:28 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' , '214' , '2026-01-21' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '15' , '0' , '15.90' , '13.03' , NOW() , NOW() ) 21/01/2026 11:15:28 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 = '101011' 21/01/2026 11:15:28 am >> DELETE FROM ps_document_detail WHERE id_document = '101011' 21/01/2026 11:15:28 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 ( '101011' , '13609' , 'APPENDICHIAVI 12X12 - RAQ' , '1' , '-1' , '1' , '15.90' , '13.032786885246' , '22' , '0' , '15.90' ) 21/01/2026 11:16:48 am >> SELECT document_num FROM ps_document WHERE document_num = '215' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 11:16:49 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' , '215' , '2026-01-21' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '15' , '0' , '50.00' , '50.00' , NOW() , NOW() ) 21/01/2026 11:16:49 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 = '101012' 21/01/2026 11:16:49 am >> DELETE FROM ps_document_detail WHERE id_document = '101012' 21/01/2026 11:16:49 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 ( '101012' , '23706' , 'PIU BELLE STORIE DEL VANGELO - PAPA FRANCESCO' , '1' , '-1' , '4' , '15' , '15' , '0' , '0' , '15.00' ) 21/01/2026 11:16:49 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 ( '101012' , '23654' , 'MARIA LA PIU BELLA DEL MONDO - PAPA FRANCESCO' , '1' , '-1' , '4' , '17.00' , '17' , '0' , '0' , '17.00' ) 21/01/2026 11:16:49 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 ( '101012' , '21899' , 'SACRA BIBBIA cei/uelci ' , '1' , '-1' , '4' , '18' , '18' , '0' , '0' , '18.00' ) 21/01/2026 11:27:01 am >> SELECT document_num FROM ps_document WHERE document_num = '216' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 11:27:01 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' , '216' , '2026-01-21' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '14.00' , '14.00' , NOW() , NOW() ) 21/01/2026 11:27:01 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 = '101013' 21/01/2026 11:27:01 am >> DELETE FROM ps_document_detail WHERE id_document = '101013' 21/01/2026 11:27:01 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 ( '101013' , '4223' , 'FOGLIETTI LA DOMENICA SAN PAOLO' , '20' , '-20' , '4' , '0.70' , '0.7' , '0' , '0' , '14.00' ) 21/01/2026 11:54:51 am >> SELECT document_num FROM ps_document WHERE document_num = '217' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 11:54:51 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' , '217' , '2026-01-21' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '15' , '0' , '27.40' , '24.24' , NOW() , NOW() ) 21/01/2026 11:54:51 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 = '101014' 21/01/2026 11:54:51 am >> DELETE FROM ps_document_detail WHERE id_document = '101014' 21/01/2026 11:54:51 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 ( '101014' , '24313' , 'SANTI PER IL CATECHISMO' , '1' , '-1' , '4' , '9.90' , '9.9' , '0' , '0' , '9.90' ) 21/01/2026 11:54:51 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 ( '101014' , '19777' , 'ANELLO CROCE/S.BENEDETTO - 6578SB' , '1' , '-1' , '1' , '17.50' , '14.344262295082' , '22' , '0' , '17.50' ) 21/01/2026 12:04:59 pm >> SELECT document_num FROM ps_document WHERE document_num = '218' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 12:04:59 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' , '218' , '2026-01-21' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '19.00' , '15.57' , NOW() , NOW() ) 21/01/2026 12:04:59 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 = '101015' 21/01/2026 12:04:59 pm >> DELETE FROM ps_document_detail WHERE id_document = '101015' 21/01/2026 12:04: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 ( '101015' , '17533' , 'CINGOLO ORO/COL - CING06' , '1' , '-1' , '1' , '19.00' , '15.573770491803' , '22' , '0' , '19.00' ) 21/01/2026 12:22:43 pm >> SELECT document_num FROM ps_document WHERE document_num = '219' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 12:22:44 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' , '219' , '2026-01-21' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '3.70' , '3.03' , NOW() , NOW() ) 21/01/2026 12:22:44 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 = '101016' 21/01/2026 12:22:44 pm >> DELETE FROM ps_document_detail WHERE id_document = '101016' 21/01/2026 12:22:44 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 ( '101016' , '22546' , 'ROSARIO LEGNO - MM5 - R944' , '1' , '-1' , '1' , '1.50' , '1.2295081967213' , '22' , '0' , '1.50' ) 21/01/2026 12:22:44 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 ( '101016' , '23101' , 'PORTACHIAVI DECINA GIUBILEO - 1704D' , '1' , '-1' , '1' , '2.20' , '1.8032786885246' , '22' , '0' , '2.20' ) 21/01/2026 12:31:43 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' , '1/165' , '2026-01-21' , '165' , '0' , '131' , '4670575' , 'VIA RAFFAELE RUGGI, 29 80125 NAPOLI' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '6.50' , '5.33' , NOW() , NOW() ) 21/01/2026 12:31:43 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 = '101017' 21/01/2026 12:31:43 pm >> DELETE FROM ps_document_detail WHERE id_document = '101017' 21/01/2026 12:31:43 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 ( '101017' , '23147' , 'SPILLA PORTA CIUCCIO ROSA' , '1' , '1' , '1' , '5.33' , '4.3688524590164' , '22' , '0' , '6.5026' ) 21/01/2026 12:31:43 pm >> DELETE FROM ps_product_supplier WHERE id_product = '23147' AND id_supplier = '131' 21/01/2026 12:31:43 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '23147' , '131' , '1' ) 21/01/2026 12:52:11 pm >> SELECT document_num FROM ps_document WHERE document_num = '220' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 12:52:11 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' , '220' , '2026-01-21' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '3' , '0' , '134.90' , '125.05' , NOW() , NOW() ) 21/01/2026 12:52:11 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 = '101018' 21/01/2026 12:52:11 pm >> DELETE FROM ps_document_detail WHERE id_document = '101018' 21/01/2026 12:52:11 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 ( '101018' , '16689' , 'OSTIA PAN DI CENA mm80' , '6' , '-6' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '12.00' ) 21/01/2026 12:52:11 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 ( '101018' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '6' , '-6' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '21.00' ) 21/01/2026 12:52:11 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 ( '101018' , '17617' , 'IMMAGINI ISONZO X 100' , '1' , '-1' , '1' , '3.60' , '2.9508196721311' , '22' , '0' , '3.60' ) 21/01/2026 12:52:11 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 ( '101018' , '3986' , 'EVANGELII GAUDIUM' , '1' , '-1' , '4' , '3.00' , '3' , '0' , '5' , '2.85' ) 21/01/2026 12:52:11 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 ( '101018' , '24449' , 'PRATICA DELLA PRESENZA DI DIO - FRA LORENZO' , '1' , '-1' , '4' , '11.00' , '11' , '0' , '5' , '10.45' ) 21/01/2026 12:52:11 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 ( '101018' , '18131' , 'TAU MEDIO CM3 - T6/T5' , '20' , '-20' , '1' , '1.00' , '0.81967213114754' , '22' , '0' , '20.00' ) 21/01/2026 12:52:11 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 ( '101018' , '1710' , 'CARBONCINI PER TURIBOLO - PZ 120' , '1' , '-1' , '1' , '13.00' , '10.655737704918' , '22' , '0' , '13.00' ) 21/01/2026 12:52:11 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 ( '101018' , '17160' , 'CARBONCINI ROSSI - CARRO' , '1' , '-1' , '1' , '11.00' , '9.016393442623' , '22' , '0' , '11.00' ) 21/01/2026 12:52:11 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 ( '101018' , '11151' , 'LIBRI' , '20' , '-20' , '4' , '2.05' , '2.05' , '0' , '0' , '41.00' ) 21/01/2026 12:58:44 pm >> SELECT document_num FROM ps_document WHERE document_num = '221' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 12:58:44 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' , '221' , '2026-01-21' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '15' , '0' , '121.32' , '106.02' , NOW() , NOW() ) 21/01/2026 12:58:44 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 = '101019' 21/01/2026 12:58:44 pm >> DELETE FROM ps_document_detail WHERE id_document = '101019' 21/01/2026 12:58:44 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 ( '101019' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '4' , '-4' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '14.00' ) 21/01/2026 12:58:44 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 ( '101019' , '16689' , 'OSTIA PAN DI CENA mm80' , '2' , '-2' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '4.00' ) 21/01/2026 12:58:44 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 ( '101019' , '17160' , 'CARBONCINI ROSSI - CARRO' , '1' , '-1' , '1' , '11.00' , '9.016393442623' , '22' , '0' , '11.00' ) 21/01/2026 12:58:44 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 ( '101019' , '1626' , 'CANDELE VOTIVE KG 10 - 13X26 - CIRCA 300 PZ' , '1' , '-1' , '1' , '70.00' , '57.377049180328' , '22' , '0' , '70.00' ) 21/01/2026 12:58:44 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 ( '101019' , '24399' , 'AMEN - APR 26' , '1' , '-1' , '4' , '3.90' , '3.9' , '0' , '5' , '3.71' ) 21/01/2026 12:58:44 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 ( '101019' , '24398' , 'AMEN - MAR 26' , '1' , '-1' , '4' , '3.90' , '3.9' , '0' , '5' , '3.71' ) 21/01/2026 12:58:44 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 ( '101019' , '20790' , 'AI PIEDI DEL SUO AMORE ' , '1' , '-1' , '4' , '3.50' , '3.5' , '0' , '0' , '3.50' ) 21/01/2026 12:58:44 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 ( '101019' , '24422' , 'DOMANDA E IL PERDONO - L.M. EPICOCO' , '1' , '-1' , '4' , '12.00' , '12' , '0' , '5' , '11.40' ) 21/01/2026 12:59:10 pm >> SELECT document_num FROM ps_document WHERE document_num = '222' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 12:59:10 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' , '222' , '2026-01-21' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '15' , '0' , '14.84' , '14.84' , NOW() , NOW() ) 21/01/2026 12:59:10 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 = '101020' 21/01/2026 12:59:10 pm >> DELETE FROM ps_document_detail WHERE id_document = '101020' 21/01/2026 12:59:10 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 ( '101020' , '24399' , 'AMEN - APR 26' , '2' , '-2' , '4' , '3.90' , '3.9' , '0' , '5' , '7.42' ) 21/01/2026 12:59:10 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 ( '101020' , '24398' , 'AMEN - MAR 26' , '2' , '-2' , '4' , '3.90' , '3.9' , '0' , '5' , '7.42' ) 21/01/2026 12:59:54 pm >> SELECT document_num FROM ps_document WHERE document_num = '15' AND id_document != '' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 12:59: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 ( '21' , '15' , '2026-01-21' , '' , '3432' , '0' , '4670953' , 'VIA SAN GIOVANNI, 18 84019 VIETRI SUL MARE' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '15' , '0' , '64.26' , '64.26' , NOW() , NOW() ) 21/01/2026 12:59: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 = '101021' 21/01/2026 12:59:54 pm >> DELETE FROM ps_document_detail WHERE id_document = '101021' 21/01/2026 12:59: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 ( '101021' , '20952' , 'VANGELO E ATTI DEGLI APOSTOLI - ragazzi' , '27' , '-27' , '4' , '2.80' , '2.8' , '0' , '15' , '64.26' ) 21/01/2026 01:01:43 pm >> SELECT document_num FROM ps_document WHERE document_num = '223' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 01:01:43 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' , '223' , '2026-01-21' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '15' , '0' , '57.95' , '57.95' , NOW() , NOW() ) 21/01/2026 01:01:43 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 = '101022' 21/01/2026 01:01:43 pm >> DELETE FROM ps_document_detail WHERE id_document = '101022' 21/01/2026 01:01:43 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 ( '101022' , '24326' , 'IO SONO COME GUARDO - L. EPICOCO' , '3' , '-3' , '4' , '12.00' , '12' , '0' , '5' , '34.20' ) 21/01/2026 01:01:43 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 ( '101022' , '23992' , 'QOHELET - G. RAVASI' , '1' , '-1' , '4' , '25.00' , '25' , '0' , '5' , '23.75' ) 21/01/2026 03:01:49 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '8058400197174' AND id_product != '12040' AND ean13 != '' 21/01/2026 03:01:49 pm >> UPDATE ps_product SET id_supplier = '28', reference = '', ean13 = '8058400197174', date_upd = NOW() WHERE id_product = '12040' 21/01/2026 03:01:49 pm >> UPDATE ps_product_lang SET name = 'MEDAGLIA MIRACOLOSA GRANDE IN ARGENTO - M058', description = '' WHERE id_product = '12040' 21/01/2026 03:01:49 pm >> UPDATE ps_product SET wholesale_price = '5.71', on_sale = '0', price = '12.295081967213115' WHERE id_product = '12040' 21/01/2026 03:01:49 pm >> UPDATE ps_product_shop SET wholesale_price = '5.71', price = '12.295081967213115', id_tax_rules_group = '1', id_category_default = '95', 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 = '12040' 21/01/2026 03:01:49 pm >> DELETE FROM ps_specific_price WHERE id_product = '12040' 21/01/2026 03:23:02 pm >> SELECT document_num FROM ps_document WHERE document_num = '224' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 03:23:02 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' , '224' , '2026-01-21' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '15' , '0' , '98.70' , '87.29' , NOW() , NOW() ) 21/01/2026 03:23:02 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 = '101023' 21/01/2026 03:23:02 pm >> DELETE FROM ps_document_detail WHERE id_document = '101023' 21/01/2026 03:23:02 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 ( '101023' , '19147' , 'CANDELINE NON GOCCIOLANTI GRECHE' , '3' , '-3' , '1' , '17.90' , '14.672131147541' , '22' , '0' , '53.70' ) 21/01/2026 03:23:03 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 ( '101023' , '16691' , 'PARTICOLE PER CELIACI 25pz' , '10' , '-10' , '3' , '4.50' , '4.3269230769231' , '4' , '0' , '45.00' ) 21/01/2026 03:47:21 pm >> SELECT document_num FROM ps_document WHERE document_num = '225' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 03:47:21 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' , '225' , '2026-01-21' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '14.00' , '11.48' , NOW() , NOW() ) 21/01/2026 03:47:21 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 = '101024' 21/01/2026 03:47:21 pm >> DELETE FROM ps_document_detail WHERE id_document = '101024' 21/01/2026 03:47:21 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 ( '101024' , '13049' , 'LITURGICO ART. 60LT BIANCO SUPER' , '4' , '-4' , '1' , '3.50' , '2.8688524590164' , '22' , '0' , '14.00' ) 21/01/2026 03:50:52 pm >> SELECT ean13 FROM ps_product WHERE ean13 = 'BD10X10' AND id_product != '16244' AND ean13 != '' 21/01/2026 03:50:52 pm >> UPDATE ps_product SET id_supplier = '50', reference = '', ean13 = 'BD10X10', date_upd = NOW() WHERE id_product = '16244' 21/01/2026 03:50:52 pm >> UPDATE ps_product_lang SET name = 'QUADRO 10X10', description = '' WHERE id_product = '16244' 21/01/2026 03:50:52 pm >> UPDATE ps_product SET wholesale_price = '5.50', on_sale = '0', price = '13.032786885245903' WHERE id_product = '16244' 21/01/2026 03:50:52 pm >> UPDATE ps_product_shop SET wholesale_price = '5.50', price = '13.032786885245903', id_tax_rules_group = '1', id_category_default = '276', 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 = '16244' 21/01/2026 03:50:52 pm >> DELETE FROM ps_specific_price WHERE id_product = '16244' 21/01/2026 04:55:22 pm >> SELECT document_num FROM ps_document WHERE document_num = '226' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 04:55:22 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' , '226' , '2026-01-21' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '20.50' , '17.87' , NOW() , NOW() ) 21/01/2026 04:55:22 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 = '101025' 21/01/2026 04:55:22 pm >> DELETE FROM ps_document_detail WHERE id_document = '101025' 21/01/2026 04:55:22 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 ( '101025' , '1710' , 'CARBONCINI PER TURIBOLO - PZ 120' , '1' , '-1' , '1' , '13.00' , '10.655737704918' , '22' , '0' , '13.00' ) 21/01/2026 04:55:22 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 ( '101025' , '20433' , 'PARTICOLA MORREALE 38MM - PTC38S' , '1' , '-1' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '3.50' ) 21/01/2026 04:55:22 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 ( '101025' , '7311' , 'OSTIA SOTTILE 74MM' , '2' , '-2' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '4.00' ) 21/01/2026 05:00:59 pm >> DELETE FROM ps_document WHERE id_document = '100901' 21/01/2026 05:00:59 pm >> DELETE FROM ps_document_detail WHERE id_document = '100901' 21/01/2026 05:26:26 pm >> SELECT document_num FROM ps_document WHERE document_num = '227' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 05:26: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' , '227' , '2026-01-21' , '' , '0' , '0' , '0' , 'VIA VITO LEMBO, 2 84020 PALOMONTE' , '' , '' , '0.00' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '390.00' , '371.57' , NOW() , NOW() ) 21/01/2026 05:26: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 = '101026' 21/01/2026 05:26:26 pm >> DELETE FROM ps_document_detail WHERE id_document = '101026' 21/01/2026 05:26: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 ( '101026' , '10751' , 'TU MI PERDONI' , '15' , '-15' , '4' , '6.9000' , '6.9' , '0' , '5' , '98.33' ) 21/01/2026 05:26: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 ( '101026' , '14719' , 'TU MI AMI DAVVERO' , '25' , '-25' , '4' , '6.9000' , '6.9' , '0' , '5' , '163.88' ) 21/01/2026 05:26: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 ( '101026' , '7736' , 'PATENA OTTONE DECORATA - 900/S' , '1' , '-1' , '1' , '51.0000' , '41.8033' , '22' , '0' , '51.00' ) 21/01/2026 05:26: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 ( '101026' , '14719' , 'TU MI AMI DAVVERO' , '1' , '-1' , '4' , '6.9000' , '6.9' , '0' , '5' , '6.56' ) 21/01/2026 05:26: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 ( '101026' , '8247' , 'PREGATE, PREGATE, PREGATE - 8100' , '2' , '-2' , '4' , '10.0000' , '10' , '0' , '5' , '19.00' ) 21/01/2026 05:26: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 ( '101026' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '51.23' , '41.991803278689' , '22' , '0' , '51.23' ) 21/01/2026 05:39:24 pm >> SELECT document_num FROM ps_document WHERE document_num = '228' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 05:39:24 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' , '228' , '2026-01-21' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '15' , '0' , '70.00' , '57.38' , NOW() , NOW() ) 21/01/2026 05:39: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 = '101027' 21/01/2026 05:39:24 pm >> DELETE FROM ps_document_detail WHERE id_document = '101027' 21/01/2026 05:39: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 ( '101027' , '1626' , 'CANDELE VOTIVE KG 10 - 13X26 - CIRCA 300 PZ' , '1' , '-1' , '1' , '70.00' , '57.377049180328' , '22' , '0' , '70.00' ) 21/01/2026 06:00:57 pm >> SELECT document_num FROM ps_document WHERE document_num = '229' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 06:00:57 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' , '229' , '2026-01-21' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '15' , '0' , '62.10' , '54.06' , NOW() , NOW() ) 21/01/2026 06:00: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 = '101028' 21/01/2026 06:00:57 pm >> DELETE FROM ps_document_detail WHERE id_document = '101028' 21/01/2026 06:00: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 ( '101028' , '4223' , 'FOGLIETTI LA DOMENICA SAN PAOLO' , '25' , '-25' , '4' , '0.70' , '0.7' , '0' , '0' , '17.50' ) 21/01/2026 06:00: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 ( '101028' , '11389' , 'VINO ROSSO DOLCE - 103' , '3' , '-3' , '1' , '8.90' , '7.2950819672131' , '22' , '0' , '26.70' ) 21/01/2026 06:00: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 ( '101028' , '19147' , 'CANDELINE NON GOCCIOLANTI GRECHE' , '1' , '-1' , '1' , '17.90' , '14.672131147541' , '22' , '0' , '17.90' ) 21/01/2026 06:13:21 pm >> DELETE FROM ps_document WHERE id_document = '100802' 21/01/2026 06:13:21 pm >> DELETE FROM ps_document_detail WHERE id_document = '100802' 21/01/2026 06:39:51 pm >> SELECT document_num FROM ps_document WHERE document_num = '230' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 06:39:51 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' , '230' , '2026-01-21' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '17.90' , '14.67' , NOW() , NOW() ) 21/01/2026 06:39:51 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 = '101029' 21/01/2026 06:39:51 pm >> DELETE FROM ps_document_detail WHERE id_document = '101029' 21/01/2026 06:39:51 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 ( '101029' , '19147' , 'CANDELINE NON GOCCIOLANTI GRECHE' , '1' , '-1' , '1' , '17.90' , '14.672131147541' , '22' , '0' , '17.90' ) 21/01/2026 06:55:37 pm >> SELECT document_num FROM ps_document WHERE document_num = '231' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-21') 21/01/2026 06:55:37 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' , '231' , '2026-01-21' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '19.50' , '19.50' , NOW() , NOW() ) 21/01/2026 06:55:37 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 = '101030' 21/01/2026 06:55:37 pm >> DELETE FROM ps_document_detail WHERE id_document = '101030' 21/01/2026 06:55:37 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 ( '101030' , '24079' , 'FRANCESCO IL PRIMO ITALIANO - A. CAZZULLO' , '1' , '-1' , '4' , '19.50' , '19.5' , '0' , '0' , '19.50' ) 21/01/2026 07:20:54 pm >> INSERT INTO ps_product ( ean13 , id_tax_rules_group , `date_add` , `date_upd` ) VALUES ( '' , '1' , NOW() , NOW() ) 21/01/2026 07:20:54 pm >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '24489' , '1' , '' , 'nuovo-prodotto' ) 21/01/2026 07:20:54 pm >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , `date_add` , `date_upd` ) VALUES ( '24489' , '1' , '1' , '2' , NOW() , NOW() ) 21/01/2026 07:20:54 pm >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) VALUES ( '24489' , '0' , '1' , '0' , '0' ) 21/01/2026 07:22:36 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '8056734596298' AND id_product != '24489' AND ean13 != '' 21/01/2026 07:22:36 pm >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '8056734596298', date_upd = NOW() WHERE id_product = '24489' 21/01/2026 07:22:36 pm >> UPDATE ps_product_lang SET name = 'capoculla angelo celeste', description = '' WHERE id_product = '24489' 21/01/2026 07:22:36 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '21.311475409836067' WHERE id_product = '24489' 21/01/2026 07:22:36 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '21.311475409836067', id_tax_rules_group = '1', id_category_default = '453', 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 = '24489' 21/01/2026 07:22:36 pm >> DELETE FROM ps_specific_price WHERE id_product = '24489' 21/01/2026 07:22:46 pm >> INSERT INTO ps_product ( id_tax_rules_group , `date_add` , `date_upd` ) SELECT id_tax_rules_group , NOW() , NOW() FROM ps_product WHERE id_product = '24489' 21/01/2026 07:22:46 pm >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '24490' , '1' , '' , 'nuovo-prodotto' ) 21/01/2026 07:22:46 pm >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , `date_add` , `date_upd` ) SELECT '24490' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '24489' 21/01/2026 07:22:46 pm >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) SELECT '24490' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '24489' 21/01/2026 07:23:06 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '8056734596106' AND id_product != '24490' AND ean13 != '' 21/01/2026 07:23:06 pm >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '8056734596106', date_upd = NOW() WHERE id_product = '24490' 21/01/2026 07:23:06 pm >> UPDATE ps_product_lang SET name = 'CAPOCULLA ANGELO rosa', description = '' WHERE id_product = '24490' 21/01/2026 07:23:06 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '21.311475409836067' WHERE id_product = '24490' 21/01/2026 07:23:06 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '21.311475409836067', id_tax_rules_group = '1', id_category_default = '453', 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 = '24490' 21/01/2026 07:23:06 pm >> DELETE FROM ps_specific_price WHERE id_product = '24490' 21/01/2026 07:23:11 pm >> INSERT INTO ps_product ( id_tax_rules_group , `date_add` , `date_upd` ) SELECT id_tax_rules_group , NOW() , NOW() FROM ps_product WHERE id_product = '24490' 21/01/2026 07:23:11 pm >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '24491' , '1' , '' , 'nuovo-prodotto' ) 21/01/2026 07:23:11 pm >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , `date_add` , `date_upd` ) SELECT '24491' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '24490' 21/01/2026 07:23:11 pm >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) SELECT '24491' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '24490' 21/01/2026 07:23:50 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '8056734596298' AND id_product != '24489' AND ean13 != '' 21/01/2026 07:23:50 pm >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '8056734596298', date_upd = NOW() WHERE id_product = '24489' 21/01/2026 07:23:50 pm >> UPDATE ps_product_lang SET name = 'CAPOCULLA ANGELO CELESTE', description = '' WHERE id_product = '24489' 21/01/2026 07:23:50 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '21.3115' WHERE id_product = '24489' 21/01/2026 07:23:50 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '21.3115', id_tax_rules_group = '1', id_category_default = '453', 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 = '24489' 21/01/2026 07:23:50 pm >> DELETE FROM ps_specific_price WHERE id_product = '24489' 21/01/2026 07:24:23 pm >> UPDATE ps_document SET id_document_type = '31', document_num = '1/165', document_date = '2026-01-21', document_letter = '165', id_customer = '0', id_supplier = '', id_address = '4670575', address1 = 'VIA RAFFAELE RUGGI, 29 80125 NAPOLI', address2 = '', note = '', price_shipping = '0.01', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '1', id_causal = '0', price_tax_included = '39.02', price_tax_excluded = '31.99', date_upd = NOW() WHERE id_document = '101017' 21/01/2026 07:24:23 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 = '101017' 21/01/2026 07:24:23 pm >> DELETE FROM ps_document_detail WHERE id_document = '101017' 21/01/2026 07:24:23 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 ( '101017' , '23147' , 'SPILLA PORTA CIUCCIO ROSA' , '1' , '1' , '1' , '5.3300' , '4.3688524590164' , '22' , '0' , '6.50' ) 21/01/2026 07:24:23 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 ( '101017' , '23146' , 'SPILLA PORTA CIUCCIO CEL.' , '1' , '1' , '1' , '5.33' , '4.3688524590164' , '22' , '0' , '6.5026' ) 21/01/2026 07:24:23 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 ( '101017' , '24490' , 'CAPOCULLA ANGELO rosa' , '1' , '1' , '1' , '10.66' , '8.7377049180328' , '22' , '' , '13.0052' ) 21/01/2026 07:24:23 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 ( '101017' , '24489' , 'CAPOCULLA ANGELO CELESTE' , '1' , '1' , '1' , '10.66' , '8.7377049180328' , '22' , '0' , '13.0052' )