31/08/2023 09:14:39 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 ( '32' , '2023-FV001292' , '2023-08-31' , '' , '0' , '79' , '2686' , 'CITTA\\\' DEL VATICANO 00120 CITTA\\\' DEL VATICANO' , '' , '' , '6.5' , '4' , '0' , '0' , '0' , '' , '11' , '0' , '25.20' , '25.20' , NOW() , NOW() ) 31/08/2023 09:14:39 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 = '87111' 31/08/2023 09:14:39 am >> DELETE FROM ps_document_detail WHERE id_document = '87111' 31/08/2023 09:14:39 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 ( '87111' , '21488' , 'HO TROVATO DIO ATTRAVERSO I SUOI POVERI - D. DAY' , '2' , '0' , '4' , '17.00' , '17' , '0' , '45' , '18.7000' ) 31/08/2023 09:14:39 am >> DELETE FROM ps_product_supplier WHERE id_product = '21488' AND id_supplier = '79' 31/08/2023 09:14:39 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21488' , '79' , '1' ) 31/08/2023 09:47:52 am >> SELECT document_num FROM ps_document WHERE document_num = '2671' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-08-31') 31/08/2023 09:47:52 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' , '2671' , '2023-08-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '9.50' , '9.50' , NOW() , NOW() ) 31/08/2023 09:47:52 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 = '87112' 31/08/2023 09:47:52 am >> DELETE FROM ps_document_detail WHERE id_document = '87112' 31/08/2023 09:47:52 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 ( '87112' , '21192' , 'SULLA TUA PAROLA - SET/OTT 23' , '2' , '-2' , '4' , '5.00' , '5' , '0' , '5' , '9.50' ) 31/08/2023 09:57:46 am >> SELECT document_num FROM ps_document WHERE document_num = '2672' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-08-31') 31/08/2023 09:57:46 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '2672' , '2023-08-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '111.54' , '103.43' , NOW() , NOW() ) 31/08/2023 09:57:46 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '87113' 31/08/2023 09:57:46 am >> DELETE FROM ps_document_detail WHERE id_document = '87113' 31/08/2023 09:57:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87113' , '14163' , 'PARACERA OTTONE LUCIDO - Q120' , '1' , '-1' , '1' , '45.00' , '36.885245901639' , '22' , '0' , '45.00' ) 31/08/2023 09:57:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87113' , '21146' , 'PARROCCHIE: MEMORIA E CAMBIAMENTO - F. ZACCARIA' , '1' , '-1' , '4' , '15.00' , '15' , '0' , '5' , '14.25' ) 31/08/2023 09:57:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87113' , '18176' , 'ANTIQUUM MINISTERIUM ' , '2' , '-2' , '4' , '1.00' , '1' , '0' , '0' , '2.00' ) 31/08/2023 09:57:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87113' , '21410' , 'IO E CARLO - M. PAPPALARDO' , '1' , '-1' , '4' , '11.90' , '11.9' , '0' , '5' , '11.31' ) 31/08/2023 09:57:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87113' , '12895' , 'PASSI VERSO LA CRESIMA' , '1' , '-1' , '4' , '7.90' , '7.9' , '0' , '5' , '7.51' ) 31/08/2023 09:57:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87113' , '401' , 'ALLA SCOPERTA DELLA MESSA' , '1' , '-1' , '4' , '3.00' , '3' , '0' , '5' , '2.85' ) 31/08/2023 09:57:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87113' , '16129' , 'TU MI DONI IL TUO SPIRITO' , '1' , '-1' , '4' , '5.90' , '5.9' , '0' , '5' , '5.61' ) 31/08/2023 09:57:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87113' , '14719' , 'TU MI AMI DAVVERO' , '1' , '-1' , '4' , '5.90' , '5.9' , '0' , '5' , '5.61' ) 31/08/2023 09:57:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87113' , '10751' , 'TU MI PERDONI' , '1' , '-1' , '4' , '5.90' , '5.9' , '0' , '5' , '5.61' ) 31/08/2023 09:57:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87113' , '10748' , 'TU MI CHIAMI PER NOME' , '1' , '-1' , '4' , '5.90' , '5.9' , '0' , '5' , '5.61' ) 31/08/2023 09:57:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87113' , '13397' , 'MIO GESU' , '1' , '-1' , '4' , '3.50' , '3.5' , '0' , '5' , '3.33' ) 31/08/2023 09:57:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87113' , '12813' , 'MARIA MADRE NOSTRA' , '1' , '-1' , '4' , '3.00' , '3' , '0' , '5' , '2.85' ) 31/08/2023 10:00:53 am >> SELECT document_num FROM ps_document WHERE document_num = '2673' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-08-31') 31/08/2023 10:00: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' , '2673' , '2023-08-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '45.94' , '41.95' , NOW() , NOW() ) 31/08/2023 10:00: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 = '87114' 31/08/2023 10:00:53 am >> DELETE FROM ps_document_detail WHERE id_document = '87114' 31/08/2023 10:00: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 ( '87114' , '14000' , 'GALATEO IN CHIESA' , '1' , '-1' , '4' , '1.00' , '1' , '0' , '0' , '1.00' ) 31/08/2023 10:00: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 ( '87114' , '12812' , 'CATECHISTA SECONDO PAPA FRANCESCO' , '1' , '-1' , '4' , '3.50' , '3.5' , '0' , '5' , '3.33' ) 31/08/2023 10:00: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 ( '87114' , '1833' , 'CATECHISTA: VOCAZIONE E MISSIONE ' , '1' , '-1' , '4' , '3.00' , '3' , '0' , '5' , '2.85' ) 31/08/2023 10:00:54 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 ( '87114' , '8244' , 'PREGATE IL SANTO ROSARIO OGNI GIORNO... - 8102' , '1' , '-1' , '4' , '8.00' , '8' , '0' , '5' , '7.60' ) 31/08/2023 10:00:54 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 ( '87114' , '17246' , 'CONOSCI LO SPIRITO SANTO' , '1' , '-1' , '4' , '6.90' , '6.9' , '0' , '5' , '6.56' ) 31/08/2023 10:00:54 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 ( '87114' , '11151' , 'LIBRI' , '1' , '-1' , '4' , '2.5' , '2.5' , '0' , '0' , '2.50' ) 31/08/2023 10:00:54 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 ( '87114' , '21155' , 'BRACCIALE TENNIS + MEDAGLIA - 209' , '2' , '-2' , '1' , '2.90' , '2.3770491803279' , '22' , '0' , '5.80' ) 31/08/2023 10:00:54 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 ( '87114' , '19599' , 'ROSARIO PERLA PRIMA COMUNIONE - 197/13' , '1' , '-1' , '1' , '2.80' , '2.2950819672131' , '22' , '0' , '2.80' ) 31/08/2023 10:00:54 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 ( '87114' , '20705' , 'CANDELA CUBO' , '1' , '-1' , '1' , '13.50' , '11.065573770492' , '22' , '0' , '13.50' ) 31/08/2023 10:33:54 am >> SELECT document_num FROM ps_document WHERE document_num = '2674' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-08-31') 31/08/2023 10:33:54 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' , '2674' , '2023-08-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '86.65' , '85.59' , NOW() , NOW() ) 31/08/2023 10:33:54 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 = '87115' 31/08/2023 10:33:54 am >> DELETE FROM ps_document_detail WHERE id_document = '87115' 31/08/2023 10:33:54 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 ( '87115' , '21192' , 'SULLA TUA PAROLA - SET/OTT 23' , '17' , '-17' , '4' , '5.00' , '5' , '0' , '5' , '80.75' ) 31/08/2023 10:33:54 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 ( '87115' , '17005' , 'BIGLIETTO AUGURALE medio' , '1' , '-1' , '1' , '1.00' , '0.81967213114754' , '22' , '0' , '1.00' ) 31/08/2023 10:33:54 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 ( '87115' , '1914' , 'CERA DELLA LITURGIA' , '1' , '-1' , '1' , '4.90' , '4.016393442623' , '22' , '0' , '4.90' ) 31/08/2023 10:34:22 am >> SELECT document_num FROM ps_document WHERE document_num = '2675' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-08-31') 31/08/2023 10:34: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' , '2675' , '2023-08-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '6.90' , '5.94' , NOW() , NOW() ) 31/08/2023 10:34: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 = '87116' 31/08/2023 10:34:22 am >> DELETE FROM ps_document_detail WHERE id_document = '87116' 31/08/2023 10:34: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 ( '87116' , '1914' , 'CERA DELLA LITURGIA' , '1' , '-1' , '1' , '4.90' , '4.016393442623' , '22' , '0' , '4.90' ) 31/08/2023 10:34: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 ( '87116' , '20429' , 'OSTIA SENZA TOSTATURA MORREALE - OS25' , '1' , '-1' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '2.00' ) 31/08/2023 10:42:04 am >> SELECT document_num FROM ps_document WHERE document_num = '2676' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-08-31') 31/08/2023 10:42:04 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '2676' , '2023-08-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '42.00' , '34.88' , NOW() , NOW() ) 31/08/2023 10:42:04 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '87117' 31/08/2023 10:42:04 am >> DELETE FROM ps_document_detail WHERE id_document = '87117' 31/08/2023 10:42:04 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87117' , '15601' , 'RITO DEL BATTESIMO' , '1' , '-1' , '4' , '2.50' , '2.5' , '0' , '0' , '2.50' ) 31/08/2023 10:42:04 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87117' , '12392' , 'APPENDICHIAVI DONO NEUTRO 14X20' , '1' , '-1' , '1' , '39.50' , '32.377049180328' , '22' , '0' , '39.50' ) 31/08/2023 10:42:36 am >> SELECT document_num FROM ps_document WHERE document_num = '2677' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-08-31') 31/08/2023 10:42:36 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' , '2677' , '2023-08-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '59.00' , '48.36' , NOW() , NOW() ) 31/08/2023 10:42:36 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 = '87118' 31/08/2023 10:42:36 am >> DELETE FROM ps_document_detail WHERE id_document = '87118' 31/08/2023 10:42:36 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 ( '87118' , '20245' , 'FORMELLA CROCIFISSO 25X30' , '1' , '-1' , '1' , '59.00' , '48.360655737705' , '22' , '0' , '59.00' ) 31/08/2023 10:46:55 am >> SELECT document_num FROM ps_document WHERE document_num = '2678' AND id_document != '' AND id_document_type LIKE '14' AND YEAR(document_date) = YEAR('2023-08-31') 31/08/2023 10:46:55 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' , '2678' , '2023-08-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '23.75' , '23.75' , NOW() , NOW() ) 31/08/2023 10:46:55 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 = '87119' 31/08/2023 10:46:55 am >> DELETE FROM ps_document_detail WHERE id_document = '87119' 31/08/2023 10:46:55 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 ( '87119' , '21192' , 'SULLA TUA PAROLA - SET/OTT 23' , '5' , '-5' , '4' , '5.00' , '5' , '0' , '5' , '23.75' ) 31/08/2023 10:50:00 am >> SELECT document_num FROM ps_document WHERE document_num = '2679' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-08-31') 31/08/2023 10:50: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' , '2679' , '2023-08-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '315.00' , '277.13' , NOW() , NOW() ) 31/08/2023 10:50: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 = '87120' 31/08/2023 10:50:00 am >> DELETE FROM ps_document_detail WHERE id_document = '87120' 31/08/2023 10:50: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 ( '87120' , '20433' , 'PARTICOLA MORREALE 38MM - PTC38S' , '10' , '-10' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '35.00' ) 31/08/2023 10:50: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 ( '87120' , '7311' , 'OSTIA SOTTILE 74MM' , '6' , '-6' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '12.00' ) 31/08/2023 10:50: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 ( '87120' , '19101' , 'INCENSO C' , '1' , '-1' , '1' , '30.00' , '24.590163934426' , '22' , '0' , '30.00' ) 31/08/2023 10:50: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 ( '87120' , '14362' , 'CAMICE SVASATO - 434/TPA' , '1' , '-1' , '1' , '70.00' , '57.377049180328' , '22' , '0' , '70.00' ) 31/08/2023 10:50: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 ( '87120' , '11151' , 'LIBRI' , '1' , '-1' , '4' , '45' , '45' , '0' , '0' , '45.00' ) 31/08/2023 10:50: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 ( '87120' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '45' , '36.885245901639' , '22' , '0' , '45.00' ) 31/08/2023 10:50: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 ( '87120' , '1544' , 'CAMICE RAGLAN - CM 150 - ART.54' , '1' , '-1' , '1' , '55' , '45.081967213115' , '22' , '0' , '55.00' ) 31/08/2023 10:50: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 ( '87120' , '11151' , 'LIBRI' , '1' , '-1' , '4' , '23' , '23' , '0' , '0' , '23.00' ) 31/08/2023 10:52:54 am >> SELECT document_num FROM ps_document WHERE document_num = '2680' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-08-31') 31/08/2023 10:52:54 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' , '2680' , '2023-08-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '43.00' , '35.74' , NOW() , NOW() ) 31/08/2023 10:52:54 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 = '87121' 31/08/2023 10:52:54 am >> DELETE FROM ps_document_detail WHERE id_document = '87121' 31/08/2023 10:52:54 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 ( '87121' , '20703' , 'QUADRETTO 30X15 - POSTO TRANQUILLO' , '1' , '-1' , '1' , '39.50' , '32.377049180328' , '22' , '0' , '39.50' ) 31/08/2023 10:52:54 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 ( '87121' , '17004' , 'BIGLIETTO AUGURALE PICCOLO' , '1' , '-1' , '1' , '0.74' , '0.60655737704918' , '22' , '0' , '0.74' ) 31/08/2023 10:52:54 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 ( '87121' , '21419' , 'SUBLIMITAS ET MISERIA HOMINIS' , '1' , '-1' , '4' , '2.90' , '2.9' , '0' , '5' , '2.76' ) 31/08/2023 10:54:10 am >> SELECT document_num FROM ps_document WHERE document_num = '2681' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-08-31') 31/08/2023 10:54: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' , '2681' , '2023-08-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '94.60' , '92.42' , NOW() , NOW() ) 31/08/2023 10:54: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 = '87122' 31/08/2023 10:54:10 am >> DELETE FROM ps_document_detail WHERE id_document = '87122' 31/08/2023 10:54: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 ( '87122' , '17229' , 'FELICI SUI PASSI DI GESU - 5 - SUSSIDIO' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 31/08/2023 10:54: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 ( '87122' , '18564' , 'CONNESSI CON GESU’ - AGENDUM 2' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 31/08/2023 10:54: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 ( '87122' , '18565' , 'CONNESSI CON GESU - GUIDA 6' , '1' , '-1' , '4' , '15.00' , '15' , '0' , '5' , '14.25' ) 31/08/2023 10:54: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 ( '87122' , '17230' , 'FELICI SUI PASSI DI GESU - 5 - GUIDA' , '1' , '-1' , '4' , '15.00' , '15' , '0' , '5' , '14.25' ) 31/08/2023 10:54: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 ( '87122' , '16689' , 'OSTIA PAN DI CENA mm80' , '10' , '-10' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '20.00' ) 31/08/2023 10:54: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 ( '87122' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '8' , '-8' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '28.00' ) 31/08/2023 10:54: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 ( '87122' , '16691' , 'PARTICOLE PER CELIACI 25pz' , '2' , '-2' , '3' , '4.30' , '4.1346153846154' , '4' , '0' , '8.60' ) 31/08/2023 11:04:48 am >> SELECT document_num FROM ps_document WHERE document_num = '2353' AND id_document != '86710' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-07-11') 31/08/2023 11:04:48 am >> UPDATE ps_document SET id_document_type = '11', document_num = '2353', document_date = '2023-07-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 = '45.00', price_tax_excluded = '38.26', date_upd = NOW() WHERE id_document = '86710' 31/08/2023 11:04:48 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 = '86710' 31/08/2023 11:04:48 am >> DELETE FROM ps_document_detail WHERE id_document = '86710' 31/08/2023 11:04:48 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '86710' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '8.1' , '6.6393442622951' , '22' , '0' , '8.10' ) 31/08/2023 11:04:48 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '86710' , '17617' , 'IMMAGINI ISONZO X 100' , '2' , '-2' , '1' , '3.7000' , '3.0327868852459' , '22' , '0' , '7.40' ) 31/08/2023 11:04:48 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '86710' , '9690' , 'SCAPOLARE DEL CARMELO - 8339' , '1' , '-1' , '4' , '5.0000' , '5' , '0' , '5' , '4.75' ) 31/08/2023 11:04:48 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '86710' , '15807' , 'BEATA VERGINE DEL MONTE CARMELO - D. MUSSO' , '1' , '-1' , '4' , '3.0000' , '3' , '0' , '5' , '2.85' ) 31/08/2023 11:04:48 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '86710' , '20507' , 'CONFEZIONE SCATOLA PORTA CIUCCIO - CEL' , '1' , '-1' , '1' , '21.90' , '17.950819672131' , '22' , '0' , '21.90' ) 31/08/2023 11:05:19 am >> SELECT document_num FROM ps_document WHERE document_num = '2228' AND id_document != '86551' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-06-28') 31/08/2023 11:05:19 am >> UPDATE ps_document SET id_document_type = '11', document_num = '2228', document_date = '2023-06-28', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = '', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '49.00', price_tax_excluded = '40.16', date_upd = NOW() WHERE id_document = '86551' 31/08/2023 11:05:19 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 = '86551' 31/08/2023 11:05:19 am >> DELETE FROM ps_document_detail WHERE id_document = '86551' 31/08/2023 11:05:19 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 ( '86551' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '28' , '22.950819672131' , '22' , '0' , '28.00' ) 31/08/2023 11:05:19 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 ( '86551' , '11681' , 'CROCE TRAFORATA CON LACCIO' , '1' , '-1' , '1' , '2.0000' , '1.6393442622951' , '22' , '0' , '2.00' ) 31/08/2023 11:05:19 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 ( '86551' , '18838' , 'CAPOCULLA ' , '1' , '-1' , '1' , '19.00' , '15.573770491803' , '22' , '0' , '19.00' ) 31/08/2023 11:06:50 am >> SELECT document_num FROM ps_document WHERE document_num = '2456' AND id_document != '86841' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-07-21') 31/08/2023 11:06:50 am >> UPDATE ps_document SET id_document_type = '11', document_num = '2456', document_date = '2023-07-21', 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 = '166.80', price_tax_excluded = '138.65', date_upd = NOW() WHERE id_document = '86841' 31/08/2023 11:06:50 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 = '86841' 31/08/2023 11:06:50 am >> DELETE FROM ps_document_detail WHERE id_document = '86841' 31/08/2023 11:06:50 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 ( '86841' , '18399' , 'CAMICE DUE PIEGONI POL. CERNIERA DAVANTI - 405TPAD' , '1' , '-1' , '1' , '74.0000' , '60.655737704918' , '22' , '0' , '74.00' ) 31/08/2023 11:06:50 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 ( '86841' , '14088' , 'CAMICE IN MICROFIBRA - 429/PMA' , '1' , '-1' , '1' , '59.0000' , '48.360655737705' , '22' , '0' , '59.00' ) 31/08/2023 11:06:50 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 ( '86841' , '20547' , 'MEDAGLIA LOURDES - OV22/L' , '36' , '-36' , '1' , '0.2500' , '0.20491803278689' , '22' , '0' , '9.00' ) 31/08/2023 11:06:50 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 ( '86841' , '21433' , 'PAROLA E PREGHIERA - OTT 23' , '1' , '-1' , '4' , '2.5' , '2.5' , '0' , '0' , '2.50' ) 31/08/2023 11:06:50 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 ( '86841' , '11756' , 'VINO BIANCO SECCO - 14%' , '2' , '-2' , '1' , '6.5000' , '5.327868852459' , '22' , '0' , '13.00' ) 31/08/2023 11:06:50 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 ( '86841' , '20429' , 'OSTIA SENZA TOSTATURA MORREALE - OS25' , '1' , '-1' , '3' , '2.0000' , '1.9230769230769' , '4' , '0' , '2.00' ) 31/08/2023 11:06:50 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 ( '86841' , '20431' , 'PARTICOLA TAGLIO CHIUSO 35MM - W500' , '1' , '-1' , '3' , '3.3000' , '3.1730769230769' , '4' , '0' , '3.30' ) 31/08/2023 11:06:50 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 ( '86841' , '7096' , 'NOVE PRIMI VENERDÍ DEL MESE - 8247' , '2' , '-2' , '4' , '2.0000' , '2' , '0' , '0' , '4.00' ) 31/08/2023 11:07:11 am >> SELECT document_num FROM ps_document WHERE document_num = '2673' AND id_document != '87114' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-08-31') 31/08/2023 11:07:11 am >> UPDATE ps_document SET id_document_type = '11', document_num = '2673', document_date = '2023-08-31', 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.94', price_tax_excluded = '41.95', date_upd = NOW() WHERE id_document = '87114' 31/08/2023 11:07: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 = '87114' 31/08/2023 11:07:11 am >> DELETE FROM ps_document_detail WHERE id_document = '87114' 31/08/2023 11:07: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 ( '87114' , '14000' , 'GALATEO IN CHIESA' , '1' , '-1' , '4' , '1.0000' , '1' , '0' , '0' , '1.00' ) 31/08/2023 11:07: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 ( '87114' , '12812' , 'CATECHISTA SECONDO PAPA FRANCESCO' , '1' , '-1' , '4' , '3.5000' , '3.5' , '0' , '5' , '3.33' ) 31/08/2023 11:07: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 ( '87114' , '1833' , 'CATECHISTA: VOCAZIONE E MISSIONE ' , '1' , '-1' , '4' , '3.0000' , '3' , '0' , '5' , '2.85' ) 31/08/2023 11:07: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 ( '87114' , '8244' , 'PREGATE IL SANTO ROSARIO OGNI GIORNO... - 8102' , '1' , '-1' , '4' , '8.0000' , '8' , '0' , '5' , '7.60' ) 31/08/2023 11:07: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 ( '87114' , '17246' , 'CONOSCI LO SPIRITO SANTO' , '1' , '-1' , '4' , '6.9000' , '6.9' , '0' , '5' , '6.56' ) 31/08/2023 11:07: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 ( '87114' , '21197' , 'PAROLA E PREGHIERA - SET 23' , '1' , '-1' , '4' , '2.5' , '2.5' , '0' , '0' , '2.50' ) 31/08/2023 11:07: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 ( '87114' , '21155' , 'BRACCIALE TENNIS + MEDAGLIA - 209' , '2' , '-2' , '1' , '2.9000' , '2.3770491803279' , '22' , '0' , '5.80' ) 31/08/2023 11:07: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 ( '87114' , '19599' , 'ROSARIO PERLA PRIMA COMUNIONE - 197/13' , '1' , '-1' , '1' , '2.8000' , '2.2950819672131' , '22' , '0' , '2.80' ) 31/08/2023 11:07: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 ( '87114' , '20705' , 'CANDELA CUBO' , '1' , '-1' , '1' , '13.5000' , '11.065573770492' , '22' , '0' , '13.50' ) 31/08/2023 11:08:07 am >> SELECT document_num FROM ps_document WHERE document_num = '2506' AND id_document != '86901' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-07-28') 31/08/2023 11:08:07 am >> UPDATE ps_document SET id_document_type = '11', document_num = '2506', document_date = '2023-07-28', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = '', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '49.50', price_tax_excluded = '40.57', date_upd = NOW() WHERE id_document = '86901' 31/08/2023 11:08:07 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 = '86901' 31/08/2023 11:08:07 am >> DELETE FROM ps_document_detail WHERE id_document = '86901' 31/08/2023 11:08:07 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 ( '86901' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '36' , '29.508196721311' , '22' , '0' , '36.00' ) 31/08/2023 11:08:07 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 ( '86901' , '20705' , 'CANDELA CUBO' , '1' , '-1' , '1' , '13.50' , '11.065573770492' , '22' , '0' , '13.50' ) 31/08/2023 11:08:21 am >> SELECT document_num FROM ps_document WHERE document_num = '2682' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-08-31') 31/08/2023 11:08:21 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' , '2682' , '2023-08-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '19.00' , '19.00' , NOW() , NOW() ) 31/08/2023 11:08:21 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 = '87123' 31/08/2023 11:08:21 am >> DELETE FROM ps_document_detail WHERE id_document = '87123' 31/08/2023 11:08:21 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 ( '87123' , '21192' , 'SULLA TUA PAROLA - SET/OTT 23' , '4' , '-4' , '4' , '5.00' , '5' , '0' , '5' , '19.00' ) 31/08/2023 11:16:59 am >> SELECT ean13 FROM ps_product WHERE ean13 = '001998' AND id_product != '19599' AND ean13 != '' 31/08/2023 11:16:59 am >> UPDATE ps_product SET id_supplier = '60', reference = '', ean13 = '001998', date_upd = NOW() WHERE id_product = '19599' 31/08/2023 11:16:59 am >> UPDATE ps_product_lang SET name = 'ROSARIO PER LA PRIMA COMUNIONE - 197/13', description = '' WHERE id_product = '19599' 31/08/2023 11:16:59 am >> UPDATE ps_product SET wholesale_price = '1.10', on_sale = '0', price = '2.2951' WHERE id_product = '19599' 31/08/2023 11:16:59 am >> UPDATE ps_product_shop SET wholesale_price = '1.10', price = '2.2951', id_tax_rules_group = '1', id_category_default = '154', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '19599' 31/08/2023 11:16:59 am >> DELETE FROM ps_specific_price WHERE id_product = '19599' 31/08/2023 12:04:09 pm >> SELECT document_num FROM ps_document WHERE document_num = '2683' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-08-31') 31/08/2023 12:04:09 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' , '2683' , '2023-08-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '130.00' , '108.61' , NOW() , NOW() ) 31/08/2023 12:04: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 = '87124' 31/08/2023 12:04:09 pm >> DELETE FROM ps_document_detail WHERE id_document = '87124' 31/08/2023 12:04: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 ( '87124' , '17526' , 'PREGHIERE EUCARISTICHE PER CONCELEBRAZIONE N.E.' , '2' , '-2' , '4' , '6.00' , '6' , '0' , '5' , '11.40' ) 31/08/2023 12:04: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 ( '87124' , '19107' , 'INCENSO GRANI 3A' , '1' , '-1' , '1' , '30.00' , '24.590163934426' , '22' , '0' , '30.00' ) 31/08/2023 12:04: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 ( '87124' , '17160' , 'CARBONCINI ROSSI - CARRO' , '1' , '-1' , '1' , '10.00' , '8.1967213114754' , '22' , '0' , '10.00' ) 31/08/2023 12:04: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 ( '87124' , '17161' , 'CARBONCINI NERI - CARNE' , '1' , '-1' , '1' , '11.3' , '9.2622950819672' , '22' , '0' , '11.30' ) 31/08/2023 12:04: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 ( '87124' , '18881' , 'STOLA POLIESTERE - PST020' , '1' , '-1' , '1' , '19.90' , '16.311475409836' , '22' , '0' , '19.90' ) 31/08/2023 12:04: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 ( '87124' , '11756' , 'VINO BIANCO SECCO - 14%' , '2' , '-2' , '1' , '6.90' , '5.655737704918' , '22' , '0' , '13.80' ) 31/08/2023 12:04: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 ( '87124' , '11384' , 'VINO BIANCO DOLCE - 102' , '2' , '-2' , '1' , '8.90' , '7.2950819672131' , '22' , '0' , '17.80' ) 31/08/2023 12:04: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 ( '87124' , '11757' , 'VINO LIQUOROSO DOLCE - 16%' , '2' , '-2' , '1' , '7.90' , '6.4754098360656' , '22' , '0' , '15.80' ) 31/08/2023 12:25:09 pm >> INSERT INTO ps_product ( ean13 , id_tax_rules_group , `date_add` , `date_upd` ) VALUES ( '' , '1' , NOW() , NOW() ) 31/08/2023 12:25:09 pm >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '21503' , '1' , '' , 'nuovo-prodotto' ) 31/08/2023 12:25:10 pm >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , `date_add` , `date_upd` ) VALUES ( '21503' , '1' , '1' , '2' , NOW() , NOW() ) 31/08/2023 12:25:10 pm >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) VALUES ( '21503' , '0' , '1' , '0' , '0' ) 31/08/2023 12:26:07 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '1000000010251' AND id_product != '21503' AND ean13 != '' 31/08/2023 12:26:07 pm >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '1000000010251', date_upd = NOW() WHERE id_product = '21503' 31/08/2023 12:26:07 pm >> UPDATE ps_product_lang SET name = 'LAMPADA ELETTRICA - 305', description = '' WHERE id_product = '21503' 31/08/2023 12:26:07 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '86.06557377049181' WHERE id_product = '21503' 31/08/2023 12:26:07 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '86.06557377049181', id_tax_rules_group = '1', id_category_default = '147', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '21503' 31/08/2023 12:26:07 pm >> DELETE FROM ps_specific_price WHERE id_product = '21503' 31/08/2023 12:29:04 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '1000000014969' AND id_product != '10122' AND ean13 != '' 31/08/2023 12:29:04 pm >> UPDATE ps_product SET id_supplier = '', reference = '2016', ean13 = '1000000014969', date_upd = NOW() WHERE id_product = '10122' 31/08/2023 12:29:04 pm >> UPDATE ps_product_lang SET name = 'SPEGNICANDELA CON MANICO CM 50 - 609/50', description = '' WHERE id_product = '10122' 31/08/2023 12:29:04 pm >> UPDATE ps_product SET wholesale_price = '8.98', on_sale = '0', price = '23.770491803278688' WHERE id_product = '10122' 31/08/2023 12:29:05 pm >> UPDATE ps_product_shop SET wholesale_price = '8.98', price = '23.770491803278688', id_tax_rules_group = '1', id_category_default = '147', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '10122' 31/08/2023 12:29:05 pm >> DELETE FROM ps_specific_price WHERE id_product = '10122' 31/08/2023 12:37:49 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '000240' AND id_product != '10495' AND ean13 != '' 31/08/2023 12:37:49 pm >> UPDATE ps_product SET id_supplier = '', reference = '2013', ean13 = '000240', date_upd = NOW() WHERE id_product = '10495' 31/08/2023 12:37:49 pm >> UPDATE ps_product_lang SET name = 'TECA IHS CM 9 - 881', description = '' WHERE id_product = '10495' 31/08/2023 12:37:49 pm >> UPDATE ps_product SET wholesale_price = '1,624.00', on_sale = '0', price = '42.622950819672134' WHERE id_product = '10495' 31/08/2023 12:37:50 pm >> UPDATE ps_product_shop SET wholesale_price = '1,624.00', price = '42.622950819672134', id_tax_rules_group = '1', id_category_default = '147', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '10495' 31/08/2023 12:37:50 pm >> DELETE FROM ps_specific_price WHERE id_product = '10495' 31/08/2023 12:38:35 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '000240' AND id_product != '10495' AND ean13 != '' 31/08/2023 12:38:35 pm >> UPDATE ps_product SET id_supplier = '', reference = '2013', ean13 = '000240', date_upd = NOW() WHERE id_product = '10495' 31/08/2023 12:38:35 pm >> UPDATE ps_product_lang SET name = 'TECA IHS CM 9 - 881', description = '' WHERE id_product = '10495' 31/08/2023 12:38:35 pm >> UPDATE ps_product SET wholesale_price = '1,624.00', on_sale = '0', price = '42.622950819672134' WHERE id_product = '10495' 31/08/2023 12:38:35 pm >> UPDATE ps_product_shop SET wholesale_price = '1,624.00', price = '42.622950819672134', id_tax_rules_group = '1', id_category_default = '147', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '10495' 31/08/2023 12:38:35 pm >> DELETE FROM ps_specific_price WHERE id_product = '10495' 31/08/2023 12:40:16 pm >> INSERT INTO ps_product ( ean13 , id_tax_rules_group , `date_add` , `date_upd` ) VALUES ( '' , '1' , NOW() , NOW() ) 31/08/2023 12:40:16 pm >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '21504' , '1' , '' , 'nuovo-prodotto' ) 31/08/2023 12:40:16 pm >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , `date_add` , `date_upd` ) VALUES ( '21504' , '1' , '1' , '2' , NOW() , NOW() ) 31/08/2023 12:40:16 pm >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) VALUES ( '21504' , '0' , '1' , '0' , '0' ) 31/08/2023 12:41:33 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '000899' AND id_product != '21504' AND ean13 != '' 31/08/2023 12:41:41 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '000898' AND id_product != '21504' AND ean13 != '' 31/08/2023 12:41:41 pm >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '000898', date_upd = NOW() WHERE id_product = '21504' 31/08/2023 12:41:41 pm >> UPDATE ps_product_lang SET name = 'CUSTODIA PELLE BIBBIA SCRUTATE - 3732', description = '' WHERE id_product = '21504' 31/08/2023 12:41:41 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '30.327868852459016' WHERE id_product = '21504' 31/08/2023 12:41:41 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '30.327868852459016', id_tax_rules_group = '1', id_category_default = '147', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '21504' 31/08/2023 12:41:41 pm >> DELETE FROM ps_specific_price WHERE id_product = '21504' 31/08/2023 12:43:45 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '000898' AND id_product != '21504' AND ean13 != '' 31/08/2023 12:43:45 pm >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '000898', date_upd = NOW() WHERE id_product = '21504' 31/08/2023 12:43:45 pm >> UPDATE ps_product_lang SET name = 'CUSTODIA PELLE BIBBIA SCRUTATE - 3732', description = '' WHERE id_product = '21504' 31/08/2023 12:43:45 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '30.327868852459016' WHERE id_product = '21504' 31/08/2023 12:43:45 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '30.327868852459016', id_tax_rules_group = '1', id_category_default = '147', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '21504' 31/08/2023 12:43:45 pm >> DELETE FROM ps_specific_price WHERE id_product = '21504' 31/08/2023 12:54:06 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '31' , '2777' , '2023-08-30' , '' , '0' , '12' , '2607' , 'VIA NAZIONALE NORD, 4 - LAGARO 40035 CASTIGLIONE DEI PEPOLI' , '' , '' , '10' , '1' , '0' , '0' , '0' , '' , '9' , '0' , '481.02' , '394.28' , NOW() , NOW() ) 31/08/2023 12:54: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 = '87125' 31/08/2023 12:54:06 pm >> DELETE FROM ps_document_detail WHERE id_document = '87125' 31/08/2023 12:54: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 ( '87125' , '4205' , 'FINTA CANDELA 4X30 - 140 ' , '6' , '6' , '1' , '5' , '4.0983606557377' , '22' , '5' , '34.7700' ) 31/08/2023 12:54:06 pm >> DELETE FROM ps_product_supplier WHERE id_product = '4205' AND id_supplier = '12' 31/08/2023 12:54:06 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '4205' , '12' , '1' ) 31/08/2023 12:54: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 ( '87125' , '1751' , 'CARTUCCIA TRASPARENTE DIAM. 4 - 455' , '15' , '15' , '1' , '5.5' , '4.5081967213115' , '22' , '5' , '95.6175' ) 31/08/2023 12:54:06 pm >> DELETE FROM ps_product_supplier WHERE id_product = '1751' AND id_supplier = '12' 31/08/2023 12:54:06 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '1751' , '12' , '1' ) 31/08/2023 12:54: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 ( '87125' , '4696' , 'GLOBO PIREX DIAM. 3,5 COMPLETO - 89 ' , '7' , '7' , '1' , '3' , '2.4590163934426' , '22' , '5' , '24.3390' ) 31/08/2023 12:54:07 pm >> DELETE FROM ps_product_supplier WHERE id_product = '4696' AND id_supplier = '12' 31/08/2023 12:54:07 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '4696' , '12' , '1' ) 31/08/2023 12:54:07 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87125' , '21503' , 'LAMPADA ELETTRICA - 305' , '1' , '1' , '1' , '43' , '35.245901639344' , '22' , '5' , '49.8370' ) 31/08/2023 12:54:07 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21503' AND id_supplier = '12' 31/08/2023 12:54:07 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21503' , '12' , '1' ) 31/08/2023 12:54:07 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87125' , '10122' , 'SPEGNICANDELA CON MANICO CM 50 - 609/50' , '1' , '1' , '1' , '12.5' , '10.245901639344' , '22' , '5' , '14.4875' ) 31/08/2023 12:54:07 pm >> DELETE FROM ps_product_supplier WHERE id_product = '10122' AND id_supplier = '12' 31/08/2023 12:54:07 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '10122' , '12' , '1' ) 31/08/2023 12:54:07 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87125' , '12578' , 'RICAMBIO VETRO PER ART. 486 - 65' , '4' , '4' , '1' , '6.5' , '5.327868852459' , '22' , '5' , '30.1340' ) 31/08/2023 12:54:07 pm >> DELETE FROM ps_product_supplier WHERE id_product = '12578' AND id_supplier = '12' 31/08/2023 12:54:07 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '12578' , '12' , '1' ) 31/08/2023 12:54:07 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87125' , '8053' , 'PISSIDE DIAM 14 C/COPERCHIO - 864' , '2' , '2' , '1' , '39.5' , '32.377049180328' , '22' , '5' , '91.5610' ) 31/08/2023 12:54:07 pm >> DELETE FROM ps_product_supplier WHERE id_product = '8053' AND id_supplier = '12' 31/08/2023 12:54:07 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '8053' , '12' , '1' ) 31/08/2023 12:54:07 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87125' , '1370' , 'BROCCHETTE RICAMBIO PER ART. 523 - 500' , '4' , '4' , '1' , '5.5' , '4.5081967213115' , '22' , '5' , '25.4980' ) 31/08/2023 12:54:07 pm >> DELETE FROM ps_product_supplier WHERE id_product = '1370' AND id_supplier = '12' 31/08/2023 12:54:07 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '1370' , '12' , '1' ) 31/08/2023 12:54:07 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87125' , '10495' , 'TECA IHS CM 9 - 881' , '2' , '2' , '1' , '22.5' , '18.44262295082' , '22' , '5' , '52.1550' ) 31/08/2023 12:54:07 pm >> DELETE FROM ps_product_supplier WHERE id_product = '10495' AND id_supplier = '12' 31/08/2023 12:54:07 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '10495' , '12' , '1' ) 31/08/2023 12:54:07 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87125' , '21504' , 'CUSTODIA PELLE BIBBIA SCRUTATE - 3732' , '3' , '3' , '1' , '14.5' , '11.885245901639' , '22' , '5' , '50.4165' ) 31/08/2023 12:54:07 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21504' AND id_supplier = '12' 31/08/2023 12:54:07 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21504' , '12' , '1' ) 31/08/2023 03:24:51 pm >> SELECT document_num FROM ps_document WHERE document_num = '2684' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-08-31') 31/08/2023 03:24:51 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '2684' , '2023-08-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '4.75' , '4.75' , NOW() , NOW() ) 31/08/2023 03:24:51 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '87126' 31/08/2023 03:24:51 pm >> DELETE FROM ps_document_detail WHERE id_document = '87126' 31/08/2023 03:24:51 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87126' , '21192' , 'SULLA TUA PAROLA - SET/OTT 23' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 31/08/2023 05:19:09 pm >> SELECT document_num FROM ps_document WHERE document_num = '2685' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-08-31') 31/08/2023 05:19:09 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' , '2685' , '2023-08-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '55.00' , '45.08' , NOW() , NOW() ) 31/08/2023 05:19: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 = '87127' 31/08/2023 05:19:09 pm >> DELETE FROM ps_document_detail WHERE id_document = '87127' 31/08/2023 05:19: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 ( '87127' , '18984' , 'POLO FELPATO ML ' , '1' , '-1' , '1' , '55' , '45.081967213115' , '22' , '0' , '55.00' ) 31/08/2023 05:41:55 pm >> SELECT document_num FROM ps_document WHERE document_num = '2686' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-08-31') 31/08/2023 05:41: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' , '2686' , '2023-08-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '7.42' , '7.42' , NOW() , NOW() ) 31/08/2023 05:41: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 = '87128' 31/08/2023 05:41:55 pm >> DELETE FROM ps_document_detail WHERE id_document = '87128' 31/08/2023 05:41: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 ( '87128' , '21199' , 'AMEN - OTT 23' , '1' , '-1' , '4' , '3.90' , '3.9' , '0' , '5' , '3.71' ) 31/08/2023 05:41: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 ( '87128' , '21198' , 'AMEN - SET 2023' , '1' , '-1' , '4' , '3.90' , '3.9' , '0' , '5' , '3.71' ) 31/08/2023 06:41:31 pm >> SELECT document_num FROM ps_document WHERE document_num = '2687' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-08-31') 31/08/2023 06:41: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' , '2687' , '2023-08-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '54.00' , '44.26' , NOW() , NOW() ) 31/08/2023 06:41: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 = '87129' 31/08/2023 06:41:31 pm >> DELETE FROM ps_document_detail WHERE id_document = '87129' 31/08/2023 06:41: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 ( '87129' , '1751' , 'CARTUCCIA TRASPARENTE DIAM. 4 - 455' , '4' , '-4' , '1' , '13.50' , '11.065573770492' , '22' , '0' , '54.00' ) 31/08/2023 06:54:38 pm >> SELECT document_num FROM ps_document WHERE document_num = '2688' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-08-31') 31/08/2023 06:54: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 ( '11' , '2688' , '2023-08-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '4.75' , '4.75' , NOW() , NOW() ) 31/08/2023 06:54: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 = '87130' 31/08/2023 06:54:38 pm >> DELETE FROM ps_document_detail WHERE id_document = '87130' 31/08/2023 06:54: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 ( '87130' , '21192' , 'SULLA TUA PAROLA - SET/OTT 23' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 31/08/2023 07:32:41 pm >> SELECT document_num FROM ps_document WHERE document_num = '2689' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-08-31') 31/08/2023 07:32: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' , '2689' , '2023-08-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '134.00' , '109.84' , NOW() , NOW() ) 31/08/2023 07:32: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 = '87131' 31/08/2023 07:32:41 pm >> DELETE FROM ps_document_detail WHERE id_document = '87131' 31/08/2023 07:32: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 ( '87131' , '15387' , 'VESTINA BATTESIMALE ' , '20' , '-20' , '1' , '2.5' , '2.0491803278689' , '22' , '0' , '50.00' ) 31/08/2023 07:32: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 ( '87131' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '84' , '68.852459016393' , '22' , '0' , '84.00' ) 31/08/2023 07:33:46 pm >> SELECT document_num FROM ps_document WHERE document_num = '2690' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-08-31') 31/08/2023 07:33: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 ( '11' , '2690' , '2023-08-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '2.90' , '2.38' , NOW() , NOW() ) 31/08/2023 07:33: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 = '87132' 31/08/2023 07:33:46 pm >> DELETE FROM ps_document_detail WHERE id_document = '87132' 31/08/2023 07:33: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 ( '87132' , '21155' , 'BRACCIALE TENNIS + MEDAGLIA - 209' , '1' , '-1' , '1' , '2.90' , '2.3770491803279' , '22' , '0' , '2.90' ) 31/08/2023 07:37:16 pm >> SELECT document_num FROM ps_document WHERE document_num = '2691' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-08-31') 31/08/2023 07:37:16 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '2691' , '2023-08-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '5.50' , '5.29' , NOW() , NOW() ) 31/08/2023 07:37: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 = '87133' 31/08/2023 07:37:16 pm >> DELETE FROM ps_document_detail WHERE id_document = '87133' 31/08/2023 07:37: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 ( '87133' , '7311' , 'OSTIA SOTTILE 74MM' , '1' , '-1' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '2.00' ) 31/08/2023 07:37: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 ( '87133' , '20433' , 'PARTICOLA MORREALE 38MM - PTC38S' , '1' , '-1' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '3.50' ) 31/08/2023 07:38:35 pm >> SELECT document_num FROM ps_document WHERE document_num = '2692' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-08-31') 31/08/2023 07:38:35 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' , '2692' , '2023-08-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '14.00' , '13.46' , NOW() , NOW() ) 31/08/2023 07:38:35 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 = '87134' 31/08/2023 07:38:35 pm >> DELETE FROM ps_document_detail WHERE id_document = '87134' 31/08/2023 07:38:35 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87134' , '20433' , 'PARTICOLA MORREALE 38MM - PTC38S' , '4' , '-4' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '14.00' )