05/01/2026 09:48:34 am >> SELECT document_num FROM ps_document WHERE document_num = '28' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 09:48:34 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' , '28' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '33.25' , '33.25' , NOW() , NOW() ) 05/01/2026 09:48:34 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 = '100777' 05/01/2026 09:48:34 am >> DELETE FROM ps_document_detail WHERE id_document = '100777' 05/01/2026 09:48:35 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 ( '100777' , '21483' , 'BIBBIA - SCRUTATE - TELATA' , '1' , '-1' , '4' , '35.00' , '35' , '0' , '5' , '33.25' ) 05/01/2026 09:49:00 am >> SELECT document_num FROM ps_document WHERE document_num = '29' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 09:49:00 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' , '29' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '51.00' , '41.80' , NOW() , NOW() ) 05/01/2026 09:49:00 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 = '100778' 05/01/2026 09:49:00 am >> DELETE FROM ps_document_detail WHERE id_document = '100778' 05/01/2026 09:49:00 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 ( '100778' , '11384' , 'VINO BIANCO DOLCE - 102' , '6' , '-6' , '1' , '8.5' , '6.9672131147541' , '22' , '0' , '51.00' ) 05/01/2026 09:50:21 am >> SELECT document_num FROM ps_document WHERE document_num = '30' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 09:50:22 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' , '30' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '13.30' , '13.30' , NOW() , NOW() ) 05/01/2026 09:50:22 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 = '100779' 05/01/2026 09:50:22 am >> DELETE FROM ps_document_detail WHERE id_document = '100779' 05/01/2026 09:50:22 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 ( '100779' , '23966' , 'ARMARSI CON CINQUE CIOTTOLI - R. FACCENDA' , '1' , '-1' , '4' , '14.00' , '14' , '0' , '5' , '13.30' ) 05/01/2026 09:52:53 am >> SELECT document_num FROM ps_document WHERE document_num = '31' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 09:52:53 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' , '31' , '2026-01-05' , '' , '0' , '0' , '0' , 'VIA G. NICOTERA, 66 84080 PELLEZZANO' , '' , '' , '0.00' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '94.30' , '82.34' , NOW() , NOW() ) 05/01/2026 09:52:53 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 = '100780' 05/01/2026 09:52:53 am >> DELETE FROM ps_document_detail WHERE id_document = '100780' 05/01/2026 09:52:53 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 ( '100780' , '17160' , 'CARBONCINI ROSSI - CARRO' , '3' , '-3' , '1' , '11.0000' , '9.0164' , '22' , '0' , '33.00' ) 05/01/2026 09:52:53 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 ( '100780' , '24354' , 'DIO DELLA MIA LODE 2026' , '1' , '-1' , '4' , '28.0000' , '28' , '0' , '0' , '28.00' ) 05/01/2026 09:52:53 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 ( '100780' , '17617' , 'IMMAGINI ISONZO X 100' , '10' , '-10' , '1' , '3.3300' , '2.7295' , '22' , '0' , '33.30' ) 05/01/2026 09:53:07 am >> DELETE FROM ps_document WHERE id_document = '100290' 05/01/2026 09:53:07 am >> DELETE FROM ps_document_detail WHERE id_document = '100290' 05/01/2026 10:00:32 am >> SELECT document_num FROM ps_document WHERE document_num = '2/A' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 10:00:32 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 ( '24' , '2/A' , '2026-01-05' , 'A' , '230' , '0' , '4679546' , 'VIA G. NICOTERA, 66 84080 PELLEZZANO' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '265.05' , '237.19' , NOW() , NOW() ) 05/01/2026 10:00:32 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 = '100781' 05/01/2026 10:00:32 am >> DELETE FROM ps_document_detail WHERE id_document = '100781' 05/01/2026 10:00:32 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 ( '100781' , '1914' , 'CERA DELLA LITURGIA' , '12' , '-12' , '1' , '4.7' , '3.8524590163934' , '22' , '0' , '56.40' ) 05/01/2026 10:00:32 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 ( '100781' , '5903' , 'LITURGICO ART. 60LT ROSSO SUPER' , '30' , '-30' , '1' , '3' , '2.4590163934426' , '22' , '0' , '90.00' ) 05/01/2026 10:00:32 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 ( '100781' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '6' , '-6' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '21.00' ) 05/01/2026 10:00:32 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 ( '100781' , '1090' , 'BIBBIA' , '10' , '-10' , '4' , '9.90' , '9.9' , '0' , '5' , '94.05' ) 05/01/2026 10:00:32 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 ( '100781' , '17617' , 'IMMAGINI ISONZO X 100' , '1' , '-1' , '1' , '3.60' , '2.9508196721311' , '22' , '0' , '3.60' ) 05/01/2026 10:08:38 am >> SELECT document_num FROM ps_document WHERE document_num = '32' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 10:08: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' , '32' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '14.00' , '12.20' , NOW() , NOW() ) 05/01/2026 10:08: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 = '100782' 05/01/2026 10:08:38 am >> DELETE FROM ps_document_detail WHERE id_document = '100782' 05/01/2026 10:08: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 ( '100782' , '17617' , 'IMMAGINI ISONZO X 100' , '2' , '-2' , '1' , '3.5' , '2.8688524590164' , '22' , '0' , '7.00' ) 05/01/2026 10:08: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 ( '100782' , '17617' , 'IMMAGINI ISONZO X 100' , '1' , '-1' , '1' , '3' , '2.4590163934426' , '22' , '0' , '3.00' ) 05/01/2026 10:08: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 ( '100782' , '7896' , 'PERDONO GUARISCE' , '1' , '-1' , '4' , '4.00' , '4' , '0' , '0' , '4.00' ) 05/01/2026 10:22:28 am >> SELECT document_num FROM ps_document WHERE document_num = '33' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 10:22: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' , '33' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '25.00' , '20.49' , NOW() , NOW() ) 05/01/2026 10:22: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 = '100783' 05/01/2026 10:22:28 am >> DELETE FROM ps_document_detail WHERE id_document = '100783' 05/01/2026 10:22: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 ( '100783' , '5651' , 'LEGGIO IN LEGNO ' , '1' , '-1' , '1' , '25.00' , '20.491803278689' , '22' , '0' , '25.00' ) 05/01/2026 10:42:06 am >> SELECT document_num FROM ps_document WHERE document_num = '34' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 10:42:06 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' , '34' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '15' , '0' , '60.80' , '60.80' , NOW() , NOW() ) 05/01/2026 10:42:06 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 = '100784' 05/01/2026 10:42:06 am >> DELETE FROM ps_document_detail WHERE id_document = '100784' 05/01/2026 10:42:06 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 ( '100784' , '20694' , 'COSTRUIRE LA CASA SULLA ROCCIA - K. WOJTYLA' , '1' , '-1' , '4' , '7.00' , '7' , '0' , '5' , '6.65' ) 05/01/2026 10:42:06 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 ( '100784' , '21760' , 'QUANDO LAMORE E PER SEMPRE - B. BAFFETTI' , '1' , '-1' , '4' , '9.00' , '9' , '0' , '5' , '8.55' ) 05/01/2026 10:42:06 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 ( '100784' , '20692' , 'COME ACCOMPAGNARE I FIDANZATI - S. LONGOBARDI' , '1' , '-1' , '4' , '19.00' , '19' , '0' , '5' , '18.05' ) 05/01/2026 10:42:06 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 ( '100784' , '19546' , 'AMORIS LAETITIA - UN AMORE CONCRETO - F. BRAMBILLA' , '1' , '-1' , '4' , '13.00' , '13' , '0' , '5' , '12.35' ) 05/01/2026 10:42:06 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 ( '100784' , '16621' , 'HANNO UNA STORIA - F. PESCE' , '1' , '-1' , '4' , '16.00' , '16' , '0' , '5' , '15.20' ) 05/01/2026 11:03:08 am >> SELECT document_num FROM ps_document WHERE document_num = '35' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 11:03:08 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' , '35' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '28.50' , '28.50' , NOW() , NOW() ) 05/01/2026 11:03:08 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 = '100785' 05/01/2026 11:03:08 am >> DELETE FROM ps_document_detail WHERE id_document = '100785' 05/01/2026 11:03:08 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 ( '100785' , '23965' , 'E PACE SIA! - PAPA LEONE' , '2' , '-2' , '4' , '15.00' , '15' , '0' , '5' , '28.50' ) 05/01/2026 11:04:32 am >> SELECT document_num FROM ps_document WHERE document_num = '36' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 11:04:32 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' , '36' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '4.75' , '4.75' , NOW() , NOW() ) 05/01/2026 11:04:32 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 = '100786' 05/01/2026 11:04:32 am >> DELETE FROM ps_document_detail WHERE id_document = '100786' 05/01/2026 11:04:32 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 ( '100786' , '24214' , 'SULLA TUA PAROLA GEN/FEB 2026 - 532' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 05/01/2026 11:09:11 am >> SELECT document_num FROM ps_document WHERE document_num = '37' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 11:09: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 ( '11' , '37' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '35.00' , '33.65' , NOW() , NOW() ) 05/01/2026 11:09: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 = '100787' 05/01/2026 11:09:11 am >> DELETE FROM ps_document_detail WHERE id_document = '100787' 05/01/2026 11:09: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 ( '100787' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '10' , '-10' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '35.00' ) 05/01/2026 11:15:10 am >> SELECT document_num FROM ps_document WHERE document_num = '38' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 11:15:10 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' , '38' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '13.30' , '13.30' , NOW() , NOW() ) 05/01/2026 11:15:10 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 = '100788' 05/01/2026 11:15:10 am >> DELETE FROM ps_document_detail WHERE id_document = '100788' 05/01/2026 11:15:10 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 ( '100788' , '23966' , 'ARMARSI CON CINQUE CIOTTOLI - R. FACCENDA' , '1' , '-1' , '4' , '14.00' , '14' , '0' , '5' , '13.30' ) 05/01/2026 11:50:56 am >> SELECT document_num FROM ps_document WHERE document_num = '39' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 11:50: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' , '39' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '6.00' , '4.92' , NOW() , NOW() ) 05/01/2026 11:50: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 = '100789' 05/01/2026 11:50:56 am >> DELETE FROM ps_document_detail WHERE id_document = '100789' 05/01/2026 11:50: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 ( '100789' , '18122' , 'ROCCA STOPPINO M. 100 - 469/100' , '1' , '-1' , '1' , '1.10' , '0.9016393442623' , '22' , '0' , '1.10' ) 05/01/2026 11:50: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 ( '100789' , '1914' , 'CERA DELLA LITURGIA' , '1' , '-1' , '1' , '4.90' , '4.016393442623' , '22' , '0' , '4.90' ) 05/01/2026 11:52:33 am >> SELECT document_num FROM ps_document WHERE document_num = '40' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 11:52:33 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' , '40' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '17.50' , '14.34' , NOW() , NOW() ) 05/01/2026 11:52:33 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 = '100790' 05/01/2026 11:52:33 am >> DELETE FROM ps_document_detail WHERE id_document = '100790' 05/01/2026 11:52:33 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 ( '100790' , '13049' , 'LITURGICO ART. 60LT BIANCO SUPER' , '5' , '-5' , '1' , '3.50' , '2.8688524590164' , '22' , '0' , '17.50' ) 05/01/2026 11:53:06 am >> SELECT document_num FROM ps_document WHERE document_num = '41' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 11:53:06 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' , '41' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '4.75' , '4.75' , NOW() , NOW() ) 05/01/2026 11:53:06 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 = '100791' 05/01/2026 11:53:06 am >> DELETE FROM ps_document_detail WHERE id_document = '100791' 05/01/2026 11:53:06 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 ( '100791' , '24214' , 'SULLA TUA PAROLA GEN/FEB 2026 - 532' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 05/01/2026 11:55:12 am >> SELECT document_num FROM ps_document WHERE document_num = '42' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 11:55:12 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' , '42' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '15.90' , '13.03' , NOW() , NOW() ) 05/01/2026 11:55:12 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 = '100792' 05/01/2026 11:55:12 am >> DELETE FROM ps_document_detail WHERE id_document = '100792' 05/01/2026 11:55:12 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 ( '100792' , '16409' , 'RICAMBIO VETRO - 32/V' , '1' , '-1' , '1' , '15.90' , '13.032786885246' , '22' , '0' , '15.90' ) 05/01/2026 11:57:08 am >> SELECT document_num FROM ps_document WHERE document_num = '43' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 11:57:08 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' , '43' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '2.10' , '2.10' , NOW() , NOW() ) 05/01/2026 11:57:08 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 = '100793' 05/01/2026 11:57:08 am >> DELETE FROM ps_document_detail WHERE id_document = '100793' 05/01/2026 11:57:08 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 ( '100793' , '4223' , 'FOGLIETTI LA DOMENICA SAN PAOLO' , '3' , '-3' , '4' , '0.70' , '0.7' , '0' , '0' , '2.10' ) 05/01/2026 12:11:26 pm >> SELECT document_num FROM ps_document WHERE document_num = '44' AND id_document != '' AND id_document_type LIKE '12' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 12:11: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' , '44' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '9.60' , '8.86' , NOW() , NOW() ) 05/01/2026 12:11: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 = '100794' 05/01/2026 12:11:26 pm >> DELETE FROM ps_document_detail WHERE id_document = '100794' 05/01/2026 12:11: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 ( '100794' , '11152' , 'VARIE - OSTIE - PARTICOLE' , '2' , '-2' , '3' , '3.5' , '3.3653846153846' , '4' , '0' , '7.00' ) 05/01/2026 12:11: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 ( '100794' , '7202' , 'ARTICOLI RELIGIOSI' , '2' , '-2' , '1' , '1.3' , '1.0655737704918' , '22' , '0' , '2.60' ) 05/01/2026 12:12:12 pm >> SELECT document_num FROM ps_document WHERE document_num = '45' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 12:12:12 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' , '45' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '20.80' , '17.55' , NOW() , NOW() ) 05/01/2026 12:12:12 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 = '100795' 05/01/2026 12:12:12 pm >> DELETE FROM ps_document_detail WHERE id_document = '100795' 05/01/2026 12:12:12 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 ( '100795' , '18620' , 'MEDAGLIA MIRACOLOSA BLU PICCOLA - 022M/SM' , '5' , '-5' , '1' , '0.50' , '0.40983606557377' , '22' , '0' , '2.50' ) 05/01/2026 12:12:12 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 ( '100795' , '7202' , 'ARTICOLI RELIGIOSI' , '3' , '-3' , '1' , '1.3' , '1.0655737704918' , '22' , '0' , '3.90' ) 05/01/2026 12:12:12 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 ( '100795' , '11152' , 'VARIE - OSTIE - PARTICOLE' , '1' , '-1' , '3' , '3.5' , '3.3653846153846' , '4' , '0' , '3.50' ) 05/01/2026 12:12:12 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 ( '100795' , '1375' , 'BRUCIAINCENSI LEGNO - BRUL' , '1' , '-1' , '1' , '10.90' , '8.9344262295082' , '22' , '0' , '10.90' ) 05/01/2026 12:19:19 pm >> SELECT document_num FROM ps_document WHERE document_num = '46' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 12:19:19 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' , '46' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '4.75' , '4.75' , NOW() , NOW() ) 05/01/2026 12:19:19 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 = '100796' 05/01/2026 12:19:19 pm >> DELETE FROM ps_document_detail WHERE id_document = '100796' 05/01/2026 12:19:19 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 ( '100796' , '24214' , 'SULLA TUA PAROLA GEN/FEB 2026 - 532' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 05/01/2026 12:37:24 pm >> SELECT document_num FROM ps_document WHERE document_num = '47' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 12:37: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' , '47' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '16.50' , '15.69' , NOW() , NOW() ) 05/01/2026 12:37: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 = '100797' 05/01/2026 12:37:24 pm >> DELETE FROM ps_document_detail WHERE id_document = '100797' 05/01/2026 12:37: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 ( '100797' , '24338' , 'VERSO LA LUCE - G. MONETI' , '1' , '-1' , '4' , '12.00' , '12' , '0' , '' , '12.00' ) 05/01/2026 12:37: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 ( '100797' , '24094' , 'BRACCIALE SAN BENEDETTO - CC 111-SB' , '1' , '-1' , '1' , '4.50' , '3.6885245901639' , '22' , '0' , '4.50' ) 05/01/2026 12:45:36 pm >> SELECT document_num FROM ps_document WHERE document_num = '129/A' AND id_document != '99403' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2025-10-23') 05/01/2026 12:45:36 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '129/A', document_date = '2025-10-23', document_letter = 'A', id_customer = '2739', id_supplier = '', id_address = '4671014', address1 = 'VIA F. WENNER, 37 84080 PELLEZZANO', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '226.00', price_tax_excluded = '189.29', date_upd = NOW() WHERE id_document = '99403' 05/01/2026 12:45:36 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 = '99403' 05/01/2026 12:45:36 pm >> DELETE FROM ps_document_detail WHERE id_document = '99403' 05/01/2026 12:45:36 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 ( '99403' , '7311' , 'OSTIA SOTTILE 74MM' , '2' , '-2' , '3' , '2.0000' , '1.9230769230769' , '4' , '0' , '4.00' ) 05/01/2026 12:45:36 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 ( '99403' , '20433' , 'PARTICOLA MORREALE 38MM - PTC38S' , '1' , '-1' , '3' , '3.5000' , '3.3653846153846' , '4' , '0' , '3.50' ) 05/01/2026 12:45: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 ( '99403' , '14642' , 'FIDES ET RATIO - GIOVANNI PAOLO II' , '1' , '-1' , '4' , '4.5000' , '4.5' , '0' , '0' , '4.50' ) 05/01/2026 12:45: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 ( '99403' , '24043' , 'MESSALE FESTIVO 2026' , '1' , '-1' , '4' , '12.0000' , '12' , '0' , '0' , '12.00' ) 05/01/2026 12:45: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 ( '99403' , '1545' , 'CAMICE RAGLAN - CM. 160 - ART.54' , '1' , '-1' , '1' , '64.0000' , '52.459016393443' , '22' , '0' , '64.00' ) 05/01/2026 12:45: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 ( '99403' , '7202' , 'ARTICOLI RELIGIOSI STOLA BIANCA' , '1' , '-1' , '1' , '55.0000' , '45.081967213115' , '22' , '0' , '55.00' ) 05/01/2026 12:45: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 ( '99403' , '19395' , 'CLERGY MISTO COTONE ML - C01' , '1' , '-1' , '1' , '37.0000' , '30.327868852459' , '22' , '0' , '37.00' ) 05/01/2026 12:45: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 ( '99403' , '19606' , 'CAMICIA SOTTOTALARE MISTO COTONE- C15' , '1' , '-1' , '1' , '39.00' , '31.967213114754' , '22' , '0' , '39.00' ) 05/01/2026 12:45: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 ( '99403' , '2424' , 'COLLETTO DOPPIO - CM 3,5 ' , '1' , '-1' , '1' , '7.00' , '5.7377049180328' , '22' , '0' , '7.00' ) 05/01/2026 04:22:17 pm >> SELECT document_num FROM ps_document WHERE document_num = '48' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 04:22:18 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' , '48' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '393.41' , '356.08' , NOW() , NOW() ) 05/01/2026 04:22:18 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 = '100798' 05/01/2026 04:22:18 pm >> DELETE FROM ps_document_detail WHERE id_document = '100798' 05/01/2026 04:22: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 ( '100798' , '15926' , 'COMUNITA: SEGNI DI BELLEZZA - 4 QUADERNO' , '6' , '-6' , '4' , '5.00' , '5' , '0' , '5' , '28.50' ) 05/01/2026 04:22: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 ( '100798' , '21437' , 'IMPRONTE DI MISERICORDIA - CALENDALBUM 2 - N.E.' , '10' , '-10' , '4' , '5.00' , '5' , '0' , '5' , '47.50' ) 05/01/2026 04:22: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 ( '100798' , '21735' , 'IMPRONTE DI MISERICORDIA - GUIDA 2 - N.E.' , '1' , '-1' , '4' , '15.00' , '15' , '0' , '5' , '14.25' ) 05/01/2026 04:22: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 ( '100798' , '21436' , 'MIA IMPRONTA NELLA TUA - CALENDALBUM 1 - N.E.' , '7' , '-7' , '4' , '5.00' , '5' , '0' , '5' , '33.25' ) 05/01/2026 04:22: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 ( '100798' , '22804' , 'PANE E VINO - N.E. - SUSSIDIO' , '5' , '-5' , '4' , '5.00' , '5' , '0' , '5' , '23.75' ) 05/01/2026 04:22: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 ( '100798' , '782' , 'ASPERGES PER SECCHIELLO - 701' , '1' , '-1' , '1' , '50' , '40.983606557377' , '22' , '0' , '50.00' ) 05/01/2026 04:22: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 ( '100798' , '24215' , 'DILEXI TE - 8429' , '1' , '-1' , '4' , '2.50' , '2.5' , '0' , '5' , '2.38' ) 05/01/2026 04:22: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 ( '100798' , '10965' , 'UNZIONE DEGLI INFERMI E IL VIATICO' , '1' , '-1' , '4' , '2.50' , '2.5' , '0' , '5' , '2.38' ) 05/01/2026 04:22: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 ( '100798' , '6962' , 'NELLA CASA DEL DEFUNTO' , '1' , '-1' , '4' , '1.50' , '1.5' , '0' , '0' , '1.50' ) 05/01/2026 04:22: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 ( '100798' , '23090' , 'ALBERO CON PRESEPE ' , '2' , '-2' , '1' , '25.00' , '20.491803278689' , '22' , '0' , '50.00' ) 05/01/2026 04:22: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 ( '100798' , '19977' , 'MINISTRANTI IERI, OGGI, DOMANI' , '10' , '-10' , '4' , '2.15' , '2.15' , '0' , '0' , '21.50' ) 05/01/2026 04:22: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 ( '100798' , '24348' , 'MESSALINO QUOTIDIANO - FEB MAR APR 26' , '2' , '-2' , '4' , '6.00' , '6' , '0' , '5' , '11.40' ) 05/01/2026 04:22: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 ( '100798' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '107' , '87.704918032787' , '22' , '0' , '107.00' ) 05/01/2026 04:36:53 pm >> SELECT document_num FROM ps_document WHERE document_num = '48' AND id_document != '100798' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 04:36:53 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '48', document_date = '2026-01-05', 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 = '0', id_causal = '0', price_tax_included = '393.41', price_tax_excluded = '356.08', date_upd = NOW() WHERE id_document = '100798' 05/01/2026 04:36:53 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 = '100798' 05/01/2026 04:36:53 pm >> DELETE FROM ps_document_detail WHERE id_document = '100798' 05/01/2026 04:36:53 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 ( '100798' , '15926' , 'COMUNITA: SEGNI DI BELLEZZA - 4 QUADERNO' , '6' , '-6' , '4' , '5.0000' , '5' , '0' , '5' , '28.50' ) 05/01/2026 04:36:53 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 ( '100798' , '21437' , 'IMPRONTE DI MISERICORDIA - CALENDALBUM 2 - N.E.' , '10' , '-10' , '4' , '5.0000' , '5' , '0' , '5' , '47.50' ) 05/01/2026 04:36:53 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 ( '100798' , '21735' , 'IMPRONTE DI MISERICORDIA - GUIDA 2 - N.E.' , '1' , '-1' , '4' , '15.0000' , '15' , '0' , '5' , '14.25' ) 05/01/2026 04:36:53 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 ( '100798' , '21436' , 'MIA IMPRONTA NELLA TUA - CALENDALBUM 1 - N.E.' , '7' , '-7' , '4' , '5.0000' , '5' , '0' , '5' , '33.25' ) 05/01/2026 04:36:53 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 ( '100798' , '22804' , 'PANE E VINO - N.E. - SUSSIDIO' , '5' , '-5' , '4' , '5.0000' , '5' , '0' , '5' , '23.75' ) 05/01/2026 04:36:53 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 ( '100798' , '782' , 'ASPERGES PER SECCHIELLO - 701' , '1' , '-1' , '1' , '47' , '38.524590163934' , '22' , '0' , '47.00' ) 05/01/2026 04:36:53 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 ( '100798' , '24215' , 'DILEXI TE - 8429' , '1' , '-1' , '4' , '2.5000' , '2.5' , '0' , '5' , '2.38' ) 05/01/2026 04:36:53 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 ( '100798' , '10965' , 'UNZIONE DEGLI INFERMI E IL VIATICO' , '1' , '-1' , '4' , '2.5000' , '2.5' , '0' , '5' , '2.38' ) 05/01/2026 04:36:53 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 ( '100798' , '6962' , 'NELLA CASA DEL DEFUNTO' , '1' , '-1' , '4' , '1.5000' , '1.5' , '0' , '0' , '1.50' ) 05/01/2026 04:36:53 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 ( '100798' , '23090' , 'ALBERO CON PRESEPE ' , '2' , '-2' , '1' , '25.0000' , '20.491803278689' , '22' , '0' , '50.00' ) 05/01/2026 04:36:53 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 ( '100798' , '19977' , 'MINISTRANTI IERI, OGGI, DOMANI' , '10' , '-10' , '4' , '2.1500' , '2.15' , '0' , '0' , '21.50' ) 05/01/2026 04:36:53 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 ( '100798' , '24348' , 'MESSALINO QUOTIDIANO - FEB MAR APR 26' , '2' , '-2' , '4' , '6.0000' , '6' , '0' , '5' , '11.40' ) 05/01/2026 04:36:53 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 ( '100798' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '110' , '90.16393442623' , '22' , '0' , '110.00' ) 05/01/2026 04:48:57 pm >> SELECT document_num FROM ps_document WHERE document_num = '116/A' AND id_document != '98877' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2025-09-23') 05/01/2026 04:48:57 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '116/A', document_date = '2025-09-23', document_letter = 'A', id_customer = '230', id_supplier = '', id_address = '4668969', address1 = 'VIA G. NICOTERA, 66 84080 PELLEZZANO', address2 = '', note = 'DON LUIGI SAVINO acconto € 210,00+25/11 € 100', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '446.50', price_tax_excluded = '365.98', date_upd = NOW() WHERE id_document = '98877' 05/01/2026 04:48: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 = '98877' 05/01/2026 04:48:57 pm >> DELETE FROM ps_document_detail WHERE id_document = '98877' 05/01/2026 04:48: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 ( '98877' , '20113' , 'FATIMA CM 105 - 1038/P' , '1' , '-1' , '1' , '420.0000' , '344.26229508197' , '22' , '0' , '420.00' ) 05/01/2026 04:48: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 ( '98877' , '' , '05/01/2026' , '1' , '-1' , '0' , '0' , '0' , '' , '0' , '0' ) 05/01/2026 04:48: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 ( '98877' , '5903' , 'LITURGICO ART. 60LT ROSSO SUPER' , '4' , '-4' , '1' , '3.50' , '2.8688524590164' , '22' , '0' , '14.00' ) 05/01/2026 04:48: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 ( '98877' , '6014' , 'LUMINO BIANCO - 10B' , '25' , '-25' , '1' , '0.50' , '0.40983606557377' , '22' , '0' , '12.50' ) 05/01/2026 05:24:24 pm >> SELECT document_num FROM ps_document WHERE document_num = '99/A' AND id_document != '98079' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2025-07-14') 05/01/2026 05:24:24 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '99/A', document_date = '2025-07-14', document_letter = 'A', id_customer = '357', id_supplier = '', id_address = '4676034', address1 = 'VIA TORRIONE 84100 SALERNO', address2 = '', note = '99/A DEL 14/07/2025', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '467.10', price_tax_excluded = '388.38', date_upd = NOW() WHERE id_document = '98079' 05/01/2026 05:24: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 = '98079' 05/01/2026 05:24:24 pm >> DELETE FROM ps_document_detail WHERE id_document = '98079' 05/01/2026 05:24: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 ( '98079' , '8147' , 'POLO BASIC' , '4' , '-4' , '1' , '27.0000' , '22.131147540984' , '22' , '0' , '108.00' ) 05/01/2026 05:24: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 ( '98079' , '20953' , 'VANGELO E ATTI DEGLI APOSTOLI' , '3' , '-3' , '4' , '2.8000' , '2.8' , '0' , '0' , '8.40' ) 05/01/2026 05:24: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 ( '98079' , '16689' , 'OSTIA PAN DI CENA mm80' , '2' , '-2' , '3' , '2.0000' , '1.9230769230769' , '4' , '0' , '4.00' ) 05/01/2026 05:24: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 ( '98079' , '22970' , 'RELIQUIARIO H 25CM' , '1' , '-1' , '1' , '189.0000' , '154.91803278689' , '22' , '0' , '189.00' ) 05/01/2026 05:24: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 ( '98079' , '11757' , 'VINO LIQUOROSO DOLCE - 16%' , '3' , '-3' , '1' , '7.9000' , '6.4754098360656' , '22' , '0' , '23.70' ) 05/01/2026 05:24: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 ( '98079' , '22865' , 'CATECHISMO MAGGIORE - SAN PIO X' , '1' , '-1' , '4' , '19.0000' , '19' , '0' , '0' , '19.00' ) 05/01/2026 05:24: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 ( '98079' , '0' , '19/11' , '1' , '-1' , '0' , '0.0000' , '0' , '0' , '0' , '0.00' ) 05/01/2026 05:24: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 ( '98079' , '6325' , 'MEDAGLIA MIRACOLOSA MM 22 - METALLO OX' , '500' , '-500' , '1' , '0.2300' , '0.18852459016393' , '22' , '0' , '115.00' ) 05/01/2026 05:24:53 pm >> SELECT document_num FROM ps_document WHERE document_num = '116/A' AND id_document != '98877' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2025-09-23') 05/01/2026 05:24:53 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '116/A', document_date = '2025-09-23', document_letter = 'A', id_customer = '230', id_supplier = '', id_address = '4668969', address1 = 'VIA G. NICOTERA, 66 84080 PELLEZZANO', address2 = '', note = '116/A DEL 23/09/2025 DON LUIGI SAVINO acconto € 210,00+25/11 € 100', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '446.50', price_tax_excluded = '365.98', date_upd = NOW() WHERE id_document = '98877' 05/01/2026 05:24:53 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 = '98877' 05/01/2026 05:24:53 pm >> DELETE FROM ps_document_detail WHERE id_document = '98877' 05/01/2026 05:24:53 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 ( '98877' , '20113' , 'FATIMA CM 105 - 1038/P' , '1' , '-1' , '1' , '420.0000' , '344.26229508197' , '22' , '0' , '420.00' ) 05/01/2026 05:24:53 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 ( '98877' , '0' , '05/01/2026' , '1' , '-1' , '0' , '0.0000' , '0' , '0' , '0' , '0.00' ) 05/01/2026 05:24:53 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 ( '98877' , '5903' , 'LITURGICO ART. 60LT ROSSO SUPER' , '4' , '-4' , '1' , '3.5000' , '2.8688524590164' , '22' , '0' , '14.00' ) 05/01/2026 05:24:53 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 ( '98877' , '6014' , 'LUMINO BIANCO - 10B' , '25' , '-25' , '1' , '0.5000' , '0.40983606557377' , '22' , '0' , '12.50' ) 05/01/2026 05:25:27 pm >> SELECT document_num FROM ps_document WHERE document_num = '133/A' AND id_document != '99700' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2025-11-05') 05/01/2026 05:25:27 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '133/A', document_date = '2025-11-05', document_letter = 'A', id_customer = '2757', id_supplier = '', id_address = '4679344', address1 = 'VIA CIRILLO 84085 MERCATO SAN SEVERINO', address2 = '', note = '133/A DEL 05/11/2025', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '204.09', price_tax_excluded = '204.09', date_upd = NOW() WHERE id_document = '99700' 05/01/2026 05:25: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 = '99700' 05/01/2026 05:25:27 pm >> DELETE FROM ps_document_detail WHERE id_document = '99700' 05/01/2026 05:25: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 ( '99700' , '13397' , 'MIO GESU\'' , '15' , '-15' , '4' , '3.5000' , '3.5' , '0' , '15' , '44.63' ) 05/01/2026 05:25: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 ( '99700' , '5457' , 'IO SONO CON VOI 1 PARTE' , '17' , '-17' , '4' , '2.8000' , '2.8' , '0' , '15' , '40.46' ) 05/01/2026 05:25: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 ( '99700' , '5458' , 'IO SONO CON VOI 2 PARTE' , '23' , '-23' , '4' , '2.8000' , '2.8' , '0' , '15' , '54.74' ) 05/01/2026 05:25: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 ( '99700' , '11191' , 'VENITE CON ME 1 PARTE' , '19' , '-19' , '4' , '2.8000' , '2.8' , '0' , '15' , '45.22' ) 05/01/2026 05:25: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 ( '99700' , '11192' , 'VENITE CON ME 2 PARTE' , '8' , '-8' , '4' , '2.8000' , '2.8' , '0' , '15' , '19.04' ) 05/01/2026 05:28:01 pm >> DELETE FROM ps_document WHERE id_document = '99598' 05/01/2026 05:28:01 pm >> DELETE FROM ps_document_detail WHERE id_document = '99598' 05/01/2026 05:31:22 pm >> SELECT document_num FROM ps_document WHERE document_num = '3830' AND id_document != '99965' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-11-18') 05/01/2026 05:31:22 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '3830', document_date = '2025-11-18', 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 = '0', id_causal = '0', price_tax_included = '349.00', price_tax_excluded = '289.49', date_upd = NOW() WHERE id_document = '99965' 05/01/2026 05:31: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 = '99965' 05/01/2026 05:31:22 pm >> DELETE FROM ps_document_detail WHERE id_document = '99965' 05/01/2026 05:31: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 ( '99965' , '17986' , 'PATENA 15,5 - 1900' , '1' , '-1' , '1' , '50.0000' , '40.983606557377' , '22' , '0' , '50.00' ) 05/01/2026 05:31: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 ( '99965' , '23425' , 'ROSARIO GIUBILEO - 198/1-G25' , '1' , '-1' , '1' , '3' , '2.4590163934426' , '22' , '0' , '3.00' ) 05/01/2026 05:31: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 ( '99965' , '8409' , 'PRENDETE E MANGIATE - GUIDA' , '2' , '-2' , '4' , '5.0000' , '5' , '0' , '5' , '9.50' ) 05/01/2026 05:31: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 ( '99965' , '4155' , 'FESTA DEL PERDONO - GUIDA' , '2' , '-2' , '4' , '5.0000' , '5' , '0' , '5' , '9.50' ) 05/01/2026 05:31: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 ( '99965' , '1626' , 'CANDELE VOTIVE KG 10 - 13X26 - CIRCA 300 PZ' , '1' , '-1' , '1' , '70.0000' , '57.377049180328' , '22' , '0' , '70.00' ) 05/01/2026 05:31: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 ( '99965' , '18682' , 'CLERGY ROMANO ML - C17' , '2' , '-2' , '1' , '40' , '32.786885245902' , '22' , '0' , '80.00' ) 05/01/2026 05:31: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 ( '99965' , '2177' , 'CLERGY BASIC - MM - B&P' , '1' , '-1' , '1' , '30' , '24.590163934426' , '22' , '0' , '30.00' ) 05/01/2026 05:31: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 ( '99965' , '2168' , 'CLERGY BASIC - ML - B&P' , '1' , '-1' , '1' , '30' , '24.590163934426' , '22' , '0' , '30.00' ) 05/01/2026 05:31: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 ( '99965' , '1914' , 'CERA DELLA LITURGIA' , '12' , '-12' , '1' , '4.5' , '3.6885245901639' , '22' , '0' , '54.00' ) 05/01/2026 05:31: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 ( '99965' , '1710' , 'CARBONCINI PER TURIBOLO BIANCHI - PZ 120' , '1' , '-1' , '1' , '13.00' , '10.655737704918' , '22' , '0' , '13.00' ) 05/01/2026 05:31:49 pm >> SELECT document_num FROM ps_document WHERE document_num = '4272' AND id_document != '100531' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-12-17') 05/01/2026 05:31:49 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '4272', document_date = '2025-12-17', 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 = '0', id_causal = '0', price_tax_included = '75.78', price_tax_excluded = '66.13', date_upd = NOW() WHERE id_document = '100531' 05/01/2026 05:31:49 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 = '100531' 05/01/2026 05:31:49 pm >> DELETE FROM ps_document_detail WHERE id_document = '100531' 05/01/2026 05:31:49 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 ( '100531' , '24137' , 'GIOCHIAMO CON IL NATALE' , '1' , '-1' , '4' , '4.9000' , '4.9' , '0' , '5' , '4.66' ) 05/01/2026 05:31:49 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 ( '100531' , '24337' , 'MIA NOVENA DI NATALE' , '1' , '-1' , '4' , '12.0000' , '12' , '0' , '5' , '11.40' ) 05/01/2026 05:31:49 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 ( '100531' , '4223' , 'FOGLIETTI LA DOMENICA SAN PAOLO' , '1' , '-1' , '4' , '0.7000' , '0.7' , '0' , '0' , '0.70' ) 05/01/2026 05:31:49 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 ( '100531' , '24349' , 'PAROLA E PREGHIERA - GEN 26' , '1' , '-1' , '4' , '2.9000' , '2.9' , '0' , '5' , '2.76' ) 05/01/2026 05:31:49 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 ( '100531' , '24350' , 'PAROLA E PREGHIERA - FEB 26' , '1' , '-1' , '4' , '2.9000' , '2.9' , '0' , '5' , '2.76' ) 05/01/2026 05:31:49 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 ( '100531' , '24427' , 'SACRA FAMIGLIA CM 6 - P696' , '10' , '-10' , '1' , '2.9000' , '2.3770491803279' , '22' , '0' , '29.00' ) 05/01/2026 05:31:49 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 ( '100531' , '23096' , 'QUADRETTO EFFETTO CERAMICA - P734/F38' , '5' , '-5' , '1' , '4.0000' , '3.2786885245902' , '22' , '0' , '20.00' ) 05/01/2026 05:31:49 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 ( '100531' , '1914' , 'CERA DELLA LITURGIA' , '1' , '-1' , '1' , '4.5' , '3.6885245901639' , '22' , '0' , '4.50' ) 05/01/2026 05:32:06 pm >> SELECT document_num FROM ps_document WHERE document_num = '4289' AND id_document != '100551' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-12-18') 05/01/2026 05:32:06 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '4289', document_date = '2025-12-18', 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 = '0', id_causal = '0', price_tax_included = '15.70', price_tax_excluded = '12.87', date_upd = NOW() WHERE id_document = '100551' 05/01/2026 05:32: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 = '100551' 05/01/2026 05:32:06 pm >> DELETE FROM ps_document_detail WHERE id_document = '100551' 05/01/2026 05:32: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 ( '100551' , '1375' , 'BRUCIAINCENSI LEGNO - BRUL' , '1' , '-1' , '1' , '10.9000' , '8.9344262295082' , '22' , '0' , '10.90' ) 05/01/2026 05:32: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 ( '100551' , '1914' , 'CERA DELLA LITURGIA' , '1' , '-1' , '1' , '4.8' , '3.9344262295082' , '22' , '0' , '4.80' ) 05/01/2026 05:32:29 pm >> SELECT document_num FROM ps_document WHERE document_num = '4332' AND id_document != '100600' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-12-20') 05/01/2026 05:32:29 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '4332', document_date = '2025-12-20', 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 = '0', id_causal = '0', price_tax_included = '82.50', price_tax_excluded = '68.69', date_upd = NOW() WHERE id_document = '100600' 05/01/2026 05:32:29 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 = '100600' 05/01/2026 05:32:29 pm >> DELETE FROM ps_document_detail WHERE id_document = '100600' 05/01/2026 05:32: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 ( '100600' , '21791' , 'BAMBINELLO CM 21 - PB15943' , '1' , '-1' , '1' , '30.0000' , '24.590163934426' , '22' , '0' , '30.00' ) 05/01/2026 05:32: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 ( '100600' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '1' , '-1' , '3' , '3.5000' , '3.3653846153846' , '4' , '0' , '3.50' ) 05/01/2026 05:32: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 ( '100600' , '7311' , 'OSTIA SOTTILE 74MM' , '2' , '-2' , '3' , '2.0000' , '1.9230769230769' , '4' , '0' , '4.00' ) 05/01/2026 05:32: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 ( '100600' , '1914' , 'CERA DELLA LITURGIA' , '10' , '-10' , '1' , '4.5' , '3.6885245901639' , '22' , '0' , '45.00' ) 05/01/2026 05:34:22 pm >> SELECT document_num FROM ps_document WHERE document_num = '4309' AND id_document != '100572' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-12-18') 05/01/2026 05:34:22 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '4309', document_date = '2025-12-18', 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 = '0', id_causal = '0', price_tax_included = '123.00', price_tax_excluded = '100.82', date_upd = NOW() WHERE id_document = '100572' 05/01/2026 05:34: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 = '100572' 05/01/2026 05:34:22 pm >> DELETE FROM ps_document_detail WHERE id_document = '100572' 05/01/2026 05:34: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 ( '100572' , '23425' , 'ROSARIO GIUBILEO - 198/1-G25' , '4' , '-4' , '1' , '2' , '1.6393442622951' , '22' , '0' , '8.00' ) 05/01/2026 05:34: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 ( '100572' , '19107' , 'INCENSO GRANI 3A - BUSTA' , '1' , '-1' , '1' , '30.0000' , '24.590163934426' , '22' , '0' , '30.00' ) 05/01/2026 05:34: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 ( '100572' , '19102' , 'CARBONCINI MM 40' , '1' , '-1' , '1' , '13.0000' , '10.655737704918' , '22' , '0' , '13.00' ) 05/01/2026 05:34: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 ( '100572' , '21561' , 'QUADRO PIASTRELLA 20X20 - 2189' , '1' , '-1' , '1' , '24.0000' , '19.672131147541' , '22' , '0' , '24.00' ) 05/01/2026 05:34: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 ( '100572' , '11384' , 'VINO BIANCO DOLCE - 102' , '6' , '-6' , '1' , '8' , '6.5573770491803' , '22' , '0' , '48.00' ) 05/01/2026 05:34:48 pm >> SELECT document_num FROM ps_document WHERE document_num = '4211' AND id_document != '100450' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-12-13') 05/01/2026 05:34:48 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '4211', document_date = '2025-12-13', 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 = '0', id_causal = '0', price_tax_included = '14.00', price_tax_excluded = '11.76', date_upd = NOW() WHERE id_document = '100450' 05/01/2026 05:34:48 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 = '100450' 05/01/2026 05:34:48 pm >> DELETE FROM ps_document_detail WHERE id_document = '100450' 05/01/2026 05:34:48 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 ( '100450' , '16689' , 'OSTIA PAN DI CENA mm80' , '1' , '-1' , '3' , '2.0000' , '1.9230769230769' , '4' , '0' , '2.00' ) 05/01/2026 05:34:48 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 ( '100450' , '23425' , 'ROSARIO GIUBILEO - 198/1-G25' , '4' , '-4' , '1' , '3' , '2.4590163934426' , '22' , '0' , '12.00' ) 05/01/2026 05:35:06 pm >> SELECT document_num FROM ps_document WHERE document_num = '4218' AND id_document != '100458' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-12-13') 05/01/2026 05:35:06 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '4218', document_date = '2025-12-13', 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 = '0', id_causal = '0', price_tax_included = '21.50', price_tax_excluded = '17.62', date_upd = NOW() WHERE id_document = '100458' 05/01/2026 05:35: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 = '100458' 05/01/2026 05:35:06 pm >> DELETE FROM ps_document_detail WHERE id_document = '100458' 05/01/2026 05:35: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 ( '100458' , '19717' , 'ROSARIO LEGNO SAN BENEDETTO - RE5042NAT' , '1' , '-1' , '1' , '5.9000' , '4.8360655737705' , '22' , '0' , '5.90' ) 05/01/2026 05:35: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 ( '100458' , '20061' , 'BRACCIALE DECINA - BC528' , '1' , '-1' , '1' , '1.6000' , '1.3114754098361' , '22' , '0' , '1.60' ) 05/01/2026 05:35: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 ( '100458' , '21101' , 'COLLANA CON ANGELO IN ACCIAIO - NS018' , '1' , '-1' , '1' , '2.5000' , '2.0491803278689' , '22' , '0' , '2.50' ) 05/01/2026 05:35: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 ( '100458' , '21100' , 'COLLANA CON CROCE ACCIAIO - NS014' , '1' , '-1' , '1' , '2.5000' , '2.0491803278689' , '22' , '0' , '2.50' ) 05/01/2026 05:35: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 ( '100458' , '23425' , 'ROSARIO GIUBILEO - 198/1-G25' , '1' , '-1' , '1' , '2.5' , '2.0491803278689' , '22' , '0' , '2.50' ) 05/01/2026 05:35: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 ( '100458' , '20067' , 'CATENINA CON MED. SAN BENEDETTO - NS047' , '1' , '-1' , '1' , '2.5000' , '2.0491803278689' , '22' , '0' , '2.50' ) 05/01/2026 05:35: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 ( '100458' , '23101' , 'PORTACHIAVI DECINA GIUBILEO - 1704D' , '1' , '-1' , '1' , '2.0000' , '1.6393442622951' , '22' , '0' , '2.00' ) 05/01/2026 05:35: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 ( '100458' , '23095' , 'PORTACHIAVI GIUBILEO - G1878' , '1' , '-1' , '1' , '2.0000' , '1.6393442622951' , '22' , '0' , '2.00' ) 05/01/2026 05:35:56 pm >> SELECT document_num FROM ps_document WHERE document_num = '4349' AND id_document != '100618' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-12-20') 05/01/2026 05:35:57 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '4349', document_date = '2025-12-20', 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 = '0', id_causal = '0', price_tax_included = '50.00', price_tax_excluded = '40.98', date_upd = NOW() WHERE id_document = '100618' 05/01/2026 05:35: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 = '100618' 05/01/2026 05:35:57 pm >> DELETE FROM ps_document_detail WHERE id_document = '100618' 05/01/2026 05:35: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 ( '100618' , '23425' , 'ROSARIO GIUBILEO - 198/1-G25' , '25' , '-25' , '1' , '2' , '1.6393442622951' , '22' , '0' , '50.00' ) 05/01/2026 05:36:26 pm >> SELECT document_num FROM ps_document WHERE document_num = '4298' AND id_document != '100561' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-12-18') 05/01/2026 05:36:26 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '4298', document_date = '2025-12-18', 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 = '0', id_causal = '0', price_tax_included = '24.90', price_tax_excluded = '20.41', date_upd = NOW() WHERE id_document = '100561' 05/01/2026 05:36: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 = '100561' 05/01/2026 05:36:26 pm >> DELETE FROM ps_document_detail WHERE id_document = '100561' 05/01/2026 05:36: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 ( '100561' , '1914' , 'CERA DELLA LITURGIA' , '2' , '-2' , '1' , '4.9000' , '4.016393442623' , '22' , '0' , '9.80' ) 05/01/2026 05:36: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 ( '100561' , '18122' , 'ROCCA STOPPINO M. 100 - 469/100' , '1' , '-1' , '1' , '1.1000' , '0.9016393442623' , '22' , '0' , '1.10' ) 05/01/2026 05:36: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 ( '100561' , '23425' , 'ROSARIO GIUBILEO - 198/1-G25' , '4' , '-4' , '1' , '3.50' , '2.8688524590164' , '22' , '0' , '14.00' ) 05/01/2026 05:39:17 pm >> SELECT document_num FROM ps_document WHERE document_num = '3826' AND id_document != '99956' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-11-18') 05/01/2026 05:39:17 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '3826', document_date = '2025-11-18', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = 'VIA TAVERNA DELLE ROSE 84091 BATTIPAGLIA', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '1176.40', price_tax_excluded = '1176.40', date_upd = NOW() WHERE id_document = '99956' 05/01/2026 05:39: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 = '99956' 05/01/2026 05:39:17 pm >> DELETE FROM ps_document_detail WHERE id_document = '99956' 05/01/2026 05:39:17 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 ( '99956' , '17244' , 'DIARIO DELLA MIA PRIMA CONFESSIONE' , '69' , '-69' , '4' , '5.9000' , '5.9' , '0' , '5' , '386.75' ) 05/01/2026 05:39:17 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 ( '99956' , '17245' , 'DIARIO DELLA MIA PRIMA COMUNIONE' , '66' , '-66' , '4' , '5.9000' , '5.9' , '0' , '5' , '369.93' ) 05/01/2026 05:39:17 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 ( '99956' , '12895' , 'PASSI VERSO LA CRESIMA' , '7' , '-7' , '4' , '7.9000' , '7.9' , '0' , '5' , '52.54' ) 05/01/2026 05:39:17 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 ( '99956' , '18564' , 'CONNESSI CON GESU’ - AGENDUM 2' , '29' , '-29' , '4' , '5.0000' , '5' , '0' , '5' , '137.75' ) 05/01/2026 05:39:17 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 ( '99956' , '11151' , 'LIBRI' , '1' , '-1' , '4' , '153' , '153' , '0' , '0' , '153.00' ) 05/01/2026 05:39:17 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 ( '99956' , '24214' , 'SULLA TUA PAROLA GEN/FEB 2026 - 532' , '14' , '-14' , '4' , '4.5' , '4.5' , '0' , '0' , '63.00' ) 05/01/2026 05:39:17 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 ( '99956' , '23972' , 'PREGARE IL ROSARIO IN MODO NUOVO - F. CIARDI' , '1' , '-1' , '4' , '6.43' , '6.43' , '0' , '0' , '6.43' ) 05/01/2026 05:39:17 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 ( '99956' , '16050' , 'BELLEZZA DELLA CELEBRAZIONE EUCARISTICA ' , '2' , '-2' , '4' , '3.50' , '3.5' , '0' , '0' , '7.00' ) 05/01/2026 05:40:17 pm >> SELECT document_num FROM ps_document WHERE document_num = '27' AND id_document != '100776' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-03') 05/01/2026 05:40:17 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '27', document_date = '2026-01-03', 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 = '0', id_causal = '0', price_tax_included = '18.30', price_tax_excluded = '17.60', date_upd = NOW() WHERE id_document = '100776' 05/01/2026 05:40: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 = '100776' 05/01/2026 05:40:17 pm >> DELETE FROM ps_document_detail WHERE id_document = '100776' 05/01/2026 05:40:17 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 ( '100776' , '7311' , 'OSTIA SOTTILE 74MM' , '10' , '-10' , '3' , '1.83' , '1.7596153846154' , '4' , '0' , '18.30' ) 05/01/2026 05:41:22 pm >> SELECT document_num FROM ps_document WHERE document_num = '44' AND id_document != '100794' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 05:41:22 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '44', document_date = '2026-01-05', 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 = '0', id_causal = '0', price_tax_included = '9.60', price_tax_excluded = '8.86', date_upd = NOW() WHERE id_document = '100794' 05/01/2026 05:41: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 = '100794' 05/01/2026 05:41:23 pm >> DELETE FROM ps_document_detail WHERE id_document = '100794' 05/01/2026 05:41: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 ( '100794' , '7311' , 'OSTIA SOTTILE 74MM' , '3' , '-3' , '3' , '2' , '1.9230769230769' , '4' , '0' , '6.00' ) 05/01/2026 05:41: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 ( '100794' , '7202' , 'ARTICOLI RELIGIOSI' , '2' , '-2' , '1' , '1.3000' , '1.0655737704918' , '22' , '0' , '2.60' ) 05/01/2026 05:41: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 ( '100794' , '11152' , 'VARIE - OSTIE - PARTICOLE' , '1' , '-1' , '3' , '1' , '0.96153846153846' , '4' , '0' , '1.00' ) 05/01/2026 05:41:46 pm >> SELECT document_num FROM ps_document WHERE document_num = '45' AND id_document != '100795' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 05:41:46 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '45', document_date = '2026-01-05', 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 = '0', id_causal = '0', price_tax_included = '20.80', price_tax_excluded = '17.55', date_upd = NOW() WHERE id_document = '100795' 05/01/2026 05:41:46 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 = '100795' 05/01/2026 05:41:46 pm >> DELETE FROM ps_document_detail WHERE id_document = '100795' 05/01/2026 05:41:46 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 ( '100795' , '18620' , 'MEDAGLIA MIRACOLOSA BLU PICCOLA - 022M/SM' , '5' , '-5' , '1' , '0.5000' , '0.40983606557377' , '22' , '0' , '2.50' ) 05/01/2026 05:41:46 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 ( '100795' , '7202' , 'ARTICOLI RELIGIOSI' , '3' , '-3' , '1' , '1.3000' , '1.0655737704918' , '22' , '0' , '3.90' ) 05/01/2026 05:41:46 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 ( '100795' , '7311' , 'OSTIA SOTTILE 74MM' , '2' , '-2' , '3' , '1.75' , '1.6826923076923' , '4' , '0' , '3.50' ) 05/01/2026 05:41:46 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 ( '100795' , '1375' , 'BRUCIAINCENSI LEGNO - BRUL' , '1' , '-1' , '1' , '10.9000' , '8.9344262295082' , '22' , '0' , '10.90' ) 05/01/2026 05:42:09 pm >> SELECT document_num FROM ps_document WHERE document_num = '44' AND id_document != '100794' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 05:42:09 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '44', document_date = '2026-01-05', 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 = '0', id_causal = '0', price_tax_included = '9.60', price_tax_excluded = '8.86', date_upd = NOW() WHERE id_document = '100794' 05/01/2026 05:42:09 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 = '100794' 05/01/2026 05:42:09 pm >> DELETE FROM ps_document_detail WHERE id_document = '100794' 05/01/2026 05:42:09 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 ( '100794' , '7311' , 'OSTIA SOTTILE 74MM' , '3' , '-3' , '3' , '2.0000' , '1.9230769230769' , '4' , '0' , '6.00' ) 05/01/2026 05:42:09 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 ( '100794' , '7202' , 'ARTICOLI RELIGIOSI' , '2' , '-2' , '1' , '1.3000' , '1.0655737704918' , '22' , '0' , '2.60' ) 05/01/2026 05:42:09 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 ( '100794' , '7311' , 'OSTIA SOTTILE 74MM' , '1' , '-1' , '3' , '1' , '0.96153846153846' , '4' , '0' , '1.00' ) 05/01/2026 05:43:27 pm >> SELECT document_num FROM ps_document WHERE document_num = '153/A' AND id_document != '100400' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2025-12-11') 05/01/2026 05:43:27 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '153/A', document_date = '2025-12-11', document_letter = 'A', id_customer = '1235', id_supplier = '', id_address = '4679636', address1 = 'P. ZZA SAN MARCO - CURTERI 84085 MERCATO S. SEVERINO', address2 = '', note = '153/A DEL 11/12/2025', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '86.00', price_tax_excluded = '70.49', date_upd = NOW() WHERE id_document = '100400' 05/01/2026 05:43: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 = '100400' 05/01/2026 05:43:27 pm >> DELETE FROM ps_document_detail WHERE id_document = '100400' 05/01/2026 05:43: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 ( '100400' , '942' , 'BAMBINO CM 5 - FOSFORO - PX' , '100' , '-100' , '1' , '0.4500' , '0.36885245901639' , '22' , '0' , '45.00' ) 05/01/2026 05:43: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 ( '100400' , '7940' , 'PERGAMENE - OCCASIONI MOD. A' , '50' , '-50' , '1' , '0.5000' , '0.40983606557377' , '22' , '0' , '25.00' ) 05/01/2026 05:43: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 ( '100400' , '20758' , 'SEGNALIBRO 5X15' , '50' , '-50' , '1' , '0.2000' , '0.16393442622951' , '22' , '0' , '10.00' ) 05/01/2026 05:43: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 ( '100400' , '0' , 'SEGNALIBRO PADRE NOSTRO' , '30' , '-30' , '1' , '0.2000' , '0.16393442622951' , '22' , '0' , '6.00' ) 05/01/2026 05:45:27 pm >> SELECT document_num FROM ps_document WHERE document_num = '3/A' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 05:45: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 ( '24' , '3/A' , '2026-01-05' , 'A' , '357' , '0' , '4676034' , 'VIA TORRIONE 84100 SALERNO' , '' , '99/A DEL 14/07/2025' , '0.00' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '467.10' , '388.38' , NOW() , NOW() ) 05/01/2026 05:45: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 = '100799' 05/01/2026 05:45:27 pm >> DELETE FROM ps_document_detail WHERE id_document = '100799' 05/01/2026 05:45: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 ( '100799' , '8147' , 'POLO BASIC' , '4' , '-4' , '1' , '27.0000' , '22.1311' , '22' , '0' , '108.00' ) 05/01/2026 05:45: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 ( '100799' , '20953' , 'VANGELO E ATTI DEGLI APOSTOLI' , '3' , '-3' , '4' , '2.8000' , '2.8' , '0' , '0' , '8.40' ) 05/01/2026 05:45: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 ( '100799' , '16689' , 'OSTIA PAN DI CENA mm80' , '2' , '-2' , '3' , '2.0000' , '1.9231' , '4' , '0' , '4.00' ) 05/01/2026 05:45: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 ( '100799' , '22970' , 'RELIQUIARIO H 25CM' , '1' , '-1' , '1' , '189.0000' , '154.918' , '22' , '0' , '189.00' ) 05/01/2026 05:45: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 ( '100799' , '11757' , 'VINO LIQUOROSO DOLCE - 16%' , '3' , '-3' , '1' , '7.9000' , '6.4754' , '22' , '0' , '23.70' ) 05/01/2026 05:45: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 ( '100799' , '22865' , 'CATECHISMO MAGGIORE - SAN PIO X' , '1' , '-1' , '4' , '19.0000' , '19' , '0' , '0' , '19.00' ) 05/01/2026 05:45: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 ( '100799' , '0' , '19/11' , '1' , '-1' , '0' , '0.0000' , '0' , '0' , '0' , '0.00' ) 05/01/2026 05:45: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 ( '100799' , '6325' , 'MEDAGLIA MIRACOLOSA MM 22 - METALLO OX' , '500' , '-500' , '1' , '0.2300' , '0.1885' , '22' , '0' , '115.00' ) 05/01/2026 05:46:10 pm >> SELECT document_num FROM ps_document WHERE document_num = '4/A' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 05:46: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 ( '24' , '4/A' , '2026-01-05' , 'A' , '230' , '0' , '4668969' , 'VIA G. NICOTERA, 66 84080 PELLEZZANO' , '' , '116/A DEL 23/09/2025 DON LUIGI SAVINO acconto € 210,00+25/11 € 100' , '0.00' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '446.50' , '365.98' , NOW() , NOW() ) 05/01/2026 05:46: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 = '100800' 05/01/2026 05:46:10 pm >> DELETE FROM ps_document_detail WHERE id_document = '100800' 05/01/2026 05:46: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 ( '100800' , '20113' , 'FATIMA CM 105 - 1038/P' , '1' , '-1' , '1' , '420.0000' , '344.2623' , '22' , '0' , '420.00' ) 05/01/2026 05:46: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 ( '100800' , '0' , '05/01/2026' , '1' , '-1' , '0' , '0.0000' , '0' , '0' , '0' , '0.00' ) 05/01/2026 05:46: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 ( '100800' , '5903' , 'LITURGICO ART. 60LT ROSSO SUPER' , '4' , '-4' , '1' , '3.5000' , '2.8689' , '22' , '0' , '14.00' ) 05/01/2026 05:46: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 ( '100800' , '6014' , 'LUMINO BIANCO - 10B' , '25' , '-25' , '1' , '0.5000' , '0.4098' , '22' , '0' , '12.50' ) 05/01/2026 05:46:21 pm >> DELETE FROM ps_document WHERE id_document = '98079' 05/01/2026 05:46:21 pm >> DELETE FROM ps_document_detail WHERE id_document = '98079' 05/01/2026 05:46:24 pm >> DELETE FROM ps_document WHERE id_document = '98877' 05/01/2026 05:46:24 pm >> DELETE FROM ps_document_detail WHERE id_document = '98877' 05/01/2026 05:47:17 pm >> SELECT document_num FROM ps_document WHERE document_num = '5/A' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 05:47:17 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 ( '24' , '5/A' , '2026-01-05' , 'A' , '2757' , '0' , '4679344' , 'VIA CIRILLO 84085 MERCATO SAN SEVERINO' , '' , '133/A DEL 05/11/2025' , '0.00' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '204.09' , '204.09' , NOW() , NOW() ) 05/01/2026 05:47: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 = '100801' 05/01/2026 05:47:17 pm >> DELETE FROM ps_document_detail WHERE id_document = '100801' 05/01/2026 05:47:17 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 ( '100801' , '13397' , 'MIO GESU\'' , '15' , '-15' , '4' , '3.5000' , '3.5' , '0' , '15' , '44.63' ) 05/01/2026 05:47:17 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 ( '100801' , '5457' , 'IO SONO CON VOI 1 PARTE' , '17' , '-17' , '4' , '2.8000' , '2.8' , '0' , '15' , '40.46' ) 05/01/2026 05:47:17 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 ( '100801' , '5458' , 'IO SONO CON VOI 2 PARTE' , '23' , '-23' , '4' , '2.8000' , '2.8' , '0' , '15' , '54.74' ) 05/01/2026 05:47:17 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 ( '100801' , '11191' , 'VENITE CON ME 1 PARTE' , '19' , '-19' , '4' , '2.8000' , '2.8' , '0' , '15' , '45.22' ) 05/01/2026 05:47:17 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 ( '100801' , '11192' , 'VENITE CON ME 2 PARTE' , '8' , '-8' , '4' , '2.8000' , '2.8' , '0' , '15' , '19.04' ) 05/01/2026 05:47:23 pm >> DELETE FROM ps_document WHERE id_document = '99700' 05/01/2026 05:47:23 pm >> DELETE FROM ps_document_detail WHERE id_document = '99700' 05/01/2026 05:48:27 pm >> SELECT document_num FROM ps_document WHERE document_num = '6/A' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 05:48: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 ( '24' , '6/A' , '2026-01-05' , 'A' , '316' , '0' , '4669506' , 'VIA VITO LEMBO, 2 84020 PALOMONTE' , '' , '143/A DEL 19/11/2025' , '0.00' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '390.12' , '380.92' , NOW() , NOW() ) 05/01/2026 05:48: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 = '100802' 05/01/2026 05:48:27 pm >> DELETE FROM ps_document_detail WHERE id_document = '100802' 05/01/2026 05:48: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 ( '100802' , '10751' , 'TU MI PERDONI' , '15' , '-15' , '4' , '6.9000' , '6.9' , '0' , '5' , '98.33' ) 05/01/2026 05:48: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 ( '100802' , '14719' , 'TU MI AMI DAVVERO' , '25' , '-25' , '4' , '6.9000' , '6.9' , '0' , '5' , '163.88' ) 05/01/2026 05:48: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 ( '100802' , '7736' , 'PATENA OTTONE DECORATA - 900/S' , '1' , '-1' , '1' , '51.0000' , '41.8033' , '22' , '0' , '51.00' ) 05/01/2026 05:48: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 ( '100802' , '14719' , 'TU MI AMI DAVVERO' , '1' , '-1' , '4' , '6.9000' , '6.9' , '0' , '5' , '6.56' ) 05/01/2026 05:48: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 ( '100802' , '8247' , 'PREGATE, PREGATE, PREGATE - 8100' , '2' , '-2' , '4' , '10.0000' , '10' , '0' , '5' , '19.00' ) 05/01/2026 05:48: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 ( '100802' , '0' , 'bambinello' , '79' , '-79' , '0' , '0.6500' , '0.65' , '0' , '0' , '51.35' ) 05/01/2026 05:52:48 pm >> SELECT document_num FROM ps_document WHERE document_num = '49' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 05:52:48 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' , '49' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '13.00' , '10.66' , NOW() , NOW() ) 05/01/2026 05:52:48 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 = '100803' 05/01/2026 05:52:48 pm >> DELETE FROM ps_document_detail WHERE id_document = '100803' 05/01/2026 05:52:48 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 ( '100803' , '21840' , 'TAVOLA IN LEGNO 20X25 - 1223' , '1' , '-1' , '1' , '13.00' , '10.655737704918' , '22' , '0' , '13.00' ) 05/01/2026 06:04:41 pm >> SELECT document_num FROM ps_document WHERE document_num = '50' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 06:04:41 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' , '50' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '62.50' , '51.23' , NOW() , NOW() ) 05/01/2026 06:04:41 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 = '100804' 05/01/2026 06:04:41 pm >> DELETE FROM ps_document_detail WHERE id_document = '100804' 05/01/2026 06:04:41 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 ( '100804' , '22199' , 'VINO LIQUOROSO ROSSO ' , '6' , '-6' , '1' , '7.5' , '6.1475409836066' , '22' , '0' , '45.00' ) 05/01/2026 06:04:41 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 ( '100804' , '13049' , 'LITURGICO ART. 60LT BIANCO SUPER' , '5' , '-5' , '1' , '3.50' , '2.8688524590164' , '22' , '0' , '17.50' ) 05/01/2026 06:08:11 pm >> SELECT document_num FROM ps_document WHERE document_num = '7/A' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 06:08: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 ( '24' , '7/A' , '2026-01-05' , 'A' , '204' , '0' , '4671483' , 'VIA ROBERTO IL GUISCARDO, 3 84121 SALERNO' , '' , 'HOSPICE CASA DI LARA' , '0.00' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '19.00' , '16.14' , NOW() , NOW() ) 05/01/2026 06:08: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 = '100805' 05/01/2026 06:08:11 pm >> DELETE FROM ps_document_detail WHERE id_document = '100805' 05/01/2026 06:08: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 ( '100805' , '16689' , 'OSTIA PAN DI CENA mm80' , '2' , '-2' , '3' , '2.0000' , '1.9231' , '4' , '0' , '4.00' ) 05/01/2026 06:08: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 ( '100805' , '4374' , 'GESÙ BAMBINO - 273' , '100' , '-100' , '1' , '0.1500' , '0.123' , '22' , '0' , '15.00' ) 05/01/2026 06:08:17 pm >> DELETE FROM ps_document WHERE id_document = '100622' 05/01/2026 06:08:17 pm >> DELETE FROM ps_document_detail WHERE id_document = '100622' 05/01/2026 06:08:56 pm >> SELECT document_num FROM ps_document WHERE document_num = '8/A' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 06:08:56 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 ( '24' , '8/A' , '2026-01-05' , 'A' , '204' , '0' , '4671483' , 'VIA ROBERTO IL GUISCARDO, 3 84121 SALERNO' , '' , 'campolongo' , '0.00' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '204.70' , '173.20' , NOW() , NOW() ) 05/01/2026 06:08:56 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 = '100806' 05/01/2026 06:08:56 pm >> DELETE FROM ps_document_detail WHERE id_document = '100806' 05/01/2026 06:08:56 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 ( '100806' , '7202' , 'ARTICOLI RELIGIOSI culla' , '1' , '-1' , '1' , '25.0000' , '20.4918' , '22' , '0' , '25.00' ) 05/01/2026 06:08:56 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 ( '100806' , '11384' , 'VINO BIANCO DOLCE - 102' , '3' , '-3' , '1' , '8.9000' , '7.2951' , '22' , '0' , '26.70' ) 05/01/2026 06:08:56 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 ( '100806' , '23223' , 'COPRILEGGIO - CL10' , '1' , '-1' , '1' , '55.0000' , '45.082' , '22' , '0' , '55.00' ) 05/01/2026 06:08:56 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 ( '100806' , '23840' , 'COPRI LEGGIO - 331/TP' , '1' , '-1' , '1' , '68.0000' , '55.7377' , '22' , '0' , '68.00' ) 05/01/2026 06:08:56 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 ( '100806' , '21612' , 'RITO ESEQUIE - ED. MIN.- N.E.' , '1' , '-1' , '4' , '30.0000' , '30' , '0' , '0' , '30.00' ) 05/01/2026 06:09:01 pm >> DELETE FROM ps_document WHERE id_document = '100659' 05/01/2026 06:09:01 pm >> DELETE FROM ps_document_detail WHERE id_document = '100659' 05/01/2026 06:09:46 pm >> SELECT document_num FROM ps_document WHERE document_num = '9/A' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 06:09:46 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 ( '24' , '9/A' , '2026-01-05' , 'A' , '1235' , '0' , '4679636' , 'P. ZZA SAN MARCO - CURTERI 84085 MERCATO S. SEVERINO' , '' , '153/A DEL 11/12/2025' , '0.00' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '86.00' , '70.49' , NOW() , NOW() ) 05/01/2026 06:09:46 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 = '100807' 05/01/2026 06:09:46 pm >> DELETE FROM ps_document_detail WHERE id_document = '100807' 05/01/2026 06:09:46 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 ( '100807' , '942' , 'BAMBINO CM 5 - FOSFORO - PX' , '100' , '-100' , '1' , '0.4500' , '0.3689' , '22' , '0' , '45.00' ) 05/01/2026 06:09:46 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 ( '100807' , '7940' , 'PERGAMENE - OCCASIONI MOD. A' , '50' , '-50' , '1' , '0.5000' , '0.4098' , '22' , '0' , '25.00' ) 05/01/2026 06:09:46 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 ( '100807' , '20758' , 'SEGNALIBRO 5X15' , '50' , '-50' , '1' , '0.2000' , '0.1639' , '22' , '0' , '10.00' ) 05/01/2026 06:09:46 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 ( '100807' , '0' , 'SEGNALIBRO PADRE NOSTRO' , '30' , '-30' , '1' , '0.2000' , '0.1639' , '22' , '0' , '6.00' ) 05/01/2026 06:09:50 pm >> DELETE FROM ps_document WHERE id_document = '100400' 05/01/2026 06:09:50 pm >> DELETE FROM ps_document_detail WHERE id_document = '100400' 05/01/2026 06:10:38 pm >> SELECT document_num FROM ps_document WHERE document_num = '10/A' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 06:10:38 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 ( '24' , '10/A' , '2026-01-05' , 'A' , '3812' , '0' , '4679440' , 'LARGO PLEBISCITO 12 84121 SALERNO ' , '' , '149/A DEL 03/12/2025' , '0.00' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '41.30' , '39.03' , NOW() , NOW() ) 05/01/2026 06:10:38 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 = '100808' 05/01/2026 06:10:38 pm >> DELETE FROM ps_document_detail WHERE id_document = '100808' 05/01/2026 06:10:38 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 ( '100808' , '16689' , 'OSTIA PAN DI CENA mm80' , '5' , '-5' , '3' , '2.0000' , '1.9231' , '4' , '0' , '10.00' ) 05/01/2026 06:10:38 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 ( '100808' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '5' , '-5' , '3' , '3.5000' , '3.3654' , '4' , '0' , '17.50' ) 05/01/2026 06:10:39 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 ( '100808' , '17004' , 'BIGLIETTO AUGURALE PICCOLO' , '6' , '-6' , '1' , '0.8000' , '0.6557' , '22' , '0' , '4.80' ) 05/01/2026 06:10:39 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 ( '100808' , '16691' , 'PARTICOLE PER CELIACI 25pz' , '2' , '-2' , '3' , '4.5000' , '4.3269' , '4' , '0' , '9.00' ) 05/01/2026 06:11:30 pm >> SELECT document_num FROM ps_document WHERE document_num = '51' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 06:11: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 ( '11' , '51' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '13.30' , '13.30' , NOW() , NOW() ) 05/01/2026 06:11: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 = '100809' 05/01/2026 06:11:30 pm >> DELETE FROM ps_document_detail WHERE id_document = '100809' 05/01/2026 06:11: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 ( '100809' , '23966' , 'ARMARSI CON CINQUE CIOTTOLI - R. FACCENDA' , '1' , '-1' , '4' , '14.00' , '14' , '0' , '5' , '13.30' ) 05/01/2026 06:12:23 pm >> DELETE FROM ps_document WHERE id_document = '100236' 05/01/2026 06:12:23 pm >> DELETE FROM ps_document_detail WHERE id_document = '100236' 05/01/2026 06:13:38 pm >> DELETE FROM ps_document WHERE id_document = '99403' 05/01/2026 06:13:38 pm >> DELETE FROM ps_document_detail WHERE id_document = '99403' 05/01/2026 06:14:38 pm >> SELECT document_num FROM ps_document WHERE document_num = '4375' AND id_document != '100654' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-12-22') 05/01/2026 06:14:38 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '4375', document_date = '2025-12-22', 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 = '0', id_causal = '0', price_tax_included = '56.50', price_tax_excluded = '46.31', date_upd = NOW() WHERE id_document = '100654' 05/01/2026 06:14:38 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 = '100654' 05/01/2026 06:14:38 pm >> DELETE FROM ps_document_detail WHERE id_document = '100654' 05/01/2026 06:14:38 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 ( '100654' , '9181' , 'ROSARIO S. BENEDETTO LEGNO - 0341870BR' , '1' , '-1' , '1' , '4.0000' , '3.2786885245902' , '22' , '0' , '4.00' ) 05/01/2026 06:14:38 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 ( '100654' , '18135' , 'CROCE SAN BENEDETTO PICCOLA - CSB4' , '5' , '-5' , '1' , '2.5000' , '2.0491803278689' , '22' , '0' , '12.50' ) 05/01/2026 06:14:38 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 ( '100654' , '1545' , 'CAMICE RAGLAN - CM. 160 - ART.54' , '1' , '-1' , '1' , '40' , '32.786885245902' , '22' , '0' , '40.00' ) 05/01/2026 06:15:58 pm >> SELECT document_num FROM ps_document WHERE document_num = '4443' AND id_document != '100735' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-12-30') 05/01/2026 06:15:58 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '4443', document_date = '2025-12-30', 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 = '0', id_causal = '0', price_tax_included = '120.35', price_tax_excluded = '110.32', date_upd = NOW() WHERE id_document = '100735' 05/01/2026 06:15: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 = '100735' 05/01/2026 06:15:58 pm >> DELETE FROM ps_document_detail WHERE id_document = '100735' 05/01/2026 06:15:58 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 ( '100735' , '16456' , 'CINGOLO - CING03' , '1' , '-1' , '1' , '16.0000' , '13.114754098361' , '22' , '0' , '16.00' ) 05/01/2026 06:15:58 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 ( '100735' , '15085' , 'BRACCIALE DECINA COLORATA - BC506' , '1' , '-1' , '1' , '1.6000' , '1.3114754098361' , '22' , '0' , '1.60' ) 05/01/2026 06:15:58 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 ( '100735' , '23966' , 'ARMARSI CON CINQUE CIOTTOLI - R. FACCENDA' , '2' , '-2' , '4' , '14.0000' , '14' , '0' , '5' , '26.60' ) 05/01/2026 06:15:58 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 ( '100735' , '24422' , 'DOMANDA E IL PERDONO - L.M. EPICOCO' , '1' , '-1' , '4' , '12.0000' , '12' , '0' , '5' , '11.40' ) 05/01/2026 06:15:58 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 ( '100735' , '23293' , 'DOLINDO RUOTOLO - SANTI DEL MESSALINO - 8974' , '1' , '-1' , '4' , '3.0000' , '3' , '0' , '0' , '3.00' ) 05/01/2026 06:15:58 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 ( '100735' , '24425' , 'DIO E LA VERA REALTA - BENEDETTO XVI' , '1' , '-1' , '4' , '25.0000' , '25' , '0' , '5' , '23.75' ) 05/01/2026 06:15:58 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 ( '100735' , '19395' , 'CLERGY MISTO COTONE ML - C01' , '1' , '-1' , '1' , '38' , '31.147540983607' , '22' , '0' , '38.00' ) 05/01/2026 06:17:44 pm >> SELECT document_num FROM ps_document WHERE document_num = '3826' AND id_document != '99956' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-11-18') 05/01/2026 06:17:44 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '3826', document_date = '2025-11-18', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = 'VIA TAVERNA DELLE ROSE 84091 BATTIPAGLIA', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '1176.40', price_tax_excluded = '1176.40', date_upd = NOW() WHERE id_document = '99956' 05/01/2026 06:17:45 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 = '99956' 05/01/2026 06:17:45 pm >> DELETE FROM ps_document_detail WHERE id_document = '99956' 05/01/2026 06:17:45 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 ( '99956' , '17244' , 'DIARIO DELLA MIA PRIMA CONFESSIONE' , '69' , '-69' , '4' , '5.9000' , '5.9' , '0' , '5' , '386.75' ) 05/01/2026 06:17:45 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 ( '99956' , '17245' , 'DIARIO DELLA MIA PRIMA COMUNIONE' , '66' , '-66' , '4' , '5.9000' , '5.9' , '0' , '5' , '369.93' ) 05/01/2026 06:17:45 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 ( '99956' , '12895' , 'PASSI VERSO LA CRESIMA' , '7' , '-7' , '4' , '7.9000' , '7.9' , '0' , '5' , '52.54' ) 05/01/2026 06:17:45 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 ( '99956' , '18564' , 'CONNESSI CON GESU’ - AGENDUM 2' , '29' , '-29' , '4' , '5.0000' , '5' , '0' , '5' , '137.75' ) 05/01/2026 06:17:45 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 ( '99956' , '11151' , 'LIBRI' , '1' , '-1' , '4' , '139' , '139' , '0' , '0' , '139.00' ) 05/01/2026 06:17:45 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 ( '99956' , '24214' , 'SULLA TUA PAROLA GEN/FEB 2026 - 532' , '14' , '-14' , '4' , '4.5000' , '4.5' , '0' , '0' , '63.00' ) 05/01/2026 06:17:45 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 ( '99956' , '23972' , 'PREGARE IL ROSARIO IN MODO NUOVO - F. CIARDI' , '1' , '-1' , '4' , '6.4300' , '6.43' , '0' , '0' , '6.43' ) 05/01/2026 06:17:45 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 ( '99956' , '16050' , 'BELLEZZA DELLA CELEBRAZIONE EUCARISTICA ' , '2' , '-2' , '4' , '3.5000' , '3.5' , '0' , '0' , '7.00' ) 05/01/2026 06:17:45 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 ( '99956' , '14642' , 'FIDES ET RATIO - GIOVANNI PAOLO II' , '1' , '-1' , '4' , '4' , '4' , '0' , '0' , '4.00' ) 05/01/2026 06:17:45 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 ( '99956' , '24043' , 'MESSALE FESTIVO 2026' , '1' , '-1' , '4' , '10' , '10' , '0' , '0' , '10.00' ) 05/01/2026 06:35:03 pm >> SELECT document_num FROM ps_document WHERE document_num = '52' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 06:35:03 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' , '52' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '15' , '0' , '42.66' , '42.66' , NOW() , NOW() ) 05/01/2026 06:35:03 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 = '100810' 05/01/2026 06:35:03 pm >> DELETE FROM ps_document_detail WHERE id_document = '100810' 05/01/2026 06:35: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 ( '100810' , '23751' , 'GESU VERAMENTE - L. EPICOCO' , '1' , '-1' , '4' , '16.00' , '16' , '0' , '5' , '15.20' ) 05/01/2026 06:35: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 ( '100810' , '24210' , 'LIBERI DI AMARE - C. AMIRANTE' , '1' , '-1' , '4' , '12.90' , '12.9' , '0' , '5' , '12.26' ) 05/01/2026 06:35: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 ( '100810' , '20250' , 'PREGA MANGIA AMA - L. EPICOCO' , '1' , '-1' , '4' , '16.00' , '16' , '0' , '5' , '15.20' ) 05/01/2026 06:53:06 pm >> SELECT document_num FROM ps_document WHERE document_num = '53' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 06:53: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' , '53' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '15' , '0' , '225.50' , '188.45' , NOW() , NOW() ) 05/01/2026 06:53: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 = '100811' 05/01/2026 06:53:06 pm >> DELETE FROM ps_document_detail WHERE id_document = '100811' 05/01/2026 06:53: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 ( '100811' , '4223' , 'FOGLIETTI LA DOMENICA SAN PAOLO' , '5' , '-5' , '4' , '0.70' , '0.7' , '0' , '0' , '3.50' ) 05/01/2026 06:53: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 ( '100811' , '7311' , 'OSTIA SOTTILE 74MM' , '3' , '-3' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '6.00' ) 05/01/2026 06:53: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 ( '100811' , '20433' , 'PARTICOLA MORREALE 38MM - PTC38S' , '3' , '-3' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '10.50' ) 05/01/2026 06:53: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 ( '100811' , '16691' , 'PARTICOLE PER CELIACI 25pz' , '1' , '-1' , '3' , '4.50' , '4.3269230769231' , '4' , '0' , '4.50' ) 05/01/2026 06:53: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 ( '100811' , '16865' , 'CROCIFISSO SAGOMATO 28X20 - 102860' , '2' , '-2' , '1' , '79.00' , '64.754098360656' , '22' , '0' , '158.00' ) 05/01/2026 06:53: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 ( '100811' , '12578' , 'RICAMBIO VETRO PER ART. 486 - 65' , '2' , '-2' , '1' , '15.00' , '12.295081967213' , '22' , '0' , '30.00' ) 05/01/2026 06:53: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 ( '100811' , '1710' , 'CARBONCINI PER TURIBOLO BIANCHI - PZ 120' , '1' , '-1' , '1' , '13.00' , '10.655737704918' , '22' , '0' , '13.00' ) 05/01/2026 06:54:31 pm >> SELECT document_num FROM ps_document WHERE document_num = '54' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2026-01-05') 05/01/2026 06:54:31 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' , '54' , '2026-01-05' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '15' , '0' , '22.80' , '22.80' , NOW() , NOW() ) 05/01/2026 06:54: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 = '100812' 05/01/2026 06:54:31 pm >> DELETE FROM ps_document_detail WHERE id_document = '100812' 05/01/2026 06:54: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 ( '100812' , '24326' , 'IO SONO COME GUARDO - L. EPICOCO' , '1' , '-1' , '4' , '12.00' , '12' , '0' , '5' , '11.40' ) 05/01/2026 06:54: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 ( '100812' , '24422' , 'DOMANDA E IL PERDONO - L.M. EPICOCO' , '1' , '-1' , '4' , '12.00' , '12' , '0' , '5' , '11.40' )