20/07/2022 11:34:34 am >> SELECT document_num FROM ps_document WHERE document_num = '2308' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-20') 20/07/2022 11:34:34 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '2308' , '2022-07-20' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '149.50' , '126.51' , NOW() , NOW() ) 20/07/2022 11:34:34 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '59735' 20/07/2022 11:34:34 am >> DELETE FROM ps_document_detail WHERE id_document = '59735' 20/07/2022 11:34:34 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '59735' , '2776' , 'CORONCINA E NOVENA AL PREZIOSISSIMO SANGUE' , '2' , '-2' , '4' , '1.50' , '1.5' , '0' , '0' , '3.00' ) 20/07/2022 11:34:34 am >> DELETE FROM ps_product_supplier WHERE id_product = '2776' AND id_supplier = '' 20/07/2022 11:34:34 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '2776' , '' , '1' ) 20/07/2022 11:34:34 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '59735' , '9179' , 'ROSARIO RUBINO - PREZIOSISSIMO SANGUE - 40/41 AB' , '2' , '-2' , '1' , '4.50' , '3.6885245901639' , '22' , '0' , '9.00' ) 20/07/2022 11:34:34 am >> DELETE FROM ps_product_supplier WHERE id_product = '9179' AND id_supplier = '' 20/07/2022 11:34:34 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '9179' , '' , '1' ) 20/07/2022 11:34:34 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '59735' , '4697' , 'GLORIA MISCELA 25G - GLORE' , '3' , '-3' , '1' , '1.50' , '1.2295081967213' , '22' , '0' , '4.50' ) 20/07/2022 11:34:34 am >> DELETE FROM ps_product_supplier WHERE id_product = '4697' AND id_supplier = '' 20/07/2022 11:34:34 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '4697' , '' , '1' ) 20/07/2022 11:34: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 ( '59735' , '19622' , 'SULLA TUA PAROLA - SETT/OTT 2022' , '4' , '-4' , '4' , '5.00' , '5' , '0' , '5' , '19.00' ) 20/07/2022 11:34:35 am >> DELETE FROM ps_product_supplier WHERE id_product = '19622' AND id_supplier = '' 20/07/2022 11:34:35 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19622' , '' , '1' ) 20/07/2022 11:34: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 ( '59735' , '18099' , 'CROCE IN RESINA CM 19 - 3831' , '1' , '-1' , '1' , '4.50' , '3.6885245901639' , '22' , '0' , '4.50' ) 20/07/2022 11:34:35 am >> DELETE FROM ps_product_supplier WHERE id_product = '18099' AND id_supplier = '' 20/07/2022 11:34:35 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18099' , '' , '1' ) 20/07/2022 11:34: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 ( '59735' , '18098' , 'CROCE IN RESINA CM 19 - 3830' , '1' , '-1' , '1' , '4.50' , '3.6885245901639' , '22' , '0' , '4.50' ) 20/07/2022 11:34:35 am >> DELETE FROM ps_product_supplier WHERE id_product = '18098' AND id_supplier = '' 20/07/2022 11:34:35 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18098' , '' , '1' ) 20/07/2022 11:34: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 ( '59735' , '19595' , 'POLO JERSEY COTONE 100% - EXTRA' , '2' , '-2' , '1' , '40' , '32.786885245902' , '22' , '0' , '80.00' ) 20/07/2022 11:34:35 am >> DELETE FROM ps_product_supplier WHERE id_product = '19595' AND id_supplier = '' 20/07/2022 11:34:35 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19595' , '' , '1' ) 20/07/2022 11:34: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 ( '59735' , '8147' , 'POLO BASIC' , '1' , '-1' , '1' , '25' , '20.491803278689' , '22' , '0' , '25.00' ) 20/07/2022 11:34:35 am >> DELETE FROM ps_product_supplier WHERE id_product = '8147' AND id_supplier = '' 20/07/2022 11:34:35 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '8147' , '' , '1' ) 20/07/2022 12:39:03 pm >> SELECT document_num FROM ps_document WHERE document_num = '2309' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-20') 20/07/2022 12:39:04 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' , '2309' , '2022-07-20' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '190.00' , '155.74' , NOW() , NOW() ) 20/07/2022 12:39:04 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '59736' 20/07/2022 12:39:04 pm >> DELETE FROM ps_document_detail WHERE id_document = '59736' 20/07/2022 12:39:04 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '59736' , '19711' , 'CINGOLO ORO CANUTTIGLIA' , '1' , '-1' , '1' , '190' , '155.73770491803' , '22' , '0' , '190.00' ) 20/07/2022 12:39:04 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19711' AND id_supplier = '' 20/07/2022 12:39:04 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19711' , '' , '1' ) 20/07/2022 12:39:23 pm >> SELECT document_num FROM ps_document WHERE document_num = '2310' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-20') 20/07/2022 12:39: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' , '2310' , '2022-07-20' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '4.20' , '4.20' , NOW() , NOW() ) 20/07/2022 12:39: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 = '59737' 20/07/2022 12:39:23 pm >> DELETE FROM ps_document_detail WHERE id_document = '59737' 20/07/2022 12:39: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 ( '59737' , '4223' , 'FOGLIETTI LA DOMENICA SAN PAOLO' , '6' , '-6' , '4' , '0.70' , '0.7' , '0' , '0' , '4.20' ) 20/07/2022 12:39:23 pm >> DELETE FROM ps_product_supplier WHERE id_product = '4223' AND id_supplier = '' 20/07/2022 12:39:23 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '4223' , '' , '1' ) 20/07/2022 02:25:58 pm >> SELECT document_num FROM ps_document WHERE document_num = '53/A' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2022-07-20') 20/07/2022 02:25: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 ( '24' , '53/A' , '2022-07-20' , 'A' , '540' , '0' , '4673023' , 'CORSO GARIBALDI, 6 84025 EBOLI' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '225.00' , '225.00' , NOW() , NOW() ) 20/07/2022 02:25: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 = '59738' 20/07/2022 02:25:58 pm >> DELETE FROM ps_document_detail WHERE id_document = '59738' 20/07/2022 02:25: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 ( '59738' , '15529' , 'TUNICA 2 PIEGONI COLLO RISV. - PTA002B00' , '5' , '-5' , '0' , '45.00' , '45' , '' , '0' , '225.00' ) 20/07/2022 02:26:08 pm >> DELETE FROM ps_document WHERE id_document = '59738' 20/07/2022 02:26:08 pm >> DELETE FROM ps_document_detail WHERE id_document = '59738' 20/07/2022 03:11:36 pm >> INSERT INTO ps_supplier ( name , email , `date_add` , `date_upd` ) VALUES ( '' , '' , NOW() , NOW() ) 20/07/2022 03:11:36 pm >> INSERT INTO ps_supplier_shop ( id_supplier , id_shop ) VALUES ( '129' , '1' ) 20/07/2022 03:11:36 pm >> INSERT INTO ps_supplier_lang ( id_supplier , id_lang ) VALUES ( '129' , '1' ) 20/07/2022 03:11:37 pm >> INSERT INTO ps_address ( id_supplier , id_country , id_state , alias , lastname , firstname , address1 , city , date_add , date_upd ) VALUES ( '129' , '10' , '0' , '' , '' , '' , '' , '' , NOW() , NOW() ) 20/07/2022 03:12:49 pm >> UPDATE ps_address SET id_state = '130', lastname = 'PRINTì srl', address1 = 'STRADA STATALE 7/bis 45-47', address2 = '', postcode = '83030', dni = '', vat_number = '', city = 'MANOCALZATI', phone = '0825675766', phone_mobile = '', date_upd = NOW() WHERE id_supplier = '129' 20/07/2022 03:12:49 pm >> UPDATE ps_supplier SET email = '', name = 'PRINTì srl', date_upd = NOW() WHERE id_supplier = '129' 20/07/2022 03:12:49 pm >> UPDATE ps_supplier_lang SET description = '', meta_title = '', meta_description = '' WHERE id_supplier = '129' 20/07/2022 03:13:12 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 ( '33' , '721' , '2022-07-20' , '' , '0' , '129' , '74680480' , 'STRADA STATALE 7/bis 45-47 83030 MANOCALZATI' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '0.00' , '0.00' , NOW() , NOW() ) 20/07/2022 03:13:12 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 = '5381' 20/07/2022 03:13:12 pm >> DELETE FROM ps_document_detail WHERE id_document = '5381' 20/07/2022 03:13:12 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 ( '5381' , '23' , 'FATE QUESTO IN MEMORIA DI ME' , '3000' , '3000' , '4' , '0' , '0' , '0' , '0' , '0.0000' ) 20/07/2022 03:13:12 pm >> DELETE FROM ps_product_supplier WHERE id_product = '23' AND id_supplier = '129' 20/07/2022 03:13:12 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '23' , '129' , '1' ) 20/07/2022 05:10:09 pm >> SELECT document_num FROM ps_document WHERE document_num = '2311' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-20') 20/07/2022 05:10:09 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '2311' , '2022-07-20' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '34.20' , '28.03' , NOW() , NOW() ) 20/07/2022 05:10:09 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '59739' 20/07/2022 05:10:09 pm >> DELETE FROM ps_document_detail WHERE id_document = '59739' 20/07/2022 05:10:09 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '59739' , '12817' , 'LIBRO DEI MATRIMONI' , '1' , '-1' , '1' , '38.00' , '31.147540983607' , '22' , '10' , '34.20' ) 20/07/2022 05:10:09 pm >> DELETE FROM ps_product_supplier WHERE id_product = '12817' AND id_supplier = '' 20/07/2022 05:10:09 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '12817' , '' , '1' ) 20/07/2022 06:23:20 pm >> SELECT document_num FROM ps_document WHERE document_num = '2312' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-20') 20/07/2022 06:23:20 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '2312' , '2022-07-20' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '11.40' , '11.40' , NOW() , NOW() ) 20/07/2022 06:23: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 = '59740' 20/07/2022 06:23:20 pm >> DELETE FROM ps_document_detail WHERE id_document = '59740' 20/07/2022 06:23: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 ( '59740' , '16293' , 'ALBUM RICORDO DEL MIO BATTESIMO ROSA' , '1' , '-1' , '4' , '12.00' , '12' , '0' , '5' , '11.40' ) 20/07/2022 06:23:20 pm >> DELETE FROM ps_product_supplier WHERE id_product = '16293' AND id_supplier = '' 20/07/2022 06:23:20 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16293' , '' , '1' ) 20/07/2022 07:04:17 pm >> SELECT document_num FROM ps_document WHERE document_num = '2313' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-20') 20/07/2022 07:04:17 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' , '2313' , '2022-07-20' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '9.80' , '8.03' , NOW() , NOW() ) 20/07/2022 07:04:17 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 = '59741' 20/07/2022 07:04:17 pm >> DELETE FROM ps_document_detail WHERE id_document = '59741' 20/07/2022 07:04:17 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '59741' , '9137' , 'ROSARIO LEGNO CORDA - M14' , '1' , '-1' , '1' , '2.00' , '1.6393442622951' , '22' , '0' , '2.00' ) 20/07/2022 07:04:17 pm >> DELETE FROM ps_product_supplier WHERE id_product = '9137' AND id_supplier = '' 20/07/2022 07:04:17 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '9137' , '' , '1' ) 20/07/2022 07:04:17 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '59741' , '19717' , 'ROSARIO LEGNO SAN BENEDETTO - RE5042NAT' , '1' , '-1' , '1' , '5.80' , '4.7540983606557' , '22' , '0' , '5.80' ) 20/07/2022 07:04:17 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19717' AND id_supplier = '' 20/07/2022 07:04:17 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19717' , '' , '1' ) 20/07/2022 07:04:17 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '59741' , '16132' , 'DECINA IN METALLO - M0123' , '5' , '-5' , '1' , '0.40' , '0.32786885245902' , '22' , '0' , '2.00' ) 20/07/2022 07:04:17 pm >> DELETE FROM ps_product_supplier WHERE id_product = '16132' AND id_supplier = '' 20/07/2022 07:04:17 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16132' , '' , '1' ) 20/07/2022 07:07:39 pm >> SELECT document_num FROM ps_document WHERE document_num = '2314' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-20') 20/07/2022 07:07: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' , '2314' , '2022-07-20' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '1.10' , '0.90' , NOW() , NOW() ) 20/07/2022 07:07: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 = '59742' 20/07/2022 07:07:39 pm >> DELETE FROM ps_document_detail WHERE id_document = '59742' 20/07/2022 07:07: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 ( '59742' , '18122' , 'ROCCA STOPPINO M. 100 - 469/100' , '1' , '-1' , '1' , '1.10' , '0.9016393442623' , '22' , '0' , '1.10' ) 20/07/2022 07:07:39 pm >> DELETE FROM ps_product_supplier WHERE id_product = '18122' AND id_supplier = '' 20/07/2022 07:07:39 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18122' , '' , '1' )