04/02/2023 08:25:11 am >> SELECT document_num FROM ps_document WHERE document_num = '15/A' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2023-02-01') 04/02/2023 08:25:22 am >> SELECT document_num FROM ps_document WHERE document_num = '14/A' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2023-02-01') 04/02/2023 08:25:22 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '24' , '14/A' , '2023-02-01' , 'A' , '3544' , '0' , '4674054' , 'VIA SAN MARCO 53 - FRAZ. MONTICELLI 84062 OLEVANO SUL TUSCIANO' , '' , 'CONSEGNATO A DON CRISTOFORO' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '16.00' , '16.00' , NOW() , NOW() ) 04/02/2023 08:25:22 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '81221' 04/02/2023 08:25:22 am >> DELETE FROM ps_document_detail WHERE id_document = '81221' 04/02/2023 08:25: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 ( '81221' , '16174' , 'SACRAMENTI SEGNI DI DIO NEL MONDO - J. RATZINGER' , '1' , '-1' , '4' , '16.00' , '16' , '0' , '0' , '16.00' ) 04/02/2023 08:28:47 am >> SELECT document_num FROM ps_document WHERE document_num = '390' AND id_document != '81194' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-02-02') 04/02/2023 08:28:47 am >> UPDATE ps_document SET id_document_type = '11', document_num = '390', document_date = '2023-02-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 = '4.00', price_tax_excluded = '3.42', date_upd = NOW() WHERE id_document = '81194' 04/02/2023 08:28:47 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 = '81194' 04/02/2023 08:28:47 am >> DELETE FROM ps_document_detail WHERE id_document = '81194' 04/02/2023 08:28: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 ( '81194' , '13364' , 'CORONA MM 6 ' , '1' , '-1' , '1' , '2.90' , '2.3770491803279' , '22' , '0' , '2.90' ) 04/02/2023 08:28:48 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81194' , '13506' , 'SANTO ROSARIO' , '1' , '-1' , '1' , '0.3000' , '0.24590163934426' , '22' , '0' , '0.30' ) 04/02/2023 08:28:48 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81194' , '15019' , 'PREGHIAMO CON MARIA' , '1' , '-1' , '4' , '0.8000' , '0.8' , '0' , '0' , '0.80' ) 04/02/2023 08:29:35 am >> SELECT document_num FROM ps_document WHERE document_num = '326' AND id_document != '80600' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-01-31') 04/02/2023 08:29:35 am >> UPDATE ps_document SET id_document_type = '11', document_num = '326', document_date = '2023-01-31', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = '', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '22.50', price_tax_excluded = '21.87', date_upd = NOW() WHERE id_document = '80600' 04/02/2023 08:29:35 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 = '80600' 04/02/2023 08:29:35 am >> DELETE FROM ps_document_detail WHERE id_document = '80600' 04/02/2023 08:29:35 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '80600' , '20472' , 'CAMMINARE NELLA LUCE - L. MONTI' , '1' , '-1' , '4' , '20.0000' , '20' , '0' , '5' , '19.00' ) 04/02/2023 08:29:35 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '80600' , '6074' , 'MADONNA DI LOURDES - 120' , '1' , '-1' , '1' , '3.50' , '2.8688524590164' , '22' , '0' , '3.50' ) 04/02/2023 08:36:00 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '32' , '6023205811' , '2023-01-31' , '' , '0' , '109' , '4669106' , 'VIA G. VERDI, 8 20090 ASSAGO' , '' , '' , '0.5' , '4' , '0' , '0' , '0' , '' , '12' , '0' , '16.75' , '16.75' , NOW() , NOW() ) 04/02/2023 08:36:00 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '81222' 04/02/2023 08:36:00 am >> DELETE FROM ps_document_detail WHERE id_document = '81222' 04/02/2023 08:36:00 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81222' , '20639' , 'CATECHISMO DELLA VITA SPIRITUALE - R. SARAH' , '1' , '0' , '4' , '16.25' , '16.25' , '0' , '0' , '16.2500' ) 04/02/2023 08:36:00 am >> DELETE FROM ps_product_supplier WHERE id_product = '20639' AND id_supplier = '109' 04/02/2023 08:36:00 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20639' , '109' , '1' ) 04/02/2023 08:37: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 ( '32' , '6023205810' , '2023-01-31' , '' , '0' , '109' , '4669106' , 'VIA G. VERDI, 8 20090 ASSAGO' , '' , '' , '1.30' , '4' , '0' , '0' , '0' , '' , '12' , '0' , '45.67' , '45.67' , NOW() , NOW() ) 04/02/2023 08:37: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 = '81223' 04/02/2023 08:37:04 am >> DELETE FROM ps_document_detail WHERE id_document = '81223' 04/02/2023 08:37: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 ( '81223' , '8260' , 'PREGHIAMO INSIEME E DICIAMO - M. BARZIZZA' , '2' , '0' , '4' , '22.185' , '22.185' , '0' , '0' , '44.3700' ) 04/02/2023 08:37:04 am >> DELETE FROM ps_product_supplier WHERE id_product = '8260' AND id_supplier = '109' 04/02/2023 08:37:04 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '8260' , '109' , '1' ) 04/02/2023 08:38:27 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '32' , '6023205809' , '2023-01-31' , '' , '0' , '109' , '4669106' , 'VIA G. VERDI, 8 20090 ASSAGO' , '' , '' , '0.8' , '4' , '0' , '0' , '0' , '' , '13' , '0' , '26.96' , '26.96' , NOW() , NOW() ) 04/02/2023 08:38:27 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 = '81224' 04/02/2023 08:38:27 am >> DELETE FROM ps_document_detail WHERE id_document = '81224' 04/02/2023 08:38:27 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81224' , '20610' , 'SOLE ANCHE DI NOTTE - D. BLAIN' , '1' , '0' , '4' , '10.4' , '10.4' , '0' , '0' , '10.4000' ) 04/02/2023 08:38:27 am >> DELETE FROM ps_product_supplier WHERE id_product = '20610' AND id_supplier = '109' 04/02/2023 08:38:27 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20610' , '109' , '1' ) 04/02/2023 08:38:27 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81224' , '20634' , 'SI LO VOGLIO - AAVV' , '1' , '0' , '4' , '7.8' , '7.8' , '0' , '0' , '7.8000' ) 04/02/2023 08:38:27 am >> DELETE FROM ps_product_supplier WHERE id_product = '20634' AND id_supplier = '109' 04/02/2023 08:38:27 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20634' , '109' , '1' ) 04/02/2023 08:38:27 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81224' , '20637' , 'INTRODUZIONE ALLA TEOLOGIA - G. PASQUALE' , '1' , '0' , '4' , '7.96' , '7.96' , '0' , '0' , '7.9600' ) 04/02/2023 08:38:27 am >> DELETE FROM ps_product_supplier WHERE id_product = '20637' AND id_supplier = '109' 04/02/2023 08:38:27 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20637' , '109' , '1' ) 04/02/2023 08:58:18 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788884046666' AND id_product != '17717' AND ean13 != '' 04/02/2023 08:58:18 am >> UPDATE ps_product SET id_supplier = '38', reference = 'ESPOSITORE SHALOM', ean13 = '9788884046666', date_upd = NOW() WHERE id_product = '17717' 04/02/2023 08:58:18 am >> UPDATE ps_product_lang SET name = 'MARIA MADRE DELLA SPERANZA - A. SPINA - 8255', description = '' WHERE id_product = '17717' 04/02/2023 08:58:18 am >> UPDATE ps_product SET wholesale_price = '4.20', on_sale = '0', price = '7.0000' WHERE id_product = '17717' 04/02/2023 08:58:18 am >> UPDATE ps_product_shop SET wholesale_price = '4.20', price = '7.0000', id_tax_rules_group = '4', id_category_default = '106', id_argoment_default = '73', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '17717' 04/02/2023 08:58:18 am >> DELETE FROM ps_specific_price WHERE id_product = '17717' 04/02/2023 09:06:07 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788873576952' AND id_product != '20007' AND ean13 != '' 04/02/2023 09:06:07 am >> UPDATE ps_product SET id_supplier = '107', reference = '7/6', ean13 = '9788873576952', date_upd = NOW() WHERE id_product = '20007' 04/02/2023 09:06:07 am >> UPDATE ps_product_lang SET name = 'VIRTU\' CARDINALI - G. CUCCI', description = '' WHERE id_product = '20007' 04/02/2023 09:06:07 am >> UPDATE ps_product SET wholesale_price = '11.70', on_sale = '0', price = '18.0000' WHERE id_product = '20007' 04/02/2023 09:06:07 am >> UPDATE ps_product_shop SET wholesale_price = '11.70', price = '18.0000', id_tax_rules_group = '4', id_category_default = '178', 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 = '20007' 04/02/2023 09:06:07 am >> DELETE FROM ps_specific_price WHERE id_product = '20007' 04/02/2023 09:07:34 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788801053524' AND id_product != '5532' AND ean13 != '' 04/02/2023 09:07:34 am >> UPDATE ps_product SET id_supplier = '17', reference = 'ESPOSITORE VELAR', ean13 = '9788801053524', date_upd = NOW() WHERE id_product = '5532' 04/02/2023 09:07:34 am >> UPDATE ps_product_lang SET name = 'LA SALETTE', description = '' WHERE id_product = '5532' 04/02/2023 09:07:34 am >> UPDATE ps_product SET wholesale_price = '2.00', on_sale = '0', price = '4.0000' WHERE id_product = '5532' 04/02/2023 09:07:34 am >> UPDATE ps_product_shop SET wholesale_price = '2.00', price = '4.0000', id_tax_rules_group = '4', id_category_default = '19', id_argoment_default = '53', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '5532' 04/02/2023 09:07:34 am >> DELETE FROM ps_specific_price WHERE id_product = '5532' 04/02/2023 09:10:02 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788892229327' AND id_product != '20099' AND ean13 != '' 04/02/2023 09:10:02 am >> UPDATE ps_product SET id_supplier = '7', reference = '6/6', ean13 = '9788892229327', date_upd = NOW() WHERE id_product = '20099' 04/02/2023 09:10:02 am >> UPDATE ps_product_lang SET name = 'EGLI SI E\' FATTO UOMO - J. BEHR', description = '' WHERE id_product = '20099' 04/02/2023 09:10:02 am >> UPDATE ps_product SET wholesale_price = '16.75', on_sale = '0', price = '25.0000' WHERE id_product = '20099' 04/02/2023 09:10:02 am >> UPDATE ps_product_shop SET wholesale_price = '16.75', price = '25.0000', id_tax_rules_group = '4', id_category_default = '30', 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 = '20099' 04/02/2023 09:10:02 am >> DELETE FROM ps_specific_price WHERE id_product = '20099' 04/02/2023 09:14:42 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788831552196' AND id_product != '17449' AND ean13 != '' 04/02/2023 09:14:42 am >> UPDATE ps_product SET id_supplier = '7', reference = '6/5', ean13 = '9788831552196', date_upd = NOW() WHERE id_product = '17449' 04/02/2023 09:14:42 am >> UPDATE ps_product_lang SET name = 'GESU\' FIGLIO DELL\'UOMO - K. GIBRAN', description = '' WHERE id_product = '17449' 04/02/2023 09:14:42 am >> UPDATE ps_product SET wholesale_price = '9.38', on_sale = '0', price = '14.0000' WHERE id_product = '17449' 04/02/2023 09:14:42 am >> UPDATE ps_product_shop SET wholesale_price = '9.38', price = '14.0000', id_tax_rules_group = '4', id_category_default = '27', 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 = '17449' 04/02/2023 09:14:42 am >> DELETE FROM ps_specific_price WHERE id_product = '17449' 04/02/2023 09:23:48 am >> SELECT document_num FROM ps_document WHERE document_num = '411' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-02-04') 04/02/2023 09:23:48 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' , '411' , '2023-02-04' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '4.76' , '4.76' , NOW() , NOW() ) 04/02/2023 09:23:48 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '81225' 04/02/2023 09:23:48 am >> DELETE FROM ps_document_detail WHERE id_document = '81225' 04/02/2023 09:23:48 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81225' , '19977' , 'MINISTRANTI IERI, OGGI, DOMANI' , '2' , '-2' , '4' , '2.50' , '2.5' , '0' , '5' , '4.76' ) 04/02/2023 09:29:36 am >> SELECT document_num FROM ps_document WHERE document_num = '18/A' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2023-02-04') 04/02/2023 09:29:36 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '24' , '18/A' , '2023-02-04' , 'A' , '3712' , '0' , '4671443' , 'VIA DALMAZIA 6 84121 SALERNO' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '28.70' , '24.29' , NOW() , NOW() ) 04/02/2023 09:29:36 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '81226' 04/02/2023 09:29:36 am >> DELETE FROM ps_document_detail WHERE id_document = '81226' 04/02/2023 09:29:36 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81226' , '11384' , 'VINO BIANCO DOLCE - 102' , '1' , '-1' , '1' , '8.50' , '6.9672131147541' , '22' , '0' , '8.50' ) 04/02/2023 09:29:36 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81226' , '17161' , 'CARBONCINI NERI - CARNE' , '1' , '-1' , '1' , '12.00' , '9.8360655737705' , '22' , '0' , '12.00' ) 04/02/2023 09:29:36 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81226' , '7311' , 'OSTIA SOTTILE 74MM' , '1' , '-1' , '3' , '1.90' , '1.8269230769231' , '4' , '0' , '1.90' ) 04/02/2023 09:29:36 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81226' , '7673' , 'PARTICOLE MM38' , '1' , '-1' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '3.50' ) 04/02/2023 09:29:36 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81226' , '791' , 'ASSISI IN BUSTA BATTESIMO - 20X270 - BAAS' , '2' , '-2' , '1' , '1.40' , '1.1475409836066' , '22' , '0' , '2.80' ) 04/02/2023 09:33:14 am >> SELECT document_num FROM ps_document WHERE document_num = '412' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-02-04') 04/02/2023 09:33:14 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' , '412' , '2023-02-04' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '5.70' , '5.70' , NOW() , NOW() ) 04/02/2023 09:33: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 = '81227' 04/02/2023 09:33:14 am >> DELETE FROM ps_document_detail WHERE id_document = '81227' 04/02/2023 09:33: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 ( '81227' , '20585' , 'MESSALINO QUOTIDIANO - FEB/MAR/APR 2023' , '1' , '-1' , '4' , '6.00' , '6' , '0' , '5' , '5.70' ) 04/02/2023 10:24:37 am >> SELECT document_num FROM ps_document WHERE document_num = '413' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-02-04') 04/02/2023 10:24:37 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' , '413' , '2023-02-04' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '10.70' , '8.77' , NOW() , NOW() ) 04/02/2023 10:24:37 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '81228' 04/02/2023 10:24:37 am >> DELETE FROM ps_document_detail WHERE id_document = '81228' 04/02/2023 10:24:37 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81228' , '10475' , 'TEALIGHTS X 50 ' , '1' , '-1' , '1' , '3.90' , '3.1967213114754' , '22' , '0' , '3.90' ) 04/02/2023 10:24:37 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81228' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '6.8' , '5.5737704918033' , '22' , '0' , '6.80' ) 04/02/2023 11:03:28 am >> UPDATE ps_product_shop SET minimal_quantity = '1', multiple_quantity = '1', available_date = '', date_upd = NOW() WHERE id_product = '897' 04/02/2023 11:03:28 am >> UPDATE ps_stock_available SET quantity = quantity + '-1' WHERE id_product = '897' 04/02/2023 11:05:04 am >> SELECT document_num FROM ps_document WHERE document_num = '414' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-02-04') 04/02/2023 11:05: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' , '414' , '2023-02-04' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '7.50' , '6.15' , NOW() , NOW() ) 04/02/2023 11:05: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 = '81229' 04/02/2023 11:05:04 am >> DELETE FROM ps_document_detail WHERE id_document = '81229' 04/02/2023 11:05: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 ( '81229' , '11757' , 'VINO LIQUOROSO DOLCE - 16%' , '1' , '-1' , '1' , '7.50' , '6.1475409836066' , '22' , '0' , '7.50' ) 04/02/2023 11:07:56 am >> UPDATE ps_product_shop SET minimal_quantity = '1', multiple_quantity = '1', available_date = '', date_upd = NOW() WHERE id_product = '14192' 04/02/2023 11:07:56 am >> UPDATE ps_stock_available SET quantity = quantity + '-1' WHERE id_product = '14192' 04/02/2023 11:08:26 am >> UPDATE ps_product_shop SET minimal_quantity = '1', multiple_quantity = '1', available_date = '', date_upd = NOW() WHERE id_product = '9875' 04/02/2023 11:08:26 am >> UPDATE ps_stock_available SET quantity = quantity + '-1' WHERE id_product = '9875' 04/02/2023 11:09:17 am >> UPDATE ps_product_shop SET minimal_quantity = '1', multiple_quantity = '1', available_date = '', date_upd = NOW() WHERE id_product = '15091' 04/02/2023 11:09:18 am >> UPDATE ps_stock_available SET quantity = quantity + '-1' WHERE id_product = '15091' 04/02/2023 11:23:23 am >> UPDATE ps_product_shop SET minimal_quantity = '1', multiple_quantity = '1', available_date = '', date_upd = NOW() WHERE id_product = '14381' 04/02/2023 11:23:23 am >> UPDATE ps_stock_available SET quantity = quantity + '1' WHERE id_product = '14381' 04/02/2023 11:23:49 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788861536746' AND id_product != '15091' AND ean13 != '' 04/02/2023 11:23:49 am >> UPDATE ps_product SET id_supplier = '65', reference = '6/5', ean13 = '9788861536746', date_upd = NOW() WHERE id_product = '15091' 04/02/2023 11:23:49 am >> UPDATE ps_product_lang SET name = 'DIO MIO PERCHE\' MI HAI ABBANDONATO?', description = '' WHERE id_product = '15091' 04/02/2023 11:23:49 am >> UPDATE ps_product SET wholesale_price = '9.45', on_sale = '0', price = '13.5000' WHERE id_product = '15091' 04/02/2023 11:23:49 am >> UPDATE ps_product_shop SET wholesale_price = '9.45', price = '13.5000', id_tax_rules_group = '4', id_category_default = '60', 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 = '15091' 04/02/2023 11:23:49 am >> DELETE FROM ps_specific_price WHERE id_product = '15091' 04/02/2023 11:26:11 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788801053999' AND id_product != '1004' AND ean13 != '' 04/02/2023 11:26:11 am >> UPDATE ps_product SET id_supplier = '', reference = 'ESPOSITORE VELAR', ean13 = '9788801053999', date_upd = NOW() WHERE id_product = '1004' 04/02/2023 11:26:11 am >> UPDATE ps_product_lang SET name = 'BEATO GIACOMO ALBERIONE', description = '' WHERE id_product = '1004' 04/02/2023 11:26:12 am >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '3.5000' WHERE id_product = '1004' 04/02/2023 11:26:12 am >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '3.5000', id_tax_rules_group = '4', id_category_default = '19', id_argoment_default = '53', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '1004' 04/02/2023 11:26:12 am >> DELETE FROM ps_specific_price WHERE id_product = '1004' 04/02/2023 11:29:25 am >> UPDATE ps_product_shop SET minimal_quantity = '1', multiple_quantity = '1', available_date = '', date_upd = NOW() WHERE id_product = '12675' 04/02/2023 11:29:25 am >> UPDATE ps_stock_available SET quantity = quantity + '-1' WHERE id_product = '12675' 04/02/2023 11:30:40 am >> DELETE FROM ps_product WHERE id_product = '8519' 04/02/2023 11:30:40 am >> DELETE FROM ps_product_shop WHERE id_product = '8519' 04/02/2023 11:30:41 am >> DELETE FROM ps_product_lang WHERE id_product = '8519' 04/02/2023 11:30:41 am >> DELETE FROM ps_stock_available WHERE id_product = '8519' 04/02/2023 11:35:31 am >> SELECT document_num FROM ps_document WHERE document_num = '30' AND id_document != '67956' AND id_document_type LIKE '24' AND YEAR(document_date) = YEAR('2022-10-18') 04/02/2023 11:35:31 am >> UPDATE ps_document SET id_document_type = '24', document_num = '30', document_date = '2022-10-18', document_letter = '', id_customer = '0', id_supplier = '', id_address = '4669106', address1 = 'VIA G. VERDI, 8 20090 ASSAGO', address2 = '', note = 'RESA - N. C. RICEVUTA', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '10', price_tax_included = '304.90', price_tax_excluded = '304.90', date_upd = NOW() WHERE id_document = '67956' 04/02/2023 11:35: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 = '67956' 04/02/2023 11:35:31 am >> DELETE FROM ps_document_detail WHERE id_document = '67956' 04/02/2023 11:35: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 ( '67956' , '18744' , 'PRIMA DEI FATTI - S. ZAVOLI' , '1' , '-1' , '4' , '14.0000' , '14' , '0' , '0' , '14.00' ) 04/02/2023 11:35: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 ( '67956' , '17594' , 'COME UNA STELLA NELLINFINITO - M.O. SOFFIATTI' , '1' , '-1' , '4' , '15.0000' , '15' , '0' , '0' , '15.00' ) 04/02/2023 11:35: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 ( '67956' , '18794' , 'APRO LANIMA E GLI OCCHI - BORGNA' , '1' , '-1' , '4' , '10.0000' , '10' , '0' , '0' , '10.00' ) 04/02/2023 11:35: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 ( '67956' , '16870' , 'PERLE DELLIMITAZIONE DI CRISTO' , '1' , '-1' , '4' , '9.0000' , '9' , '0' , '0' , '9.00' ) 04/02/2023 11:35: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 ( '67956' , '19046' , 'SOLITUDINE OSPITALE - F. VERMOREL' , '1' , '-1' , '4' , '16.0000' , '16' , '0' , '0' , '16.00' ) 04/02/2023 11:35: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 ( '67956' , '18757' , 'COME UN GRANELLO DI SENAPE - R. GIUE' , '1' , '-1' , '4' , '24.0000' , '24' , '0' , '0' , '24.00' ) 04/02/2023 11:35: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 ( '67956' , '18463' , 'VITE MERAVIGLIOSE - P. MARTINELLI' , '1' , '-1' , '4' , '12.0000' , '12' , '0' , '0' , '12.00' ) 04/02/2023 11:35: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 ( '67956' , '15524' , 'MERAVIGLIE DELLA PASQUA' , '2' , '-2' , '4' , '5.0000' , '5' , '0' , '0' , '10.00' ) 04/02/2023 11:35: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 ( '67956' , '17114' , 'AMORE BASTA? - F. SQUARCIA' , '1' , '-1' , '4' , '16.0000' , '16' , '0' , '0' , '16.00' ) 04/02/2023 11:35: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 ( '67956' , '19450' , 'SCRITTI SUI TEMPLARI - B. CLAIRVAUX' , '1' , '-1' , '4' , '16.0000' , '16' , '0' , '0' , '16.00' ) 04/02/2023 11:35: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 ( '67956' , '18508' , 'E NECESSARIO RICORDARE' , '1' , '-1' , '4' , '16.0000' , '16' , '0' , '0' , '16.00' ) 04/02/2023 11:35: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 ( '67956' , '17412' , 'SACRA RAPPRESENTAZIONE DELLA VIA CRUCIS - F. CASTAGNINO' , '5' , '-5' , '4' , '6.5000' , '6.5' , '0' , '0' , '32.50' ) 04/02/2023 11:35: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 ( '67956' , '16920' , 'CERBI DI DIO - C.M. MARTINI' , '1' , '-1' , '4' , '12.0000' , '12' , '0' , '0' , '12.00' ) 04/02/2023 11:35: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 ( '67956' , '16732' , 'DAL PROFONDO DEL NOSTRO CUORE - R. SARAH' , '2' , '-2' , '4' , '18.0000' , '18' , '0' , '0' , '36.00' ) 04/02/2023 11:35: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 ( '67956' , '18230' , 'IL GRIDO DELLANIMA - M.D. SEMERARO' , '1' , '-1' , '4' , '10.0000' , '10' , '0' , '0' , '10.00' ) 04/02/2023 11:35: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 ( '67956' , '19768' , 'LAVORO 4.0' , '2' , '-2' , '4' , '12.0000' , '12' , '0' , '0' , '24.00' ) 04/02/2023 11:35: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 ( '67956' , '16202' , 'SEI PAROLE DI MARIA - F. COCCHINI' , '1' , '-1' , '4' , '14.0000' , '14' , '0' , '0' , '14.00' ) 04/02/2023 11:35: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 ( '67956' , '0' , 'ARTE DI RACCONTARE' , '1' , '-1' , '4' , '8.5000' , '8.5' , '0' , '0' , '8.50' ) 04/02/2023 11:35: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 ( '67956' , '0' , 'INDAGINI DI ZIA TERESA' , '1' , '-1' , '4' , '9.9000' , '9.9' , '0' , '0' , '9.90' ) 04/02/2023 11:47:23 am >> DELETE FROM ps_document WHERE id_document = '75436' 04/02/2023 11:47:23 am >> DELETE FROM ps_document_detail WHERE id_document = '75436' 04/02/2023 12:04:42 pm >> SELECT document_num FROM ps_document WHERE document_num = '415' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-02-04') 04/02/2023 12:04:42 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '415' , '2023-02-04' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '23.40' , '19.18' , NOW() , NOW() ) 04/02/2023 12:04: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 = '81230' 04/02/2023 12:04:42 pm >> DELETE FROM ps_document_detail WHERE id_document = '81230' 04/02/2023 12:04: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 ( '81230' , '10475' , 'TEALIGHTS X 50 ' , '6' , '-6' , '1' , '3.90' , '3.1967213114754' , '22' , '0' , '23.40' ) 04/02/2023 12:16:35 pm >> SELECT document_num FROM ps_document WHERE document_num = '416' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-02-04') 04/02/2023 12:16:35 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '416' , '2023-02-04' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '600.00' , '518.49' , NOW() , NOW() ) 04/02/2023 12:16:35 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '81231' 04/02/2023 12:16:35 pm >> DELETE FROM ps_document_detail WHERE id_document = '81231' 04/02/2023 12:16:35 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81231' , '16686' , 'EVANGELIARIO' , '1' , '-1' , '4' , '140.00' , '140' , '0' , '5' , '133.00' ) 04/02/2023 12:16:35 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81231' , '14000' , 'GALATEO IN CHIESA' , '15' , '-15' , '4' , '1.00' , '1' , '0' , '0' , '15.00' ) 04/02/2023 12:16:35 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81231' , '1041' , 'BENEDIZIONI' , '200' , '-200' , '1' , '0.18' , '0.14754098360656' , '22' , '0' , '36.00' ) 04/02/2023 12:16:35 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81231' , '2722' , 'COPRI AMBONE FIGLIOL PRODIGO' , '1' , '-1' , '1' , '120' , '98.360655737705' , '22' , '0' , '120.00' ) 04/02/2023 12:16:35 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81231' , '13928' , 'COPRILEGGIO - 315/TP' , '1' , '-1' , '1' , '65.00' , '53.27868852459' , '22' , '0' , '65.00' ) 04/02/2023 12:16:35 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81231' , '14214' , 'CASULA IN POLIESTERE ' , '1' , '-1' , '1' , '70' , '57.377049180328' , '22' , '0' , '70.00' ) 04/02/2023 12:16:35 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81231' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '161' , '131.96721311475' , '22' , '0' , '161.00' ) 04/02/2023 12:17:37 pm >> SELECT document_num FROM ps_document WHERE document_num = '107/A' AND id_document != '75559' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2022-12-03') 04/02/2023 12:17:37 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '107/A', document_date = '2022-12-03', document_letter = 'A', id_customer = '1656', id_supplier = '', id_address = '4677544', address1 = 'VIA NAZIONALE 84060 OMIGNANO SCALO', address2 = '', note = 'acconto € 200,00 - 27/12 € 350,00 + 161,00 4/2/23', 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 = '1000.00', price_tax_excluded = '819.67', date_upd = NOW() WHERE id_document = '75559' 04/02/2023 12:17: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 = '75559' 04/02/2023 12:17:37 pm >> DELETE FROM ps_document_detail WHERE id_document = '75559' 04/02/2023 12:17: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 ( '75559' , '20044' , 'CASULA LANA S/MOIRE - ALBERO DELLA VITA - 8241****' , '1' , '-1' , '1' , '1000.0000' , '819.67213114754' , '22' , '0' , '1000.00' ) 04/02/2023 12:18:31 pm >> SELECT document_num FROM ps_document WHERE document_num = '19/A' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2023-02-04') 04/02/2023 12:18:31 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '24' , '19/A' , '2023-02-04' , 'A' , '1656' , '0' , '4677544' , 'VIA NAZIONALE 84060 OMIGNANO SCALO' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '215.00' , '215.00' , NOW() , NOW() ) 04/02/2023 12:18:31 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '81232' 04/02/2023 12:18:31 pm >> DELETE FROM ps_document_detail WHERE id_document = '81232' 04/02/2023 12:18:31 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81232' , '16512' , 'SAN GIUSEPPE CM 60' , '1' , '-1' , '0' , '215.00' , '215' , '' , '0' , '215.00' ) 04/02/2023 12:22:23 pm >> SELECT document_num FROM ps_document WHERE document_num = '417' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-02-04') 04/02/2023 12:22:23 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '417' , '2023-02-04' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '45.00' , '36.89' , NOW() , NOW() ) 04/02/2023 12:22:23 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '81233' 04/02/2023 12:22:23 pm >> DELETE FROM ps_document_detail WHERE id_document = '81233' 04/02/2023 12:22:23 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '81233' , '6811' , 'MOCCOLO 80X200' , '5' , '-5' , '1' , '9.00' , '7.3770491803279' , '22' , '0' , '45.00' )