07/11/2022 08:25:13 am >> SELECT document_num FROM ps_document WHERE document_num = '244' AND id_document != '70374' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2022-11-05') 07/11/2022 08:25:14 am >> UPDATE ps_document SET id_document_type = '21', document_num = '244', document_date = '2022-11-05', document_letter = '', id_customer = '3958', id_supplier = '', id_address = '4676366', address1 = 'PIAZZA SS SALVATORE 1 03040 PIGNATARO INTERAMNA', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '3', id_causal = '0', price_tax_included = '107.56', price_tax_excluded = '107.56', date_upd = NOW() WHERE id_document = '70374' 07/11/2022 08:25:14 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '70374' 07/11/2022 08:25:14 am >> DELETE FROM ps_document_detail WHERE id_document = '70374' 07/11/2022 08:25:14 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70374' , '5457' , 'IO SONO CON VOI 1 PARTE' , '15' , '-15' , '4' , '2.5000' , '2.5' , '0' , '15' , '31.88' ) 07/11/2022 08:25:14 am >> DELETE FROM ps_product_supplier WHERE id_product = '5457' AND id_supplier = '' 07/11/2022 08:25:14 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5457' , '' , '1' ) 07/11/2022 08:25:14 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70374' , '5444' , 'IO SONO CON VOI - CAT.' , '7' , '-7' , '4' , '5.5000' , '5.5' , '0' , '10' , '34.65' ) 07/11/2022 08:25:14 am >> DELETE FROM ps_product_supplier WHERE id_product = '5444' AND id_supplier = '' 07/11/2022 08:25:14 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5444' , '' , '1' ) 07/11/2022 08:25:14 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70374' , '19977' , 'MINISTRANTI IERI, OGGI, DOMANI' , '3' , '-3' , '4' , '2.5000' , '2.5' , '0' , '15' , '6.38' ) 07/11/2022 08:25:14 am >> DELETE FROM ps_product_supplier WHERE id_product = '19977' AND id_supplier = '' 07/11/2022 08:25:14 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19977' , '' , '1' ) 07/11/2022 08:25:14 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70374' , '9676' , 'SARETE MIEI TESTIMONI - CAT.' , '7' , '-7' , '4' , '5.50' , '5.5' , '0' , '10' , '34.65' ) 07/11/2022 08:25:14 am >> DELETE FROM ps_product_supplier WHERE id_product = '9676' AND id_supplier = '' 07/11/2022 08:25:14 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '9676' , '' , '1' ) 07/11/2022 08:51:58 am >> SELECT ean13 FROM ps_product WHERE ean13 = '002040' AND id_product != '20157' AND ean13 != '' 07/11/2022 08:51:58 am >> UPDATE ps_product SET id_supplier = '60', reference = '', ean13 = '002040', date_upd = NOW() WHERE id_product = '20157' 07/11/2022 08:51:58 am >> UPDATE ps_product_lang SET name = 'ALBERO DI NATALE - 23/92NAT04', description = '' WHERE id_product = '20157' 07/11/2022 08:51:58 am >> UPDATE ps_product SET wholesale_price = '0.50', on_sale = '0', price = '1.0656' WHERE id_product = '20157' 07/11/2022 08:51:58 am >> UPDATE ps_product_shop SET wholesale_price = '0.50', price = '1.0656', 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 = '20157' 07/11/2022 08:51:58 am >> DELETE FROM ps_specific_price WHERE id_product = '20157' 07/11/2022 08:57:37 am >> UPDATE ps_document SET id_document_type = '31', document_num = '698', document_date = '2022-10-31', document_letter = '', id_customer = '0', id_supplier = '', id_address = '2655', address1 = 'Z.I. PIANE MAVONE 64042 COLLEDARA', address2 = '', note = '', price_shipping = '25', id_tax_shipping_rules = '1', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '9', id_causal = '0', price_tax_included = '852.75', price_tax_excluded = '698.98', date_upd = NOW() WHERE id_document = '68035' 07/11/2022 08:57:37 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 = '68035' 07/11/2022 08:57:37 am >> DELETE FROM ps_document_detail WHERE id_document = '68035' 07/11/2022 08:57:37 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 ( '68035' , '20156' , 'PALLA CON CARTONCINO - 23/64NAT03' , '50' , '50' , '1' , '0.5000' , '0.40983606557377' , '22' , '3' , '29.5850' ) 07/11/2022 08:57:37 am >> DELETE FROM ps_product_supplier WHERE id_product = '20156' AND id_supplier = '' 07/11/2022 08:57:38 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20156' , '' , '1' ) 07/11/2022 08:57:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '68035' , '20157' , 'ALBERO DI NATALE - 2392NAT04' , '100' , '100' , '1' , '0.5000' , '0.40983606557377' , '22' , '3' , '59.1700' ) 07/11/2022 08:57:38 am >> DELETE FROM ps_product_supplier WHERE id_product = '20157' AND id_supplier = '' 07/11/2022 08:57:38 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20157' , '' , '1' ) 07/11/2022 08:57:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '68035' , '20158' , 'CASETTA NATIVITA - 23/97NAT04' , '37' , '37' , '1' , '0.5000' , '0.40983606557377' , '22' , '3' , '21.8929' ) 07/11/2022 08:57:38 am >> DELETE FROM ps_product_supplier WHERE id_product = '20158' AND id_supplier = '' 07/11/2022 08:57:38 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20158' , '' , '1' ) 07/11/2022 08:57:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '68035' , '20159' , 'NATIVITA STELLA CON BASE - 22/194-10NAT04' , '50' , '50' , '1' , '0.8000' , '0.65573770491803' , '22' , '3' , '47.3360' ) 07/11/2022 08:57:38 am >> DELETE FROM ps_product_supplier WHERE id_product = '20159' AND id_supplier = '' 07/11/2022 08:57:38 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20159' , '' , '1' ) 07/11/2022 08:57:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '68035' , '20160' , 'BRACCIALE IN CORDA E METALLO - 800/328' , '96' , '96' , '1' , '0.5000' , '0.40983606557377' , '22' , '3' , '56.8032' ) 07/11/2022 08:57:38 am >> DELETE FROM ps_product_supplier WHERE id_product = '20160' AND id_supplier = '' 07/11/2022 08:57:38 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20160' , '' , '1' ) 07/11/2022 08:57:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '68035' , '20161' , 'BRACCIALE MULTISANTI - 40/BRN1' , '12' , '12' , '1' , '0.3900' , '0.31967213114754' , '22' , '3' , '5.5383' ) 07/11/2022 08:57:38 am >> DELETE FROM ps_product_supplier WHERE id_product = '20161' AND id_supplier = '' 07/11/2022 08:57:38 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20161' , '' , '1' ) 07/11/2022 08:57:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '68035' , '20154' , 'QUADRETTO CULLA ANGELO DI DIO ROSA - 5510SC' , '12' , '12' , '1' , '1.8000' , '1.4754098360656' , '22' , '3' , '25.5614' ) 07/11/2022 08:57:38 am >> DELETE FROM ps_product_supplier WHERE id_product = '20154' AND id_supplier = '' 07/11/2022 08:57:38 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20154' , '' , '1' ) 07/11/2022 08:57:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '68035' , '20153' , 'QUADRETTO CULLA ANGELO DI DIO CELESTE - 5510SC' , '12' , '12' , '1' , '1.8000' , '1.4754098360656' , '22' , '3' , '25.5614' ) 07/11/2022 08:57:38 am >> DELETE FROM ps_product_supplier WHERE id_product = '20153' AND id_supplier = '' 07/11/2022 08:57:38 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20153' , '' , '1' ) 07/11/2022 08:57:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '68035' , '1290' , 'BRACCIALE 7 DONI - 820/07' , '24' , '24' , '1' , '1.3000' , '1.0655737704918' , '22' , '3' , '36.9221' ) 07/11/2022 08:57:38 am >> DELETE FROM ps_product_supplier WHERE id_product = '1290' AND id_supplier = '' 07/11/2022 08:57:38 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '1290' , '' , '1' ) 07/11/2022 08:57:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '68035' , '20162' , 'ROSARIO SAN BENEDETTO - 195/23' , '36' , '36' , '1' , '2.0000' , '1.6393442622951' , '22' , '3' , '85.2048' ) 07/11/2022 08:57:38 am >> DELETE FROM ps_product_supplier WHERE id_product = '20162' AND id_supplier = '' 07/11/2022 08:57:38 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20162' , '' , '1' ) 07/11/2022 08:57:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '68035' , '20219' , 'MEDAGLIA SAN BENEDETTO CM 4 - 400/N0216' , '50' , '50' , '1' , '1.2000' , '0.98360655737705' , '22' , '3' , '71.0040' ) 07/11/2022 08:57:38 am >> DELETE FROM ps_product_supplier WHERE id_product = '20219' AND id_supplier = '' 07/11/2022 08:57:38 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20219' , '' , '1' ) 07/11/2022 08:57:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '68035' , '20220' , 'MEDAGLIA SAN BENEDETTO CM 2 - 400/n0217' , '60' , '60' , '1' , '0.5000' , '0.40983606557377' , '22' , '3' , '35.5020' ) 07/11/2022 08:57:38 am >> DELETE FROM ps_product_supplier WHERE id_product = '20220' AND id_supplier = '' 07/11/2022 08:57:38 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20220' , '' , '1' ) 07/11/2022 08:57:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '68035' , '20165' , 'CROCE LEGNO CORPO RESINA 37X23 - 691/02D' , '1' , '1' , '1' , '22.0000' , '18.032786885246' , '22' , '3' , '26.0348' ) 07/11/2022 08:57:38 am >> DELETE FROM ps_product_supplier WHERE id_product = '20165' AND id_supplier = '' 07/11/2022 08:57:38 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20165' , '' , '1' ) 07/11/2022 08:57:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '68035' , '20166' , 'CROCE LEGNO CORPO RESINA 30X18 - 691/03D' , '2' , '2' , '1' , '18.4000' , '15.081967213115' , '22' , '3' , '43.5491' ) 07/11/2022 08:57:38 am >> DELETE FROM ps_product_supplier WHERE id_product = '20166' AND id_supplier = '' 07/11/2022 08:57:38 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20166' , '' , '1' ) 07/11/2022 08:57:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '68035' , '20167' , 'CROCE CORPO RESINA 17X12' , '7' , '7' , '1' , '3.7800' , '3.0983606557377' , '22' , '3' , '31.3128' ) 07/11/2022 08:57:38 am >> DELETE FROM ps_product_supplier WHERE id_product = '20167' AND id_supplier = '' 07/11/2022 08:57:39 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20167' , '' , '1' ) 07/11/2022 08:57: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 ( '68035' , '20167' , 'CROCE CORPO RESINA 17X12' , '3' , '3' , '1' , '4.3200' , '3.5409836065574' , '22' , '3' , '15.3369' ) 07/11/2022 08:57:39 am >> DELETE FROM ps_product_supplier WHERE id_product = '20167' AND id_supplier = '' 07/11/2022 08:57:39 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20167' , '' , '1' ) 07/11/2022 08:57: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 ( '68035' , '20168' , 'croce corpo resina 22x15 - 671/2' , '7' , '7' , '1' , '5.2200' , '4.2786885245902' , '22' , '3' , '43.2414' ) 07/11/2022 08:57:39 am >> DELETE FROM ps_product_supplier WHERE id_product = '20168' AND id_supplier = '' 07/11/2022 08:57:39 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20168' , '' , '1' ) 07/11/2022 08:57: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 ( '68035' , '20168' , 'croce corpo resina 22x15 - 671/2' , '3' , '3' , '1' , '5.7600' , '4.7213114754098' , '22' , '3' , '20.4492' ) 07/11/2022 08:57:39 am >> DELETE FROM ps_product_supplier WHERE id_product = '20168' AND id_supplier = '' 07/11/2022 08:57:39 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20168' , '' , '1' ) 07/11/2022 08:57: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 ( '68035' , '20169' , 'croce corpo resina 30x21 - 671/3' , '7' , '7' , '1' , '6.7500' , '5.5327868852459' , '22' , '3' , '55.9157' ) 07/11/2022 08:57:39 am >> DELETE FROM ps_product_supplier WHERE id_product = '20169' AND id_supplier = '' 07/11/2022 08:57:39 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20169' , '' , '1' ) 07/11/2022 08:57: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 ( '68035' , '20169' , 'croce corpo resina 30x21 - 671/3' , '3' , '3' , '1' , '7.6500' , '6.2704918032787' , '22' , '3' , '27.1590' ) 07/11/2022 08:57:39 am >> DELETE FROM ps_product_supplier WHERE id_product = '20169' AND id_supplier = '' 07/11/2022 08:57:39 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20169' , '' , '1' ) 07/11/2022 08:57: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 ( '68035' , '20163' , 'QUADRETTO CAMPANA - 23/77C' , '50' , '50' , '1' , '0.5000' , '0.40983606557377' , '22' , '3' , '29.5850' ) 07/11/2022 08:57:39 am >> DELETE FROM ps_product_supplier WHERE id_product = '20163' AND id_supplier = '' 07/11/2022 08:57:39 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20163' , '' , '1' ) 07/11/2022 08:57: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 ( '68035' , '20164' , 'STELLA - 23/SNC' , '50' , '50' , '1' , '0.5000' , '0.40983606557377' , '22' , '3' , '29.5850' ) 07/11/2022 08:57:39 am >> DELETE FROM ps_product_supplier WHERE id_product = '20164' AND id_supplier = '' 07/11/2022 08:57:39 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20164' , '' , '1' ) 07/11/2022 09:14:21 am >> UPDATE ps_address SET deleted='1' , active = '0' WHERE id_customer = '3957' 07/11/2022 09:14:21 am >> 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 ( '3957' , '10' , '179' , 'PARROCCHIA MARIA SS DI TORTORICI' , 'CAMPANA' , 'PADRE SIMONE' , 'PIAZZA DUOMO' , '' , '98078' , 'TORTORICI' , '' , '' , '3291489297' , '' , '09633951000' , NOW() , NOW() ) 07/11/2022 09:14:21 am >> UPDATE ps_customer SET email = 'campana.simone88@tiscali.it', sdi = '', pec = '', date_upd = NOW() WHERE id_customer = '3957' 07/11/2022 09:27:56 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '32' , '2641' , '2022-10-31' , '' , '0' , '47' , '2642' , 'V.LE BACCHIGLIONE, 20 20139 MILANO' , '' , '' , '18.2' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '361.87' , '361.87' , NOW() , NOW() ) 07/11/2022 09:27:56 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '70908' 07/11/2022 09:27:56 am >> DELETE FROM ps_document_detail WHERE id_document = '70908' 07/11/2022 09:27:56 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70908' , '20146' , 'LETTERE DI BERLICCHE' , '1' , '0' , '4' , '13.0000' , '13' , '0' , '30' , '9.10' ) 07/11/2022 09:27:56 am >> DELETE FROM ps_product_supplier WHERE id_product = '20146' AND id_supplier = '47' 07/11/2022 09:27:56 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20146' , '47' , '1' ) 07/11/2022 09:27:56 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70908' , '18920' , 'LUCE IN FONDO - L. EPICOCO' , '1' , '0' , '4' , '12.0000' , '12' , '0' , '30' , '8.40' ) 07/11/2022 09:27:56 am >> DELETE FROM ps_product_supplier WHERE id_product = '18920' AND id_supplier = '47' 07/11/2022 09:27:56 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18920' , '47' , '1' ) 07/11/2022 09:27:56 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70908' , '410' , 'ALLE PORTE DEL CIELO E DELLINFERNO' , '1' , '0' , '4' , '10.0000' , '10' , '0' , '30' , '7.00' ) 07/11/2022 09:27:56 am >> DELETE FROM ps_product_supplier WHERE id_product = '410' AND id_supplier = '47' 07/11/2022 09:27:56 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '410' , '47' , '1' ) 07/11/2022 09:27:56 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70908' , '18750' , 'SONO STATA ALLE PORTE DEL CIELO E DELLINFERNO - G. POLO' , '12' , '0' , '4' , '1.9000' , '1.9' , '0' , '30' , '15.96' ) 07/11/2022 09:27:56 am >> DELETE FROM ps_product_supplier WHERE id_product = '18750' AND id_supplier = '47' 07/11/2022 09:27:56 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18750' , '47' , '1' ) 07/11/2022 09:27:56 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70908' , '18750' , 'SONO STATA ALLE PORTE DEL CIELO E DELLINFERNO - G. POLO' , '1' , '0' , '4' , '1.9000' , '1.9' , '0' , '100' , '0.00' ) 07/11/2022 09:27:56 am >> DELETE FROM ps_product_supplier WHERE id_product = '18750' AND id_supplier = '47' 07/11/2022 09:27:56 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18750' , '47' , '1' ) 07/11/2022 09:27:56 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70908' , '19588' , 'SCELTA DI ENEA - L. EPICOCO' , '2' , '0' , '4' , '16.0000' , '16' , '0' , '30' , '22.40' ) 07/11/2022 09:27:56 am >> DELETE FROM ps_product_supplier WHERE id_product = '19588' AND id_supplier = '47' 07/11/2022 09:27:56 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19588' , '47' , '1' ) 07/11/2022 09:27:56 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70908' , '19501' , 'PACE INTERIORE - C. AMIRANTE' , '1' , '0' , '4' , '12.9000' , '12.9' , '0' , '27' , '9.42' ) 07/11/2022 09:27:56 am >> DELETE FROM ps_product_supplier WHERE id_product = '19501' AND id_supplier = '47' 07/11/2022 09:27:56 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19501' , '47' , '1' ) 07/11/2022 09:27:56 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70908' , '20017' , 'CHI DORME NON PIGLIA CRISTO - M. POZZA' , '1' , '0' , '4' , '16.0000' , '16' , '0' , '30' , '11.20' ) 07/11/2022 09:27:56 am >> DELETE FROM ps_product_supplier WHERE id_product = '20017' AND id_supplier = '47' 07/11/2022 09:27:56 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20017' , '47' , '1' ) 07/11/2022 09:27:56 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70908' , '20192' , 'VI CHIEDO IN NOME DI DIO' , '2' , '0' , '4' , '16.9000' , '16.9' , '0' , '27' , '24.67' ) 07/11/2022 09:27:56 am >> DELETE FROM ps_product_supplier WHERE id_product = '20192' AND id_supplier = '47' 07/11/2022 09:27:56 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20192' , '47' , '1' ) 07/11/2022 09:27:57 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 ( '70908' , '7221' , 'OLTRE IL RELATIVISMO - F. CORALLUZZO' , '5' , '0' , '4' , '20.0000' , '20' , '0' , '30' , '70.00' ) 07/11/2022 09:27:57 am >> DELETE FROM ps_product_supplier WHERE id_product = '7221' AND id_supplier = '47' 07/11/2022 09:27:57 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '7221' , '47' , '1' ) 07/11/2022 09:27:57 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 ( '70908' , '20248' , 'FORZA DELLO SPIRITO - C. MIRANTE' , '12' , '0' , '4' , '12.9000' , '12.9' , '0' , '27' , '113.00' ) 07/11/2022 09:27:57 am >> DELETE FROM ps_product_supplier WHERE id_product = '20248' AND id_supplier = '47' 07/11/2022 09:27:57 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20248' , '47' , '1' ) 07/11/2022 09:27:57 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 ( '70908' , '20248' , 'FORZA DELLO SPIRITO - C. MIRANTE' , '1' , '0' , '4' , '12.9000' , '12.9' , '0' , '100' , '0.00' ) 07/11/2022 09:27:57 am >> DELETE FROM ps_product_supplier WHERE id_product = '20248' AND id_supplier = '47' 07/11/2022 09:27:57 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20248' , '47' , '1' ) 07/11/2022 09:27:57 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 ( '70908' , '20017' , 'CHI DORME NON PIGLIA CRISTO - M. POZZA' , '2' , '0' , '4' , '16.0000' , '16' , '0' , '30' , '22.40' ) 07/11/2022 09:27:57 am >> DELETE FROM ps_product_supplier WHERE id_product = '20017' AND id_supplier = '47' 07/11/2022 09:27:57 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20017' , '47' , '1' ) 07/11/2022 09:27:57 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 ( '70908' , '18920' , 'LUCE IN FONDO - L. EPICOCO' , '1' , '0' , '4' , '12.0000' , '12' , '0' , '30' , '8.40' ) 07/11/2022 09:27:57 am >> DELETE FROM ps_product_supplier WHERE id_product = '18920' AND id_supplier = '47' 07/11/2022 09:27:57 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18920' , '47' , '1' ) 07/11/2022 09:27:57 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 ( '70908' , '19029' , 'BEATA COLEI CHE HA CREDUTO - G. MASPERO' , '1' , '0' , '4' , '12.0000' , '12' , '0' , '30' , '8.40' ) 07/11/2022 09:27:57 am >> DELETE FROM ps_product_supplier WHERE id_product = '19029' AND id_supplier = '47' 07/11/2022 09:27:57 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19029' , '47' , '1' ) 07/11/2022 09:27:57 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 ( '70908' , '19228' , 'DIO CE ED E BELLISSIMO - P. CURTAZ' , '1' , '0' , '4' , '15.9000' , '15.9' , '0' , '27' , '11.61' ) 07/11/2022 09:27:57 am >> DELETE FROM ps_product_supplier WHERE id_product = '19228' AND id_supplier = '47' 07/11/2022 09:27:57 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19228' , '47' , '1' ) 07/11/2022 09:27:57 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 ( '70908' , '' , 'arrotondamento' , '1' , '0' , '0' , '1.71' , '1.71' , '' , '0' , '1.7100' ) 07/11/2022 09:27:57 am >> DELETE FROM ps_product_supplier WHERE id_product = '' AND id_supplier = '47' 07/11/2022 09:27:57 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '' , '47' , '1' ) 07/11/2022 09:56:19 am >> SELECT document_num FROM ps_document WHERE document_num = '71/A' AND id_document != '61878' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2022-09-20') 07/11/2022 09:56:20 am >> UPDATE ps_document SET id_document_type = '24', document_num = '71/A', document_date = '2022-09-20', document_letter = 'A', id_customer = '333', id_supplier = '', id_address = '4671072', address1 = 'P.ZZA S. MICHELE 84135 RUFOLI', 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 = '147.20', price_tax_excluded = '123.32', date_upd = NOW() WHERE id_document = '61878' 07/11/2022 09:56:20 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 = '61878' 07/11/2022 09:56:20 am >> DELETE FROM ps_document_detail WHERE id_document = '61878' 07/11/2022 09:56:20 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 ( '61878' , '12817' , 'LIBRO DEI MATRIMONI' , '1' , '-1' , '1' , '40.0000' , '32.786885245902' , '22' , '10' , '36.00' ) 07/11/2022 09:56:20 am >> DELETE FROM ps_product_supplier WHERE id_product = '12817' AND id_supplier = '' 07/11/2022 09:56:20 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '12817' , '' , '1' ) 07/11/2022 09:56:20 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 ( '61878' , '7924' , 'PERGAMENE - BATTESIMO MOD. A' , '10' , '-10' , '1' , '0.5000' , '0.40983606557377' , '22' , '0' , '5.00' ) 07/11/2022 09:56:20 am >> DELETE FROM ps_product_supplier WHERE id_product = '7924' AND id_supplier = '' 07/11/2022 09:56:20 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '7924' , '' , '1' ) 07/11/2022 09:56:20 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 ( '61878' , '15387' , 'VESTINA BATTESIMALE ' , '3' , '-3' , '1' , '2.8000' , '2.2950819672131' , '22' , '0' , '8.40' ) 07/11/2022 09:56:20 am >> DELETE FROM ps_product_supplier WHERE id_product = '15387' AND id_supplier = '' 07/11/2022 09:56:20 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '15387' , '' , '1' ) 07/11/2022 09:56:20 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 ( '61878' , '791' , 'ASSISI IN BUSTA BATTESIMO - 20X270 - BAAS' , '3' , '-3' , '1' , '1.4000' , '1.1475409836066' , '22' , '0' , '4.20' ) 07/11/2022 09:56:20 am >> DELETE FROM ps_product_supplier WHERE id_product = '791' AND id_supplier = '' 07/11/2022 09:56:20 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '791' , '' , '1' ) 07/11/2022 09:56:20 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 ( '61878' , '15097' , 'CORONA MATRIMONIO - ORO' , '1' , '-1' , '1' , '7.5000' , '6.1475409836066' , '22' , '0' , '7.50' ) 07/11/2022 09:56:20 am >> DELETE FROM ps_product_supplier WHERE id_product = '15097' AND id_supplier = '' 07/11/2022 09:56:20 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '15097' , '' , '1' ) 07/11/2022 09:56:20 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 ( '61878' , '16691' , 'PARTICOLE PER CELIACI 25pz' , '1' , '-1' , '3' , '4.0000' , '3.8461538461538' , '4' , '0' , '4.00' ) 07/11/2022 09:56:20 am >> DELETE FROM ps_product_supplier WHERE id_product = '16691' AND id_supplier = '' 07/11/2022 09:56:20 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16691' , '' , '1' ) 07/11/2022 09:56:20 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 ( '61878' , '18222' , 'ROSARIO COLORATO - R316' , '15' , '-15' , '1' , '0.7000' , '0.57377049180328' , '22' , '0' , '10.50' ) 07/11/2022 09:56:20 am >> DELETE FROM ps_product_supplier WHERE id_product = '18222' AND id_supplier = '' 07/11/2022 09:56:20 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18222' , '' , '1' ) 07/11/2022 09:56:20 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 ( '61878' , '6019' , 'LUMINO ROSSO - 10B' , '1' , '-1' , '1' , '0.4000' , '0.32786885245902' , '22' , '0' , '0.40' ) 07/11/2022 09:56:20 am >> DELETE FROM ps_product_supplier WHERE id_product = '6019' AND id_supplier = '' 07/11/2022 09:56:20 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '6019' , '' , '1' ) 07/11/2022 09:56:20 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 ( '61878' , '' , 'ritira diacono' , '1' , '-1' , '0' , '0' , '0' , '' , '0' , '0' ) 07/11/2022 09:56:21 am >> DELETE FROM ps_product_supplier WHERE id_product = '' AND id_supplier = '' 07/11/2022 09:56:21 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '' , '' , '1' ) 07/11/2022 09:56: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 ( '61878' , '16163' , 'PARTICOLE TAGLIO CHIUSO - PAN DI CENA' , '2' , '-2' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '7.00' ) 07/11/2022 09:56:21 am >> DELETE FROM ps_product_supplier WHERE id_product = '16163' AND id_supplier = '' 07/11/2022 09:56:21 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16163' , '' , '1' ) 07/11/2022 09:56: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 ( '61878' , '7311' , 'OSTIA SOTTILE 74MM' , '2' , '-2' , '3' , '1.90' , '1.8269230769231' , '4' , '0' , '3.80' ) 07/11/2022 09:56:21 am >> DELETE FROM ps_product_supplier WHERE id_product = '7311' AND id_supplier = '' 07/11/2022 09:56:21 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '7311' , '' , '1' ) 07/11/2022 09:56: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 ( '61878' , '16691' , 'PARTICOLE PER CELIACI 25pz' , '1' , '-1' , '3' , '4.00' , '3.8461538461538' , '4' , '0' , '4.00' ) 07/11/2022 09:56:21 am >> DELETE FROM ps_product_supplier WHERE id_product = '16691' AND id_supplier = '' 07/11/2022 09:56:21 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16691' , '' , '1' ) 07/11/2022 09:56: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 ( '61878' , '' , 'ritira diacono lobello e paga lui' , '1' , '-1' , '3' , '0' , '0' , '4' , '0' , '0.00' ) 07/11/2022 09:56:21 am >> DELETE FROM ps_product_supplier WHERE id_product = '' AND id_supplier = '' 07/11/2022 09:56:21 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '' , '' , '1' ) 07/11/2022 09:56: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 ( '61878' , '9711' , 'SCATOLA DORATA IHS - OGGETTI' , '1' , '-1' , '1' , '45.00' , '36.885245901639' , '22' , '0' , '45.00' ) 07/11/2022 09:56:21 am >> DELETE FROM ps_product_supplier WHERE id_product = '9711' AND id_supplier = '' 07/11/2022 09:56:21 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '9711' , '' , '1' ) 07/11/2022 09:56: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 ( '61878' , '19923' , 'AGENDA LITURGICO PASTORALE 2023 - 40807' , '1' , '-1' , '1' , '12.00' , '9.8360655737705' , '22' , '5' , '11.40' ) 07/11/2022 09:56:21 am >> DELETE FROM ps_product_supplier WHERE id_product = '19923' AND id_supplier = '' 07/11/2022 09:56:21 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19923' , '' , '1' ) 07/11/2022 10:13:51 am >> SELECT document_num FROM ps_document WHERE document_num = '3358' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 10:13:51 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '3358' , '2022-11-07' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '14.70' , '12.05' , NOW() , NOW() ) 07/11/2022 10:13:51 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '70909' 07/11/2022 10:13:51 am >> DELETE FROM ps_document_detail WHERE id_document = '70909' 07/11/2022 10:13:51 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70909' , '1914' , 'CERA DELLA LITURGIA' , '3' , '-3' , '1' , '4.90' , '4.016393442623' , '22' , '0' , '14.70' ) 07/11/2022 10:13:51 am >> DELETE FROM ps_product_supplier WHERE id_product = '1914' AND id_supplier = '' 07/11/2022 10:13:51 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '1914' , '' , '1' ) 07/11/2022 10:14:43 am >> SELECT document_num FROM ps_document WHERE document_num = '3359' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 10:14:43 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' , '3359' , '2022-11-07' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '2.25' , '2.19' , NOW() , NOW() ) 07/11/2022 10:14:43 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 = '70910' 07/11/2022 10:14:43 am >> DELETE FROM ps_document_detail WHERE id_document = '70910' 07/11/2022 10:14:44 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 ( '70910' , '19638' , 'STORIA DI CARLO ACUTIS' , '1' , '-1' , '4' , '1.90' , '1.9' , '0' , '0' , '1.90' ) 07/11/2022 10:14:44 am >> DELETE FROM ps_product_supplier WHERE id_product = '19638' AND id_supplier = '' 07/11/2022 10:14:44 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19638' , '' , '1' ) 07/11/2022 10:14:44 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 ( '70910' , '941' , 'BAMBINO CM 5 - CARNE - PX' , '1' , '-1' , '1' , '0.35' , '0.28688524590164' , '22' , '0' , '0.35' ) 07/11/2022 10:14:44 am >> DELETE FROM ps_product_supplier WHERE id_product = '941' AND id_supplier = '' 07/11/2022 10:14:44 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '941' , '' , '1' ) 07/11/2022 10:15:29 am >> SELECT document_num FROM ps_document WHERE document_num = '3360' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 10:15:29 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' , '3360' , '2022-11-07' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '11.40' , '11.40' , NOW() , NOW() ) 07/11/2022 10:15:29 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 = '70911' 07/11/2022 10:15:29 am >> DELETE FROM ps_document_detail WHERE id_document = '70911' 07/11/2022 10:15:29 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 ( '70911' , '20092' , 'ECCOMI TI ASCOLTO - ANNO A' , '1' , '-1' , '4' , '12.00' , '12' , '0' , '5' , '11.40' ) 07/11/2022 10:15:29 am >> DELETE FROM ps_product_supplier WHERE id_product = '20092' AND id_supplier = '' 07/11/2022 10:15:29 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20092' , '' , '1' ) 07/11/2022 10:16:24 am >> SELECT document_num FROM ps_document WHERE document_num = '250' AND id_document != '' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 10:16:24 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 ( '21' , '250' , '2022-11-07' , '' , '2823' , '0' , '4672634' , 'VIA ROMA, 1 83028 SERINO' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '132.18' , '132.18' , NOW() , NOW() ) 07/11/2022 10:16:24 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 = '70912' 07/11/2022 10:16:24 am >> DELETE FROM ps_document_detail WHERE id_document = '70912' 07/11/2022 10:16:24 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 ( '70912' , '8408' , 'PRENDETE E MANGIATE' , '16' , '-16' , '4' , '3.00' , '3' , '0' , '15' , '40.80' ) 07/11/2022 10:16:24 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 ( '70912' , '8509' , 'PRIMI PASSI CON GESÙ - ANNO A' , '17' , '-17' , '4' , '3.50' , '3.5' , '0' , '15' , '50.58' ) 07/11/2022 10:16:24 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 ( '70912' , '4154' , 'FESTA DEL PERDONO' , '16' , '-16' , '4' , '3.00' , '3' , '0' , '15' , '40.80' ) 07/11/2022 10:38:59 am >> SELECT document_num FROM ps_document WHERE document_num = '3361' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 10:38:59 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' , '3361' , '2022-11-07' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '22.32' , '19.63' , NOW() , NOW() ) 07/11/2022 10:38:59 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 = '70913' 07/11/2022 10:38:59 am >> DELETE FROM ps_document_detail WHERE id_document = '70913' 07/11/2022 10:38:59 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 ( '70913' , '19925' , 'AMEN - NOV. 2022' , '1' , '-1' , '4' , '3.90' , '3.9' , '0' , '5' , '3.71' ) 07/11/2022 10:38:59 am >> DELETE FROM ps_product_supplier WHERE id_product = '19925' AND id_supplier = '' 07/11/2022 10:38:59 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19925' , '' , '1' ) 07/11/2022 10:38:59 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 ( '70913' , '19926' , 'AMEN - DIC. 2022' , '1' , '-1' , '4' , '3.90' , '3.9' , '0' , '5' , '3.71' ) 07/11/2022 10:38:59 am >> DELETE FROM ps_product_supplier WHERE id_product = '19926' AND id_supplier = '' 07/11/2022 10:38:59 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19926' , '' , '1' ) 07/11/2022 10:38:59 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 ( '70913' , '19754' , 'BRUCIA INCENSI CAMPANA' , '1' , '-1' , '1' , '10.9' , '8.9344262295082' , '22' , '0' , '10.90' ) 07/11/2022 10:38:59 am >> DELETE FROM ps_product_supplier WHERE id_product = '19754' AND id_supplier = '' 07/11/2022 10:38:59 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19754' , '' , '1' ) 07/11/2022 10:38:59 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 ( '70913' , '4697' , 'GLORIA MISCELA 25G - GLORE' , '1' , '-1' , '1' , '1.50' , '1.2295081967213' , '22' , '0' , '1.50' ) 07/11/2022 10:38:59 am >> DELETE FROM ps_product_supplier WHERE id_product = '4697' AND id_supplier = '' 07/11/2022 10:38:59 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '4697' , '' , '1' ) 07/11/2022 10:38:59 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 ( '70913' , '5958' , 'LUCAS 25G - FIORI DARANCIO - EVE ' , '1' , '-1' , '1' , '1.50' , '1.2295081967213' , '22' , '0' , '1.50' ) 07/11/2022 10:38:59 am >> DELETE FROM ps_product_supplier WHERE id_product = '5958' AND id_supplier = '' 07/11/2022 10:38:59 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5958' , '' , '1' ) 07/11/2022 10:38:59 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 ( '70913' , '12819' , 'REGISTRO DEL CATECHISTA ' , '1' , '-1' , '1' , '1.00' , '0.81967213114754' , '22' , '0' , '1.00' ) 07/11/2022 10:38:59 am >> DELETE FROM ps_product_supplier WHERE id_product = '12819' AND id_supplier = '' 07/11/2022 10:38:59 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '12819' , '' , '1' ) 07/11/2022 10:59:45 am >> SELECT document_num FROM ps_document WHERE document_num = '3362' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 10:59:45 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' , '3362' , '2022-11-07' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '4.75' , '4.75' , NOW() , NOW() ) 07/11/2022 10:59:45 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 = '70914' 07/11/2022 10:59:45 am >> DELETE FROM ps_document_detail WHERE id_document = '70914' 07/11/2022 10:59:45 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 ( '70914' , '19909' , 'SULLA TUA PAROLA - NOV/DIC 2022' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 07/11/2022 10:59:46 am >> DELETE FROM ps_product_supplier WHERE id_product = '19909' AND id_supplier = '' 07/11/2022 10:59:46 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19909' , '' , '1' ) 07/11/2022 11:02:34 am >> SELECT document_num FROM ps_document WHERE document_num = '3363' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 11:02:34 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '3363' , '2022-11-07' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '72.75' , '72.75' , NOW() , NOW() ) 07/11/2022 11:02:34 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '70915' 07/11/2022 11:02:34 am >> DELETE FROM ps_document_detail WHERE id_document = '70915' 07/11/2022 11:02:34 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 ( '70915' , '8598' , 'IO SONO CON VOI 1 - MAGNIFICAT' , '25' , '-25' , '4' , '2.7' , '2.7' , '0' , '0' , '67.50' ) 07/11/2022 11:02:34 am >> DELETE FROM ps_product_supplier WHERE id_product = '8598' AND id_supplier = '' 07/11/2022 11:02:34 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '8598' , '' , '1' ) 07/11/2022 11:02:34 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 ( '70915' , '9676' , 'SARETE MIEI TESTIMONI - CAT.' , '1' , '-1' , '4' , '5.25' , '5.25' , '0' , '0' , '5.25' ) 07/11/2022 11:02:34 am >> DELETE FROM ps_product_supplier WHERE id_product = '9676' AND id_supplier = '' 07/11/2022 11:02:34 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '9676' , '' , '1' ) 07/11/2022 11:12:42 am >> SELECT document_num FROM ps_document WHERE document_num = '251' AND id_document != '' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 11:12:42 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '21' , '251' , '2022-11-07' , '' , '280' , '0' , '19939' , 'P.ZZA AMENDOLA, 1 84010 SAN VALENTINO TORIO' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '626.88' , '626.88' , NOW() , NOW() ) 07/11/2022 11:12:42 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '70916' 07/11/2022 11:12:42 am >> DELETE FROM ps_document_detail WHERE id_document = '70916' 07/11/2022 11:12:42 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70916' , '5457' , 'IO SONO CON VOI 1 PARTE' , '110' , '-110' , '4' , '2.50' , '2.5' , '0' , '15' , '233.75' ) 07/11/2022 11:12:42 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70916' , '5458' , 'IO SONO CON VOI 2 PARTE' , '85' , '-85' , '4' , '2.50' , '2.5' , '0' , '15' , '180.63' ) 07/11/2022 11:12:42 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70916' , '11191' , 'VENITE CON ME 1 PARTE' , '100' , '-100' , '4' , '2.50' , '2.5' , '0' , '15' , '212.50' ) 07/11/2022 11:24:08 am >> SELECT document_num FROM ps_document WHERE document_num = '3364' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 11:24:08 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '3364' , '2022-11-07' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '523.88' , '521.36' , NOW() , NOW() ) 07/11/2022 11:24:08 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '70917' 07/11/2022 11:24:08 am >> DELETE FROM ps_document_detail WHERE id_document = '70917' 07/11/2022 11:24:08 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70917' , '5444' , 'IO SONO CON VOI - CAT.' , '55' , '-55' , '4' , '5' , '5' , '0' , '0' , '275.00' ) 07/11/2022 11:24:08 am >> DELETE FROM ps_product_supplier WHERE id_product = '5444' AND id_supplier = '' 07/11/2022 11:24:08 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5444' , '' , '1' ) 07/11/2022 11:24:08 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70917' , '11193' , 'VENITE CON ME CAT.' , '40' , '-40' , '4' , '5' , '5' , '0' , '0' , '200.00' ) 07/11/2022 11:24:08 am >> DELETE FROM ps_product_supplier WHERE id_product = '11193' AND id_supplier = '' 07/11/2022 11:24:08 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '11193' , '' , '1' ) 07/11/2022 11:24:09 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 ( '70917' , '19911' , 'LIBRO AGENDA CATTOLICO 2023' , '1' , '-1' , '4' , '18.00' , '18' , '0' , '100' , '0.00' ) 07/11/2022 11:24:09 am >> DELETE FROM ps_product_supplier WHERE id_product = '19911' AND id_supplier = '' 07/11/2022 11:24:09 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19911' , '' , '1' ) 07/11/2022 11:24:09 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 ( '70917' , '12819' , 'REGISTRO DEL CATECHISTA ' , '14' , '-14' , '1' , '1.00' , '0.81967213114754' , '22' , '0' , '14.00' ) 07/11/2022 11:24:09 am >> DELETE FROM ps_product_supplier WHERE id_product = '12819' AND id_supplier = '' 07/11/2022 11:24:09 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '12819' , '' , '1' ) 07/11/2022 11:24:09 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 ( '70917' , '17482' , 'DOMANDE GRANDI DEI BAMBINI N.E. - 1' , '1' , '-1' , '4' , '10.00' , '10' , '0' , '5' , '9.50' ) 07/11/2022 11:24:09 am >> DELETE FROM ps_product_supplier WHERE id_product = '17482' AND id_supplier = '' 07/11/2022 11:24:09 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17482' , '' , '1' ) 07/11/2022 11:24:09 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 ( '70917' , '17481' , 'DOMANDE GRANDI DEI BAMBINI N.E. - 2' , '1' , '-1' , '4' , '10.00' , '10' , '0' , '5' , '9.50' ) 07/11/2022 11:24:09 am >> DELETE FROM ps_product_supplier WHERE id_product = '17481' AND id_supplier = '' 07/11/2022 11:24:09 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17481' , '' , '1' ) 07/11/2022 11:24:09 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 ( '70917' , '18647' , 'SCOPRIAMO INSIEME LAVVENTO' , '1' , '-1' , '4' , '4.90' , '4.9' , '0' , '5' , '4.66' ) 07/11/2022 11:24:09 am >> DELETE FROM ps_product_supplier WHERE id_product = '18647' AND id_supplier = '' 07/11/2022 11:24:09 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18647' , '' , '1' ) 07/11/2022 11:24:09 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 ( '70917' , '20255' , 'DOMENICHE DA COLORARE - ANNO A' , '1' , '-1' , '4' , '9.90' , '9.9' , '0' , '5' , '9.41' ) 07/11/2022 11:24:09 am >> DELETE FROM ps_product_supplier WHERE id_product = '20255' AND id_supplier = '' 07/11/2022 11:24:09 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20255' , '' , '1' ) 07/11/2022 11:24:09 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 ( '70917' , '17580' , 'NUOVO MESSALINO PER RAGAZZI' , '1' , '-1' , '4' , '1.90' , '1.9' , '0' , '5' , '1.81' ) 07/11/2022 11:24:09 am >> DELETE FROM ps_product_supplier WHERE id_product = '17580' AND id_supplier = '' 07/11/2022 11:24:09 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17580' , '' , '1' ) 07/11/2022 11:27:44 am >> SELECT document_num FROM ps_document WHERE document_num = '3365' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 11:27:44 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' , '3365' , '2022-11-07' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '130.00' , '120.08' , NOW() , NOW() ) 07/11/2022 11:27:44 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 = '70918' 07/11/2022 11:27:44 am >> DELETE FROM ps_document_detail WHERE id_document = '70918' 07/11/2022 11:27:44 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 ( '70918' , '20247' , 'DI PASQUA IN PASQUA - ANNO A - F. ROSINI' , '1' , '-1' , '4' , '16.00' , '16' , '0' , '5' , '15.20' ) 07/11/2022 11:27:44 am >> DELETE FROM ps_product_supplier WHERE id_product = '20247' AND id_supplier = '' 07/11/2022 11:27:44 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20247' , '' , '1' ) 07/11/2022 11:27:44 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 ( '70918' , '14088' , 'CAMICE IN MICROFIBRA - 429/PMA' , '1' , '-1' , '1' , '55.00' , '45.081967213115' , '22' , '0' , '55.00' ) 07/11/2022 11:27:44 am >> DELETE FROM ps_product_supplier WHERE id_product = '14088' AND id_supplier = '' 07/11/2022 11:27:44 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '14088' , '' , '1' ) 07/11/2022 11:27:44 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 ( '70918' , '11151' , 'LIBRI' , '1' , '-1' , '4' , '59.8' , '59.8' , '0' , '0' , '59.80' ) 07/11/2022 11:27:44 am >> DELETE FROM ps_product_supplier WHERE id_product = '11151' AND id_supplier = '' 07/11/2022 11:27:44 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '11151' , '' , '1' ) 07/11/2022 11:33:34 am >> SELECT document_num FROM ps_document WHERE document_num = '251' AND id_document != '70916' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 11:33:34 am >> UPDATE ps_document SET id_document_type = '21', document_num = '251', document_date = '2022-11-07', document_letter = '', id_customer = '280', id_supplier = '', id_address = '19939', address1 = 'P.ZZA AMENDOLA, 1 84010 SAN VALENTINO TORIO', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '1', id_causal = '0', price_tax_included = '626.88', price_tax_excluded = '626.88', date_upd = NOW() WHERE id_document = '70916' 07/11/2022 11:33:34 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '70916' 07/11/2022 11:33:34 am >> DELETE FROM ps_document_detail WHERE id_document = '70916' 07/11/2022 11:33:34 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 ( '70916' , '5457' , 'IO SONO CON VOI 1 PARTE' , '110' , '-110' , '4' , '2.5000' , '2.5' , '0' , '15' , '233.75' ) 07/11/2022 11:33:34 am >> DELETE FROM ps_product_supplier WHERE id_product = '5457' AND id_supplier = '' 07/11/2022 11:33:34 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5457' , '' , '1' ) 07/11/2022 11:33:34 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 ( '70916' , '5458' , 'IO SONO CON VOI 2 PARTE' , '85' , '-85' , '4' , '2.5000' , '2.5' , '0' , '15' , '180.63' ) 07/11/2022 11:33:34 am >> DELETE FROM ps_product_supplier WHERE id_product = '5458' AND id_supplier = '' 07/11/2022 11:33:34 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5458' , '' , '1' ) 07/11/2022 11:33:34 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 ( '70916' , '11191' , 'VENITE CON ME 1 PARTE' , '100' , '-100' , '4' , '2.5000' , '2.5' , '0' , '15' , '212.50' ) 07/11/2022 11:33:34 am >> DELETE FROM ps_product_supplier WHERE id_product = '11191' AND id_supplier = '' 07/11/2022 11:33:34 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '11191' , '' , '1' ) 07/11/2022 11:51:24 am >> SELECT document_num FROM ps_document WHERE document_num = '85/A' AND id_document != '68619' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2022-10-25') 07/11/2022 11:51:24 am >> UPDATE ps_document SET id_document_type = '24', document_num = '85/A', document_date = '2022-10-25', document_letter = 'A', id_customer = '3812', id_supplier = '', id_address = '4672633', address1 = 'LARGO PLEBISCITO 12 84121 SALERNO ', 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 = '381.30', price_tax_excluded = '320.72', date_upd = NOW() WHERE id_document = '68619' 07/11/2022 11:51:24 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 = '68619' 07/11/2022 11:51:24 am >> DELETE FROM ps_document_detail WHERE id_document = '68619' 07/11/2022 11:51:24 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 ( '68619' , '4223' , 'FOGLIETTI LA DOMENICA SAN PAOLO' , '2' , '-2' , '4' , '0.7000' , '0.7' , '0' , '0' , '1.40' ) 07/11/2022 11:51:24 am >> DELETE FROM ps_product_supplier WHERE id_product = '4223' AND id_supplier = '' 07/11/2022 11:51:24 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '4223' , '' , '1' ) 07/11/2022 11:51:24 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 ( '68619' , '7311' , 'OSTIA SOTTILE 74MM' , '10' , '-10' , '3' , '1.90' , '1.8269230769231' , '4' , '0' , '19.00' ) 07/11/2022 11:51:24 am >> DELETE FROM ps_product_supplier WHERE id_product = '7311' AND id_supplier = '' 07/11/2022 11:51:24 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '7311' , '' , '1' ) 07/11/2022 11:51:24 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 ( '68619' , '16163' , 'PARTICOLE TAGLIO CHIUSO - PAN DI CENA' , '10' , '-10' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '35.00' ) 07/11/2022 11:51:24 am >> DELETE FROM ps_product_supplier WHERE id_product = '16163' AND id_supplier = '' 07/11/2022 11:51:24 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16163' , '' , '1' ) 07/11/2022 11:51:24 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 ( '68619' , '' , 'ostia 70' , '1' , '-1' , '3' , '1.9' , '1.8269230769231' , '4' , '0' , '1.90' ) 07/11/2022 11:51:24 am >> DELETE FROM ps_product_supplier WHERE id_product = '' AND id_supplier = '' 07/11/2022 11:51:24 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '' , '' , '1' ) 07/11/2022 11:51:24 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 ( '68619' , '1914' , 'CERA DELLA LITURGIA' , '72' , '-72' , '1' , '4.5' , '3.6885245901639' , '22' , '0' , '324.00' ) 07/11/2022 11:51:24 am >> DELETE FROM ps_product_supplier WHERE id_product = '1914' AND id_supplier = '' 07/11/2022 11:51:24 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '1914' , '' , '1' ) 07/11/2022 11:57:31 am >> SELECT document_num FROM ps_document WHERE document_num = '3366' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 11:57:31 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' , '3366' , '2022-11-07' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '33.00' , '33.00' , NOW() , NOW() ) 07/11/2022 11:57:31 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 = '70919' 07/11/2022 11:57:31 am >> DELETE FROM ps_document_detail WHERE id_document = '70919' 07/11/2022 11:57:31 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 ( '70919' , '19731' , 'ITINERARI CAT. PER LA VITA MATRIMONIALE' , '1' , '-1' , '4' , '3.00' , '3' , '0' , '5' , '2.85' ) 07/11/2022 11:57:31 am >> DELETE FROM ps_product_supplier WHERE id_product = '19731' AND id_supplier = '' 07/11/2022 11:57:31 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19731' , '' , '1' ) 07/11/2022 11:57:31 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 ( '70919' , '17342' , 'SCRIPTURAE SACRAE AFFECTUS ' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 07/11/2022 11:57:31 am >> DELETE FROM ps_product_supplier WHERE id_product = '17342' AND id_supplier = '' 07/11/2022 11:57:31 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17342' , '' , '1' ) 07/11/2022 11:57:31 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 ( '70919' , '19620' , 'PRAEDICATE EVANGELIUM' , '1' , '-1' , '4' , '6.00' , '6' , '0' , '5' , '5.70' ) 07/11/2022 11:57:31 am >> DELETE FROM ps_product_supplier WHERE id_product = '19620' AND id_supplier = '' 07/11/2022 11:57:31 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19620' , '' , '1' ) 07/11/2022 11:57:31 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 ( '70919' , '13878' , 'GAUDETE ET EXSULTATE' , '1' , '-1' , '4' , '1.50' , '1.5' , '0' , '0' , '1.50' ) 07/11/2022 11:57:31 am >> DELETE FROM ps_product_supplier WHERE id_product = '13878' AND id_supplier = '' 07/11/2022 11:57:31 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '13878' , '' , '1' ) 07/11/2022 11:57:31 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 ( '70919' , '18176' , 'ANTIQUUM MINISTERIUM - PAPA FRANCESCO' , '1' , '-1' , '4' , '1.00' , '1' , '0' , '0' , '1.00' ) 07/11/2022 11:57:31 am >> DELETE FROM ps_product_supplier WHERE id_product = '18176' AND id_supplier = '' 07/11/2022 11:57:31 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18176' , '' , '1' ) 07/11/2022 11:57:31 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 ( '70919' , '16179' , 'APERUIT ILLIS' , '1' , '-1' , '4' , '2.50' , '2.5' , '0' , '5' , '2.38' ) 07/11/2022 11:57:31 am >> DELETE FROM ps_product_supplier WHERE id_product = '16179' AND id_supplier = '' 07/11/2022 11:57:31 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16179' , '' , '1' ) 07/11/2022 11:57:31 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 ( '70919' , '15580' , 'CHRISTUS VIVIT' , '1' , '-1' , '4' , '1.99' , '1.99' , '0' , '0' , '1.99' ) 07/11/2022 11:57:31 am >> DELETE FROM ps_product_supplier WHERE id_product = '15580' AND id_supplier = '' 07/11/2022 11:57:31 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '15580' , '' , '1' ) 07/11/2022 11:57:31 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 ( '70919' , '13460' , 'VERITATIS GAUDIUM' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 07/11/2022 11:57:31 am >> DELETE FROM ps_product_supplier WHERE id_product = '13460' AND id_supplier = '' 07/11/2022 11:57:31 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '13460' , '' , '1' ) 07/11/2022 11:57:31 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 ( '70919' , '6743' , 'MISERICORDIA ET MISERA' , '1' , '-1' , '4' , '2.50' , '2.5' , '0' , '5' , '2.38' ) 07/11/2022 11:57:31 am >> DELETE FROM ps_product_supplier WHERE id_product = '6743' AND id_supplier = '' 07/11/2022 11:57:32 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '6743' , '' , '1' ) 07/11/2022 11:57:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70919' , '11221' , 'VERBUM DOMINI' , '1' , '-1' , '4' , '6.00' , '6' , '0' , '5' , '5.70' ) 07/11/2022 11:57:32 am >> DELETE FROM ps_product_supplier WHERE id_product = '11221' AND id_supplier = '' 07/11/2022 11:57:32 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '11221' , '' , '1' ) 07/11/2022 12:02:03 pm >> SELECT document_num FROM ps_document WHERE document_num = '3066' AND id_document != '66373' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-10-15') 07/11/2022 12:02:03 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '3066', document_date = '2022-10-15', 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 = '16.63', price_tax_excluded = '16.63', date_upd = NOW() WHERE id_document = '66373' 07/11/2022 12:02: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 = '66373' 07/11/2022 12:02:03 pm >> DELETE FROM ps_document_detail WHERE id_document = '66373' 07/11/2022 12:02: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 ( '66373' , '9104' , 'ROSARIO E VEGLIA DI PREGHIERA PER I DEFUNTI - R. GOZZELINO' , '1' , '-1' , '4' , '5.0000' , '5' , '0' , '5' , '4.75' ) 07/11/2022 12:02:03 pm >> DELETE FROM ps_product_supplier WHERE id_product = '9104' AND id_supplier = '' 07/11/2022 12:02:03 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '9104' , '' , '1' ) 07/11/2022 12:02: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 ( '66373' , '9086' , 'ROSARIO CON I DEFUNTI' , '1' , '-1' , '4' , '3.0000' , '3' , '0' , '5' , '2.85' ) 07/11/2022 12:02:03 pm >> DELETE FROM ps_product_supplier WHERE id_product = '9086' AND id_supplier = '' 07/11/2022 12:02:03 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '9086' , '' , '1' ) 07/11/2022 12:02: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 ( '66373' , '16177' , 'ROSARIO PER I DEFUNTI' , '1' , '-1' , '4' , '4.5000' , '4.5' , '0' , '5' , '4.28' ) 07/11/2022 12:02:03 pm >> DELETE FROM ps_product_supplier WHERE id_product = '16177' AND id_supplier = '' 07/11/2022 12:02:03 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16177' , '' , '1' ) 07/11/2022 12:02: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 ( '66373' , '17274' , 'VENITE BENEDETTI DEL PADRE MIO' , '1' , '-1' , '4' , '3.0000' , '3' , '0' , '5' , '2.85' ) 07/11/2022 12:02:03 pm >> DELETE FROM ps_product_supplier WHERE id_product = '17274' AND id_supplier = '' 07/11/2022 12:02:03 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17274' , '' , '1' ) 07/11/2022 12:02: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 ( '66373' , '19805' , 'DESIDERIO DESIDERAVI' , '1' , '-1' , '4' , '1.9' , '1.9' , '0' , '0' , '1.90' ) 07/11/2022 12:02:03 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19805' AND id_supplier = '' 07/11/2022 12:02:03 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19805' , '' , '1' ) 07/11/2022 12:24:09 pm >> SELECT document_num FROM ps_document WHERE document_num = '3367' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 12:24:10 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '3367' , '2022-11-07' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '54.00' , '48.66' , NOW() , NOW() ) 07/11/2022 12:24:10 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '70920' 07/11/2022 12:24:10 pm >> DELETE FROM ps_document_detail WHERE id_document = '70920' 07/11/2022 12:24:10 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70920' , '16689' , 'OSTIA PAN DI CENA mm80' , '3' , '-3' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '6.00' ) 07/11/2022 12:24:10 pm >> DELETE FROM ps_product_supplier WHERE id_product = '16689' AND id_supplier = '' 07/11/2022 12:24:10 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16689' , '' , '1' ) 07/11/2022 12:24:10 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70920' , '16691' , 'PARTICOLE PER CELIACI 25pz' , '1' , '-1' , '3' , '4.00' , '3.8461538461538' , '4' , '0' , '4.00' ) 07/11/2022 12:24:10 pm >> DELETE FROM ps_product_supplier WHERE id_product = '16691' AND id_supplier = '' 07/11/2022 12:24:10 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16691' , '' , '1' ) 07/11/2022 12:24:10 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70920' , '16163' , 'PARTICOLE TAGLIO CHIUSO - PAN DI CENA' , '6' , '-6' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '21.00' ) 07/11/2022 12:24:10 pm >> DELETE FROM ps_product_supplier WHERE id_product = '16163' AND id_supplier = '' 07/11/2022 12:24:10 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16163' , '' , '1' ) 07/11/2022 12:24:10 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70920' , '19818' , 'INCENSO NATURALE 3A KG 1' , '1' , '-1' , '1' , '23.00' , '18.852459016393' , '22' , '0' , '23.00' ) 07/11/2022 12:24:10 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19818' AND id_supplier = '' 07/11/2022 12:24:10 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19818' , '' , '1' ) 07/11/2022 12:24:57 pm >> SELECT document_num FROM ps_document WHERE document_num = '3368' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 12:24:57 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '3368' , '2022-11-07' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '80.00' , '71.06' , NOW() , NOW() ) 07/11/2022 12:24:57 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '70921' 07/11/2022 12:24:57 pm >> DELETE FROM ps_document_detail WHERE id_document = '70921' 07/11/2022 12:24:58 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70921' , '18962' , 'POLO MISTO VISCOSA ML ' , '1' , '-1' , '1' , '49.6' , '40.655737704918' , '22' , '0' , '49.60' ) 07/11/2022 12:24:58 pm >> DELETE FROM ps_product_supplier WHERE id_product = '18962' AND id_supplier = '' 07/11/2022 12:24:58 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18962' , '' , '1' ) 07/11/2022 12:24:58 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70921' , '20250' , 'PREGA MANGIA AMA - L. M. EPICOCO' , '1' , '-1' , '4' , '16.00' , '16' , '0' , '5' , '15.20' ) 07/11/2022 12:24:58 pm >> DELETE FROM ps_product_supplier WHERE id_product = '20250' AND id_supplier = '' 07/11/2022 12:24:58 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20250' , '' , '1' ) 07/11/2022 12:24:58 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70921' , '20247' , 'DI PASQUA IN PASQUA - ANNO A - F. ROSINI' , '1' , '-1' , '4' , '16.00' , '16' , '0' , '5' , '15.20' ) 07/11/2022 12:24:58 pm >> DELETE FROM ps_product_supplier WHERE id_product = '20247' AND id_supplier = '' 07/11/2022 12:24:58 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20247' , '' , '1' ) 07/11/2022 12:45:23 pm >> SELECT document_num FROM ps_document WHERE document_num = '3369' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 12:45:23 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' , '3369' , '2022-11-07' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '42.00' , '34.43' , NOW() , NOW() ) 07/11/2022 12:45:23 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '70922' 07/11/2022 12:45:23 pm >> DELETE FROM ps_document_detail WHERE id_document = '70922' 07/11/2022 12:45:23 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70922' , '6810' , 'MOCCOLO 80X150' , '6' , '-6' , '1' , '7.00' , '5.7377049180328' , '22' , '0' , '42.00' ) 07/11/2022 12:45:23 pm >> DELETE FROM ps_product_supplier WHERE id_product = '6810' AND id_supplier = '' 07/11/2022 12:45:23 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '6810' , '' , '1' ) 07/11/2022 02:12:32 pm >> SELECT document_num FROM ps_document WHERE document_num = '252' AND id_document != '' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 02:12: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' , '252' , '2022-11-07' , '' , '546' , '0' , '4672213' , 'L.GO CHIESA 88050 PETRONA\\\'' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '3' , '0' , '282.21' , '282.21' , NOW() , NOW() ) 07/11/2022 02:12: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 = '70923' 07/11/2022 02:12:32 pm >> DELETE FROM ps_document_detail WHERE id_document = '70923' 07/11/2022 02:12: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 ( '70923' , '4394' , 'GESÙ CI CHIAMA 1 - SCHEDE' , '25' , '-25' , '4' , '3.50' , '3.5' , '0' , '15' , '74.38' ) 07/11/2022 02:12: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 ( '70923' , '4397' , 'GESÙ CI RIVELA IL PADRE 2 - SCHEDE' , '22' , '-22' , '4' , '3.50' , '3.5' , '0' , '15' , '65.45' ) 07/11/2022 02:12: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 ( '70923' , '4495' , 'GESÙ RESTA CON NOI 3 - SCHEDE' , '25' , '-25' , '4' , '3.50' , '3.5' , '0' , '15' , '74.38' ) 07/11/2022 02:12: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 ( '70923' , '12355' , 'VANGELO E ATTI DEGLI APOSTOLI - TASC. CENA' , '50' , '-50' , '4' , '1.60' , '1.6' , '0' , '15' , '68.00' ) 07/11/2022 02:16:44 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('2022-11-07') 07/11/2022 02:16:44 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '21' , '253' , '2022-11-07' , '' , '2320' , '0' , '4671036' , 'VIA CONVENTO, 12 75011 ACCETTURA' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '3' , '0' , '162.19' , '156.06' , NOW() , NOW() ) 07/11/2022 02:16:44 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '70924' 07/11/2022 02:16:44 pm >> DELETE FROM ps_document_detail WHERE id_document = '70924' 07/11/2022 02:16:44 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70924' , '11191' , 'VENITE CON ME 1 PARTE' , '14' , '-14' , '4' , '2.50' , '2.5' , '0' , '15' , '29.75' ) 07/11/2022 02:16:44 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70924' , '11192' , 'VENITE CON ME 2 PARTE' , '12' , '-12' , '4' , '2.50' , '2.5' , '0' , '15' , '25.50' ) 07/11/2022 02:16:44 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70924' , '5457' , 'IO SONO CON VOI 1 PARTE' , '15' , '-15' , '4' , '2.50' , '2.5' , '0' , '15' , '31.88' ) 07/11/2022 02:16:44 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70924' , '5458' , 'IO SONO CON VOI 2 PARTE' , '15' , '-15' , '4' , '2.50' , '2.5' , '0' , '15' , '31.88' ) 07/11/2022 02:16:44 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70924' , '17580' , 'NUOVO MESSALINO PER RAGAZZI' , '2' , '-2' , '4' , '1.90' , '1.9' , '0' , '15' , '3.23' ) 07/11/2022 02:16:44 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70924' , '1829' , 'CATECHISMO PRIMARIO DEI SACRAMENTI' , '2' , '-2' , '4' , '3.50' , '3.5' , '0' , '15' , '5.95' ) 07/11/2022 02:16:44 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70924' , '12816' , 'LIBRO DEI DEFUNTI' , '1' , '-1' , '1' , '40.00' , '32.786885245902' , '22' , '15' , '34.00' ) 07/11/2022 03:38:54 pm >> SELECT document_num FROM ps_document WHERE document_num = '89/A' AND id_document != '70266' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2022-10-31') 07/11/2022 03:38:54 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '89/A', document_date = '2022-10-31', document_letter = 'A', id_customer = '189', id_supplier = '', id_address = '4670598', address1 = 'VIA NAZIONALE APPIA, 128 81022 CASAGIOVE', 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 = '93.00', price_tax_excluded = '93.00', date_upd = NOW() WHERE id_document = '70266' 07/11/2022 03:38: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 = '70266' 07/11/2022 03:38:55 pm >> DELETE FROM ps_document_detail WHERE id_document = '70266' 07/11/2022 03:38:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70266' , '8408' , 'PRENDETE E MANGIATE' , '50' , '-50' , '4' , '3.00' , '3' , '0' , '38' , '93.00' ) 07/11/2022 03:38:55 pm >> DELETE FROM ps_product_supplier WHERE id_product = '8408' AND id_supplier = '' 07/11/2022 03:38:55 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '8408' , '' , '1' ) 07/11/2022 04:17:10 pm >> INSERT INTO ps_product ( ean13 , id_tax_rules_group , `date_add` , `date_upd` ) VALUES ( '' , '1' , NOW() , NOW() ) 07/11/2022 04:17:10 pm >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '20269' , '1' , '' , 'nuovo-prodotto' ) 07/11/2022 04:17:10 pm >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , `date_add` , `date_upd` ) VALUES ( '20269' , '1' , '1' , '2' , NOW() , NOW() ) 07/11/2022 04:17:10 pm >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) VALUES ( '20269' , '0' , '1' , '0' , '0' ) 07/11/2022 04:23:30 pm >> SELECT document_num FROM ps_document WHERE document_num = '245' AND id_document != '70378' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2022-11-05') 07/11/2022 04:23:30 pm >> UPDATE ps_document SET id_document_type = '21', document_num = '245', document_date = '2022-11-05', document_letter = '', id_customer = '3959', id_supplier = '', id_address = '4676367', address1 = 'VIA TOMMASO MARTELLI 13 40138 BOLOGNA', address2 = '', note = '', price_shipping = '5.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '7', id_causal = '0', price_tax_included = '33.14', price_tax_excluded = '33.14', date_upd = NOW() WHERE id_document = '70378' 07/11/2022 04:23:30 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '70378' 07/11/2022 04:23:30 pm >> DELETE FROM ps_document_detail WHERE id_document = '70378' 07/11/2022 04:23:30 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70378' , '15030' , 'PREGHIERE A SAN MICHELE ARCANGELO' , '1' , '-1' , '4' , '1.0000' , '1' , '0' , '5' , '0.95' ) 07/11/2022 04:23:31 pm >> DELETE FROM ps_product_supplier WHERE id_product = '15030' AND id_supplier = '' 07/11/2022 04:23:31 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '15030' , '' , '1' ) 07/11/2022 04:23: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 ( '70378' , '15019' , 'PREGHIAMO CON MARIA' , '1' , '-1' , '4' , '0.8000' , '0.8' , '0' , '5' , '0.76' ) 07/11/2022 04:23:31 pm >> DELETE FROM ps_product_supplier WHERE id_product = '15019' AND id_supplier = '' 07/11/2022 04:23:31 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '15019' , '' , '1' ) 07/11/2022 04:23: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 ( '70378' , '17582' , 'SAN CESARE DE BUS' , '1' , '-1' , '4' , '5.0000' , '5' , '0' , '5' , '4.75' ) 07/11/2022 04:23:31 pm >> DELETE FROM ps_product_supplier WHERE id_product = '17582' AND id_supplier = '' 07/11/2022 04:23:31 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17582' , '' , '1' ) 07/11/2022 04:23: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 ( '70378' , '18629' , 'SPERANZA POSSIBILE?' , '1' , '-1' , '4' , '2.0000' , '2' , '0' , '5' , '1.90' ) 07/11/2022 04:23:31 pm >> DELETE FROM ps_product_supplier WHERE id_product = '18629' AND id_supplier = '' 07/11/2022 04:23:31 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18629' , '' , '1' ) 07/11/2022 04:23: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 ( '70378' , '14330' , '100 GIORNI CON LO SPIRITO' , '1' , '-1' , '4' , '7.5000' , '7.5' , '0' , '5' , '7.13' ) 07/11/2022 04:23:31 pm >> DELETE FROM ps_product_supplier WHERE id_product = '14330' AND id_supplier = '' 07/11/2022 04:23:31 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '14330' , '' , '1' ) 07/11/2022 04:23: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 ( '70378' , '9564' , 'SANTA GERTRUDE DI HELFTA - M. TESCARI' , '1' , '-1' , '4' , '4.0000' , '4' , '0' , '5' , '3.80' ) 07/11/2022 04:23:31 pm >> DELETE FROM ps_product_supplier WHERE id_product = '9564' AND id_supplier = '' 07/11/2022 04:23:31 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '9564' , '' , '1' ) 07/11/2022 04:23: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 ( '70378' , '19561' , 'CARD SAN GIUDA TADDEO' , '1' , '-1' , '0' , '1.6000' , '1.6' , '0' , '0' , '1.60' ) 07/11/2022 04:23:31 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19561' AND id_supplier = '' 07/11/2022 04:23:31 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19561' , '' , '1' ) 07/11/2022 04:23: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 ( '70378' , '6336' , 'MEDAGLIA OVALE DECORATA - S.RITA - G291-D' , '1' , '-1' , '0' , '0.6000' , '0.6' , '0' , '0' , '0.60' ) 07/11/2022 04:23:31 pm >> DELETE FROM ps_product_supplier WHERE id_product = '6336' AND id_supplier = '' 07/11/2022 04:23:31 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '6336' , '' , '1' ) 07/11/2022 04:23: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 ( '70378' , '8206' , 'POTENZE MALEFICHE' , '1' , '-1' , '4' , '7.00' , '7' , '0' , '5' , '6.65' ) 07/11/2022 04:23:31 pm >> DELETE FROM ps_product_supplier WHERE id_product = '8206' AND id_supplier = '' 07/11/2022 04:23:31 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '8206' , '' , '1' ) 07/11/2022 04:25:35 pm >> SELECT document_num FROM ps_document WHERE document_num = '3228' AND id_document != '69700' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-10-28') 07/11/2022 04:25:35 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '3228', document_date = '2022-10-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 = '135.00', price_tax_excluded = '132.83', date_upd = NOW() WHERE id_document = '69700' 07/11/2022 04:25: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 = '69700' 07/11/2022 04:25:35 pm >> DELETE FROM ps_document_detail WHERE id_document = '69700' 07/11/2022 04:25: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 ( '69700' , '16163' , 'PARTICOLE TAGLIO CHIUSO - PAN DI CENA' , '5' , '-5' , '3' , '3.5000' , '3.3653846153846' , '4' , '0' , '17.50' ) 07/11/2022 04:25:35 pm >> DELETE FROM ps_product_supplier WHERE id_product = '16163' AND id_supplier = '' 07/11/2022 04:25:35 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16163' , '' , '1' ) 07/11/2022 04:25: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 ( '69700' , '16689' , 'OSTIA PAN DI CENA mm80' , '3' , '-3' , '3' , '2.0000' , '1.9230769230769' , '4' , '0' , '6.00' ) 07/11/2022 04:25:35 pm >> DELETE FROM ps_product_supplier WHERE id_product = '16689' AND id_supplier = '' 07/11/2022 04:25:35 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16689' , '' , '1' ) 07/11/2022 04:25: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 ( '69700' , '5775' , 'LEZIONARIO PER LE MESSE RITUALI' , '1' , '-1' , '4' , '90.0000' , '90' , '0' , '5' , '85.50' ) 07/11/2022 04:25:35 pm >> DELETE FROM ps_product_supplier WHERE id_product = '5775' AND id_supplier = '' 07/11/2022 04:25:35 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5775' , '' , '1' ) 07/11/2022 04:25: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 ( '69700' , '12819' , 'REGISTRO DEL CATECHISTA ' , '7' , '-7' , '1' , '1.0000' , '0.81967213114754' , '22' , '0' , '7.00' ) 07/11/2022 04:25:35 pm >> DELETE FROM ps_product_supplier WHERE id_product = '12819' AND id_supplier = '' 07/11/2022 04:25:36 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '12819' , '' , '1' ) 07/11/2022 04:25: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 ( '69700' , '11151' , 'LIBRI' , '1' , '-1' , '4' , '3.8' , '3.8' , '0' , '0' , '3.80' ) 07/11/2022 04:25:36 pm >> DELETE FROM ps_product_supplier WHERE id_product = '11151' AND id_supplier = '' 07/11/2022 04:25:36 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '11151' , '' , '1' ) 07/11/2022 04:25: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 ( '69700' , '20250' , 'PREGA MANGIA AMA - L. M. EPICOCO' , '1' , '-1' , '4' , '16.00' , '16' , '0' , '5' , '15.20' ) 07/11/2022 04:25:36 pm >> DELETE FROM ps_product_supplier WHERE id_product = '20250' AND id_supplier = '' 07/11/2022 04:25:36 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20250' , '' , '1' ) 07/11/2022 04:40:00 pm >> SELECT document_num FROM ps_document WHERE document_num = '24/S' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 04:40:00 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 ( '22' , '24/S' , '2022-11-07' , 'S' , '3000' , '0' , '4669629' , 'VIA DEI CASTANI, 116 00172 ROMA' , '' , 'VENDUTO OTTOBRE 2022' , '0' , '4' , '0' , '0' , '0' , '' , '14' , '0' , '2500.15' , '2500.15' , NOW() , NOW() ) 07/11/2022 04:40: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 = '8694' 07/11/2022 04:40:00 pm >> DELETE FROM ps_document_detail WHERE id_document = '8694' 07/11/2022 04:40: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 ( '8694' , '2' , 'I miracoli da colorare. La nascita di Gesù' , '2' , '0' , '4' , '2.50' , '2.5' , '0' , '50' , '2.50' ) 07/11/2022 04:40: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 ( '8694' , '4' , 'I miracoli da colorare. Le nozze di Cana' , '2' , '0' , '4' , '2.00' , '2' , '0' , '50' , '2.00' ) 07/11/2022 04:40: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 ( '8694' , '5' , 'I miracoli da colorare. Gesù e la tempesta sedata' , '2' , '0' , '4' , '1.50' , '1.5' , '0' , '50' , '1.50' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '6' , 'I miracoli da colorare. Il figlio della vedova' , '2' , '0' , '4' , '2.00' , '2' , '0' , '50' , '2.00' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '7' , 'I miracoli da colorare. La pesca miracolosa' , '2' , '0' , '4' , '1.50' , '1.5' , '0' , '50' , '1.50' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '9' , 'PSICOLOGIA PRATICA PER EDUCATORI' , '9' , '0' , '4' , '10.50' , '10.5' , '0' , '50' , '47.25' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '10' , 'I miracoli da colorare. Gesù cammina sulle acque' , '2' , '0' , '4' , '2.00' , '2' , '0' , '50' , '2.00' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '17' , 'LA FEDE NELLO ZAINETTO' , '83' , '0' , '4' , '5.00' , '5' , '0' , '50' , '207.50' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '19' , 'CHIERICHETTI IERI OGGI DOMANI' , '1' , '0' , '4' , '2.50' , '2.5' , '0' , '50' , '1.25' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '124' , 'PREGHIERE DEI RAGAZZI N. E. ' , '68' , '0' , '4' , '1.50' , '1.5' , '0' , '50' , '51.00' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '23' , 'FATE QUESTO IN MEMORIA DI ME' , '95' , '0' , '4' , '2.50' , '2.5' , '0' , '50' , '118.75' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '24' , 'PADRE NOSTRO SPIEGATO AI BAMBINI N. E.' , '87' , '0' , '4' , '2.50' , '2.5' , '0' , '50' , '108.75' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '121' , 'DIZIONARIO DEI SIMBOLI DEL CRISTIANO' , '11' , '0' , '4' , '2.50' , '2.5' , '0' , '50' , '13.75' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '130' , 'ROSARIO SPIEGATO AI BAMBINI - N.E.' , '16' , '0' , '4' , '2.50' , '2.5' , '0' , '50' , '20.00' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '125' , 'MIE PREGHIERINE - N. E.' , '85' , '0' , '4' , '1.50' , '1.5' , '0' , '50' , '63.75' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '33' , '100 GIORNI CON LO SPIRITO' , '4' , '0' , '4' , '7.50' , '7.5' , '0' , '50' , '15.00' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '35' , 'ANGELI - I NOSTRI MIGLIORI AMICI' , '7' , '0' , '4' , '2.50' , '2.5' , '0' , '50' , '8.75' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '42' , 'ALLA SCOPERTA DELLA CASA DI GESU' , '5' , '0' , '4' , '3.00' , '3' , '0' , '50' , '7.50' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '44' , 'GUARDALIBRI: DVD IL CREDO' , '3' , '0' , '4' , '9.90' , '9.9' , '0' , '50' , '14.85' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '50' , 'PERDONAMI SIGNORE' , '6' , '0' , '4' , '2.00' , '2' , '0' , '50' , '6.00' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '55' , 'AVE MARIA ,SPIEGATA AI BAMBINI' , '3' , '0' , '4' , '1.50' , '1.5' , '0' , '50' , '2.25' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '57' , 'ALBUM + BUSTINA AMICO GESÙ' , '482' , '0' , '4' , '2.00' , '2' , '0' , '50' , '482.00' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '58' , 'SCATOLA FIGURINE AMICO GESÙ - 60 BUSTINE' , '10' , '0' , '4' , '30.00' , '30' , '0' , '50' , '150.00' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '74' , 'DIO È , IN DIECI PAROLE' , '9' , '0' , '4' , '4.50' , '4.5' , '0' , '50' , '20.25' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '75' , 'IL SEGNO DELLA CROCE' , '10' , '0' , '4' , '1.50' , '1.5' , '0' , '50' , '7.50' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '94' , 'IL BATTESIMO' , '1' , '0' , '4' , '1.50' , '1.5' , '0' , '50' , '0.75' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '97' , '\"IL NATALE \"\"CHE MERAVIGLIA\"\"\"' , '5' , '0' , '4' , '1.50' , '1.5' , '0' , '50' , '3.75' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '99' , 'AVE MARIA PREGHIERE MARIANE' , '3' , '0' , '4' , '2.00' , '2' , '0' , '50' , '3.00' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '102' , 'LE BEATITUDINI N.EDIZ.' , '12' , '0' , '4' , '2.00' , '2' , '0' , '50' , '12.00' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '127' , 'SPIRITO SANTO SPIEGATO AI RAGAZZI - N.E.' , '35' , '0' , '4' , '2.50' , '2.5' , '0' , '50' , '43.75' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '110' , 'SE MI AMI NON PIANGERE' , '7' , '0' , '4' , '1.5' , '1.5' , '0' , '50' , '5.25' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '111' , 'I NONNI SONO UN TESORO' , '97' , '0' , '4' , '1.80' , '1.8' , '0' , '50' , '87.30' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '123' , 'DIO E IN DIECI PAROLE - COMANDAMENTI' , '5' , '0' , '4' , '3.00' , '3' , '0' , '50' , '7.50' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '115' , 'SAN FRANCESCO DASSISI RACCONTATO AI RAGAZZI N.E.' , '13' , '0' , '4' , '4.00' , '4' , '0' , '50' , '26.00' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '117' , 'La preghiera delle cinque dita n.e.' , '37' , '0' , '4' , '1.5' , '1.5' , '0' , '50' , '27.75' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '118' , 'Il Credo spiegato ai ragazzi n.e.' , '10' , '0' , '4' , '2.50' , '2.5' , '0' , '50' , '12.50' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '132' , 'MINISTRANTI IERI, OGGI, DOMANI' , '78' , '0' , '4' , '2.50' , '2.5' , '0' , '50' , '97.50' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '129' , 'NATALE SPIEGATO AI BAMBINI' , '17' , '0' , '4' , '3.00' , '3' , '0' , '50' , '25.50' ) 07/11/2022 04:40:01 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8694' , '133' , 'LIBRO AGENDA CATTOLICO 2023' , '82' , '0' , '4' , '18.00' , '18' , '0' , '50' , '738.00' ) 07/11/2022 04:40: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 ( '8694' , '126' , 'SACRAMENTO DEL PERDONO' , '52' , '0' , '4' , '2.00' , '2' , '0' , '50' , '52.00' ) 07/11/2022 04:44:42 pm >> SELECT document_num FROM ps_document WHERE document_num = '25/S' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 04:44:42 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 ( '25' , '25/S' , '2022-11-07' , 'S' , '3000' , '0' , '4669629' , 'VIA DEI CASTANI, 116 00172 ROMA' , '' , 'RESA OTTOBRE 2022' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '63.50' , '63.50' , NOW() , NOW() ) 07/11/2022 04:44:42 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 = '8695' 07/11/2022 04:44:42 pm >> DELETE FROM ps_document_detail WHERE id_document = '8695' 07/11/2022 04:44:42 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8695' , '20' , 'GIOVEDÌ SANTO' , '7' , '7' , '4' , '1.50' , '1.5' , '0' , '50' , '5.25' ) 07/11/2022 04:44:42 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8695' , '124' , 'PREGHIERE DEI RAGAZZI N. E. ' , '1' , '1' , '4' , '1.50' , '1.5' , '0' , '50' , '0.75' ) 07/11/2022 04:44:42 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8695' , '23' , 'FATE QUESTO IN MEMORIA DI ME' , '5' , '5' , '4' , '2.50' , '2.5' , '0' , '50' , '6.25' ) 07/11/2022 04:44:42 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8695' , '121' , 'DIZIONARIO DEI SIMBOLI DEL CRISTIANO' , '1' , '1' , '4' , '2.50' , '2.5' , '0' , '50' , '1.25' ) 07/11/2022 04:44:42 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8695' , '130' , 'ROSARIO SPIEGATO AI BAMBINI - N.E.' , '3' , '3' , '4' , '2.50' , '2.5' , '0' , '50' , '3.75' ) 07/11/2022 04:44:42 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8695' , '33' , '100 GIORNI CON LO SPIRITO' , '2' , '2' , '4' , '7.50' , '7.5' , '0' , '50' , '7.50' ) 07/11/2022 04:44:42 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8695' , '67' , 'CON GESU SULLA VIA DELLA CROCE - VIA CRUCIS ' , '12' , '12' , '4' , '2.00' , '2' , '0' , '50' , '12.00' ) 07/11/2022 04:44:42 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8695' , '92' , 'LA PREGHIERA DEL ROSARIO' , '1' , '1' , '4' , '2.50' , '2.5' , '0' , '50' , '1.25' ) 07/11/2022 04:44:42 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8695' , '104' , 'TEMPO DI QUARESIMA' , '7' , '7' , '4' , '1.00' , '1' , '0' , '50' , '3.50' ) 07/11/2022 04:44:42 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8695' , '127' , 'SPIRITO SANTO SPIEGATO AI RAGAZZI - N.E.' , '5' , '5' , '4' , '2.50' , '2.5' , '0' , '50' , '6.25' ) 07/11/2022 04:44:42 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8695' , '110' , 'SE MI AMI NON PIANGERE' , '13' , '13' , '4' , '1.5' , '1.5' , '0' , '50' , '9.75' ) 07/11/2022 04:44:43 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8695' , '132' , 'MINISTRANTI IERI, OGGI, DOMANI' , '2' , '2' , '4' , '2.50' , '2.5' , '0' , '50' , '2.50' ) 07/11/2022 04:44:43 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8695' , '129' , 'NATALE SPIEGATO AI BAMBINI' , '1' , '1' , '4' , '3.00' , '3' , '0' , '50' , '1.50' ) 07/11/2022 04:44:43 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '8695' , '126' , 'SACRAMENTO DEL PERDONO' , '2' , '2' , '4' , '2.00' , '2' , '0' , '50' , '2.00' ) 07/11/2022 04:55:39 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('2022-11-07') 07/11/2022 04:55: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 ( '21' , '254' , '2022-11-07' , '' , '3577' , '0' , '4671090' , 'VIA MAESTRI DEL LAVORO 17 85100 POTENZA' , '' , '' , '5' , '4' , '0' , '0' , '0' , '' , '6' , '0' , '43.60' , '43.60' , NOW() , NOW() ) 07/11/2022 04:55: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 = '70925' 07/11/2022 04:55:39 pm >> DELETE FROM ps_document_detail WHERE id_document = '70925' 07/11/2022 04:55: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 ( '70925' , '2679' , 'CONOSCERE GESU\'' , '12' , '-12' , '4' , '3.50' , '3.5' , '0' , '15' , '35.70' ) 07/11/2022 04:55: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 ( '70925' , '' , 'contrassegno' , '1' , '-1' , '4' , '2.9' , '2.9' , '0' , '0' , '2.90' ) 07/11/2022 06:17:55 pm >> SELECT document_num FROM ps_document WHERE document_num = '3370' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 06:17: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' , '3370' , '2022-11-07' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '2.90' , '2.90' , NOW() , NOW() ) 07/11/2022 06:17: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 = '70926' 07/11/2022 06:17:55 pm >> DELETE FROM ps_document_detail WHERE id_document = '70926' 07/11/2022 06:17: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 ( '70926' , '17583' , 'FRATELLI TUTTI' , '1' , '-1' , '4' , '2.90' , '2.9' , '0' , '0' , '2.90' ) 07/11/2022 06:17:55 pm >> DELETE FROM ps_product_supplier WHERE id_product = '17583' AND id_supplier = '' 07/11/2022 06:17:55 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17583' , '' , '1' ) 07/11/2022 06:29:21 pm >> SELECT document_num FROM ps_document WHERE document_num = '3371' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 06:29:21 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '3371' , '2022-11-07' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '9.00' , '8.64' , NOW() , NOW() ) 07/11/2022 06:29:21 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '70927' 07/11/2022 06:29:21 pm >> DELETE FROM ps_document_detail WHERE id_document = '70927' 07/11/2022 06:29:22 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70927' , '16253' , 'ASPETTANDO NATALE' , '1' , '-1' , '4' , '7.00' , '7' , '0' , '0' , '7.00' ) 07/11/2022 06:29:22 pm >> DELETE FROM ps_product_supplier WHERE id_product = '16253' AND id_supplier = '' 07/11/2022 06:29:22 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16253' , '' , '1' ) 07/11/2022 06:29:22 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '70927' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '2' , '1.6393442622951' , '22' , '0' , '2.00' ) 07/11/2022 06:29:22 pm >> DELETE FROM ps_product_supplier WHERE id_product = '7202' AND id_supplier = '' 07/11/2022 06:29:22 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '7202' , '' , '1' ) 07/11/2022 07:15:16 pm >> SELECT document_num FROM ps_document WHERE document_num = '255' AND id_document != '' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 07:15: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 ( '21' , '255' , '2022-11-07' , '' , '3963' , '' , '4676678' , 'Via Urano Sarti 89 , 89 57128 LIVORNO ' , '' , '' , '' , '0' , '0' , '0' , '0' , '' , '1' , '0' , '99.80' , '99.80' , NOW() , NOW() ) 07/11/2022 07:15: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 = '71439' 07/11/2022 07:15:16 pm >> DELETE FROM ps_document_detail WHERE id_document = '71439' 07/11/2022 07:15: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 ( '71439' , '8488' , 'PRIMA CONFESSIONE E MESSA PRIMA COMUNIONE' , '20' , '-20' , '4' , '2.4000' , '2.4' , '0' , '5' , '45.60' ) 07/11/2022 07:15:16 pm >> DELETE FROM ps_product_supplier WHERE id_product = '8488' AND id_supplier = '' 07/11/2022 07:15:16 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '8488' , '' , '1' ) 07/11/2022 07:15: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 ( '71439' , '8489' , 'PRIMA CONFESSIONE... - GUIDA' , '1' , '-1' , '4' , '6.0000' , '6' , '0' , '5' , '5.70' ) 07/11/2022 07:15:16 pm >> DELETE FROM ps_product_supplier WHERE id_product = '8489' AND id_supplier = '' 07/11/2022 07:15:17 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '8489' , '' , '1' ) 07/11/2022 07:15:17 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '71439' , '11103' , 'VANGELO E ATTI DEGLI APOSTOLI - TASC.' , '30' , '-30' , '4' , '1.6000' , '1.6' , '0' , '5' , '45.60' ) 07/11/2022 07:15:17 pm >> DELETE FROM ps_product_supplier WHERE id_product = '11103' AND id_supplier = '' 07/11/2022 07:15:17 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '11103' , '' , '1' ) 07/11/2022 07:15:17 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '71439' , '' , 'CONTRASSEGNO' , '1' , '-1' , '4' , '2.90' , '2.90' , '' , '0' , '2.90' ) 07/11/2022 07:15:17 pm >> DELETE FROM ps_product_supplier WHERE id_product = '' AND id_supplier = '' 07/11/2022 07:15:17 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '' , '' , '1' ) 07/11/2022 07:15:32 pm >> UPDATE ps_orders SET current_state = '4', delivery_date = '2022-11-07' WHERE id_order = '395' 07/11/2022 07:15:32 pm >> DELETE FROM ps_document WHERE document_num = '395' AND id_document_type = '28' 07/11/2022 07:15:50 pm >> SELECT document_num FROM ps_document WHERE document_num = '255' AND id_document != '71439' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 07:15:50 pm >> UPDATE ps_document SET id_document_type = '21', document_num = '255', document_date = '2022-11-07', document_letter = '', id_customer = '3963', id_supplier = '', id_address = '4676678', address1 = 'Via Urano Sarti 89 , 89 57128 LIVORNO ', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '0', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '6', id_causal = '0', price_tax_included = '99.80', price_tax_excluded = '99.80', date_upd = NOW() WHERE id_document = '71439' 07/11/2022 07:15: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 = '71439' 07/11/2022 07:15:50 pm >> DELETE FROM ps_document_detail WHERE id_document = '71439' 07/11/2022 07:15: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 ( '71439' , '8488' , 'PRIMA CONFESSIONE E MESSA PRIMA COMUNIONE' , '20' , '-20' , '4' , '2.4000' , '2.4' , '0' , '5' , '45.60' ) 07/11/2022 07:15:50 pm >> DELETE FROM ps_product_supplier WHERE id_product = '8488' AND id_supplier = '' 07/11/2022 07:15:50 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '8488' , '' , '1' ) 07/11/2022 07:15: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 ( '71439' , '8489' , 'PRIMA CONFESSIONE... - GUIDA' , '1' , '-1' , '4' , '6.0000' , '6' , '0' , '5' , '5.70' ) 07/11/2022 07:15:50 pm >> DELETE FROM ps_product_supplier WHERE id_product = '8489' AND id_supplier = '' 07/11/2022 07:15:50 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '8489' , '' , '1' ) 07/11/2022 07:15: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 ( '71439' , '11103' , 'VANGELO E ATTI DEGLI APOSTOLI - TASC.' , '30' , '-30' , '4' , '1.6000' , '1.6' , '0' , '5' , '45.60' ) 07/11/2022 07:15:50 pm >> DELETE FROM ps_product_supplier WHERE id_product = '11103' AND id_supplier = '' 07/11/2022 07:15:50 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '11103' , '' , '1' ) 07/11/2022 07:15: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 ( '71439' , '0' , 'CONTRASSEGNO' , '1' , '-1' , '4' , '2.9000' , '2.9' , '0' , '0' , '2.90' ) 07/11/2022 07:15:50 pm >> DELETE FROM ps_product_supplier WHERE id_product = '0' AND id_supplier = '' 07/11/2022 07:15:50 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '0' , '' , '1' ) 07/11/2022 07:58:55 pm >> SELECT document_num FROM ps_document WHERE document_num = '3372' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 07:58: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' , '3372' , '2022-11-07' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '104.50' , '104.50' , NOW() , NOW() ) 07/11/2022 07:58: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 = '71440' 07/11/2022 07:58:55 pm >> DELETE FROM ps_document_detail WHERE id_document = '71440' 07/11/2022 07:58: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 ( '71440' , '17329' , 'MESSALE ROMANO DALTARE N.E' , '1' , '-1' , '4' , '110.00' , '110' , '0' , '5' , '104.50' ) 07/11/2022 07:58:55 pm >> DELETE FROM ps_product_supplier WHERE id_product = '17329' AND id_supplier = '' 07/11/2022 07:58:55 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17329' , '' , '1' ) 07/11/2022 07:59:50 pm >> SELECT document_num FROM ps_document WHERE document_num = '3373' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-11-07') 07/11/2022 07:59: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' , '3373' , '2022-11-07' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '6.85' , '6.81' , NOW() , NOW() ) 07/11/2022 07:59: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 = '71441' 07/11/2022 07:59:50 pm >> DELETE FROM ps_document_detail WHERE id_document = '71441' 07/11/2022 07:59: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 ( '71441' , '19468' , 'CORONA DELLE ROSE BIGLIETTO - 31111' , '1' , '-1' , '1' , '0.20' , '0.16393442622951' , '22' , '0' , '0.20' ) 07/11/2022 07:59:50 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19468' AND id_supplier = '' 07/11/2022 07:59:50 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19468' , '' , '1' ) 07/11/2022 07:59: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 ( '71441' , '19909' , 'SULLA TUA PAROLA - NOV/DIC 2022' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 07/11/2022 07:59:50 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19909' AND id_supplier = '' 07/11/2022 07:59:50 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19909' , '' , '1' ) 07/11/2022 07:59: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 ( '71441' , '13083' , 'PREGHIERA PER I DEFUNTI' , '1' , '-1' , '4' , '2.00' , '2' , '0' , '5' , '1.90' ) 07/11/2022 07:59:50 pm >> DELETE FROM ps_product_supplier WHERE id_product = '13083' AND id_supplier = '' 07/11/2022 07:59:50 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '13083' , '' , '1' )