24/11/2025 12:28:02 pm >> SELECT document_num FROM ps_document WHERE document_num = '3791' AND id_document != '99901' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-11-14') 24/11/2025 12:28:02 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '3791', document_date = '2025-11-14', 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 = '45.96', price_tax_excluded = '45.96', date_upd = NOW() WHERE id_document = '99901' 24/11/2025 12:28:02 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '99901' 24/11/2025 12:28:03 pm >> DELETE FROM ps_document_detail WHERE id_document = '99901' 24/11/2025 12:28: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 ( '99901' , '23045' , 'DIO DEI NOSTRI PADRI - A. CAZZULLO' , '1' , '-1' , '4' , '19.5000' , '19.5' , '0' , '5' , '18.53' ) 24/11/2025 12:28: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 ( '99901' , '24186' , 'DILEXI TE ' , '2' , '-2' , '4' , '2.0000' , '2' , '0' , '0' , '4.00' ) 24/11/2025 12:28: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 ( '99901' , '24030' , 'FRATELLO DI TUTTI - V. PISTORE' , '1' , '-1' , '4' , '21.5000' , '21.5' , '0' , '5' , '20.43' ) 24/11/2025 12:28: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 ( '99901' , '24057' , 'AVVENTO 2025' , '1' , '-1' , '4' , '3' , '3' , '0' , '0' , '3.00' ) 24/11/2025 12:28:35 pm >> SELECT document_num FROM ps_document WHERE document_num = '3773' AND id_document != '99876' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-11-13') 24/11/2025 12:28:35 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '3773', document_date = '2025-11-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 = '7.00', price_tax_excluded = '7.00', date_upd = NOW() WHERE id_document = '99876' 24/11/2025 12:28: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 = '99876' 24/11/2025 12:28:36 pm >> DELETE FROM ps_document_detail WHERE id_document = '99876' 24/11/2025 12:28: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 ( '99876' , '14330' , '100 GIORNI CON LO SPIRITO' , '1' , '-1' , '4' , '7' , '7' , '0' , '0' , '7.00' ) 24/11/2025 12:30:00 pm >> SELECT document_num FROM ps_document WHERE document_num = '3747' AND id_document != '99834' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-11-11') 24/11/2025 12:30:00 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '3747', document_date = '2025-11-11', 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 = '7.60', price_tax_excluded = '7.60', date_upd = NOW() WHERE id_document = '99834' 24/11/2025 12:30:00 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 = '99834' 24/11/2025 12:30:00 pm >> DELETE FROM ps_document_detail WHERE id_document = '99834' 24/11/2025 12:30:00 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '99834' , '9690' , 'SCAPOLARE DEL CARMELO - 8339' , '1' , '-1' , '4' , '3.8' , '3.8' , '0' , '0' , '3.80' ) 24/11/2025 12:30:00 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '99834' , '24214' , 'SULLA TUA PAROLA GEN/FEB 2026 - 532' , '1' , '-1' , '4' , '3.8' , '3.8' , '0' , '0' , '3.80' ) 24/11/2025 12:32:47 pm >> SELECT document_num FROM ps_document WHERE document_num = '3899' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-11-24') 24/11/2025 12:32:47 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' , '3899' , '2025-11-24' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '65.00' , '53.28' , NOW() , NOW() ) 24/11/2025 12:32:47 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 = '100053' 24/11/2025 12:32:47 pm >> DELETE FROM ps_document_detail WHERE id_document = '100053' 24/11/2025 12:32:47 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100053' , '6809' , 'MOCCOLO 60X165' , '4' , '-4' , '1' , '5.00' , '4.0983606557377' , '22' , '0' , '20.00' ) 24/11/2025 12:32:47 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100053' , '19748' , 'CORONA D\'AVVENTO STELLE' , '1' , '-1' , '1' , '23' , '18.852459016393' , '22' , '0' , '23.00' ) 24/11/2025 12:32:47 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100053' , '20156' , 'PALLA E STELLE CON CARTONCINO - 23' , '10' , '-10' , '1' , '2.00' , '1.6393442622951' , '22' , '0' , '20.00' ) 24/11/2025 12:32:47 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100053' , '20156' , 'PALLA E STELLE CON CARTONCINO - 23' , '2' , '-2' , '1' , '1' , '0.81967213114754' , '22' , '0' , '2.00' ) 24/11/2025 12:33:50 pm >> SELECT document_num FROM ps_document WHERE document_num = '3900' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-11-24') 24/11/2025 12:33:50 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' , '3900' , '2025-11-24' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '5.00' , '4.10' , NOW() , NOW() ) 24/11/2025 12:33:50 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 = '100054' 24/11/2025 12:33:50 pm >> DELETE FROM ps_document_detail WHERE id_document = '100054' 24/11/2025 12:33:50 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100054' , '21560' , 'ROSARIO LEGNO CORDA CON G. - 3539' , '1' , '-1' , '1' , '5.00' , '4.0983606557377' , '22' , '0' , '5.00' ) 24/11/2025 12:35:02 pm >> SELECT document_num FROM ps_document WHERE document_num = '3900' AND id_document != '100054' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-11-24') 24/11/2025 12:35:02 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '3900', document_date = '2025-11-24', 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 = '74.00', price_tax_excluded = '60.66', date_upd = NOW() WHERE id_document = '100054' 24/11/2025 12:35:02 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '100054' 24/11/2025 12:35:02 pm >> DELETE FROM ps_document_detail WHERE id_document = '100054' 24/11/2025 12:35:02 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100054' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '74' , '60.655737704918' , '22' , '0' , '74.00' ) 24/11/2025 12:37:03 pm >> SELECT document_num FROM ps_document WHERE document_num = '3900' AND id_document != '100054' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-11-24') 24/11/2025 12:37:03 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '3900', document_date = '2025-11-24', 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 = '69.00', price_tax_excluded = '56.56', date_upd = NOW() WHERE id_document = '100054' 24/11/2025 12:37: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 = '100054' 24/11/2025 12:37:03 pm >> DELETE FROM ps_document_detail WHERE id_document = '100054' 24/11/2025 12:37: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 ( '100054' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '69' , '56.55737704918' , '22' , '0' , '69.00' ) 24/11/2025 12:37:48 pm >> SELECT document_num FROM ps_document WHERE document_num = '3900' AND id_document != '100054' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-11-24') 24/11/2025 12:37:48 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '3900', document_date = '2025-11-24', 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.00', price_tax_excluded = '61.48', date_upd = NOW() WHERE id_document = '100054' 24/11/2025 12:37: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 = '100054' 24/11/2025 12:37:48 pm >> DELETE FROM ps_document_detail WHERE id_document = '100054' 24/11/2025 12:37: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 ( '100054' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '75' , '61.475409836066' , '22' , '0' , '75.00' ) 24/11/2025 12:38:15 pm >> SELECT document_num FROM ps_document WHERE document_num = '3900' AND id_document != '100054' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-11-24') 24/11/2025 12:38:15 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '3900', document_date = '2025-11-24', 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 = '74.00', price_tax_excluded = '60.66', date_upd = NOW() WHERE id_document = '100054' 24/11/2025 12:38:15 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 = '100054' 24/11/2025 12:38:16 pm >> DELETE FROM ps_document_detail WHERE id_document = '100054' 24/11/2025 12:38:16 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100054' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '74' , '60.655737704918' , '22' , '0' , '74.00' ) 24/11/2025 12:39:08 pm >> SELECT document_num FROM ps_document WHERE document_num = '3844' AND id_document != '99979' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-11-19') 24/11/2025 12:39:08 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '3844', document_date = '2025-11-19', 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.40', price_tax_excluded = '12.62', date_upd = NOW() WHERE id_document = '99979' 24/11/2025 12:39:08 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 = '99979' 24/11/2025 12:39:08 pm >> DELETE FROM ps_document_detail WHERE id_document = '99979' 24/11/2025 12:39:08 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '99979' , '18339' , 'CROCE SAN BENEDETTO - CZ10NIK - VARI COLORI' , '1' , '-1' , '1' , '11.9000' , '9.7540983606557' , '22' , '0' , '11.90' ) 24/11/2025 12:39:08 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '99979' , '21560' , 'ROSARIO LEGNO CORDA CON G. - 3539' , '1' , '-1' , '1' , '3.5' , '2.8688524590164' , '22' , '0' , '3.50' ) 24/11/2025 01:01:16 pm >> SELECT document_num FROM ps_document WHERE document_num = '3844' AND id_document != '99979' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-11-19') 24/11/2025 01:01:16 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '3844', document_date = '2025-11-19', 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.40', price_tax_excluded = '12.62', date_upd = NOW() WHERE id_document = '99979' 24/11/2025 01:01:16 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '99979' 24/11/2025 01:01:16 pm >> DELETE FROM ps_document_detail WHERE id_document = '99979' 24/11/2025 01:01:16 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '99979' , '18339' , 'CROCE SAN BENEDETTO - CZ10NIK - VARI COLORI' , '1' , '-1' , '1' , '11.9000' , '9.7540983606557' , '22' , '0' , '11.90' ) 24/11/2025 01:01:16 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '99979' , '21560' , 'ROSARIO LEGNO CORDA CON G. - 3539' , '1' , '-1' , '1' , '3.5000' , '2.8688524590164' , '22' , '0' , '3.50' ) 24/11/2025 01:34:28 pm >> INSERT INTO ps_product ( ean13 , id_tax_rules_group , `date_add` , `date_upd` ) VALUES ( '' , '1' , NOW() , NOW() ) 24/11/2025 01:34:28 pm >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '24322' , '1' , '' , 'nuovo-prodotto' ) 24/11/2025 01:34:28 pm >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , `date_add` , `date_upd` ) VALUES ( '24322' , '1' , '1' , '2' , NOW() , NOW() ) 24/11/2025 01:34:28 pm >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) VALUES ( '24322' , '0' , '1' , '0' , '0' ) 24/11/2025 03:40:40 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '33' , '716899' , '2025-11-20' , '' , '0' , '7' , '2602' , 'P. ZZA SAN PAOLO, 14 12051 ALBA' , '' , '' , '6.10' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '260.85' , '260.85' , NOW() , NOW() ) 24/11/2025 03:40:40 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 = '100055' 24/11/2025 03:40:40 pm >> DELETE FROM ps_document_detail WHERE id_document = '100055' 24/11/2025 03:40:40 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100055' , '17393' , 'BREVE STORIA DELLA CHIESA - A. FRANZEN' , '1' , '1' , '4' , '30.00' , '30' , '0' , '30' , '21.0000' ) 24/11/2025 03:40:40 pm >> DELETE FROM ps_product_supplier WHERE id_product = '17393' AND id_supplier = '7' 24/11/2025 03:40:40 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17393' , '7' , '1' ) 24/11/2025 03:40:40 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100055' , '11193' , 'VENITE CON ME CAT.' , '50' , '50' , '4' , '5.50' , '5.5' , '0' , '15' , '233.7500' ) 24/11/2025 03:40:40 pm >> DELETE FROM ps_product_supplier WHERE id_product = '11193' AND id_supplier = '7' 24/11/2025 03:40:40 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '11193' , '7' , '1' ) 24/11/2025 03:46: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 ( '33' , '716900' , '2025-11-20' , '' , '0' , '7' , '2602' , 'P. ZZA SAN PAOLO, 14 12051 ALBA' , '' , '' , '11.81' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '392.64' , '392.64' , NOW() , NOW() ) 24/11/2025 03:46: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 = '100056' 24/11/2025 03:46:31 pm >> DELETE FROM ps_document_detail WHERE id_document = '100056' 24/11/2025 03:46: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 ( '100056' , '21735' , 'IMPRONTE DI MISERICORDIA - GUIDA 2 - N.E.' , '2' , '2' , '4' , '15.00' , '15' , '0' , '35+7' , '18.1350' ) 24/11/2025 03:46:31 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21735' AND id_supplier = '7' 24/11/2025 03:46:31 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21735' , '7' , '1' ) 24/11/2025 03:46: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 ( '100056' , '19932' , '100 IDEE PER IL CATECHISMO 2' , '1' , '1' , '4' , '14.90' , '14.9' , '0' , '30+7' , '9.6999' ) 24/11/2025 03:46:31 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19932' AND id_supplier = '7' 24/11/2025 03:46:31 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19932' , '7' , '1' ) 24/11/2025 03:46: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 ( '100056' , '23876' , 'MIO PRIMO CALENDARIO LITURGICO - A. OLDONI' , '1' , '1' , '4' , '12.00' , '12' , '0' , '30+7' , '7.8120' ) 24/11/2025 03:46:31 pm >> DELETE FROM ps_product_supplier WHERE id_product = '23876' AND id_supplier = '7' 24/11/2025 03:46:31 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '23876' , '7' , '1' ) 24/11/2025 03:46: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 ( '100056' , '23508' , 'CON TE SULLALTARE' , '1' , '1' , '4' , '9.00' , '9' , '0' , '30+7' , '5.8590' ) 24/11/2025 03:46:31 pm >> DELETE FROM ps_product_supplier WHERE id_product = '23508' AND id_supplier = '7' 24/11/2025 03:46:32 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '23508' , '7' , '1' ) 24/11/2025 03:46:32 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100056' , '23407' , 'PROCESSO AL PROCESSETTO' , '2' , '2' , '4' , '10.00' , '10' , '0' , '33+7' , '12.4620' ) 24/11/2025 03:46:32 pm >> DELETE FROM ps_product_supplier WHERE id_product = '23407' AND id_supplier = '7' 24/11/2025 03:46:32 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '23407' , '7' , '1' ) 24/11/2025 03:46:32 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100056' , '23443' , 'MA COME SI FA?' , '2' , '2' , '4' , '10.00' , '10' , '0' , '33+7' , '12.4620' ) 24/11/2025 03:46:32 pm >> DELETE FROM ps_product_supplier WHERE id_product = '23443' AND id_supplier = '7' 24/11/2025 03:46:32 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '23443' , '7' , '1' ) 24/11/2025 03:46:32 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100056' , '23752' , 'TUTTA LA MESSA MINUTO PER MINUTO - V. ANGELUCCI' , '1' , '1' , '4' , '15.00' , '15' , '0' , '33+7' , '9.3465' ) 24/11/2025 03:46:32 pm >> DELETE FROM ps_product_supplier WHERE id_product = '23752' AND id_supplier = '7' 24/11/2025 03:46:32 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '23752' , '7' , '1' ) 24/11/2025 03:46:32 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100056' , '17244' , 'DIARIO DELLA MIA PRIMA CONFESSIONE' , '3' , '3' , '4' , '5.90' , '5.9' , '0' , '30+7' , '11.5227' ) 24/11/2025 03:46:32 pm >> DELETE FROM ps_product_supplier WHERE id_product = '17244' AND id_supplier = '7' 24/11/2025 03:46:32 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17244' , '7' , '1' ) 24/11/2025 03:46:32 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100056' , '18564' , 'CONNESSI CON GESU’ - AGENDUM 2' , '2' , '2' , '4' , '5.00' , '5' , '0' , '35+7' , '6.0450' ) 24/11/2025 03:46:32 pm >> DELETE FROM ps_product_supplier WHERE id_product = '18564' AND id_supplier = '7' 24/11/2025 03:46:32 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18564' , '7' , '1' ) 24/11/2025 03:46:32 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100056' , '10748' , 'TU MI CHIAMI PER NOME' , '24' , '24' , '4' , '6.90' , '6.9' , '0' , '30+7' , '107.8056' ) 24/11/2025 03:46:32 pm >> DELETE FROM ps_product_supplier WHERE id_product = '10748' AND id_supplier = '7' 24/11/2025 03:46:32 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '10748' , '7' , '1' ) 24/11/2025 03:46:32 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100056' , '14719' , 'TU MI AMI DAVVERO' , '25' , '25' , '4' , '6.90' , '6.9' , '0' , '30+7' , '112.2975' ) 24/11/2025 03:46:32 pm >> DELETE FROM ps_product_supplier WHERE id_product = '14719' AND id_supplier = '7' 24/11/2025 03:46:32 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '14719' , '7' , '1' ) 24/11/2025 03:46:32 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100056' , '10751' , 'TU MI PERDONI' , '15' , '15' , '4' , '6.90' , '6.9' , '0' , '30+7' , '67.3785' ) 24/11/2025 03:46:32 pm >> DELETE FROM ps_product_supplier WHERE id_product = '10751' AND id_supplier = '7' 24/11/2025 03:46:32 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '10751' , '7' , '1' ) 24/11/2025 03:47: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') 24/11/2025 03:47: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 = '22.00', price_tax_excluded = '21.79', date_upd = NOW() WHERE id_document = '99403' 24/11/2025 03:47: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' 24/11/2025 03:47:36 pm >> DELETE FROM ps_document_detail WHERE id_document = '99403' 24/11/2025 03:47: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' , '1' , '-1' , '3' , '2.0000' , '1.9230769230769' , '4' , '0' , '2.00' ) 24/11/2025 03:47: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' ) 24/11/2025 03:47: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' , '14642' , 'FIDES ET RATIO - GIOVANNI PAOLO II' , '1' , '-1' , '4' , '4.5000' , '4.5' , '0' , '0' , '4.50' ) 24/11/2025 03:47: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' , '24043' , 'MESSALE FESTIVO 2026' , '1' , '-1' , '4' , '12.00' , '12' , '0' , '0' , '12.00' ) 24/11/2025 03:49:53 pm >> SELECT document_num FROM ps_document WHERE document_num = '253' AND id_document != '' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2025-11-24') 24/11/2025 03:49:53 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '21' , '253' , '2025-11-24' , '' , '3978' , '0' , '4679334' , 'VIA MALTA 3 83100 AVELLINO' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '9' , '0' , '115.52' , '115.52' , NOW() , NOW() ) 24/11/2025 03:49: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 = '100057' 24/11/2025 03:49:53 pm >> DELETE FROM ps_document_detail WHERE id_document = '100057' 24/11/2025 03:49: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 ( '100057' , '4397' , 'GESÙ CI RIVELA IL PADRE 2 - SCHEDE' , '7' , '-7' , '4' , '3.80' , '3.8' , '0' , '5' , '25.27' ) 24/11/2025 03:49: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 ( '100057' , '4495' , 'GESÙ RESTA CON NOI 3 - SCHEDE' , '25' , '-25' , '4' , '3.80' , '3.8' , '0' , '5' , '90.25' ) 24/11/2025 03:52:32 pm >> SELECT document_num FROM ps_document WHERE document_num = '254' AND id_document != '' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2025-11-24') 24/11/2025 03:52:32 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '21' , '254' , '2025-11-24' , '' , '1237' , '0' , '4679207' , 'VIA MILANO 11 97019 VITTORIA' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '3' , '0' , '193.38' , '193.38' , NOW() , NOW() ) 24/11/2025 03:52:32 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 = '100058' 24/11/2025 03:52:32 pm >> DELETE FROM ps_document_detail WHERE id_document = '100058' 24/11/2025 03:52:32 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100058' , '8509' , 'PRIMI PASSI CON GESÙ - ANNO A' , '25' , '-25' , '4' , '3.50' , '3.5' , '0' , '15' , '74.38' ) 24/11/2025 03:52:32 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100058' , '12253' , 'MIO LIBRO DI PREGHIERE' , '20' , '-20' , '4' , '2.80' , '2.8' , '0' , '15' , '47.60' ) 24/11/2025 03:52:32 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100058' , '20952' , 'VANGELO E ATTI DEGLI APOSTOLI - ragazzi' , '30' , '-30' , '4' , '2.80' , '2.8' , '0' , '15' , '71.40' ) 24/11/2025 04:44:27 pm >> UPDATE ps_address SET deleted='1' , active = '0' WHERE id_customer = '4288' 24/11/2025 04:44:27 pm >> INSERT INTO ps_address ( id_customer , id_country , id_state , company , lastname , firstname , address1 , address2 , postcode , city , other , phone , phone_mobile , vat_number , dni , date_add , date_upd ) VALUES ( '4288' , '10' , '170' , 'PARROCCHIA SS SIMONE E GIUDA IN TABIAGO' , 'BIANCHI' , 'DON LUIGI' , 'VIA DON OLIMPIO MONETA 7' , '' , '23895' , 'NIBIONNO' , '' , '' , '' , '' , '91002820131' , NOW() , NOW() ) 24/11/2025 04:44:27 pm >> UPDATE ps_customer SET email = 'donluigibianchi@gmail.com', sdi = '', pec = '', date_upd = NOW() WHERE id_customer = '4288' 24/11/2025 04:58:04 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '33' , '4867/00' , '2025-11-21' , '00' , '3000' , '0' , '4669629' , 'VIA DEI CASTANI, 116 00172 ROMA' , '' , 'RIENTRO' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '200.00' , '200.00' , NOW() , NOW() ) 24/11/2025 04:58:04 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 = '100059' 24/11/2025 04:58:04 pm >> DELETE FROM ps_document_detail WHERE id_document = '100059' 24/11/2025 04:58:04 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100059' , '14145' , 'CREDO SPIEGATO AI RAGAZZI' , '80' , '80' , '4' , '2.50' , '2.5' , '0' , '0' , '200.0000' ) 24/11/2025 05:32:50 pm >> SELECT document_num FROM ps_document WHERE document_num = '3901' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-11-24') 24/11/2025 05:32:50 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' , '3901' , '2025-11-24' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '32.00' , '26.23' , NOW() , NOW() ) 24/11/2025 05:32:50 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 = '100060' 24/11/2025 05:32:50 pm >> DELETE FROM ps_document_detail WHERE id_document = '100060' 24/11/2025 05:32:50 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100060' , '13506' , 'SANTO ROSARIO' , '20' , '-20' , '1' , '0.30' , '0.24590163934426' , '22' , '0' , '6.00' ) 24/11/2025 05:32:50 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100060' , '2766' , 'CORONA PLASTICA VARI COLORI - 07' , '50' , '-50' , '1' , '0.30' , '0.24590163934426' , '22' , '0' , '15.00' ) 24/11/2025 05:32:50 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100060' , '5538' , 'LACCIO MARRONE' , '50' , '-50' , '1' , '0.1' , '0.081967213114754' , '22' , '0' , '5.00' ) 24/11/2025 05:32:50 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100060' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '6' , '4.9180327868852' , '22' , '0' , '6.00' ) 24/11/2025 05:33:39 pm >> SELECT document_num FROM ps_document WHERE document_num = '3902' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-11-24') 24/11/2025 05:33:39 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' , '3902' , '2025-11-24' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '3.00' , '2.46' , NOW() , NOW() ) 24/11/2025 05:33:39 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 = '100061' 24/11/2025 05:33:39 pm >> DELETE FROM ps_document_detail WHERE id_document = '100061' 24/11/2025 05:33: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 ( '100061' , '20758' , 'SEGNALIBRO 5X15' , '15' , '-15' , '1' , '0.2' , '0.16393442622951' , '22' , '0' , '3.00' ) 24/11/2025 05:34:55 pm >> SELECT document_num FROM ps_document WHERE document_num = '3903' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-11-24') 24/11/2025 05:34:55 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '3903' , '2025-11-24' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '2.50' , '2.05' , NOW() , NOW() ) 24/11/2025 05:34:55 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '100062' 24/11/2025 05:34:55 pm >> DELETE FROM ps_document_detail WHERE id_document = '100062' 24/11/2025 05:34:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100062' , '24063' , 'DOVE ABITA LA FELICITA? - A. COMASTRI' , '1' , '-1' , '1' , '2.50' , '2.0491803278689' , '22' , '0' , '2.50' ) 24/11/2025 05:38:54 pm >> SELECT document_num FROM ps_document WHERE document_num = '3904' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-11-24') 24/11/2025 05:38:54 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '3904' , '2025-11-24' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '7.00' , '7.00' , NOW() , NOW() ) 24/11/2025 05:38:54 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '100063' 24/11/2025 05:38:54 pm >> DELETE FROM ps_document_detail WHERE id_document = '100063' 24/11/2025 05:38:54 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '100063' , '17717' , 'MARIA MADRE DELLA SPERANZA - A. SPINA - 8255' , '1' , '-1' , '4' , '7.00' , '7' , '0' , '0' , '7.00' )