25/07/2022 09:39:27 am >> SELECT document_num FROM ps_document WHERE document_num = '2351' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-25') 25/07/2022 09:39: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 ( '11' , '2351' , '2022-07-25' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '3.80' , '3.11' , NOW() , NOW() ) 25/07/2022 09:39: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 = '59785' 25/07/2022 09:39:27 am >> DELETE FROM ps_document_detail WHERE id_document = '59785' 25/07/2022 09:39: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 ( '59785' , '15094' , 'BRACCIALE DECINA CORDA TAU' , '1' , '-1' , '1' , '3.8' , '3.1147540983607' , '22' , '0' , '3.80' ) 25/07/2022 09:39:27 am >> DELETE FROM ps_product_supplier WHERE id_product = '15094' AND id_supplier = '' 25/07/2022 09:39:27 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '15094' , '' , '1' ) 25/07/2022 09:40:08 am >> SELECT document_num FROM ps_document WHERE document_num = '2351' AND id_document != '59785' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-25') 25/07/2022 09:40:08 am >> UPDATE ps_document SET id_document_type = '11', document_num = '2351', document_date = '2022-07-25', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = '', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '3.80', price_tax_excluded = '3.11', date_upd = NOW() WHERE id_document = '59785' 25/07/2022 09:40:08 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '59785' 25/07/2022 09:40:08 am >> DELETE FROM ps_document_detail WHERE id_document = '59785' 25/07/2022 09:40:08 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '59785' , '15103' , 'GIROCOLLO - 870/24' , '1' , '-1' , '1' , '3.80' , '3.1147540983607' , '22' , '0' , '3.80' ) 25/07/2022 09:40:08 am >> DELETE FROM ps_product_supplier WHERE id_product = '15103' AND id_supplier = '' 25/07/2022 09:40:08 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '15103' , '' , '1' ) 25/07/2022 10:53:38 am >> SELECT document_num FROM ps_document WHERE document_num = '2352' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-25') 25/07/2022 10:53: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' , '2352' , '2022-07-25' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '14.50' , '13.94' , NOW() , NOW() ) 25/07/2022 10:53: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 = '59786' 25/07/2022 10:53:38 am >> DELETE FROM ps_document_detail WHERE id_document = '59786' 25/07/2022 10:53: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 ( '59786' , '16689' , 'OSTIA PAN DI CENA mm80' , '2' , '-2' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '4.00' ) 25/07/2022 10:53:38 am >> DELETE FROM ps_product_supplier WHERE id_product = '16689' AND id_supplier = '' 25/07/2022 10:53:38 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16689' , '' , '1' ) 25/07/2022 10:53: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 ( '59786' , '16163' , 'PARTICOLE TAGLIO CHIUSO - PAN DI CENA' , '3' , '-3' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '10.50' ) 25/07/2022 10:53:38 am >> DELETE FROM ps_product_supplier WHERE id_product = '16163' AND id_supplier = '' 25/07/2022 10:53:38 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16163' , '' , '1' ) 25/07/2022 11:04:49 am >> SELECT document_num FROM ps_document WHERE document_num = '2353' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-25') 25/07/2022 11:04:50 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' , '2353' , '2022-07-25' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '4.75' , '4.75' , NOW() , NOW() ) 25/07/2022 11:04:50 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 = '59787' 25/07/2022 11:04:50 am >> DELETE FROM ps_document_detail WHERE id_document = '59787' 25/07/2022 11:04:50 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 ( '59787' , '19622' , 'SULLA TUA PAROLA - SETT/OTT 2022' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 25/07/2022 11:04:50 am >> DELETE FROM ps_product_supplier WHERE id_product = '19622' AND id_supplier = '' 25/07/2022 11:04:50 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19622' , '' , '1' ) 25/07/2022 11:20:06 am >> SELECT document_num FROM ps_document WHERE document_num = '2354' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-25') 25/07/2022 11:20:06 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' , '2354' , '2022-07-25' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '89.43' , '80.07' , NOW() , NOW() ) 25/07/2022 11:20:06 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 = '59788' 25/07/2022 11:20:06 am >> DELETE FROM ps_document_detail WHERE id_document = '59788' 25/07/2022 11:20:06 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 ( '59788' , '19594' , 'POLO JERSEY COTONE 100%' , '1' , '-1' , '1' , '36.90' , '30.245901639344' , '22' , '0' , '36.90' ) 25/07/2022 11:20:06 am >> DELETE FROM ps_product_supplier WHERE id_product = '19594' AND id_supplier = '' 25/07/2022 11:20:06 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19594' , '' , '1' ) 25/07/2022 11:20:06 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 ( '59788' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '15' , '12.295081967213' , '22' , '0' , '15.00' ) 25/07/2022 11:20:06 am >> DELETE FROM ps_product_supplier WHERE id_product = '7202' AND id_supplier = '' 25/07/2022 11:20:06 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '7202' , '' , '1' ) 25/07/2022 11:20:06 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 ( '59788' , '17865' , 'MESSALE QUOTIDIANO - N. E.' , '1' , '-1' , '4' , '39.50' , '39.5' , '0' , '5' , '37.53' ) 25/07/2022 11:20:06 am >> DELETE FROM ps_product_supplier WHERE id_product = '17865' AND id_supplier = '' 25/07/2022 11:20:06 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17865' , '' , '1' ) 25/07/2022 11:21:05 am >> SELECT document_num FROM ps_document WHERE document_num = '2355' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-25') 25/07/2022 11:21:05 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' , '2355' , '2022-07-25' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '70.90' , '58.11' , NOW() , NOW() ) 25/07/2022 11:21:05 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 = '59789' 25/07/2022 11:21:05 am >> DELETE FROM ps_document_detail WHERE id_document = '59789' 25/07/2022 11:21:05 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 ( '59789' , '19594' , 'POLO JERSEY COTONE 100%' , '1' , '-1' , '1' , '36.90' , '30.245901639344' , '22' , '0' , '36.90' ) 25/07/2022 11:21:05 am >> DELETE FROM ps_product_supplier WHERE id_product = '19594' AND id_supplier = '' 25/07/2022 11:21:05 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19594' , '' , '1' ) 25/07/2022 11:21:05 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 ( '59789' , '3263' , 'CUSTODIA PELLE 4 VOL. - 008' , '1' , '-1' , '1' , '34' , '27.868852459016' , '22' , '0' , '34.00' ) 25/07/2022 11:21:05 am >> DELETE FROM ps_product_supplier WHERE id_product = '3263' AND id_supplier = '' 25/07/2022 11:21:05 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '3263' , '' , '1' ) 25/07/2022 11:23:26 am >> SELECT document_num FROM ps_document WHERE document_num = '2356' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-25') 25/07/2022 11:23:26 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' , '2356' , '2022-07-25' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '33.60' , '31.06' , NOW() , NOW() ) 25/07/2022 11:23:26 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 = '59790' 25/07/2022 11:23:26 am >> DELETE FROM ps_document_detail WHERE id_document = '59790' 25/07/2022 11:23:26 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 ( '59790' , '16163' , 'PARTICOLE TAGLIO CHIUSO - PAN DI CENA' , '6' , '-6' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '21.00' ) 25/07/2022 11:23:26 am >> DELETE FROM ps_product_supplier WHERE id_product = '16163' AND id_supplier = '' 25/07/2022 11:23:26 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16163' , '' , '1' ) 25/07/2022 11:23:26 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 ( '59790' , '7311' , 'OSTIA SOTTILE 74MM' , '2' , '-2' , '3' , '1.90' , '1.8269230769231' , '4' , '0' , '3.80' ) 25/07/2022 11:23:26 am >> DELETE FROM ps_product_supplier WHERE id_product = '7311' AND id_supplier = '' 25/07/2022 11:23:26 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '7311' , '' , '1' ) 25/07/2022 11:23:26 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 ( '59790' , '7202' , 'ARTICOLI RELIGIOSI' , '4' , '-4' , '1' , '2.2' , '1.8032786885246' , '22' , '0' , '8.80' ) 25/07/2022 11:23:26 am >> DELETE FROM ps_product_supplier WHERE id_product = '7202' AND id_supplier = '' 25/07/2022 11:23:26 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '7202' , '' , '1' ) 25/07/2022 11:42:01 am >> SELECT document_num FROM ps_document WHERE document_num = '2357' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-25') 25/07/2022 11:42:01 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' , '2357' , '2022-07-25' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '80.00' , '65.57' , NOW() , NOW() ) 25/07/2022 11:42:01 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 = '59791' 25/07/2022 11:42:01 am >> DELETE FROM ps_document_detail WHERE id_document = '59791' 25/07/2022 11:42:01 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 ( '59791' , '19594' , 'POLO JERSEY COTONE 100%' , '1' , '-1' , '1' , '35' , '28.688524590164' , '22' , '0' , '35.00' ) 25/07/2022 11:42:01 am >> DELETE FROM ps_product_supplier WHERE id_product = '19594' AND id_supplier = '' 25/07/2022 11:42:01 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19594' , '' , '1' ) 25/07/2022 11:42:01 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 ( '59791' , '17802' , 'CAMICE SVASATO - POL.' , '1' , '-1' , '1' , '45' , '36.885245901639' , '22' , '0' , '45.00' ) 25/07/2022 11:42:01 am >> DELETE FROM ps_product_supplier WHERE id_product = '17802' AND id_supplier = '' 25/07/2022 11:42:01 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17802' , '' , '1' ) 25/07/2022 12:04:31 pm >> SELECT document_num FROM ps_document WHERE document_num = '2358' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-25') 25/07/2022 12:04: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 ( '11' , '2358' , '2022-07-25' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '5.50' , '4.51' , NOW() , NOW() ) 25/07/2022 12:04: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 = '59792' 25/07/2022 12:04:31 pm >> DELETE FROM ps_document_detail WHERE id_document = '59792' 25/07/2022 12:04: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 ( '59792' , '17277' , 'BRACCIALE PIETRE DURE - 4633' , '1' , '-1' , '1' , '5.50' , '4.5081967213115' , '22' , '0' , '5.50' ) 25/07/2022 12:04:31 pm >> DELETE FROM ps_product_supplier WHERE id_product = '17277' AND id_supplier = '' 25/07/2022 12:04:31 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17277' , '' , '1' ) 25/07/2022 12:10:09 pm >> SELECT document_num FROM ps_document WHERE document_num = '2359' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-25') 25/07/2022 12: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' , '2359' , '2022-07-25' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '75.00' , '61.48' , NOW() , NOW() ) 25/07/2022 12: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 = '59793' 25/07/2022 12:10:09 pm >> DELETE FROM ps_document_detail WHERE id_document = '59793' 25/07/2022 12: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 ( '59793' , '1951' , 'CERONI S.S. T60 - CARTA ROSSO' , '25' , '-25' , '1' , '3' , '2.4590163934426' , '22' , '0' , '75.00' ) 25/07/2022 12:10:09 pm >> DELETE FROM ps_product_supplier WHERE id_product = '1951' AND id_supplier = '' 25/07/2022 12:10:09 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '1951' , '' , '1' ) 25/07/2022 12:11:43 pm >> SELECT document_num FROM ps_document WHERE document_num = '2360' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-25') 25/07/2022 12:11:43 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '2360' , '2022-07-25' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '10.00' , '8.20' , NOW() , NOW() ) 25/07/2022 12:11: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 = '59794' 25/07/2022 12:11:43 pm >> DELETE FROM ps_document_detail WHERE id_document = '59794' 25/07/2022 12:11: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 ( '59794' , '11272' , 'VETRO ROSSO RUBINO - VKINGS' , '1' , '-1' , '1' , '10.00' , '8.1967213114754' , '22' , '0' , '10.00' ) 25/07/2022 12:11:43 pm >> DELETE FROM ps_product_supplier WHERE id_product = '11272' AND id_supplier = '' 25/07/2022 12:11:43 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '11272' , '' , '1' ) 25/07/2022 12:41:07 pm >> SELECT document_num FROM ps_document WHERE document_num = '2354' AND id_document != '59788' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-25') 25/07/2022 12:41:07 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '2354', document_date = '2022-07-25', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = '', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '89.43', price_tax_excluded = '80.07', date_upd = NOW() WHERE id_document = '59788' 25/07/2022 12:41:07 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 = '59788' 25/07/2022 12:41:07 pm >> DELETE FROM ps_document_detail WHERE id_document = '59788' 25/07/2022 12:41:07 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 ( '59788' , '19594' , 'POLO JERSEY COTONE 100%' , '1' , '-1' , '1' , '36.9000' , '30.245901639344' , '22' , '0' , '36.90' ) 25/07/2022 12:41:07 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19594' AND id_supplier = '' 25/07/2022 12:41:07 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19594' , '' , '1' ) 25/07/2022 12:41:08 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 ( '59788' , '17865' , 'MESSALE QUOTIDIANO - N. E.' , '1' , '-1' , '4' , '39.5000' , '39.5' , '0' , '5' , '37.53' ) 25/07/2022 12:41:08 pm >> DELETE FROM ps_product_supplier WHERE id_product = '17865' AND id_supplier = '' 25/07/2022 12:41:08 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17865' , '' , '1' ) 25/07/2022 12:41:08 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 ( '59788' , '19780' , 'BRACCIALE ARGENTO/EMATITE' , '1' , '-1' , '1' , '15' , '12.295081967213' , '22' , '0' , '15.00' ) 25/07/2022 12:41:08 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19780' AND id_supplier = '' 25/07/2022 12:41:08 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19780' , '' , '1' ) 25/07/2022 02:43:30 pm >> SELECT document_num FROM ps_document WHERE document_num = '2335' AND id_document != '59769' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-23') 25/07/2022 02:43:30 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '2335', document_date = '2022-07-23', 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 = '1.00', price_tax_excluded = '0.82', date_upd = NOW() WHERE id_document = '59769' 25/07/2022 02:43:30 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '59769' 25/07/2022 02:43:30 pm >> DELETE FROM ps_document_detail WHERE id_document = '59769' 25/07/2022 02:43:30 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '59769' , '7915' , 'PERGAMENE - 1A COMUNIONE MOD. D' , '2' , '-2' , '1' , '0.50' , '0.40983606557377' , '22' , '0' , '1.00' ) 25/07/2022 02:43:30 pm >> DELETE FROM ps_product_supplier WHERE id_product = '7915' AND id_supplier = '' 25/07/2022 02:43:30 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '7915' , '' , '1' ) 25/07/2022 03:26:44 pm >> SELECT document_num FROM ps_document WHERE document_num = '2361' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-25') 25/07/2022 03:26:44 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '2361' , '2022-07-25' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '19.30' , '17.53' , NOW() , NOW() ) 25/07/2022 03:26:44 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '59795' 25/07/2022 03:26:44 pm >> DELETE FROM ps_document_detail WHERE id_document = '59795' 25/07/2022 03:26:44 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '59795' , '1914' , 'CERA DELLA LITURGIA' , '2' , '-2' , '1' , '4.90' , '4.016393442623' , '22' , '0' , '9.80' ) 25/07/2022 03:26:44 pm >> DELETE FROM ps_product_supplier WHERE id_product = '1914' AND id_supplier = '' 25/07/2022 03:26:44 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '1914' , '' , '1' ) 25/07/2022 03:26:44 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '59795' , '19622' , 'SULLA TUA PAROLA - SETT/OTT 2022' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 25/07/2022 03:26:45 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19622' AND id_supplier = '' 25/07/2022 03:26:45 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19622' , '' , '1' ) 25/07/2022 03:26:45 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '59795' , '19467' , 'SULLA TUA PAROLA - LUG/AGO 2022' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 25/07/2022 03:26:45 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19467' AND id_supplier = '' 25/07/2022 03:26:45 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19467' , '' , '1' ) 25/07/2022 03:37:55 pm >> INSERT INTO ps_product ( ean13 , id_tax_rules_group , `date_add` , `date_upd` ) VALUES ( '' , '1' , NOW() , NOW() ) 25/07/2022 03:37:55 pm >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '19804' , '1' , '' , 'nuovo-prodotto' ) 25/07/2022 03:37:56 pm >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , `date_add` , `date_upd` ) VALUES ( '19804' , '1' , '1' , '2' , NOW() , NOW() ) 25/07/2022 03:37:56 pm >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) VALUES ( '19804' , '0' , '1' , '0' , '0' ) 25/07/2022 03:50:45 pm >> SELECT ean13 FROM ps_product WHERE ean13 = 'ART.21' AND id_product != '19804' AND ean13 != '' 25/07/2022 03:50:45 pm >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = 'ART.21', date_upd = NOW() WHERE id_product = '19804' 25/07/2022 03:50:45 pm >> UPDATE ps_product_lang SET name = 'CORONA 5 CM', description = '' WHERE id_product = '19804' 25/07/2022 03:50:45 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '49.18032786885246' WHERE id_product = '19804' 25/07/2022 03:50:45 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '49.18032786885246', id_tax_rules_group = '1', id_category_default = '2', id_argoment_default = '', id_internal_category = '', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '19804' 25/07/2022 03:50:45 pm >> DELETE FROM ps_specific_price WHERE id_product = '19804' 25/07/2022 03:50:58 pm >> SELECT ean13 FROM ps_product WHERE ean13 = 'ART.21' AND id_product != '19804' AND ean13 != '' 25/07/2022 03:50:58 pm >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = 'ART.21', date_upd = NOW() WHERE id_product = '19804' 25/07/2022 03:50:58 pm >> UPDATE ps_product_lang SET name = 'CORONA 5 CM', description = '' WHERE id_product = '19804' 25/07/2022 03:50:58 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '49.18032786885246' WHERE id_product = '19804' 25/07/2022 03:50:58 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '49.18032786885246', id_tax_rules_group = '1', id_category_default = '424', 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 = '19804' 25/07/2022 03:50:58 pm >> DELETE FROM ps_specific_price WHERE id_product = '19804' 25/07/2022 03:51:10 pm >> SELECT ean13 FROM ps_product WHERE ean13 = 'ART.21' AND id_product != '19804' AND ean13 != '' 25/07/2022 03:51:10 pm >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = 'ART.21', date_upd = NOW() WHERE id_product = '19804' 25/07/2022 03:51:10 pm >> UPDATE ps_product_lang SET name = 'CORONA 5 CM', description = '' WHERE id_product = '19804' 25/07/2022 03:51:10 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '49.18032786885246' WHERE id_product = '19804' 25/07/2022 03:51:10 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '49.18032786885246', id_tax_rules_group = '1', id_category_default = '424', 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 = '19804' 25/07/2022 03:51:10 pm >> DELETE FROM ps_specific_price WHERE id_product = '19804' 25/07/2022 04:08: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 ( '31' , '170/A' , '2022-07-22' , 'A' , '0' , '116' , '4669160' , 'VIA SAN DOMENICO snc 80044 OTTAVIANO' , '' , '' , '12' , '1' , '0' , '0' , '0' , '' , '3' , '0' , '153.63' , '125.93' , NOW() , NOW() ) 25/07/2022 04:08: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 = '59796' 25/07/2022 04:08:20 pm >> DELETE FROM ps_document_detail WHERE id_document = '59796' 25/07/2022 04:08: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 ( '59796' , '19804' , 'CORONA 5 CM' , '1' , '1' , '1' , '53.13' , '43.549180327869' , '22' , '45' , '35.6502' ) 25/07/2022 04:08:20 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19804' AND id_supplier = '116' 25/07/2022 04:08:20 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19804' , '116' , '1' ) 25/07/2022 04:08: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 ( '59796' , '14062' , 'STELLARIO PLEX CM 8' , '10' , '10' , '1' , '5.65' , '4.6311475409836' , '22' , '45' , '37.9115' ) 25/07/2022 04:08:20 pm >> DELETE FROM ps_product_supplier WHERE id_product = '14062' AND id_supplier = '116' 25/07/2022 04:08:20 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '14062' , '116' , '1' ) 25/07/2022 04:08: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 ( '59796' , '14063' , 'STELLARIO PLEX CM 10 / 12' , '15' , '15' , '1' , '6.5' , '5.327868852459' , '22' , '45' , '65.4225' ) 25/07/2022 04:08:20 pm >> DELETE FROM ps_product_supplier WHERE id_product = '14063' AND id_supplier = '116' 25/07/2022 04:08:20 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '14063' , '116' , '1' ) 25/07/2022 04:08: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 ( '59796' , '' , 'ARROTONDAMENTO' , '1' , '1' , '0' , '0.01' , '0.01' , '' , '0' , '0.0100' ) 25/07/2022 04:08:20 pm >> DELETE FROM ps_product_supplier WHERE id_product = '' AND id_supplier = '116' 25/07/2022 04:08:20 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '' , '116' , '1' ) 25/07/2022 05:09:39 pm >> SELECT document_num FROM ps_document WHERE document_num = '9/L' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2022-07-25') 25/07/2022 05:09: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 ( '23' , '9/L' , '2022-07-25' , 'L' , '204' , '0' , '4671483' , 'VIA ROBERTO IL GUISCARDO, 3 84121 SALERNO' , '' , 'cappellania da procida' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '219.30' , '182.09' , NOW() , NOW() ) 25/07/2022 05:09: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 = '59797' 25/07/2022 05:09:39 pm >> DELETE FROM ps_document_detail WHERE id_document = '59797' 25/07/2022 05:09: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 ( '59797' , '16163' , 'PARTICOLE TAGLIO CHIUSO - PAN DI CENA' , '2' , '-2' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '7.00' ) 25/07/2022 05:09: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 ( '59797' , '7311' , 'OSTIA SOTTILE 74MM' , '5' , '-5' , '3' , '1.90' , '1.8269230769231' , '4' , '0' , '9.50' ) 25/07/2022 05:09: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 ( '59797' , '1914' , 'CERA DELLA LITURGIA' , '24' , '-24' , '1' , '4.7' , '3.8524590163934' , '22' , '0' , '112.80' ) 25/07/2022 05:09: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 ( '59797' , '5903' , 'LITURGICO ART. 60LT ROSSO SUPER' , '30' , '-30' , '1' , '3' , '2.4590163934426' , '22' , '0' , '90.00' ) 25/07/2022 05:24:42 pm >> SELECT document_num FROM ps_document WHERE document_num = '2141' AND id_document != '59012' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-01') 25/07/2022 05:24:42 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '2141', document_date = '2022-07-01', 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 = '27.50', price_tax_excluded = '24.80', date_upd = NOW() WHERE id_document = '59012' 25/07/2022 05:24: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 = '59012' 25/07/2022 05:24:43 pm >> DELETE FROM ps_document_detail WHERE id_document = '59012' 25/07/2022 05:24: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 ( '59012' , '1220' , 'BICCHIERI FLAMBEAUX - PZ. 50' , '1' , '-1' , '1' , '15.0000' , '12.295081967213' , '22' , '0' , '15.00' ) 25/07/2022 05:24:43 pm >> DELETE FROM ps_product_supplier WHERE id_product = '1220' AND id_supplier = '' 25/07/2022 05:24:43 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '1220' , '' , '1' ) 25/07/2022 05:24: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 ( '59012' , '11151' , 'LIBRI' , '1' , '-1' , '4' , '7.75' , '7.75' , '0' , '0' , '7.75' ) 25/07/2022 05:24:43 pm >> DELETE FROM ps_product_supplier WHERE id_product = '11151' AND id_supplier = '' 25/07/2022 05:24:43 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '11151' , '' , '1' ) 25/07/2022 05:24: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 ( '59012' , '19467' , 'SULLA TUA PAROLA - LUG/AGO 2022' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 25/07/2022 05:24:43 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19467' AND id_supplier = '' 25/07/2022 05:24:43 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19467' , '' , '1' ) 25/07/2022 05:25:54 pm >> SELECT document_num FROM ps_document WHERE document_num = '9/L' AND id_document != '59797' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2022-07-25') 25/07/2022 05:25:54 pm >> UPDATE ps_document SET id_document_type = '23', document_num = '9/L', document_date = '2022-07-25', document_letter = 'L', id_customer = '204', id_supplier = '', id_address = '4671483', address1 = 'VIA ROBERTO IL GUISCARDO, 3 84121 SALERNO', address2 = '', note = 'CAPPELLANIA OSPEDALIERA: \"G. DA PROCIDA\"', 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 = '219.30', price_tax_excluded = '182.09', date_upd = NOW() WHERE id_document = '59797' 25/07/2022 05:25:54 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 = '59797' 25/07/2022 05:25:54 pm >> DELETE FROM ps_document_detail WHERE id_document = '59797' 25/07/2022 05:25:54 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 ( '59797' , '16163' , 'PARTICOLE TAGLIO CHIUSO - PAN DI CENA' , '2' , '-2' , '3' , '3.5000' , '3.3653846153846' , '4' , '0' , '7.00' ) 25/07/2022 05:25:54 pm >> DELETE FROM ps_product_supplier WHERE id_product = '16163' AND id_supplier = '' 25/07/2022 05:25:54 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16163' , '' , '1' ) 25/07/2022 05:25:54 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 ( '59797' , '7311' , 'OSTIA SOTTILE 74MM' , '5' , '-5' , '3' , '1.9000' , '1.8269230769231' , '4' , '0' , '9.50' ) 25/07/2022 05:25:54 pm >> DELETE FROM ps_product_supplier WHERE id_product = '7311' AND id_supplier = '' 25/07/2022 05:25:55 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '7311' , '' , '1' ) 25/07/2022 05:25:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '59797' , '1914' , 'CERA DELLA LITURGIA' , '24' , '-24' , '1' , '4.7000' , '3.8524590163934' , '22' , '0' , '112.80' ) 25/07/2022 05:25:55 pm >> DELETE FROM ps_product_supplier WHERE id_product = '1914' AND id_supplier = '' 25/07/2022 05:25:55 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '1914' , '' , '1' ) 25/07/2022 05:25:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '59797' , '5903' , 'LITURGICO ART. 60LT ROSSO SUPER' , '30' , '-30' , '1' , '3.0000' , '2.4590163934426' , '22' , '0' , '90.00' ) 25/07/2022 05:25:55 pm >> DELETE FROM ps_product_supplier WHERE id_product = '5903' AND id_supplier = '' 25/07/2022 05:25:55 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5903' , '' , '1' ) 25/07/2022 05:26:09 pm >> SELECT document_num FROM ps_document WHERE document_num = '9/L' AND id_document != '59797' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2022-07-25') 25/07/2022 05:26:09 pm >> UPDATE ps_document SET id_document_type = '23', document_num = '9/L', document_date = '2022-07-25', document_letter = 'L', id_customer = '204', id_supplier = '', id_address = '4671483', address1 = 'VIA ROBERTO IL GUISCARDO, 3 84121 SALERNO', address2 = '', note = 'CAPPELLANIA OSPEDALIERA: \"G. DA PROCIDA\"', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '3', id_causal = '0', price_tax_included = '219.30', price_tax_excluded = '182.09', date_upd = NOW() WHERE id_document = '59797' 25/07/2022 05:26: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 = '59797' 25/07/2022 05:26:09 pm >> DELETE FROM ps_document_detail WHERE id_document = '59797' 25/07/2022 05:26: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 ( '59797' , '16163' , 'PARTICOLE TAGLIO CHIUSO - PAN DI CENA' , '2' , '-2' , '3' , '3.5000' , '3.3653846153846' , '4' , '0' , '7.00' ) 25/07/2022 05:26:09 pm >> DELETE FROM ps_product_supplier WHERE id_product = '16163' AND id_supplier = '' 25/07/2022 05:26:09 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16163' , '' , '1' ) 25/07/2022 05:26: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 ( '59797' , '7311' , 'OSTIA SOTTILE 74MM' , '5' , '-5' , '3' , '1.9000' , '1.8269230769231' , '4' , '0' , '9.50' ) 25/07/2022 05:26:09 pm >> DELETE FROM ps_product_supplier WHERE id_product = '7311' AND id_supplier = '' 25/07/2022 05:26:09 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '7311' , '' , '1' ) 25/07/2022 05:26: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 ( '59797' , '1914' , 'CERA DELLA LITURGIA' , '24' , '-24' , '1' , '4.7000' , '3.8524590163934' , '22' , '0' , '112.80' ) 25/07/2022 05:26:09 pm >> DELETE FROM ps_product_supplier WHERE id_product = '1914' AND id_supplier = '' 25/07/2022 05:26:09 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '1914' , '' , '1' ) 25/07/2022 05:26: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 ( '59797' , '5903' , 'LITURGICO ART. 60LT ROSSO SUPER' , '30' , '-30' , '1' , '3.0000' , '2.4590163934426' , '22' , '0' , '90.00' ) 25/07/2022 05:26:09 pm >> DELETE FROM ps_product_supplier WHERE id_product = '5903' AND id_supplier = '' 25/07/2022 05:26:09 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5903' , '' , '1' ) 25/07/2022 06:09:49 pm >> SELECT document_num FROM ps_document WHERE document_num = '35/A' AND id_document != '56634' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2022-05-06') 25/07/2022 06:09:49 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '35/A', document_date = '2022-05-06', document_letter = 'A', id_customer = '371', id_supplier = '', id_address = '4670910', address1 = 'VIA PIAVE, 4 84080 CASTEL SAN GIORGIO', 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 = '78.00', price_tax_excluded = '63.93', date_upd = NOW() WHERE id_document = '56634' 25/07/2022 06:09:49 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 = '56634' 25/07/2022 06:09:49 pm >> DELETE FROM ps_document_detail WHERE id_document = '56634' 25/07/2022 06:09:49 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 ( '56634' , '14920' , 'CASULA AVE MARIA - PCA032' , '1' , '-1' , '1' , '78.0000' , '63.934426229508' , '22' , '0' , '78.00' ) 25/07/2022 06:09:49 pm >> DELETE FROM ps_product_supplier WHERE id_product = '14920' AND id_supplier = '' 25/07/2022 06:09:49 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '14920' , '' , '1' ) 25/07/2022 06:17:14 pm >> SELECT document_num FROM ps_document WHERE document_num = '2159' AND id_document != '59036' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-04') 25/07/2022 06:17:14 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '2159', document_date = '2022-07-04', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = 'P.ZZA DUOMO, 1 84096 MONTECORVINO ROVELLA', 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 = '314.00', price_tax_excluded = '276.82', date_upd = NOW() WHERE id_document = '59036' 25/07/2022 06:17: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 = '59036' 25/07/2022 06:17:14 pm >> DELETE FROM ps_document_detail WHERE id_document = '59036' 25/07/2022 06:17: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 ( '59036' , '2777' , 'CORONCINA E NOVENA ALLA DIVINA MISERICORDIA' , '10' , '-10' , '4' , '2.0000' , '2' , '0' , '5' , '19.00' ) 25/07/2022 06:17:14 pm >> DELETE FROM ps_product_supplier WHERE id_product = '2777' AND id_supplier = '' 25/07/2022 06:17:14 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '2777' , '' , '1' ) 25/07/2022 06:17: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 ( '59036' , '17526' , 'PREGHIERE EUCARISTICHE PER CONCELEBRAZIONE N.E.' , '4' , '-4' , '4' , '6.0000' , '6' , '0' , '5' , '22.80' ) 25/07/2022 06:17:14 pm >> DELETE FROM ps_product_supplier WHERE id_product = '17526' AND id_supplier = '' 25/07/2022 06:17:14 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17526' , '' , '1' ) 25/07/2022 06:17: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 ( '59036' , '7311' , 'OSTIA SOTTILE 74MM' , '14' , '-14' , '3' , '1.9000' , '1.8269230769231' , '4' , '0' , '26.60' ) 25/07/2022 06:17:14 pm >> DELETE FROM ps_product_supplier WHERE id_product = '7311' AND id_supplier = '' 25/07/2022 06:17:14 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '7311' , '' , '1' ) 25/07/2022 06:17: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 ( '59036' , '7673' , 'PARTICOLE MM38' , '7' , '-7' , '3' , '3.0000' , '2.8846153846154' , '4' , '0' , '21.00' ) 25/07/2022 06:17:14 pm >> DELETE FROM ps_product_supplier WHERE id_product = '7673' AND id_supplier = '' 25/07/2022 06:17:14 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '7673' , '' , '1' ) 25/07/2022 06:17: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 ( '59036' , '16691' , 'PARTICOLE PER CELIACI 25pz' , '2' , '-2' , '3' , '3.5000' , '3.3653846153846' , '4' , '0' , '7.00' ) 25/07/2022 06:17:14 pm >> DELETE FROM ps_product_supplier WHERE id_product = '16691' AND id_supplier = '' 25/07/2022 06:17:14 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16691' , '' , '1' ) 25/07/2022 06:17: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 ( '59036' , '15666' , 'MIRACOLOSA CM 60' , '1' , '-1' , '1' , '180.0000' , '147.54098360656' , '22' , '0' , '180.00' ) 25/07/2022 06:17:14 pm >> DELETE FROM ps_product_supplier WHERE id_product = '15666' AND id_supplier = '' 25/07/2022 06:17:14 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '15666' , '' , '1' ) 25/07/2022 06:17: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 ( '59036' , '3073' , 'CROCE PRIMA COMUNIONE - LEGNO SCURO - 713/15' , '10' , '-10' , '1' , '1.2000' , '0.98360655737705' , '22' , '0' , '12.00' ) 25/07/2022 06:17:14 pm >> DELETE FROM ps_product_supplier WHERE id_product = '3073' AND id_supplier = '' 25/07/2022 06:17:14 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '3073' , '' , '1' ) 25/07/2022 06:17: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 ( '59036' , '11151' , 'LIBRI' , '1' , '-1' , '4' , '4.1' , '4.1' , '0' , '0' , '4.10' ) 25/07/2022 06:17:14 pm >> DELETE FROM ps_product_supplier WHERE id_product = '11151' AND id_supplier = '' 25/07/2022 06:17:14 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '11151' , '' , '1' ) 25/07/2022 06:17: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 ( '59036' , '16689' , 'OSTIA PAN DI CENA mm80' , '6' , '-6' , '3' , '2.0000' , '1.9230769230769' , '4' , '0' , '12.00' ) 25/07/2022 06:17:14 pm >> DELETE FROM ps_product_supplier WHERE id_product = '16689' AND id_supplier = '' 25/07/2022 06:17:14 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16689' , '' , '1' ) 25/07/2022 06:17:15 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 ( '59036' , '19622' , 'SULLA TUA PAROLA - SETT/OTT 2022' , '2' , '-2' , '4' , '5.00' , '5' , '0' , '5' , '9.50' ) 25/07/2022 06:17:15 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19622' AND id_supplier = '' 25/07/2022 06:17:15 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19622' , '' , '1' ) 25/07/2022 06:35:21 pm >> SELECT document_num FROM ps_document WHERE document_num = '2362' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-25') 25/07/2022 06:35:21 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '2362' , '2022-07-25' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '9.00' , '7.38' , NOW() , NOW() ) 25/07/2022 06:35: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 = '59798' 25/07/2022 06:35:21 pm >> DELETE FROM ps_document_detail WHERE id_document = '59798' 25/07/2022 06:35: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 ( '59798' , '14062' , 'STELLARIO PLEX CM 8' , '1' , '-1' , '1' , '9.00' , '7.3770491803279' , '22' , '0' , '9.00' ) 25/07/2022 06:35:21 pm >> DELETE FROM ps_product_supplier WHERE id_product = '14062' AND id_supplier = '' 25/07/2022 06:35:21 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '14062' , '' , '1' ) 25/07/2022 06:37:55 pm >> SELECT document_num FROM ps_document WHERE document_num = '2363' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-25') 25/07/2022 06:37:55 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '2363' , '2022-07-25' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '65.10' , '65.10' , NOW() , NOW() ) 25/07/2022 06:37:55 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '59799' 25/07/2022 06:37:55 pm >> DELETE FROM ps_document_detail WHERE id_document = '59799' 25/07/2022 06:37:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '59799' , '4223' , 'FOGLIETTI LA DOMENICA SAN PAOLO' , '50' , '-50' , '4' , '0.56' , '0.56' , '0' , '0' , '28.00' ) 25/07/2022 06:37:55 pm >> DELETE FROM ps_product_supplier WHERE id_product = '4223' AND id_supplier = '' 25/07/2022 06:37:55 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '4223' , '' , '1' ) 25/07/2022 06:37:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '59799' , '19684' , 'AMEN - SETT. 2022' , '5' , '-5' , '4' , '3.90' , '3.9' , '0' , '5' , '18.55' ) 25/07/2022 06:37:55 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19684' AND id_supplier = '' 25/07/2022 06:37:55 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19684' , '' , '1' ) 25/07/2022 06:37:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '59799' , '19685' , 'AMEN - OTT 2022' , '5' , '-5' , '4' , '3.90' , '3.9' , '0' , '5' , '18.55' ) 25/07/2022 06:37:55 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19685' AND id_supplier = '' 25/07/2022 06:37:55 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19685' , '' , '1' ) 25/07/2022 06:38:34 pm >> DELETE FROM ps_document WHERE id_document = '51968' 25/07/2022 06:38:34 pm >> DELETE FROM ps_document_detail WHERE id_document = '51968' 25/07/2022 06:46:38 pm >> SELECT document_num FROM ps_document WHERE document_num = '55/A' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2022-07-25') 25/07/2022 06:46:38 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' , '55/A' , '2022-07-25' , 'A' , '204' , '0' , '4671483' , 'VIA ROBERTO IL GUISCARDO, 3 84121 SALERNO' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '37.90' , '31.07' , NOW() , NOW() ) 25/07/2022 06:46:38 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 = '59800' 25/07/2022 06:46:38 pm >> DELETE FROM ps_document_detail WHERE id_document = '59800' 25/07/2022 06:46:38 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 ( '59800' , '14247' , 'ROSARIO ULIVO OVALE CON SETA E CROCE SAN DAMIANO' , '12' , '-12' , '1' , '1.3' , '1.0655737704918' , '22' , '0' , '15.60' ) 25/07/2022 06:46:38 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 ( '59800' , '1331' , 'BRACCIALE LEGNO BICOLORE - 034CYB499' , '1' , '-1' , '1' , '1.00' , '0.81967213114754' , '22' , '0' , '1.00' ) 25/07/2022 06:46:38 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 ( '59800' , '18215' , 'BRACCIALE DECINA VARI COL. - BC752' , '10' , '-10' , '1' , '1.00' , '0.81967213114754' , '22' , '0' , '10.00' ) 25/07/2022 06:46:38 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 ( '59800' , '13103' , 'BRACCIALE BAMBOO - CY B 774' , '10' , '-10' , '1' , '1.00' , '0.81967213114754' , '22' , '0' , '10.00' ) 25/07/2022 06:46:38 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 ( '59800' , '1312' , 'BRACCIALE DECINA' , '1' , '-1' , '1' , '1.30' , '1.0655737704918' , '22' , '0' , '1.30' ) 25/07/2022 06:56:04 pm >> SELECT document_num FROM ps_document WHERE document_num = '55/A' AND id_document != '59800' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2022-07-25') 25/07/2022 06:56:04 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '55/A', document_date = '2022-07-25', document_letter = 'A', id_customer = '204', id_supplier = '', id_address = '4671483', address1 = 'VIA ROBERTO IL GUISCARDO, 3 84121 SALERNO', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '276.30', price_tax_excluded = '229.17', date_upd = NOW() WHERE id_document = '59800' 25/07/2022 06:56: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 = '59800' 25/07/2022 06:56:04 pm >> DELETE FROM ps_document_detail WHERE id_document = '59800' 25/07/2022 06:56: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 ( '59800' , '14247' , 'ROSARIO ULIVO OVALE CON SETA E CROCE SAN DAMIANO' , '12' , '-12' , '1' , '1.3000' , '1.0655737704918' , '22' , '0' , '15.60' ) 25/07/2022 06:56:04 pm >> DELETE FROM ps_product_supplier WHERE id_product = '14247' AND id_supplier = '' 25/07/2022 06:56:04 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '14247' , '' , '1' ) 25/07/2022 06:56: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 ( '59800' , '1331' , 'BRACCIALE LEGNO BICOLORE - 034CYB499' , '1' , '-1' , '1' , '1.0000' , '0.81967213114754' , '22' , '0' , '1.00' ) 25/07/2022 06:56:04 pm >> DELETE FROM ps_product_supplier WHERE id_product = '1331' AND id_supplier = '' 25/07/2022 06:56:04 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '1331' , '' , '1' ) 25/07/2022 06:56: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 ( '59800' , '18215' , 'BRACCIALE DECINA VARI COL. - BC752' , '10' , '-10' , '1' , '1.0000' , '0.81967213114754' , '22' , '0' , '10.00' ) 25/07/2022 06:56:04 pm >> DELETE FROM ps_product_supplier WHERE id_product = '18215' AND id_supplier = '' 25/07/2022 06:56:04 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18215' , '' , '1' ) 25/07/2022 06:56: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 ( '59800' , '13103' , 'BRACCIALE BAMBOO - CY B 774' , '10' , '-10' , '1' , '1.0000' , '0.81967213114754' , '22' , '0' , '10.00' ) 25/07/2022 06:56:04 pm >> DELETE FROM ps_product_supplier WHERE id_product = '13103' AND id_supplier = '' 25/07/2022 06:56:04 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '13103' , '' , '1' ) 25/07/2022 06:56: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 ( '59800' , '1312' , 'BRACCIALE DECINA' , '1' , '-1' , '1' , '1.3000' , '1.0655737704918' , '22' , '0' , '1.30' ) 25/07/2022 06:56:04 pm >> DELETE FROM ps_product_supplier WHERE id_product = '1312' AND id_supplier = '' 25/07/2022 06:56:04 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '1312' , '' , '1' ) 25/07/2022 06:56: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 ( '59800' , '1914' , 'CERA DELLA LITURGIA' , '12' , '-12' , '1' , '4.7' , '3.8524590163934' , '22' , '0' , '56.40' ) 25/07/2022 06:56:04 pm >> DELETE FROM ps_product_supplier WHERE id_product = '1914' AND id_supplier = '' 25/07/2022 06:56:04 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '1914' , '' , '1' ) 25/07/2022 06:56: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 ( '59800' , '5903' , 'LITURGICO ART. 60LT ROSSO SUPER' , '30' , '-30' , '1' , '3' , '2.4590163934426' , '22' , '0' , '90.00' ) 25/07/2022 06:56:04 pm >> DELETE FROM ps_product_supplier WHERE id_product = '5903' AND id_supplier = '' 25/07/2022 06:56:04 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5903' , '' , '1' ) 25/07/2022 06:56: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 ( '59800' , '16689' , 'OSTIA PAN DI CENA mm80' , '6' , '-6' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '12.00' ) 25/07/2022 06:56:04 pm >> DELETE FROM ps_product_supplier WHERE id_product = '16689' AND id_supplier = '' 25/07/2022 06:56:04 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16689' , '' , '1' ) 25/07/2022 06:56: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 ( '59800' , '16163' , 'PARTICOLE TAGLIO CHIUSO - PAN DI CENA' , '2' , '-2' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '7.00' ) 25/07/2022 06:56:04 pm >> DELETE FROM ps_product_supplier WHERE id_product = '16163' AND id_supplier = '' 25/07/2022 06:56:04 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16163' , '' , '1' ) 25/07/2022 06:56: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 ( '59800' , '11384' , 'VINO BIANCO DOLCE - 102' , '2' , '-2' , '1' , '7.50' , '6.1475409836066' , '22' , '0' , '15.00' ) 25/07/2022 06:56:04 pm >> DELETE FROM ps_product_supplier WHERE id_product = '11384' AND id_supplier = '' 25/07/2022 06:56:05 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '11384' , '' , '1' ) 25/07/2022 06:56:05 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 ( '59800' , '19099' , 'INCENSO A' , '1' , '-1' , '1' , '46.00' , '37.704918032787' , '22' , '0' , '46.00' ) 25/07/2022 06:56:05 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19099' AND id_supplier = '' 25/07/2022 06:56:05 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19099' , '' , '1' ) 25/07/2022 06:56:05 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 ( '59800' , '17161' , 'CARBONCINI NERI - CARNE' , '1' , '-1' , '1' , '12.00' , '9.8360655737705' , '22' , '0' , '12.00' ) 25/07/2022 06:56:05 pm >> DELETE FROM ps_product_supplier WHERE id_product = '17161' AND id_supplier = '' 25/07/2022 06:56:05 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17161' , '' , '1' ) 25/07/2022 06:56:34 pm >> SELECT document_num FROM ps_document WHERE document_num = '55/A' AND id_document != '59800' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2022-07-25') 25/07/2022 06:56:34 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '55/A', document_date = '2022-07-25', document_letter = 'A', id_customer = '204', id_supplier = '', id_address = '4671483', address1 = 'VIA ROBERTO IL GUISCARDO, 3 84121 SALERNO', address2 = '', note = 'capp. s. leonardo', 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 = '276.30', price_tax_excluded = '229.17', date_upd = NOW() WHERE id_document = '59800' 25/07/2022 06:56:34 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 = '59800' 25/07/2022 06:56:34 pm >> DELETE FROM ps_document_detail WHERE id_document = '59800' 25/07/2022 06:56:34 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 ( '59800' , '14247' , 'ROSARIO ULIVO OVALE CON SETA E CROCE SAN DAMIANO' , '12' , '-12' , '1' , '1.3000' , '1.0655737704918' , '22' , '0' , '15.60' ) 25/07/2022 06:56:34 pm >> DELETE FROM ps_product_supplier WHERE id_product = '14247' AND id_supplier = '' 25/07/2022 06:56:34 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '14247' , '' , '1' ) 25/07/2022 06:56:34 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 ( '59800' , '1331' , 'BRACCIALE LEGNO BICOLORE - 034CYB499' , '1' , '-1' , '1' , '1.0000' , '0.81967213114754' , '22' , '0' , '1.00' ) 25/07/2022 06:56:34 pm >> DELETE FROM ps_product_supplier WHERE id_product = '1331' AND id_supplier = '' 25/07/2022 06:56:34 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '1331' , '' , '1' ) 25/07/2022 06:56:34 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 ( '59800' , '18215' , 'BRACCIALE DECINA VARI COL. - BC752' , '10' , '-10' , '1' , '1.0000' , '0.81967213114754' , '22' , '0' , '10.00' ) 25/07/2022 06:56:34 pm >> DELETE FROM ps_product_supplier WHERE id_product = '18215' AND id_supplier = '' 25/07/2022 06:56:34 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18215' , '' , '1' ) 25/07/2022 06:56:34 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 ( '59800' , '13103' , 'BRACCIALE BAMBOO - CY B 774' , '10' , '-10' , '1' , '1.0000' , '0.81967213114754' , '22' , '0' , '10.00' ) 25/07/2022 06:56:34 pm >> DELETE FROM ps_product_supplier WHERE id_product = '13103' AND id_supplier = '' 25/07/2022 06:56:34 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '13103' , '' , '1' ) 25/07/2022 06:56:34 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 ( '59800' , '1312' , 'BRACCIALE DECINA' , '1' , '-1' , '1' , '1.3000' , '1.0655737704918' , '22' , '0' , '1.30' ) 25/07/2022 06:56:34 pm >> DELETE FROM ps_product_supplier WHERE id_product = '1312' AND id_supplier = '' 25/07/2022 06:56:34 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '1312' , '' , '1' ) 25/07/2022 06:56:34 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 ( '59800' , '1914' , 'CERA DELLA LITURGIA' , '12' , '-12' , '1' , '4.7000' , '3.8524590163934' , '22' , '0' , '56.40' ) 25/07/2022 06:56:34 pm >> DELETE FROM ps_product_supplier WHERE id_product = '1914' AND id_supplier = '' 25/07/2022 06:56:34 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '1914' , '' , '1' ) 25/07/2022 06:56: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 ( '59800' , '5903' , 'LITURGICO ART. 60LT ROSSO SUPER' , '30' , '-30' , '1' , '3.0000' , '2.4590163934426' , '22' , '0' , '90.00' ) 25/07/2022 06:56:35 pm >> DELETE FROM ps_product_supplier WHERE id_product = '5903' AND id_supplier = '' 25/07/2022 06:56:35 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5903' , '' , '1' ) 25/07/2022 06:56: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 ( '59800' , '16689' , 'OSTIA PAN DI CENA mm80' , '6' , '-6' , '3' , '2.0000' , '1.9230769230769' , '4' , '0' , '12.00' ) 25/07/2022 06:56:35 pm >> DELETE FROM ps_product_supplier WHERE id_product = '16689' AND id_supplier = '' 25/07/2022 06:56:35 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16689' , '' , '1' ) 25/07/2022 06:56: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 ( '59800' , '16163' , 'PARTICOLE TAGLIO CHIUSO - PAN DI CENA' , '2' , '-2' , '3' , '3.5000' , '3.3653846153846' , '4' , '0' , '7.00' ) 25/07/2022 06:56:35 pm >> DELETE FROM ps_product_supplier WHERE id_product = '16163' AND id_supplier = '' 25/07/2022 06:56:35 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16163' , '' , '1' ) 25/07/2022 06:56: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 ( '59800' , '11384' , 'VINO BIANCO DOLCE - 102' , '2' , '-2' , '1' , '7.5000' , '6.1475409836066' , '22' , '0' , '15.00' ) 25/07/2022 06:56:35 pm >> DELETE FROM ps_product_supplier WHERE id_product = '11384' AND id_supplier = '' 25/07/2022 06:56:35 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '11384' , '' , '1' ) 25/07/2022 06:56: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 ( '59800' , '19099' , 'INCENSO A' , '1' , '-1' , '1' , '46.0000' , '37.704918032787' , '22' , '0' , '46.00' ) 25/07/2022 06:56:35 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19099' AND id_supplier = '' 25/07/2022 06:56:35 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19099' , '' , '1' ) 25/07/2022 06:56: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 ( '59800' , '17161' , 'CARBONCINI NERI - CARNE' , '1' , '-1' , '1' , '12.0000' , '9.8360655737705' , '22' , '0' , '12.00' ) 25/07/2022 06:56:35 pm >> DELETE FROM ps_product_supplier WHERE id_product = '17161' AND id_supplier = '' 25/07/2022 06:56:35 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17161' , '' , '1' ) 25/07/2022 07:24:11 pm >> SELECT document_num FROM ps_document WHERE document_num = '2240' AND id_document != '59140' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-07-11') 25/07/2022 07:24:11 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '2240', document_date = '2022-07-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 = '20.50', price_tax_excluded = '19.69', date_upd = NOW() WHERE id_document = '59140' 25/07/2022 07:24:11 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 = '59140' 25/07/2022 07:24:11 pm >> DELETE FROM ps_document_detail WHERE id_document = '59140' 25/07/2022 07:24:11 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 ( '59140' , '4697' , 'GLORIA MISCELA 25G - GLORE' , '1' , '-1' , '1' , '1.5000' , '1.2295081967213' , '22' , '0' , '1.50' ) 25/07/2022 07:24:11 pm >> DELETE FROM ps_product_supplier WHERE id_product = '4697' AND id_supplier = '' 25/07/2022 07:24:11 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '4697' , '' , '1' ) 25/07/2022 07:24:11 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 ( '59140' , '19588' , 'SCELTA DI ENEA - L. EPICOCO' , '1' , '-1' , '4' , '16.0000' , '16' , '0' , '' , '16.00' ) 25/07/2022 07:24:11 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19588' AND id_supplier = '' 25/07/2022 07:24:11 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19588' , '' , '1' ) 25/07/2022 07:24:11 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 ( '59140' , '1350' , 'BRACCIALETTO CON CROCE - 29002 03' , '1' , '-1' , '1' , '3.00' , '2.4590163934426' , '22' , '0' , '3.00' ) 25/07/2022 07:24:11 pm >> DELETE FROM ps_product_supplier WHERE id_product = '1350' AND id_supplier = '' 25/07/2022 07:24:11 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '1350' , '' , '1' )