31/05/2023 09:06:48 am >> INSERT INTO ps_product ( ean13 , id_tax_rules_group , `date_add` , `date_upd` ) VALUES ( '' , '1' , NOW() , NOW() ) 31/05/2023 09:06:48 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '21138' , '1' , '' , 'nuovo-prodotto' ) 31/05/2023 09:06:48 am >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , `date_add` , `date_upd` ) VALUES ( '21138' , '1' , '1' , '2' , NOW() , NOW() ) 31/05/2023 09:06:48 am >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) VALUES ( '21138' , '0' , '1' , '0' , '0' ) 31/05/2023 09:07:38 am >> SELECT ean13 FROM ps_product WHERE ean13 = '70/140' AND id_product != '21138' AND ean13 != '' 31/05/2023 09:07:38 am >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '70/140', date_upd = NOW() WHERE id_product = '21138' 31/05/2023 09:07:38 am >> UPDATE ps_product_lang SET name = 'STOLA RASO MISTO SETA RICAMO ORO - 70/140', description = '' WHERE id_product = '21138' 31/05/2023 09:07:38 am >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '0.0000' WHERE id_product = '21138' 31/05/2023 09:07:38 am >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '0.0000', id_tax_rules_group = '1', id_category_default = '450', 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 = '21138' 31/05/2023 09:07:38 am >> DELETE FROM ps_specific_price WHERE id_product = '21138' 31/05/2023 09:07:58 am >> SELECT ean13 FROM ps_product WHERE ean13 = '70/140' AND id_product != '21138' AND ean13 != '' 31/05/2023 09:07:58 am >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '70/140', date_upd = NOW() WHERE id_product = '21138' 31/05/2023 09:07:58 am >> UPDATE ps_product_lang SET name = 'STOLA RASO MISTO SETA RICAMO ORO - 70/140', description = '' WHERE id_product = '21138' 31/05/2023 09:07:58 am >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '1959.016393442623' WHERE id_product = '21138' 31/05/2023 09:07:58 am >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '1959.016393442623', id_tax_rules_group = '1', id_category_default = '450', 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 = '21138' 31/05/2023 09:07:58 am >> DELETE FROM ps_specific_price WHERE id_product = '21138' 31/05/2023 09:09: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 ( '33' , '5505/2023' , '2023-05-24' , '2023' , '0' , '129' , '4670237' , 'VIA ROMA, 10 54035 FOSDINOVO' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '1421.30' , '1165.00' , NOW() , NOW() ) 31/05/2023 09:09: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 = '85649' 31/05/2023 09:09:56 am >> DELETE FROM ps_document_detail WHERE id_document = '85649' 31/05/2023 09:09: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 ( '85649' , '21138' , 'STOLA RASO MISTO SETA RICAMO ORO - 70/140' , '1' , '1' , '1' , '1165' , '954.91803278689' , '22' , '0' , '1421.3000' ) 31/05/2023 09:09:56 am >> DELETE FROM ps_product_supplier WHERE id_product = '21138' AND id_supplier = '129' 31/05/2023 09:09:56 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21138' , '129' , '1' ) 31/05/2023 10:12:18 am >> SELECT document_num FROM ps_document WHERE document_num = '1908' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-05-31') 31/05/2023 10:12:18 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' , '1908' , '2023-05-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '20.00' , '19.23' , NOW() , NOW() ) 31/05/2023 10:12:18 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 = '85650' 31/05/2023 10:12:18 am >> DELETE FROM ps_document_detail WHERE id_document = '85650' 31/05/2023 10:12:18 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 ( '85650' , '16689' , 'OSTIA PAN DI CENA mm80' , '10' , '-10' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '20.00' ) 31/05/2023 10:21:10 am >> SELECT document_num FROM ps_document WHERE document_num = '1909' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-05-31') 31/05/2023 10:21:10 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '1909' , '2023-05-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '169.00' , '138.52' , NOW() , NOW() ) 31/05/2023 10:21:10 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '85651' 31/05/2023 10:21:10 am >> DELETE FROM ps_document_detail WHERE id_document = '85651' 31/05/2023 10:21:10 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85651' , '19395' , 'CLERGY MISTO COTONE ML - C01' , '1' , '-1' , '1' , '37.00' , '30.327868852459' , '22' , '0' , '37.00' ) 31/05/2023 10:21:10 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85651' , '19397' , 'CLERGY COTONE 100% ML - C02' , '1' , '-1' , '1' , '40.00' , '32.786885245902' , '22' , '0' , '40.00' ) 31/05/2023 10:21:10 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85651' , '19396' , 'CLERGY MISTO COTONE MM - C01' , '2' , '-2' , '1' , '36.50' , '29.918032786885' , '22' , '0' , '73.00' ) 31/05/2023 10:21:10 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85651' , '19253' , 'bruciaincenso cm 9' , '1' , '-1' , '1' , '19.00' , '15.573770491803' , '22' , '0' , '19.00' ) 31/05/2023 11:02:43 am >> SELECT document_num FROM ps_document WHERE document_num = '1821' AND id_document != '85547' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-05-25') 31/05/2023 11:02:43 am >> UPDATE ps_document SET id_document_type = '11', document_num = '1821', document_date = '2023-05-25', 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 = '47.40', price_tax_excluded = '38.85', date_upd = NOW() WHERE id_document = '85547' 31/05/2023 11:02: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 = '85547' 31/05/2023 11:02:43 am >> DELETE FROM ps_document_detail WHERE id_document = '85547' 31/05/2023 11:02:43 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 ( '85547' , '6075' , 'LOURDES BABY - 023 LDS/9 BB' , '1' , '-1' , '1' , '9.0000' , '7.3770491803279' , '22' , '0' , '9.00' ) 31/05/2023 11:02:43 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 ( '85547' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '15' , '12.295081967213' , '22' , '0' , '15.00' ) 31/05/2023 11:02:43 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 ( '85547' , '12684' , 'SAN PAOLO - 244' , '3' , '-3' , '1' , '3.8000' , '3.1147540983607' , '22' , '0' , '11.40' ) 31/05/2023 11:02:43 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 ( '85547' , '18217' , 'BRACCIALE DECINA PIETRE - BD019' , '1' , '-1' , '1' , '2.00' , '1.6393442622951' , '22' , '0' , '2.00' ) 31/05/2023 11:02:43 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 ( '85547' , '18217' , 'BRACCIALE DECINA PIETRE - BD019' , '1' , '-1' , '1' , '2.00' , '1.6393442622951' , '22' , '0' , '2.00' ) 31/05/2023 11:02:43 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 ( '85547' , '18899' , 'BRACCIALE DECINA LEGNO - BC169' , '1' , '-1' , '1' , '2.00' , '1.6393442622951' , '22' , '0' , '2.00' ) 31/05/2023 11:02: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 ( '85547' , '17277' , 'BRACCIALE PIETRE DURE - 4633' , '1' , '-1' , '1' , '6' , '4.9180327868852' , '22' , '0' , '6.00' ) 31/05/2023 11:04:10 am >> SELECT document_num FROM ps_document WHERE document_num = '1848' AND id_document != '85584' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-05-27') 31/05/2023 11:04:10 am >> UPDATE ps_document SET id_document_type = '11', document_num = '1848', document_date = '2023-05-27', 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 = '85.00', price_tax_excluded = '72.07', date_upd = NOW() WHERE id_document = '85584' 31/05/2023 11:04:10 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '85584' 31/05/2023 11:04:10 am >> DELETE FROM ps_document_detail WHERE id_document = '85584' 31/05/2023 11:04:10 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85584' , '18709' , 'SPIRITO SANTO' , '1' , '-1' , '4' , '14.0000' , '14' , '0' , '5' , '13.30' ) 31/05/2023 11:04:10 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85584' , '7931' , 'PERGAMENE - CRESIMA MOD. A' , '50' , '-50' , '1' , '0.5000' , '0.40983606557377' , '22' , '0' , '25.00' ) 31/05/2023 11:04:10 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85584' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '23.7' , '19.426229508197' , '22' , '0' , '23.70' ) 31/05/2023 11:04:10 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85584' , '21090' , 'ANELLO ARG. - 6269' , '1' , '-1' , '1' , '23.00' , '18.852459016393' , '22' , '0' , '23.00' ) 31/05/2023 11:38:41 am >> SELECT document_num FROM ps_document WHERE document_num = '1841' AND id_document != '85572' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-05-26') 31/05/2023 11:38:41 am >> UPDATE ps_document SET id_document_type = '11', document_num = '1841', document_date = '2023-05-26', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = '', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '50.00', price_tax_excluded = '40.98', date_upd = NOW() WHERE id_document = '85572' 31/05/2023 11:38:41 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 = '85572' 31/05/2023 11:38:41 am >> DELETE FROM ps_document_detail WHERE id_document = '85572' 31/05/2023 11:38:41 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 ( '85572' , '18618' , 'MEDAGLIA SAN MICHELE - OV22/MC' , '4' , '-4' , '1' , '0.25' , '0.20491803278689' , '22' , '0' , '1.00' ) 31/05/2023 11:38:41 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 ( '85572' , '18682' , 'CLERGY ROMANO ML - C17' , '1' , '-1' , '1' , '49.00' , '40.16393442623' , '22' , '0' , '49.00' ) 31/05/2023 11:45:07 am >> SELECT document_num FROM ps_document WHERE document_num = '1910' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-05-31') 31/05/2023 11:45:07 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' , '1910' , '2023-05-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '6.90' , '6.36' , NOW() , NOW() ) 31/05/2023 11:45:07 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '85652' 31/05/2023 11:45:07 am >> DELETE FROM ps_document_detail WHERE id_document = '85652' 31/05/2023 11:45:07 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85652' , '21057' , 'MIA CONFESSIONE' , '1' , '-1' , '4' , '3.90' , '3.9' , '0' , '0' , '3.90' ) 31/05/2023 11:45:07 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85652' , '19316' , 'SCATOLINA METALLO CON CORONCINA CONFESSIONE - 1016/K159' , '1' , '-1' , '1' , '3.00' , '2.4590163934426' , '22' , '0' , '3.00' ) 31/05/2023 11:50:14 am >> SELECT document_num FROM ps_document WHERE document_num = '1524' AND id_document != '84165' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-05-05') 31/05/2023 11:50:14 am >> UPDATE ps_document SET id_document_type = '11', document_num = '1524', document_date = '2023-05-05', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = '', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '40.00', price_tax_excluded = '32.79', date_upd = NOW() WHERE id_document = '84165' 31/05/2023 11:50: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 = '84165' 31/05/2023 11:50:14 am >> DELETE FROM ps_document_detail WHERE id_document = '84165' 31/05/2023 11:50: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 ( '84165' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '10' , '8.1967213114754' , '22' , '0' , '10.00' ) 31/05/2023 11:50: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 ( '84165' , '1350' , 'BRACCIALETTO CON CROCE - 29002 03' , '2' , '-2' , '1' , '3.0000' , '2.4590163934426' , '22' , '0' , '6.00' ) 31/05/2023 11:50: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 ( '84165' , '18617' , 'MEDAGLIA MIRACOLOSA - OV22/M' , '12' , '-12' , '1' , '0.2500' , '0.20491803278689' , '22' , '0' , '3.00' ) 31/05/2023 11:50: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 ( '84165' , '14064' , 'STELLARIO PLEX CM 16' , '1' , '-1' , '1' , '13.5000' , '11.065573770492' , '22' , '0' , '13.50' ) 31/05/2023 11:50: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 ( '84165' , '8311' , 'PREGHIERA PER GLI ANZIANI - 15' , '50' , '-50' , '1' , '0.15' , '0.12295081967213' , '22' , '0' , '7.50' ) 31/05/2023 12:19:20 pm >> SELECT document_num FROM ps_document WHERE document_num = '1911' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-05-31') 31/05/2023 12:19:20 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' , '1911' , '2023-05-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '4.00' , '3.85' , NOW() , NOW() ) 31/05/2023 12:19:20 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 = '85653' 31/05/2023 12:19:20 pm >> DELETE FROM ps_document_detail WHERE id_document = '85653' 31/05/2023 12:19:20 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85653' , '16691' , 'PARTICOLE PER CELIACI 25pz' , '1' , '-1' , '3' , '4.00' , '3.8461538461538' , '4' , '0' , '4.00' ) 31/05/2023 12:32:57 pm >> SELECT document_num FROM ps_document WHERE document_num = '906' AND id_document != '82383' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-03-21') 31/05/2023 12:32:57 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '906', document_date = '2023-03-21', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = '', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '362.00', price_tax_excluded = '297.08', date_upd = NOW() WHERE id_document = '82383' 31/05/2023 12:32: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 = '82383' 31/05/2023 12:32:57 pm >> DELETE FROM ps_document_detail WHERE id_document = '82383' 31/05/2023 12:32:57 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '82383' , '10119' , 'SPE SALVI' , '1' , '-1' , '4' , '2.0000' , '2' , '0' , '0' , '2.00' ) 31/05/2023 12:32:57 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '82383' , '18019' , 'RELIQUIARIO DORATO H 18' , '1' , '-1' , '1' , '85.0000' , '69.672131147541' , '22' , '0' , '85.00' ) 31/05/2023 12:32:57 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '82383' , '20848' , 'CAMICE MONASTICO CON CAPPUCCIO - 21MON' , '1' , '-1' , '1' , '215.0000' , '176.22950819672' , '22' , '0' , '215.00' ) 31/05/2023 12:32:57 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '82383' , '19396' , 'CLERGY MISTO COTONE MM - C01' , '2' , '-2' , '1' , '30' , '24.590163934426' , '22' , '0' , '60.00' ) 31/05/2023 12:33:45 pm >> SELECT document_num FROM ps_document WHERE document_num = '977' AND id_document != '82471' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-03-25') 31/05/2023 12:33:45 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '977', document_date = '2023-03-25', 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 = '60.00', price_tax_excluded = '49.18', date_upd = NOW() WHERE id_document = '82471' 31/05/2023 12:33:45 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '82471' 31/05/2023 12:33:45 pm >> DELETE FROM ps_document_detail WHERE id_document = '82471' 31/05/2023 12:33:45 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '82471' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '23.5' , '19.262295081967' , '22' , '0' , '23.50' ) 31/05/2023 12:33:45 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '82471' , '19396' , 'CLERGY MISTO COTONE MM - C01' , '1' , '-1' , '1' , '36.50' , '29.918032786885' , '22' , '0' , '36.50' ) 31/05/2023 12:34:04 pm >> SELECT document_num FROM ps_document WHERE document_num = '1049' AND id_document != '82552' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-03-30') 31/05/2023 12:34:04 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '1049', document_date = '2023-03-30', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = '', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '37.00', price_tax_excluded = '30.33', date_upd = NOW() WHERE id_document = '82552' 31/05/2023 12:34:04 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '82552' 31/05/2023 12:34:04 pm >> DELETE FROM ps_document_detail WHERE id_document = '82552' 31/05/2023 12:34:04 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '82552' , '21132' , 'CLERGY F/F MC' , '1' , '-1' , '1' , '37' , '30.327868852459' , '22' , '0' , '37.00' ) 31/05/2023 12:47:45 pm >> SELECT document_num FROM ps_document WHERE document_num = '1912' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-05-31') 31/05/2023 12:47:45 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' , '1912' , '2023-05-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '62.50' , '51.23' , NOW() , NOW() ) 31/05/2023 12:47:45 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '85654' 31/05/2023 12:47:45 pm >> DELETE FROM ps_document_detail WHERE id_document = '85654' 31/05/2023 12:47:45 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85654' , '18222' , 'ROSARIO COLORATO - R316' , '75' , '-75' , '1' , '0.70' , '0.57377049180328' , '22' , '0' , '52.50' ) 31/05/2023 12:47:45 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85654' , '20885' , 'BIGLIETTI SANTINI X 100 PZ' , '1' , '-1' , '1' , '10.00' , '8.1967213114754' , '22' , '0' , '10.00' ) 31/05/2023 03:01:55 pm >> SELECT document_num FROM ps_document WHERE document_num = '1913' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-05-31') 31/05/2023 03:01: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' , '1913' , '2023-05-31' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '260.00' , '213.11' , NOW() , NOW() ) 31/05/2023 03:01: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 = '85655' 31/05/2023 03:01:55 pm >> DELETE FROM ps_document_detail WHERE id_document = '85655' 31/05/2023 03:01: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 ( '85655' , '18079' , 'AUSILIATRICE CM 60 - PA613' , '1' , '-1' , '1' , '260.00' , '213.11475409836' , '22' , '0' , '260.00' ) 31/05/2023 03:38:43 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '32' , '2023 - FV 898' , '2023-05-31' , '' , '0' , '79' , '2686' , 'CITTA\\\' DEL VATICANO 00120 CITTA\\\' DEL VATICANO' , '' , '' , '13' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '756.13' , '756.13' , NOW() , NOW() ) 31/05/2023 03:38:43 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '85656' 31/05/2023 03:38:43 pm >> DELETE FROM ps_document_detail WHERE id_document = '85656' 31/05/2023 03:38: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 ( '85656' , '5774' , 'LEZIONARIO PER LE CELEBRAZIONI DEI SANTI' , '1' , '0' , '4' , '90.0000' , '90' , '0' , '35' , '58.50' ) 31/05/2023 03:38:43 pm >> DELETE FROM ps_product_supplier WHERE id_product = '5774' AND id_supplier = '79' 31/05/2023 03:38:43 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5774' , '79' , '1' ) 31/05/2023 03:38: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 ( '85656' , '5757' , 'LEZIONARI KIT FERIALE' , '1' , '0' , '4' , '150.0000' , '150' , '0' , '35' , '97.50' ) 31/05/2023 03:38:43 pm >> DELETE FROM ps_product_supplier WHERE id_product = '5757' AND id_supplier = '79' 31/05/2023 03:38:43 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5757' , '79' , '1' ) 31/05/2023 03:38: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 ( '85656' , '5759' , 'LEZIONARIO DOMENICALE E FESTIVO ANNO A' , '1' , '0' , '4' , '60.0000' , '60' , '0' , '30' , '42.00' ) 31/05/2023 03:38:43 pm >> DELETE FROM ps_product_supplier WHERE id_product = '5759' AND id_supplier = '79' 31/05/2023 03:38:43 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5759' , '79' , '1' ) 31/05/2023 03:38: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 ( '85656' , '17330' , 'MESSALE ROMANO DALTARE N. E. TAGLIO ORO' , '2' , '0' , '4' , '130.0000' , '130' , '0' , '30' , '182.00' ) 31/05/2023 03:38:43 pm >> DELETE FROM ps_product_supplier WHERE id_product = '17330' AND id_supplier = '79' 31/05/2023 03:38:43 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17330' , '79' , '1' ) 31/05/2023 03:38: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 ( '85656' , '17329' , 'MESSALE ROMANO DALTARE N.E' , '2' , '0' , '4' , '110.0000' , '110' , '0' , '30' , '154.00' ) 31/05/2023 03:38:43 pm >> DELETE FROM ps_product_supplier WHERE id_product = '17329' AND id_supplier = '79' 31/05/2023 03:38:43 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17329' , '79' , '1' ) 31/05/2023 03:38: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 ( '85656' , '5762' , 'LEZIONARIO E RITO DEL MATRIMONIO - KIT 2 VOL.' , '1' , '0' , '4' , '25.0000' , '25' , '0' , '35' , '16.25' ) 31/05/2023 03:38:43 pm >> DELETE FROM ps_product_supplier WHERE id_product = '5762' AND id_supplier = '79' 31/05/2023 03:38:43 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5762' , '79' , '1' ) 31/05/2023 03:38: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 ( '85656' , '1727' , 'CARITAS IN VERITATE' , '1' , '0' , '4' , '2.0000' , '2' , '0' , '45' , '1.10' ) 31/05/2023 03:38:43 pm >> DELETE FROM ps_product_supplier WHERE id_product = '1727' AND id_supplier = '79' 31/05/2023 03:38:43 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '1727' , '79' , '1' ) 31/05/2023 03:38: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 ( '85656' , '3385' , 'DEUS CARITAS EST' , '1' , '0' , '4' , '3.5000' , '3.5' , '0' , '45' , '1.93' ) 31/05/2023 03:38:43 pm >> DELETE FROM ps_product_supplier WHERE id_product = '3385' AND id_supplier = '79' 31/05/2023 03:38:43 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '3385' , '79' , '1' ) 31/05/2023 03:38: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 ( '85656' , '3419' , 'DIARIO LA MISERICORDIA DIVINA - S. FAUSTINA K.' , '1' , '0' , '4' , '13.0000' , '13' , '0' , '30' , '9.10' ) 31/05/2023 03:38:43 pm >> DELETE FROM ps_product_supplier WHERE id_product = '3419' AND id_supplier = '79' 31/05/2023 03:38:43 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '3419' , '79' , '1' ) 31/05/2023 03:38: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 ( '85656' , '19122' , 'FORMA DI VITA EREMITICA' , '2' , '0' , '4' , '7.0000' , '7' , '0' , '45' , '7.70' ) 31/05/2023 03:38:43 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19122' AND id_supplier = '79' 31/05/2023 03:38:43 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19122' , '79' , '1' ) 31/05/2023 03:38: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 ( '85656' , '17862' , 'DALLINFORMATICA AL CIELO C. ACUTIS - N. GORI' , '1' , '0' , '4' , '12.0000' , '12' , '0' , '45' , '6.60' ) 31/05/2023 03:38:43 pm >> DELETE FROM ps_product_supplier WHERE id_product = '17862' AND id_supplier = '79' 31/05/2023 03:38:43 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17862' , '79' , '1' ) 31/05/2023 03:38: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 ( '85656' , '15024' , 'CATECHISMO DELLA CHIESA CATTOLICA N.E.' , '3' , '0' , '4' , '13.0000' , '13' , '0' , '45' , '21.45' ) 31/05/2023 03:38:44 pm >> DELETE FROM ps_product_supplier WHERE id_product = '15024' AND id_supplier = '79' 31/05/2023 03:38:44 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '15024' , '79' , '1' ) 31/05/2023 03:38: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 ( '85656' , '21126' , 'CALENDARIO 2024 TOTUS TUUS' , '2' , '0' , '4' , '5.0000' , '5' , '0' , '45' , '5.50' ) 31/05/2023 03:38:44 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21126' AND id_supplier = '79' 31/05/2023 03:38:44 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21126' , '79' , '1' ) 31/05/2023 03:38: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 ( '85656' , '5774' , 'LEZIONARIO PER LE CELEBRAZIONI DEI SANTI' , '1' , '0' , '4' , '90.0000' , '90' , '0' , '35' , '58.50' ) 31/05/2023 03:38:44 pm >> DELETE FROM ps_product_supplier WHERE id_product = '5774' AND id_supplier = '79' 31/05/2023 03:38:44 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5774' , '79' , '1' ) 31/05/2023 03:38: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 ( '85656' , '18956' , 'LEZIONARIO DOMENICALE E FESTIVO ANNO B' , '1' , '0' , '4' , '60.0000' , '60' , '0' , '30' , '42.00' ) 31/05/2023 03:38:44 pm >> DELETE FROM ps_product_supplier WHERE id_product = '18956' AND id_supplier = '79' 31/05/2023 03:38:44 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18956' , '79' , '1' ) 31/05/2023 03:38: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 ( '85656' , '20798' , 'LEZIONARIO FESTIVO ANNO C' , '1' , '0' , '4' , '60.0000' , '60' , '0' , '35' , '39.00' ) 31/05/2023 03:38:44 pm >> DELETE FROM ps_product_supplier WHERE id_product = '20798' AND id_supplier = '79' 31/05/2023 03:38:44 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20798' , '79' , '1' ) 31/05/2023 05:13:42 pm >> SELECT document_num FROM ps_document WHERE document_num = '1902' AND id_document != '85641' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-05-30') 31/05/2023 05:13:42 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '1902', document_date = '2023-05-30', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = '', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '15.00', price_tax_excluded = '12.30', date_upd = NOW() WHERE id_document = '85641' 31/05/2023 05:13: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 = '85641' 31/05/2023 05:13:42 pm >> DELETE FROM ps_document_detail WHERE id_document = '85641' 31/05/2023 05:13: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 ( '85641' , '7915' , 'PERGAMENE - 1A COMUNIONE MOD. D' , '50' , '-50' , '1' , '0.3' , '0.24590163934426' , '22' , '0' , '15.00' ) 31/05/2023 06:27:24 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '32' , '2023010001071' , '2023-05-31' , '' , '0' , '107' , '4669100' , 'VIA DEI CASTANI, 116 00172 ROMA' , '' , '' , '12' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '177.16' , '177.16' , NOW() , NOW() ) 31/05/2023 06:27:24 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '85657' 31/05/2023 06:27:24 pm >> DELETE FROM ps_document_detail WHERE id_document = '85657' 31/05/2023 06:27:24 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85657' , '20139' , 'BANALITA DEL MALE - V. SERPE' , '3' , '0' , '4' , '12.0000' , '12' , '0' , '35' , '23.40' ) 31/05/2023 06:27:24 pm >> DELETE FROM ps_product_supplier WHERE id_product = '20139' AND id_supplier = '107' 31/05/2023 06:27:24 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20139' , '107' , '1' ) 31/05/2023 06:27:24 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85657' , '18810' , 'ANTIFONE - E. DELLA CORTE' , '1' , '0' , '4' , '10.0000' , '10' , '0' , '35' , '6.50' ) 31/05/2023 06:27:24 pm >> DELETE FROM ps_product_supplier WHERE id_product = '18810' AND id_supplier = '107' 31/05/2023 06:27:24 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18810' , '107' , '1' ) 31/05/2023 06:27:24 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85657' , '18314' , 'FARE DI CRISTO IL CUORE... FESTIVO - E. DELLA CORTE' , '1' , '0' , '4' , '19.0000' , '19' , '0' , '35' , '12.35' ) 31/05/2023 06:27:24 pm >> DELETE FROM ps_product_supplier WHERE id_product = '18314' AND id_supplier = '107' 31/05/2023 06:27:24 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18314' , '107' , '1' ) 31/05/2023 06:27:24 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85657' , '21038' , 'CONVERSAZIONI SULLA CHIESA' , '1' , '0' , '4' , '18.00' , '18' , '0' , '35' , '11.7000' ) 31/05/2023 06:27:24 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21038' AND id_supplier = '107' 31/05/2023 06:27:25 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21038' , '107' , '1' ) 31/05/2023 06:27:25 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85657' , '19138' , 'ATTO DI ABBANDONO - D. D. RUOTOLO' , '10' , '0' , '4' , '1.0000' , '1' , '0' , '35' , '6.50' ) 31/05/2023 06:27:25 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19138' AND id_supplier = '107' 31/05/2023 06:27:25 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19138' , '107' , '1' ) 31/05/2023 06:27:25 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85657' , '13780' , 'RISCOPRIAMO LA BELLEZZA DEL BATTESIMO' , '2' , '0' , '4' , '5.0000' , '5' , '0' , '30' , '7.00' ) 31/05/2023 06:27:25 pm >> DELETE FROM ps_product_supplier WHERE id_product = '13780' AND id_supplier = '107' 31/05/2023 06:27:25 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '13780' , '107' , '1' ) 31/05/2023 06:27:25 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85657' , '21070' , 'A GESU CON FRANCESCO E C. ACUTIS - FERREIRA/CALVARESE' , '2' , '0' , '4' , '3.5000' , '3.5' , '0' , '35' , '4.55' ) 31/05/2023 06:27:25 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21070' AND id_supplier = '107' 31/05/2023 06:27:25 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21070' , '107' , '1' ) 31/05/2023 06:27:25 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85657' , '21071' , 'SANTIGNAZIO DI LOYOLA AUTOBIOGRAFIA' , '1' , '0' , '4' , '5.0000' , '5' , '0' , '35' , '3.25' ) 31/05/2023 06:27:25 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21071' AND id_supplier = '107' 31/05/2023 06:27:25 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21071' , '107' , '1' ) 31/05/2023 06:27:25 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85657' , '21072' , 'INSEGNACI A PREGARE - A. BARBI' , '1' , '0' , '4' , '22.9000' , '22.9' , '0' , '35' , '14.89' ) 31/05/2023 06:27:25 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21072' AND id_supplier = '107' 31/05/2023 06:27:25 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21072' , '107' , '1' ) 31/05/2023 06:27:25 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85657' , '21073' , 'SUI PASSI DI ELIA - M. CROCIATA' , '1' , '0' , '4' , '14.5000' , '14.5' , '0' , '35' , '9.43' ) 31/05/2023 06:27:25 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21073' AND id_supplier = '107' 31/05/2023 06:27:25 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21073' , '107' , '1' ) 31/05/2023 06:27:25 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85657' , '21074' , 'SACERDOZIO MINISTERIALE E VITA ' , '1' , '0' , '4' , '30.0000' , '30' , '0' , '35' , '19.50' ) 31/05/2023 06:27:25 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21074' AND id_supplier = '107' 31/05/2023 06:27:25 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21074' , '107' , '1' ) 31/05/2023 06:27:25 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85657' , '21075' , 'ECCLESIOLOGIA DI J. RATZINGER' , '1' , '0' , '4' , '18.0000' , '18' , '0' , '35' , '11.70' ) 31/05/2023 06:27:25 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21075' AND id_supplier = '107' 31/05/2023 06:27:25 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21075' , '107' , '1' ) 31/05/2023 06:27:25 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85657' , '21076' , 'RACCONTARE LA FEDE AI GIOVANI ' , '1' , '0' , '4' , '15.0000' , '15' , '0' , '35' , '9.75' ) 31/05/2023 06:27:25 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21076' AND id_supplier = '107' 31/05/2023 06:27:25 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21076' , '107' , '1' ) 31/05/2023 06:27:25 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85657' , '21077' , 'ROSARIO UN VIAGGIO CHE CAMBIA LA VITA - SUOR E. MAILLARD' , '1' , '0' , '4' , '12.0000' , '12' , '0' , '35' , '7.80' ) 31/05/2023 06:27:25 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21077' AND id_supplier = '107' 31/05/2023 06:27:25 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21077' , '107' , '1' ) 31/05/2023 06:27:25 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85657' , '21078' , 'VITA DI SUOR MARGHERITA - L. DE CISSEY' , '1' , '0' , '4' , '15.9000' , '15.9' , '0' , '35' , '10.34' ) 31/05/2023 06:27:26 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21078' AND id_supplier = '107' 31/05/2023 06:27:26 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21078' , '107' , '1' ) 31/05/2023 06:27:26 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '85657' , '21079' , 'RALLEGRATI IL SIGNORE E QUI - MADRE M. DELLANNUNCIAZIONE' , '2' , '0' , '4' , '5.0000' , '5' , '0' , '35' , '6.50' ) 31/05/2023 06:27:26 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21079' AND id_supplier = '107' 31/05/2023 06:27:26 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21079' , '107' , '1' ) 31/05/2023 06:27:48 pm >> UPDATE ps_document SET id_document_type = '33', document_num = '2023000002504', document_date = '2023-05-03', document_letter = '', id_customer = '0', id_supplier = '', id_address = '4669100', address1 = 'VIA DEI CASTANI, 116 00172 ROMA', address2 = '', note = '', price_shipping = '6.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 = '73.45', price_tax_excluded = '73.45', date_upd = NOW() WHERE id_document = '84142' 31/05/2023 06:27:48 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '84142' 31/05/2023 06:27:48 pm >> DELETE FROM ps_document_detail WHERE id_document = '84142' 31/05/2023 06:27:48 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '84142' , '20139' , 'BANALITA DEL MALE - V. SERPE' , '3' , '3' , '4' , '12.0000' , '12' , '0' , '35' , '23.40' ) 31/05/2023 06:27:48 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '84142' , '18810' , 'ANTIFONE - E. DELLA CORTE' , '1' , '1' , '4' , '10.0000' , '10' , '0' , '35' , '6.50' ) 31/05/2023 06:27:48 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '84142' , '18314' , 'FARE DI CRISTO IL CUORE... FESTIVO - E. DELLA CORTE' , '1' , '1' , '4' , '19.0000' , '19' , '0' , '35' , '12.35' ) 31/05/2023 06:27:48 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '84142' , '21038' , 'CONVERSAZIONI SULLA CHIESA' , '1' , '1' , '4' , '18.0000' , '18' , '0' , '35' , '11.7000' ) 31/05/2023 06:27:48 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '84142' , '19138' , 'ATTO DI ABBANDONO - D. D. RUOTOLO' , '10' , '10' , '4' , '1.0000' , '1' , '0' , '35' , '6.50' ) 31/05/2023 06:27:48 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '84142' , '13780' , 'RISCOPRIAMO LA BELLEZZA DEL BATTESIMO' , '2' , '2' , '4' , '5.0000' , '5' , '0' , '30' , '7.00' ) 31/05/2023 07:04:20 pm >> SELECT document_num FROM ps_document WHERE document_num = '17/A' AND id_document != '81217' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2023-02-03') 31/05/2023 07:04:20 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '17/A', document_date = '2023-02-03', document_letter = 'A', id_customer = '31', id_supplier = '', id_address = '4670717', address1 = 'VIA LOURDES, 21 14015 SAN DAMIANO D\\\'ASTI', address2 = '', note = 'spedito il 6/2 ', 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 = '906.00', price_tax_excluded = '818.36', date_upd = NOW() WHERE id_document = '81217' 31/05/2023 07:04:20 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 = '81217' 31/05/2023 07:04:20 pm >> DELETE FROM ps_document_detail WHERE id_document = '81217' 31/05/2023 07:04:20 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81217' , '1041' , 'BENEDIZIONI' , '500' , '-500' , '1' , '0.1800' , '0.14754098360656' , '22' , '40' , '54.00' ) 31/05/2023 07:04:20 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81217' , '0' , 'spediti il 21/03/2023' , '0' , '0' , '0' , '0.0000' , '0' , '0' , '0' , '0.00' ) 31/05/2023 07:04:20 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81217' , '12816' , 'LIBRO DEI DEFUNTI' , '2' , '-2' , '1' , '40.0000' , '32.786885245902' , '22' , '40' , '48.00' ) 31/05/2023 07:04:20 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81217' , '12815' , 'LIBRO DEI CRESIMATI' , '4' , '-4' , '1' , '40.0000' , '32.786885245902' , '22' , '40' , '96.00' ) 31/05/2023 07:04:20 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81217' , '12818' , 'LIBRO DELLE PRIME COMUNIONI' , '4' , '-4' , '1' , '40.0000' , '32.786885245902' , '22' , '40' , '96.00' ) 31/05/2023 07:04:20 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81217' , '12849' , 'LIBRO DELLE SS. MESSE' , '6' , '-6' , '1' , '20.0000' , '16.393442622951' , '22' , '40' , '72.00' ) 31/05/2023 07:04:20 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81217' , '12814' , 'LIBRO DEI BATTEZZATI' , '2' , '-2' , '1' , '40.0000' , '32.786885245902' , '22' , '40' , '48.00' ) 31/05/2023 07:04:20 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81217' , '0' , 'spedito il 05/04/2023' , '0' , '0' , '0' , '0.0000' , '0' , '0' , '0' , '0.00' ) 31/05/2023 07:04:20 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81217' , '11105' , 'VANGELO E ATTI DEGLI APOSTOLI PER OCCASIONI' , '200' , '-200' , '4' , '3.5000' , '3.5' , '0' , '40' , '420.00' ) 31/05/2023 07:04:20 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81217' , '' , 'spedito 1/6/23' , '0' , '0' , '0' , '0' , '0' , '' , '0' , '0.00' ) 31/05/2023 07:04:20 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81217' , '12849' , 'LIBRO DELLE SS. MESSE' , '6' , '-6' , '1' , '20.00' , '16.393442622951' , '22' , '40' , '72.00' )