13/05/2025 08:39:46 am >> SELECT document_num FROM ps_document WHERE document_num = '73/A' AND id_document != '96934' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2025-04-30') 13/05/2025 08:39:46 am >> UPDATE ps_document SET id_document_type = '24', document_num = '73/A', document_date = '2025-04-30', document_letter = 'A', id_customer = '3865', id_supplier = '', id_address = '4673708', address1 = 'VIA CROCE 1 - FRAZ. SALITTO 84062 OLEVANO SUL TUSCIANO', 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 = '304.90', price_tax_excluded = '262.69', date_upd = NOW() WHERE id_document = '96934' 13/05/2025 08:39:46 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '96934' 13/05/2025 08:39:46 am >> DELETE FROM ps_document_detail WHERE id_document = '96934' 13/05/2025 08:39:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '96934' , '23705' , 'PAGELLA A TRE PAGINE - CORONA ANGELICA' , '300' , '-300' , '1' , '0.2000' , '0.16393442622951' , '22' , '0' , '60.00' ) 13/05/2025 08:39:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '96934' , '19398' , 'CLERGY COTONE 100% MM - C02' , '1' , '-1' , '1' , '39.0000' , '31.967213114754' , '22' , '0' , '39.00' ) 13/05/2025 08:39:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '96934' , '9017' , 'RITO DELLA PENITENZA' , '1' , '-1' , '4' , '10.5000' , '10.5' , '0' , '0' , '10.50' ) 13/05/2025 08:39:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '96934' , '19607' , 'CLERGY F/F ML - C03' , '1' , '-1' , '1' , '39.9000' , '32.704918032787' , '22' , '0' , '39.90' ) 13/05/2025 08:39:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '96934' , '21132' , 'CLERGY F/F MC - C03' , '1' , '-1' , '1' , '39.5000' , '32.377049180328' , '22' , '0' , '39.50' ) 13/05/2025 08:39:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '96934' , '' , 'IMMAGINETTE FESTA DELLA MAMMA' , '2' , '-2' , '0' , '15' , '15' , '' , '0' , '30.00' ) 13/05/2025 08:39:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '96934' , '6325' , 'MEDAGLIA MIRACOLOSA MM 22 - METALLO OX' , '200' , '-200' , '1' , '0.25' , '0.20491803278689' , '22' , '0' , '50.00' ) 13/05/2025 08:39:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '96934' , '23536' , 'SULLA TUA PAROLA - MAG/GIU 25' , '2' , '-2' , '4' , '5.00' , '5' , '0' , '5' , '9.50' ) 13/05/2025 08:39:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '96934' , '16691' , 'PARTICOLE PER CELIACI 25pz' , '1' , '-1' , '3' , '4.50' , '4.3269230769231' , '4' , '0' , '4.50' ) 13/05/2025 08:39:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '96934' , '16689' , 'OSTIA PAN DI CENA mm80' , '4' , '-4' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '8.00' ) 13/05/2025 08:39:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '96934' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '4' , '-4' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '14.00' ) 13/05/2025 09:04:20 am >> INSERT INTO ps_product ( ean13 , id_tax_rules_group , `date_add` , `date_upd` ) VALUES ( '' , '1' , NOW() , NOW() ) 13/05/2025 09:04:20 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '23732' , '1' , '' , 'nuovo-prodotto' ) 13/05/2025 09:04:20 am >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , `date_add` , `date_upd` ) VALUES ( '23732' , '1' , '1' , '2' , NOW() , NOW() ) 13/05/2025 09:04:20 am >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) VALUES ( '23732' , '0' , '1' , '0' , '0' ) 13/05/2025 09:05:25 am >> SELECT ean13 FROM ps_product WHERE ean13 = '8019118310453' AND id_product != '23732' AND ean13 != '' 13/05/2025 09:05:25 am >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '8019118310453', date_upd = NOW() WHERE id_product = '23732' 13/05/2025 09:05:25 am >> UPDATE ps_product_lang SET name = 'PALESTRINA JUBILAEUM - A MONTEPAONE', description = '' WHERE id_product = '23732' 13/05/2025 09:05:25 am >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '12.704918032786885' WHERE id_product = '23732' 13/05/2025 09:05:25 am >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '12.704918032786885', id_tax_rules_group = '1', id_category_default = '27', id_argoment_default = '66', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '23732' 13/05/2025 09:05:25 am >> DELETE FROM ps_specific_price WHERE id_product = '23732' 13/05/2025 09:05:27 am >> INSERT INTO ps_product ( id_tax_rules_group , `date_add` , `date_upd` ) SELECT id_tax_rules_group , NOW() , NOW() FROM ps_product WHERE id_product = '23732' 13/05/2025 09:05:27 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '23733' , '1' , '' , 'nuovo-prodotto' ) 13/05/2025 09:05:27 am >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , `date_add` , `date_upd` ) SELECT '23733' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '23732' 13/05/2025 09:05:27 am >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) SELECT '23733' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '23732' 13/05/2025 09:06:25 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788831556545' AND id_product != '23733' AND ean13 != '' 13/05/2025 09:06:25 am >> UPDATE ps_product SET id_supplier = '', reference = 'ESPOSITORE', ean13 = '9788831556545', date_upd = NOW() WHERE id_product = '23733' 13/05/2025 09:06:25 am >> UPDATE ps_product_lang SET name = 'PREGHIERE DI OGNI GIORNO', description = '' WHERE id_product = '23733' 13/05/2025 09:06:25 am >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '2' WHERE id_product = '23733' 13/05/2025 09:06:25 am >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '2', id_tax_rules_group = '4', id_category_default = '27', id_argoment_default = '28', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '23733' 13/05/2025 09:06:25 am >> DELETE FROM ps_specific_price WHERE id_product = '23733' 13/05/2025 09:06:27 am >> INSERT INTO ps_product ( id_tax_rules_group , `date_add` , `date_upd` ) SELECT id_tax_rules_group , NOW() , NOW() FROM ps_product WHERE id_product = '23733' 13/05/2025 09:06:27 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '23734' , '1' , '' , 'nuovo-prodotto' ) 13/05/2025 09:06:27 am >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , `date_add` , `date_upd` ) SELECT '23734' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '23733' 13/05/2025 09:06:27 am >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) SELECT '23734' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '23733' 13/05/2025 09:07:36 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9791256450619' AND id_product != '23734' AND ean13 != '' 13/05/2025 09:07:37 am >> UPDATE ps_product SET id_supplier = '', reference = '6/4', ean13 = '9791256450619', date_upd = NOW() WHERE id_product = '23734' 13/05/2025 09:07:37 am >> UPDATE ps_product_lang SET name = 'PIU\' BELLO DEVE ANCORA VENIRE - A. COMASTRI', description = '' WHERE id_product = '23734' 13/05/2025 09:07:37 am >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '3' WHERE id_product = '23734' 13/05/2025 09:07:37 am >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '3', id_tax_rules_group = '4', id_category_default = '518', id_argoment_default = '23', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '23734' 13/05/2025 09:07:37 am >> DELETE FROM ps_specific_price WHERE id_product = '23734' 13/05/2025 09:07:38 am >> INSERT INTO ps_product ( id_tax_rules_group , `date_add` , `date_upd` ) SELECT id_tax_rules_group , NOW() , NOW() FROM ps_product WHERE id_product = '23734' 13/05/2025 09:07:38 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '23735' , '1' , '' , 'nuovo-prodotto' ) 13/05/2025 09:07:38 am >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , `date_add` , `date_upd` ) SELECT '23735' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '23734' 13/05/2025 09:07:38 am >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) SELECT '23735' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '23734' 13/05/2025 09:08:29 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788851430146' AND id_product != '23735' AND ean13 != '' 13/05/2025 09:08:30 am >> UPDATE ps_product SET id_supplier = '', reference = '13/3', ean13 = '9788851430146', date_upd = NOW() WHERE id_product = '23735' 13/05/2025 09:08:30 am >> UPDATE ps_product_lang SET name = 'E\' ORA DI PREGARE - F. TARTAGLIA', description = '' WHERE id_product = '23735' 13/05/2025 09:08:30 am >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '15' WHERE id_product = '23735' 13/05/2025 09:08:30 am >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '15', id_tax_rules_group = '4', id_category_default = '98', id_argoment_default = '28', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '23735' 13/05/2025 09:08:30 am >> DELETE FROM ps_specific_price WHERE id_product = '23735' 13/05/2025 09:08:32 am >> INSERT INTO ps_product ( id_tax_rules_group , `date_add` , `date_upd` ) SELECT id_tax_rules_group , NOW() , NOW() FROM ps_product WHERE id_product = '23735' 13/05/2025 09:08:32 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '23736' , '1' , '' , 'nuovo-prodotto' ) 13/05/2025 09:08:32 am >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , `date_add` , `date_upd` ) SELECT '23736' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '23735' 13/05/2025 09:08:32 am >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) SELECT '23736' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '23735' 13/05/2025 09:09:12 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788851429652' AND id_product != '23736' AND ean13 != '' 13/05/2025 09:09:12 am >> UPDATE ps_product SET id_supplier = '', reference = '7/3', ean13 = '9788851429652', date_upd = NOW() WHERE id_product = '23736' 13/05/2025 09:09:12 am >> UPDATE ps_product_lang SET name = 'GIARDINO DEL CIELO - M. SORANZO', description = '' WHERE id_product = '23736' 13/05/2025 09:09:12 am >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '25' WHERE id_product = '23736' 13/05/2025 09:09:12 am >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '25', id_tax_rules_group = '4', id_category_default = '98', id_argoment_default = '64', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '23736' 13/05/2025 09:09:12 am >> DELETE FROM ps_specific_price WHERE id_product = '23736' 13/05/2025 09:09:13 am >> INSERT INTO ps_product ( id_tax_rules_group , `date_add` , `date_upd` ) SELECT id_tax_rules_group , NOW() , NOW() FROM ps_product WHERE id_product = '23736' 13/05/2025 09:09:13 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '23737' , '1' , '' , 'nuovo-prodotto' ) 13/05/2025 09:09:13 am >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , `date_add` , `date_upd` ) SELECT '23737' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '23736' 13/05/2025 09:09:13 am >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) SELECT '23737' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '23736' 13/05/2025 09:13:12 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788884248695' AND id_product != '23737' AND ean13 != '' 13/05/2025 09:13:12 am >> UPDATE ps_product SET id_supplier = '', reference = '13/3', ean13 = '9788884248695', date_upd = NOW() WHERE id_product = '23737' 13/05/2025 09:13:12 am >> UPDATE ps_product_lang SET name = 'CANTI LATINI DELLA CHIESA', description = '' WHERE id_product = '23737' 13/05/2025 09:13:12 am >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '10' WHERE id_product = '23737' 13/05/2025 09:13:12 am >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '10', id_tax_rules_group = '4', id_category_default = '83', id_argoment_default = '28', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '23737' 13/05/2025 09:13:12 am >> DELETE FROM ps_specific_price WHERE id_product = '23737' 13/05/2025 09:13:14 am >> INSERT INTO ps_product ( id_tax_rules_group , `date_add` , `date_upd` ) SELECT id_tax_rules_group , NOW() , NOW() FROM ps_product WHERE id_product = '23737' 13/05/2025 09:13:14 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '23738' , '1' , '' , 'nuovo-prodotto' ) 13/05/2025 09:13:14 am >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , `date_add` , `date_upd` ) SELECT '23738' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '23737' 13/05/2025 09:13:14 am >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) SELECT '23738' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '23737' 13/05/2025 09:15:38 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788892246973' AND id_product != '23738' AND ean13 != '' 13/05/2025 09:15:38 am >> UPDATE ps_product SET id_supplier = '', reference = '6/6', ean13 = '9788892246973', date_upd = NOW() WHERE id_product = '23738' 13/05/2025 09:15:38 am >> UPDATE ps_product_lang SET name = 'VITA ETERNA - R. PASOLINI', description = '' WHERE id_product = '23738' 13/05/2025 09:15:38 am >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '15' WHERE id_product = '23738' 13/05/2025 09:15:38 am >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '15', id_tax_rules_group = '4', id_category_default = '30', id_argoment_default = '41', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '23738' 13/05/2025 09:15:38 am >> DELETE FROM ps_specific_price WHERE id_product = '23738' 13/05/2025 09:15:39 am >> INSERT INTO ps_product ( id_tax_rules_group , `date_add` , `date_upd` ) SELECT id_tax_rules_group , NOW() , NOW() FROM ps_product WHERE id_product = '23738' 13/05/2025 09:15:39 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '23739' , '1' , '' , 'nuovo-prodotto' ) 13/05/2025 09:15:39 am >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , `date_add` , `date_upd` ) SELECT '23739' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '23738' 13/05/2025 09:15:39 am >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) SELECT '23739' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '23738' 13/05/2025 09:16:26 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788892247437' AND id_product != '23739' AND ean13 != '' 13/05/2025 09:16:26 am >> UPDATE ps_product SET id_supplier = '', reference = '11/4', ean13 = '9788892247437', date_upd = NOW() WHERE id_product = '23739' 13/05/2025 09:16:26 am >> UPDATE ps_product_lang SET name = 'GIUSEPPE, IL FRATELLO RITROVATO - C. DI CAVE', description = '' WHERE id_product = '23739' 13/05/2025 09:16:26 am >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '18' WHERE id_product = '23739' 13/05/2025 09:16:26 am >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '18', id_tax_rules_group = '4', id_category_default = '30', id_argoment_default = '20', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '23739' 13/05/2025 09:16:26 am >> DELETE FROM ps_specific_price WHERE id_product = '23739' 13/05/2025 09:16:27 am >> INSERT INTO ps_product ( id_tax_rules_group , `date_add` , `date_upd` ) SELECT id_tax_rules_group , NOW() , NOW() FROM ps_product WHERE id_product = '23739' 13/05/2025 09:16:27 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '23740' , '1' , '' , 'nuovo-prodotto' ) 13/05/2025 09:16:27 am >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , `date_add` , `date_upd` ) SELECT '23740' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '23739' 13/05/2025 09:16:27 am >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) SELECT '23740' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '23739' 13/05/2025 09:17:14 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788826609348' AND id_product != '23740' AND ean13 != '' 13/05/2025 09:17:14 am >> UPDATE ps_product SET id_supplier = '', reference = '7/2', ean13 = '9788826609348', date_upd = NOW() WHERE id_product = '23740' 13/05/2025 09:17:14 am >> UPDATE ps_product_lang SET name = 'SIGNORE CI TIENE PER MANO - BENEDETTO XVI', description = '' WHERE id_product = '23740' 13/05/2025 09:17:14 am >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '23' WHERE id_product = '23740' 13/05/2025 09:17:14 am >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '23', id_tax_rules_group = '4', id_category_default = '104', id_argoment_default = '64', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '23740' 13/05/2025 09:17:14 am >> DELETE FROM ps_specific_price WHERE id_product = '23740' 13/05/2025 09:17:15 am >> INSERT INTO ps_product ( id_tax_rules_group , `date_add` , `date_upd` ) SELECT id_tax_rules_group , NOW() , NOW() FROM ps_product WHERE id_product = '23740' 13/05/2025 09:17:15 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '23741' , '1' , '' , 'nuovo-prodotto' ) 13/05/2025 09:17:15 am >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , `date_add` , `date_upd` ) SELECT '23741' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '23740' 13/05/2025 09:17:15 am >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) SELECT '23741' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '23740' 13/05/2025 09:18:36 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788892872066' AND id_product != '23741' AND ean13 != '' 13/05/2025 09:18:36 am >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '9788892872066', date_upd = NOW() WHERE id_product = '23741' 13/05/2025 09:18:36 am >> UPDATE ps_product_lang SET name = 'DELLA STESSA SOSTANZA DEL PADRE - A. PERATONER', description = '' WHERE id_product = '23741' 13/05/2025 09:18:36 am >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '18' WHERE id_product = '23741' 13/05/2025 09:18:36 am >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '18', id_tax_rules_group = '4', id_category_default = '26', id_argoment_default = '78', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '23741' 13/05/2025 09:18:36 am >> DELETE FROM ps_specific_price WHERE id_product = '23741' 13/05/2025 09:18:37 am >> INSERT INTO ps_product ( id_tax_rules_group , `date_add` , `date_upd` ) SELECT id_tax_rules_group , NOW() , NOW() FROM ps_product WHERE id_product = '23741' 13/05/2025 09:18:37 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '23742' , '1' , '' , 'nuovo-prodotto' ) 13/05/2025 09:18:37 am >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , `date_add` , `date_upd` ) SELECT '23742' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '23741' 13/05/2025 09:18:37 am >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) SELECT '23742' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '23741' 13/05/2025 09:19:05 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788892872356' AND id_product != '23742' AND ean13 != '' 13/05/2025 09:19:05 am >> UPDATE ps_product SET id_supplier = '', reference = '7/5', ean13 = '9788892872356', date_upd = NOW() WHERE id_product = '23742' 13/05/2025 09:19:05 am >> UPDATE ps_product_lang SET name = 'MAGNIFICAT', description = '' WHERE id_product = '23742' 13/05/2025 09:19:05 am >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '19' WHERE id_product = '23742' 13/05/2025 09:19:06 am >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '19', id_tax_rules_group = '4', id_category_default = '26', id_argoment_default = '78', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '23742' 13/05/2025 09:19:06 am >> DELETE FROM ps_specific_price WHERE id_product = '23742' 13/05/2025 09:19:06 am >> INSERT INTO ps_product ( id_tax_rules_group , `date_add` , `date_upd` ) SELECT id_tax_rules_group , NOW() , NOW() FROM ps_product WHERE id_product = '23742' 13/05/2025 09:19:06 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '23743' , '1' , '' , 'nuovo-prodotto' ) 13/05/2025 09:19:06 am >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , `date_add` , `date_upd` ) SELECT '23743' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '23742' 13/05/2025 09:19:06 am >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) SELECT '23743' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '23742' 13/05/2025 09:30: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 ( '33' , '697910' , '2025-05-08' , '' , '0' , '7' , '2602' , 'P. ZZA SAN PAOLO, 14 12051 ALBA' , '' , '' , '3.4' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '120.38' , '118.42' , NOW() , NOW() ) 13/05/2025 09:30: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 = '97148' 13/05/2025 09:30:31 am >> DELETE FROM ps_document_detail WHERE id_document = '97148' 13/05/2025 09:30: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 ( '97148' , '23737' , 'CANTI LATINI DELLA CHIESA' , '1' , '1' , '4' , '10.00' , '10' , '0' , '30' , '7.0000' ) 13/05/2025 09:30:31 am >> DELETE FROM ps_product_supplier WHERE id_product = '23737' AND id_supplier = '7' 13/05/2025 09:30:31 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '23737' , '7' , '1' ) 13/05/2025 09:30: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 ( '97148' , '23738' , 'VITA ETERNA - R. PASOLINI' , '1' , '1' , '4' , '15.00' , '15' , '0' , '33' , '10.0500' ) 13/05/2025 09:30:32 am >> DELETE FROM ps_product_supplier WHERE id_product = '23738' AND id_supplier = '7' 13/05/2025 09:30:32 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '23738' , '7' , '1' ) 13/05/2025 09:30: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 ( '97148' , '23739' , 'GIUSEPPE, IL FRATELLO RITROVATO - C. DI CAVE' , '1' , '1' , '4' , '18.00' , '18' , '0' , '33' , '12.0600' ) 13/05/2025 09:30:32 am >> DELETE FROM ps_product_supplier WHERE id_product = '23739' AND id_supplier = '7' 13/05/2025 09:30:32 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '23739' , '7' , '1' ) 13/05/2025 09:30: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 ( '97148' , '23732' , 'PALESTRINA JUBILAEUM - A MONTEPAONE' , '1' , '1' , '1' , '12.7' , '10.409836065574' , '22' , '30' , '10.8458' ) 13/05/2025 09:30:32 am >> DELETE FROM ps_product_supplier WHERE id_product = '23732' AND id_supplier = '7' 13/05/2025 09:30:32 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '23732' , '7' , '1' ) 13/05/2025 09:30: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 ( '97148' , '23736' , 'GIARDINO DEL CIELO - M. SORANZO' , '1' , '1' , '4' , '25.00' , '25' , '0' , '33' , '16.7500' ) 13/05/2025 09:30:32 am >> DELETE FROM ps_product_supplier WHERE id_product = '23736' AND id_supplier = '7' 13/05/2025 09:30:32 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '23736' , '7' , '1' ) 13/05/2025 09:30: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 ( '97148' , '23741' , 'DELLA STESSA SOSTANZA DEL PADRE - A. PERATONER' , '1' , '1' , '4' , '18.00' , '18' , '0' , '30' , '12.6000' ) 13/05/2025 09:30:32 am >> DELETE FROM ps_product_supplier WHERE id_product = '23741' AND id_supplier = '7' 13/05/2025 09:30:32 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '23741' , '7' , '1' ) 13/05/2025 09:30: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 ( '97148' , '23734' , 'PIU BELLO DEVE ANCORA VENIRE - A. COMASTRI' , '2' , '2' , '4' , '3.00' , '3' , '0' , '30' , '4.2000' ) 13/05/2025 09:30:32 am >> DELETE FROM ps_product_supplier WHERE id_product = '23734' AND id_supplier = '7' 13/05/2025 09:30:32 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '23734' , '7' , '1' ) 13/05/2025 09:30: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 ( '97148' , '23733' , 'PREGHIERE DI OGNI GIORNO' , '3' , '3' , '4' , '2.00' , '2' , '0' , '33' , '4.0200' ) 13/05/2025 09:30:32 am >> DELETE FROM ps_product_supplier WHERE id_product = '23733' AND id_supplier = '7' 13/05/2025 09:30:32 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '23733' , '7' , '1' ) 13/05/2025 09:30: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 ( '97148' , '23735' , 'E ORA DI PREGARE - F. TARTAGLIA' , '1' , '1' , '4' , '15.00' , '15' , '0' , '33' , '10.0500' ) 13/05/2025 09:30:32 am >> DELETE FROM ps_product_supplier WHERE id_product = '23735' AND id_supplier = '7' 13/05/2025 09:30:32 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '23735' , '7' , '1' ) 13/05/2025 09:30: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 ( '97148' , '23742' , 'MAGNIFICAT' , '1' , '1' , '4' , '19.00' , '19' , '0' , '30' , '13.3000' ) 13/05/2025 09:30:32 am >> DELETE FROM ps_product_supplier WHERE id_product = '23742' AND id_supplier = '7' 13/05/2025 09:30:32 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '23742' , '7' , '1' ) 13/05/2025 09:30: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 ( '97148' , '23740' , 'SIGNORE CI TIENE PER MANO - BENEDETTO XVI' , '1' , '1' , '4' , '23.00' , '23' , '0' , '30' , '16.1000' ) 13/05/2025 09:30:32 am >> DELETE FROM ps_product_supplier WHERE id_product = '23740' AND id_supplier = '7' 13/05/2025 09:30:32 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '23740' , '7' , '1' ) 13/05/2025 09:33:46 am >> SELECT document_num FROM ps_document WHERE document_num = '1192' AND id_document != '96631' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-04-11') 13/05/2025 09:33:46 am >> UPDATE ps_document SET id_document_type = '11', document_num = '1192', document_date = '2025-04-11', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = '', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '492.00', price_tax_excluded = '416.63', date_upd = NOW() WHERE id_document = '96631' 13/05/2025 09:33:46 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '96631' 13/05/2025 09:33:47 am >> DELETE FROM ps_document_detail WHERE id_document = '96631' 13/05/2025 09:33:47 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 ( '96631' , '15210' , 'CERO PASQUALE API 80X120' , '1' , '-1' , '1' , '145.0000' , '118.85245901639' , '22' , '0' , '145.00' ) 13/05/2025 09:33:47 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 ( '96631' , '11756' , 'VINO BIANCO SECCO - 14%' , '6' , '-6' , '1' , '6.5000' , '5.327868852459' , '22' , '0' , '39.00' ) 13/05/2025 09:33:47 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 ( '96631' , '18617' , 'MEDAGLIA MIRACOLOSA - OV22/M' , '1' , '-1' , '1' , '0.15' , '0.12295081967213' , '22' , '0' , '0.15' ) 13/05/2025 09:33:47 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 ( '96631' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '14' , '-14' , '3' , '3.5000' , '3.3653846153846' , '4' , '0' , '49.00' ) 13/05/2025 09:33:47 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 ( '96631' , '7311' , 'OSTIA SOTTILE 74MM' , '9' , '-9' , '3' , '2.0000' , '1.9230769230769' , '4' , '0' , '18.00' ) 13/05/2025 09:33:47 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 ( '96631' , '16691' , 'PARTICOLE PER CELIACI 25pz' , '2' , '-2' , '3' , '4.5000' , '4.3269230769231' , '4' , '0' , '9.00' ) 13/05/2025 09:33:47 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 ( '96631' , '1710' , 'CARBONCINI PER TURIBOLO BIANCHI - PZ 120' , '1' , '-1' , '1' , '13.0000' , '10.655737704918' , '22' , '0' , '13.00' ) 13/05/2025 09:33:47 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 ( '96631' , '17160' , 'CARBONCINI ROSSI - CARRO' , '1' , '-1' , '1' , '11.0000' , '9.016393442623' , '22' , '0' , '11.00' ) 13/05/2025 09:33:47 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 ( '96631' , '19107' , 'INCENSO GRANI 3A - BUSTA' , '1' , '-1' , '1' , '30.0000' , '24.590163934426' , '22' , '0' , '30.00' ) 13/05/2025 09:33:47 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 ( '96631' , '23393' , 'SULLA TUA PAROLA - MAR/APR 25' , '1' , '-1' , '4' , '5.0000' , '5' , '0' , '5' , '4.75' ) 13/05/2025 09:33:47 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 ( '96631' , '23536' , 'SULLA TUA PAROLA - MAG/GIU 25' , '1' , '-1' , '4' , '5.0000' , '5' , '0' , '5' , '4.75' ) 13/05/2025 09:33:47 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 ( '96631' , '19158' , 'SETTIMANA SANTA - N.E.' , '1' , '-1' , '4' , '5.0000' , '5' , '0' , '5' , '4.75' ) 13/05/2025 09:33:47 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 ( '96631' , '2168' , 'CLERGY BASIC - ML - B&P' , '2' , '-2' , '1' , '36.0000' , '29.508196721311' , '22' , '0' , '72.00' ) 13/05/2025 09:33:47 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 ( '96631' , '19430' , 'QUADRO DECORATO 50X35 - R35' , '1' , '-1' , '1' , '80.0000' , '65.573770491803' , '22' , '0' , '80.00' ) 13/05/2025 09:33:47 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 ( '96631' , '20548' , 'MEDAGLIA SAN BENEDETTO -T18/SBB' , '7' , '-7' , '1' , '0.30' , '0.24590163934426' , '22' , '0' , '2.10' ) 13/05/2025 09:33:47 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 ( '96631' , '18617' , 'MEDAGLIA MIRACOLOSA - OV22/M' , '7' , '-7' , '1' , '0.25' , '0.20491803278689' , '22' , '0' , '1.75' ) 13/05/2025 09:33:47 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 ( '96631' , '18618' , 'MEDAGLIA SAN MICHELE - OV22/MC' , '7' , '-7' , '1' , '0.25' , '0.20491803278689' , '22' , '0' , '1.75' ) 13/05/2025 09:33:47 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 ( '96631' , '17052' , 'CROCETTA S. BENEDETTO METALLO OX CM5X3,3 - PG382' , '5' , '-5' , '1' , '0.70' , '0.57377049180328' , '22' , '0' , '3.50' ) 13/05/2025 09:33:47 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 ( '96631' , '18617' , 'MEDAGLIA MIRACOLOSA - OV22/M' , '10' , '-10' , '1' , '0.25' , '0.20491803278689' , '22' , '0' , '2.50' ) 13/05/2025 10:43:38 am >> SELECT document_num FROM ps_document WHERE document_num = '1637' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-05-13') 13/05/2025 10:43:38 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '1637' , '2025-05-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '3.20' , '3.20' , NOW() , NOW() ) 13/05/2025 10:43:38 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '97149' 13/05/2025 10:43:38 am >> DELETE FROM ps_document_detail WHERE id_document = '97149' 13/05/2025 10:43: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 ( '97149' , '11858' , 'FOGLIETTI LA DOMENICA - LER' , '80' , '-80' , '4' , '0.04' , '0.04' , '0' , '0' , '3.20' ) 13/05/2025 11:04:23 am >> SELECT document_num FROM ps_document WHERE document_num = '1638' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-05-13') 13/05/2025 11:04:23 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' , '1638' , '2025-05-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '108.00' , '88.52' , NOW() , NOW() ) 13/05/2025 11:04:23 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 = '97150' 13/05/2025 11:04:23 am >> DELETE FROM ps_document_detail WHERE id_document = '97150' 13/05/2025 11:04:23 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 ( '97150' , '1041' , 'BENEDIZIONI' , '600' , '-600' , '1' , '0.18' , '0.14754098360656' , '22' , '0' , '108.00' ) 13/05/2025 11:08:31 am >> SELECT document_num FROM ps_document WHERE document_num = '1639' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-05-13') 13/05/2025 11:08: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' , '1639' , '2025-05-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '14.84' , '14.84' , NOW() , NOW() ) 13/05/2025 11:08: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 = '97151' 13/05/2025 11:08:31 am >> DELETE FROM ps_document_detail WHERE id_document = '97151' 13/05/2025 11:08: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 ( '97151' , '23699' , 'AMEN - AGO 25' , '1' , '-1' , '4' , '3.90' , '3.9' , '0' , '5' , '3.71' ) 13/05/2025 11:08: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 ( '97151' , '23700' , 'AMEN - LUG 25' , '1' , '-1' , '4' , '3.90' , '3.9' , '0' , '5' , '3.71' ) 13/05/2025 11:08: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 ( '97151' , '23491' , 'AMEN - MAG 25' , '1' , '-1' , '4' , '3.90' , '3.9' , '0' , '5' , '3.71' ) 13/05/2025 11:08: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 ( '97151' , '23492' , 'AMEN - GIU 25' , '1' , '-1' , '4' , '3.90' , '3.9' , '0' , '5' , '3.71' ) 13/05/2025 11:18:39 am >> SELECT document_num FROM ps_document WHERE document_num = '1640' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-05-13') 13/05/2025 11:18:39 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '1640' , '2025-05-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '58.00' , '50.45' , NOW() , NOW() ) 13/05/2025 11:18:39 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '97152' 13/05/2025 11:18:39 am >> DELETE FROM ps_document_detail WHERE id_document = '97152' 13/05/2025 11:18: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 ( '97152' , '11384' , 'VINO BIANCO DOLCE - 102' , '1' , '-1' , '1' , '8.90' , '7.2950819672131' , '22' , '0' , '8.90' ) 13/05/2025 11:18: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 ( '97152' , '16689' , 'OSTIA PAN DI CENA mm80' , '5' , '-5' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '10.00' ) 13/05/2025 11:18: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 ( '97152' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '3' , '-3' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '10.50' ) 13/05/2025 11:18: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 ( '97152' , '20519' , 'CROCE ANGELO DI DIO - 693/02-AD5' , '1' , '-1' , '1' , '4.80' , '3.9344262295082' , '22' , '0' , '4.80' ) 13/05/2025 11:18: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 ( '97152' , '22639' , 'CATENINA CON CROCE - ASK925-0228S' , '1' , '-1' , '1' , '23.8' , '19.508196721311' , '22' , '0' , '23.80' ) 13/05/2025 11:30:39 am >> SELECT document_num FROM ps_document WHERE document_num = '1641' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-05-13') 13/05/2025 11:30:39 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '1641' , '2025-05-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '48.00' , '39.81' , NOW() , NOW() ) 13/05/2025 11:30:39 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '97153' 13/05/2025 11:30:39 am >> DELETE FROM ps_document_detail WHERE id_document = '97153' 13/05/2025 11:30: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 ( '97153' , '11151' , 'LIBRI' , '1' , '-1' , '4' , '2.6' , '2.6' , '0' , '0' , '2.60' ) 13/05/2025 11:30: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 ( '97153' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '6.4' , '5.2459016393443' , '22' , '0' , '6.40' ) 13/05/2025 11:30: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 ( '97153' , '22299' , 'BRUCIA INCENSO PADELLA CM 17 - 12-750' , '1' , '-1' , '1' , '19.00' , '15.573770491803' , '22' , '0' , '19.00' ) 13/05/2025 11:30: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 ( '97153' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '20' , '16.393442622951' , '22' , '0' , '20.00' ) 13/05/2025 11:35:04 am >> SELECT document_num FROM ps_document WHERE document_num = '1642' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-05-13') 13/05/2025 11:35:04 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '1642' , '2025-05-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '140.00' , '114.75' , NOW() , NOW() ) 13/05/2025 11:35:04 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '97154' 13/05/2025 11:35:04 am >> DELETE FROM ps_document_detail WHERE id_document = '97154' 13/05/2025 11:35:04 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '97154' , '1220' , 'BICCHIERI FLAMBEAUX - PZ. 50' , '4' , '-4' , '1' , '15.00' , '12.295081967213' , '22' , '0' , '60.00' ) 13/05/2025 11:35:04 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '97154' , '1425' , 'BUSTA 100 FLAMBEAUX IN CARTA - FLAM' , '1' , '-1' , '1' , '10.00' , '8.1967213114754' , '22' , '0' , '10.00' ) 13/05/2025 11:35:04 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '97154' , '1626' , 'CANDELE VOTIVE KG 10 - 13X26 - CIRCA 300 PZ' , '1' , '-1' , '1' , '70.00' , '57.377049180328' , '22' , '0' , '70.00' ) 13/05/2025 11:36:54 am >> SELECT document_num FROM ps_document WHERE document_num = '1643' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-05-13') 13/05/2025 11:36:54 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '1643' , '2025-05-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '12.00' , '11.54' , NOW() , NOW() ) 13/05/2025 11:36:54 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '97155' 13/05/2025 11:36:54 am >> DELETE FROM ps_document_detail WHERE id_document = '97155' 13/05/2025 11:36:54 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '97155' , '7311' , 'OSTIA SOTTILE 74MM' , '6' , '-6' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '12.00' ) 13/05/2025 12:22:46 pm >> SELECT document_num FROM ps_document WHERE document_num = '1644' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-05-13') 13/05/2025 12:22:46 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '1644' , '2025-05-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '61.35' , '55.94' , NOW() , NOW() ) 13/05/2025 12:22:46 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '97156' 13/05/2025 12:22:46 pm >> DELETE FROM ps_document_detail WHERE id_document = '97156' 13/05/2025 12:22:46 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '97156' , '15801' , 'ARGENTO A PESO' , '2' , '-2' , '1' , '15' , '12.295081967213' , '22' , '0' , '30.00' ) 13/05/2025 12:22:46 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '97156' , '23668' , 'CUORE INDIVISO - J.R. BERNA' , '1' , '-1' , '4' , '19.00' , '19' , '0' , '5' , '18.05' ) 13/05/2025 12:22:46 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '97156' , '22493' , 'MESSA DETTA ALTRIMENTI - L.M. CHAUVET' , '1' , '-1' , '4' , '14.00' , '14' , '0' , '5' , '13.30' ) 13/05/2025 12:32:57 pm >> SELECT document_num FROM ps_document WHERE document_num = '1645' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-05-13') 13/05/2025 12:32: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' , '1645' , '2025-05-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '1.10' , '1.01' , NOW() , NOW() ) 13/05/2025 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 = '97157' 13/05/2025 12:32:57 pm >> DELETE FROM ps_document_detail WHERE id_document = '97157' 13/05/2025 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 ( '97157' , '17938' , 'SAN GIUSEPPE - ARS 119' , '1' , '-1' , '1' , '0.15' , '0.12295081967213' , '22' , '0' , '0.15' ) 13/05/2025 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 ( '97157' , '10145' , 'SPIRITO SANTO - 263 ' , '1' , '-1' , '1' , '0.15' , '0.12295081967213' , '22' , '0' , '0.15' ) 13/05/2025 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 ( '97157' , '7481' , 'PAPA FRANCESCO - - PAPA FRANCESCO -J.M. BERGOGLIO' , '1' , '-1' , '1' , '0.20' , '0.16393442622951' , '22' , '0' , '0.20' ) 13/05/2025 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 ( '97157' , '11151' , 'LIBRI' , '4' , '-4' , '4' , '0.15' , '0.15' , '0' , '0' , '0.60' ) 13/05/2025 12:33:19 pm >> SELECT document_num FROM ps_document WHERE document_num = '1646' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-05-13') 13/05/2025 12:33:19 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '1646' , '2025-05-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '3.50' , '2.87' , NOW() , NOW() ) 13/05/2025 12:33:19 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '97158' 13/05/2025 12:33:19 pm >> DELETE FROM ps_document_detail WHERE id_document = '97158' 13/05/2025 12:33:19 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '97158' , '12532' , 'CUORE IMMACOLATO DI MARIA - 298' , '1' , '-1' , '1' , '3.5' , '2.8688524590164' , '22' , '0' , '3.50' ) 13/05/2025 03:27:02 pm >> SELECT document_num FROM ps_document WHERE document_num = '1647' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-05-13') 13/05/2025 03:27:02 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' , '1647' , '2025-05-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '30.40' , '30.40' , NOW() , NOW() ) 13/05/2025 03:27:02 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '97159' 13/05/2025 03:27:02 pm >> DELETE FROM ps_document_detail WHERE id_document = '97159' 13/05/2025 03:27: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 ( '97159' , '6663' , 'MIE PREGHIERE - 8783' , '16' , '-16' , '4' , '2.00' , '2' , '0' , '5' , '30.40' ) 13/05/2025 04:07:09 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '8023392012262' AND id_product != '7481' AND ean13 != '' 13/05/2025 04:07:09 pm >> UPDATE ps_product SET id_supplier = '', reference = '12', ean13 = '8023392012262', date_upd = NOW() WHERE id_product = '7481' 13/05/2025 04:07:09 pm >> UPDATE ps_product_lang SET name = 'PAPA FRANCESCO', description = '' WHERE id_product = '7481' 13/05/2025 04:07:09 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '0.1639' WHERE id_product = '7481' 13/05/2025 04:07:09 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '0.1639', id_tax_rules_group = '1', id_category_default = '30', id_argoment_default = '206', id_internal_category = '', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '7481' 13/05/2025 04:07:09 pm >> DELETE FROM ps_specific_price WHERE id_product = '7481' 13/05/2025 04:09:53 pm >> SELECT document_num FROM ps_document WHERE document_num = '1638' AND id_document != '97150' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-05-13') 13/05/2025 04:09:53 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '1638', document_date = '2025-05-13', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = '', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '108.00', price_tax_excluded = '88.52', date_upd = NOW() WHERE id_document = '97150' 13/05/2025 04:09:53 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '97150' 13/05/2025 04:09:53 pm >> DELETE FROM ps_document_detail WHERE id_document = '97150' 13/05/2025 04:09:53 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '97150' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '108' , '88.524590163934' , '22' , '0' , '108.00' ) 13/05/2025 04:29:48 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '001637' AND id_product != '17958' AND ean13 != '' 13/05/2025 04:29:48 pm >> UPDATE ps_product SET id_supplier = '28', reference = '', ean13 = '001637', date_upd = NOW() WHERE id_product = '17958' 13/05/2025 04:29:48 pm >> UPDATE ps_product_lang SET name = 'TELA 50X70 - 2967', description = '' WHERE id_product = '17958' 13/05/2025 04:29:48 pm >> UPDATE ps_product SET wholesale_price = '19.99', on_sale = '0', price = '45.0820' WHERE id_product = '17958' 13/05/2025 04:29:48 pm >> UPDATE ps_product_shop SET wholesale_price = '19.99', price = '45.0820', id_tax_rules_group = '1', id_category_default = '95', 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 = '17958' 13/05/2025 04:29:48 pm >> DELETE FROM ps_specific_price WHERE id_product = '17958' 13/05/2025 04:30:54 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '8058400072303' AND id_product != '16447' AND ean13 != '' 13/05/2025 04:30:54 pm >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '8058400072303', date_upd = NOW() WHERE id_product = '16447' 13/05/2025 04:30:54 pm >> UPDATE ps_product_lang SET name = 'TELA 30X40 - 2964', description = '' WHERE id_product = '16447' 13/05/2025 04:30:54 pm >> UPDATE ps_product SET wholesale_price = '4.65', on_sale = '0', price = '12.2951' WHERE id_product = '16447' 13/05/2025 04:30:54 pm >> UPDATE ps_product_shop SET wholesale_price = '4.65', price = '12.2951', id_tax_rules_group = '1', id_category_default = '95', 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 = '16447' 13/05/2025 04:30:54 pm >> DELETE FROM ps_specific_price WHERE id_product = '16447' 13/05/2025 04:44: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 ( '31' , 'A1996' , '2025-05-12' , '' , '0' , '28' , '2623' , 'VIA DEI MILLE 59 80121 NAPOLI' , '' , '' , '14' , '1' , '0' , '0' , '0' , '' , '3' , '0' , '256.40' , '210.16' , NOW() , NOW() ) 13/05/2025 04:44: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 = '97160' 13/05/2025 04:44:21 pm >> DELETE FROM ps_document_detail WHERE id_document = '97160' 13/05/2025 04:44:21 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '97160' , '21559' , 'SAN GIUSEPPE DORMIENTE CM 14 - 4043' , '1' , '1' , '1' , '4.5' , '3.6885245901639' , '22' , '0' , '5.4900' ) 13/05/2025 04:44:21 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21559' AND id_supplier = '28' 13/05/2025 04:44:21 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21559' , '28' , '1' ) 13/05/2025 04:44:21 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '97160' , '23099' , 'TELA 18X25 ACUTIS - 2963/S0342NC' , '2' , '2' , '1' , '3.75' , '3.0737704918033' , '22' , '0' , '9.1500' ) 13/05/2025 04:44:21 pm >> DELETE FROM ps_product_supplier WHERE id_product = '23099' AND id_supplier = '28' 13/05/2025 04:44:21 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '23099' , '28' , '1' ) 13/05/2025 04:44:21 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '97160' , '16447' , 'TELA 30X40 - 2964' , '1' , '1' , '1' , '5.81' , '4.7622950819672' , '22' , '0' , '7.0882' ) 13/05/2025 04:44:21 pm >> DELETE FROM ps_product_supplier WHERE id_product = '16447' AND id_supplier = '28' 13/05/2025 04:44:21 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16447' , '28' , '1' ) 13/05/2025 04:44:21 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '97160' , '14687' , 'CROCE DELL\'AMICIZIA IN ULIVO CM 18 - 2842' , '1' , '1' , '1' , '8.35' , '6.844262295082' , '22' , '0' , '10.1870' ) 13/05/2025 04:44:21 pm >> DELETE FROM ps_product_supplier WHERE id_product = '14687' AND id_supplier = '28' 13/05/2025 04:44:21 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '14687' , '28' , '1' ) 13/05/2025 04:44:21 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '97160' , '22198' , 'CORONCINA PRIMA COMUNIONE - 3313' , '30' , '30' , '1' , '3.15' , '2.5819672131148' , '22' , '0' , '115.2900' ) 13/05/2025 04:44:21 pm >> DELETE FROM ps_product_supplier WHERE id_product = '22198' AND id_supplier = '28' 13/05/2025 04:44:21 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '22198' , '28' , '1' ) 13/05/2025 04:44:21 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '97160' , '13562' , 'CORONCINA IN STOFFA CON ROSE E FOGLIOLINE - 3311' , '10' , '10' , '1' , '2.1' , '1.7213114754098' , '22' , '0' , '25.6200' ) 13/05/2025 04:44:21 pm >> DELETE FROM ps_product_supplier WHERE id_product = '13562' AND id_supplier = '28' 13/05/2025 04:44:21 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '13562' , '28' , '1' ) 13/05/2025 04:44:21 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '97160' , '18276' , 'CINGOLO CON NODI - 3280' , '50' , '50' , '1' , '1.09' , '0.89344262295082' , '22' , '0' , '66.4900' ) 13/05/2025 04:44:21 pm >> DELETE FROM ps_product_supplier WHERE id_product = '18276' AND id_supplier = '28' 13/05/2025 04:44:21 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18276' , '28' , '1' ) 13/05/2025 05:54:58 pm >> SELECT document_num FROM ps_document WHERE document_num = '1648' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-05-13') 13/05/2025 05:54:58 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' , '1648' , '2025-05-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '45.00' , '45.00' , NOW() , NOW() ) 13/05/2025 05:54:58 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '97161' 13/05/2025 05:54:58 pm >> DELETE FROM ps_document_detail WHERE id_document = '97161' 13/05/2025 05:54: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 ( '97161' , '11151' , 'LIBRI' , '1' , '-1' , '4' , '45' , '45' , '0' , '0' , '45.00' ) 13/05/2025 06:29:39 pm >> SELECT document_num FROM ps_document WHERE document_num = '1649' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-05-13') 13/05/2025 06:29:39 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '1649' , '2025-05-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '70.00' , '57.38' , NOW() , NOW() ) 13/05/2025 06:29: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 = '97162' 13/05/2025 06:29:39 pm >> DELETE FROM ps_document_detail WHERE id_document = '97162' 13/05/2025 06:29: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 ( '97162' , '20438' , 'CANDELE VOTIVE 20X40 3B' , '1' , '-1' , '1' , '70.00' , '57.377049180328' , '22' , '0' , '70.00' ) 13/05/2025 06:48:26 pm >> SELECT document_num FROM ps_document WHERE document_num = '1650' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-05-13') 13/05/2025 06:48:26 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '1650' , '2025-05-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '35.00' , '28.69' , NOW() , NOW() ) 13/05/2025 06:48:26 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '97163' 13/05/2025 06:48:26 pm >> DELETE FROM ps_document_detail WHERE id_document = '97163' 13/05/2025 06:48: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 ( '97163' , '19560' , 'PERGAMENA COMUNIONE 17X25' , '50' , '-50' , '1' , '0.70' , '0.57377049180328' , '22' , '0' , '35.00' ) 13/05/2025 06:56:06 pm >> UPDATE ps_product_shop SET minimal_quantity = '1', multiple_quantity = '1', available_date = '', date_upd = NOW() WHERE id_product = '7484' 13/05/2025 06:56:06 pm >> UPDATE ps_stock_available SET quantity = quantity + '-4' WHERE id_product = '7484' 13/05/2025 06:56:14 pm >> UPDATE ps_product_shop SET minimal_quantity = '1', multiple_quantity = '1', available_date = '', date_upd = NOW() WHERE id_product = '7485' 13/05/2025 06:56:14 pm >> UPDATE ps_stock_available SET quantity = quantity + '-1' WHERE id_product = '7485' 13/05/2025 07:05:52 pm >> SELECT document_num FROM ps_document WHERE document_num = '1651' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-05-13') 13/05/2025 07:05:52 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' , '1651' , '2025-05-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '52.00' , '42.62' , NOW() , NOW() ) 13/05/2025 07:05:52 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 = '97164' 13/05/2025 07:05:52 pm >> DELETE FROM ps_document_detail WHERE id_document = '97164' 13/05/2025 07:05:52 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '97164' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '52' , '42.622950819672' , '22' , '0' , '52.00' ) 13/05/2025 07:21:46 pm >> SELECT document_num FROM ps_document WHERE document_num = '1652' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-05-13') 13/05/2025 07:21:46 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '1652' , '2025-05-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '12.80' , '12.80' , NOW() , NOW() ) 13/05/2025 07:21:46 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '97165' 13/05/2025 07:21:46 pm >> DELETE FROM ps_document_detail WHERE id_document = '97165' 13/05/2025 07:21:46 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '97165' , '11151' , 'LIBRI' , '1' , '-1' , '4' , '12.8' , '12.8' , '0' , '0' , '12.80' ) 13/05/2025 07:27:14 pm >> SELECT document_num FROM ps_document WHERE document_num = '1296' AND id_document != '96746' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-04-17') 13/05/2025 07:27:14 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '1296', document_date = '2025-04-17', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = '', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '61.00', price_tax_excluded = '50.00', date_upd = NOW() WHERE id_document = '96746' 13/05/2025 07:27:14 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 = '96746' 13/05/2025 07:27:14 pm >> DELETE FROM ps_document_detail WHERE id_document = '96746' 13/05/2025 07:27:14 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '96746' , '19594' , 'POLO JERSEY COTONE 100%' , '2' , '-2' , '1' , '30.5' , '25' , '22' , '0' , '61.00' ) 13/05/2025 07:27:42 pm >> SELECT document_num FROM ps_document WHERE document_num = '1480' AND id_document != '96959' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-05-02') 13/05/2025 07:27:43 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '1480', document_date = '2025-05-02', 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 = '170.00', price_tax_excluded = '139.34', date_upd = NOW() WHERE id_document = '96959' 13/05/2025 07:27: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 = '96959' 13/05/2025 07:27:43 pm >> DELETE FROM ps_document_detail WHERE id_document = '96959' 13/05/2025 07:27: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 ( '96959' , '12186' , 'CROCE GHIACCIO FOGLIA ARG. - CM 25' , '1' , '-1' , '1' , '35.0000' , '28.688524590164' , '22' , '0' , '35.00' ) 13/05/2025 07:27: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 ( '96959' , '22508' , 'POLO PIQUET - M06' , '1' , '-1' , '1' , '40.00' , '32.786885245902' , '22' , '0' , '40.00' ) 13/05/2025 07:27: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 ( '96959' , '20704' , 'QUADRO 63X35' , '1' , '-1' , '1' , '95.0000' , '77.868852459016' , '22' , '0' , '95.00' ) 13/05/2025 07:28:37 pm >> SELECT document_num FROM ps_document WHERE document_num = '1289' AND id_document != '96737' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-04-16') 13/05/2025 07:28:37 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '1289', document_date = '2025-04-16', 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 = '58.00', price_tax_excluded = '47.54', date_upd = NOW() WHERE id_document = '96737' 13/05/2025 07:28:37 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 = '96737' 13/05/2025 07:28:37 pm >> DELETE FROM ps_document_detail WHERE id_document = '96737' 13/05/2025 07:28:37 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '96737' , '13562' , 'CORONCINA IN STOFFA CON ROSE E FOGLIOLINE - 3311' , '10' , '-10' , '1' , '5.8' , '4.7540983606557' , '22' , '0' , '58.00' ) 13/05/2025 07:29:20 pm >> SELECT document_num FROM ps_document WHERE document_num = '1299' AND id_document != '96749' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2025-04-17') 13/05/2025 07:29:20 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '1299', document_date = '2025-04-17', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = '', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '57.00', price_tax_excluded = '46.72', date_upd = NOW() WHERE id_document = '96749' 13/05/2025 07:29: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 = '96749' 13/05/2025 07:29:20 pm >> DELETE FROM ps_document_detail WHERE id_document = '96749' 13/05/2025 07:29: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 ( '96749' , '21558' , 'ANELLO DECINA ARG - M043' , '1' , '-1' , '1' , '12.04' , '9.8688524590164' , '22' , '0' , '12.04' ) 13/05/2025 07:29: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 ( '96749' , '13562' , 'CORONCINA IN STOFFA CON ROSE E FOGLIOLINE - 3311' , '8' , '-8' , '1' , '5.62' , '4.6065573770492' , '22' , '0' , '44.96' )