29/10/2022 09:03:58 am >> UPDATE ps_address SET deleted='1' , active = '0' WHERE id_customer = '246' 29/10/2022 09:03:58 am >> INSERT INTO ps_address ( id_customer , id_country , id_state , company , lastname , firstname , address1 , address2 , postcode , city , other , phone , phone_mobile , vat_number , dni , date_add , date_upd ) VALUES ( '246' , '10' , '210' , 'PARROCCHIA REGINA PACIS' , 'D\'ALESSIO' , 'DON ALFONSO' , 'VIA NAZIONALE DELLE CALABRIE, 3' , '' , '84131' , 'FUORNI' , '3457315912' , '' , '' , '' , '95018100651' , NOW() , NOW() ) 29/10/2022 09:03:58 am >> UPDATE ps_customer SET email = '', sdi = '', pec = '', date_upd = NOW() WHERE id_customer = '246' 29/10/2022 09:04:42 am >> SELECT document_num FROM ps_document WHERE document_num = '3246' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-10-29') 29/10/2022 09:04:42 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' , '3246' , '2022-10-29' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '4.75' , '4.75' , NOW() , NOW() ) 29/10/2022 09:04:42 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 = '69728' 29/10/2022 09:04:42 am >> DELETE FROM ps_document_detail WHERE id_document = '69728' 29/10/2022 09:04:42 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 ( '69728' , '19909' , 'SULLA TUA PAROLA - NOV/DIC 2022' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 29/10/2022 09:04:42 am >> DELETE FROM ps_product_supplier WHERE id_product = '19909' AND id_supplier = '' 29/10/2022 09:04:42 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19909' , '' , '1' ) 29/10/2022 09:05:34 am >> SELECT document_num FROM ps_document WHERE document_num = '226' AND id_document != '' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2022-10-29') 29/10/2022 09:05: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 ( '21' , '226' , '2022-10-29' , '' , '246' , '0' , '4671099' , 'VIA NAZIONALE DELLE CALABRIE, 3 84131 FUORNI' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '68.00' , '68.00' , NOW() , NOW() ) 29/10/2022 09:05: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 = '69729' 29/10/2022 09:05:34 am >> DELETE FROM ps_document_detail WHERE id_document = '69729' 29/10/2022 09:05: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 ( '69729' , '11097' , 'VANGELO E ATTI DEGLI APOSTOLI' , '16' , '-16' , '4' , '5.00' , '5' , '0' , '15' , '68.00' ) 29/10/2022 09:19:22 am >> SELECT document_num FROM ps_document WHERE document_num = '3247' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-10-29') 29/10/2022 09:19:22 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '3247' , '2022-10-29' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '128.00' , '107.54' , NOW() , NOW() ) 29/10/2022 09:19:22 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '69730' 29/10/2022 09:19:22 am >> DELETE FROM ps_document_detail WHERE id_document = '69730' 29/10/2022 09:19:22 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 ( '69730' , '16163' , 'PARTICOLE TAGLIO CHIUSO - PAN DI CENA' , '3' , '-3' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '10.50' ) 29/10/2022 09:19:23 am >> DELETE FROM ps_product_supplier WHERE id_product = '16163' AND id_supplier = '' 29/10/2022 09:19:23 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16163' , '' , '1' ) 29/10/2022 09:19:23 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '69730' , '16689' , 'OSTIA PAN DI CENA mm80' , '2' , '-2' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '4.00' ) 29/10/2022 09:19:23 am >> DELETE FROM ps_product_supplier WHERE id_product = '16689' AND id_supplier = '' 29/10/2022 09:19:23 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16689' , '' , '1' ) 29/10/2022 09:19:23 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '69730' , '15498' , 'CROCE SAN BENEDETTO SMALTATA - CZ5 NIK' , '2' , '-2' , '1' , '15.00' , '12.295081967213' , '22' , '0' , '30.00' ) 29/10/2022 09:19:23 am >> DELETE FROM ps_product_supplier WHERE id_product = '15498' AND id_supplier = '' 29/10/2022 09:19:23 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '15498' , '' , '1' ) 29/10/2022 09:19:23 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '69730' , '7202' , 'ARTICOLI RELIGIOSI' , '2' , '-2' , '1' , '5' , '4.0983606557377' , '22' , '0' , '10.00' ) 29/10/2022 09:19:23 am >> DELETE FROM ps_product_supplier WHERE id_product = '7202' AND id_supplier = '' 29/10/2022 09:19:23 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '7202' , '' , '1' ) 29/10/2022 09:19:23 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '69730' , '7202' , 'ARTICOLI RELIGIOSI' , '2' , '-2' , '1' , '4' , '3.2786885245902' , '22' , '0' , '8.00' ) 29/10/2022 09:19:23 am >> DELETE FROM ps_product_supplier WHERE id_product = '7202' AND id_supplier = '' 29/10/2022 09:19:23 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '7202' , '' , '1' ) 29/10/2022 09:19:23 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '69730' , '16508' , 'ANGELO BIANCO IN RESINA CAMPANA - 4218' , '1' , '-1' , '1' , '5.30' , '4.344262295082' , '22' , '0' , '5.30' ) 29/10/2022 09:19:23 am >> DELETE FROM ps_product_supplier WHERE id_product = '16508' AND id_supplier = '' 29/10/2022 09:19:23 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16508' , '' , '1' ) 29/10/2022 09:19:23 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '69730' , '16691' , 'PARTICOLE PER CELIACI 25pz' , '1' , '-1' , '3' , '4' , '3.8461538461538' , '4' , '0' , '4.00' ) 29/10/2022 09:19:23 am >> DELETE FROM ps_product_supplier WHERE id_product = '16691' AND id_supplier = '' 29/10/2022 09:19:23 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16691' , '' , '1' ) 29/10/2022 09:19:23 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '69730' , '15102' , 'BRACCIALE DECINA - ARG. 925 - 895/16' , '1' , '-1' , '1' , '26.2' , '21.475409836066' , '22' , '0' , '26.20' ) 29/10/2022 09:19:23 am >> DELETE FROM ps_product_supplier WHERE id_product = '15102' AND id_supplier = '' 29/10/2022 09:19:23 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '15102' , '' , '1' ) 29/10/2022 09:19:23 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '69730' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '30' , '24.590163934426' , '22' , '0' , '30.00' ) 29/10/2022 09:19:23 am >> DELETE FROM ps_product_supplier WHERE id_product = '7202' AND id_supplier = '' 29/10/2022 09:19:23 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '7202' , '' , '1' ) 29/10/2022 09:23:25 am >> SELECT document_num FROM ps_document WHERE document_num = '3248' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-10-29') 29/10/2022 09:23:25 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' , '3248' , '2022-10-29' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '50.00' , '40.98' , NOW() , NOW() ) 29/10/2022 09:23:25 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 = '69731' 29/10/2022 09:23:25 am >> DELETE FROM ps_document_detail WHERE id_document = '69731' 29/10/2022 09:23:25 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 ( '69731' , '20133' , 'CROCE CROMATA CON BASE - 36/1' , '1' , '-1' , '1' , '34.00' , '27.868852459016' , '22' , '0' , '34.00' ) 29/10/2022 09:23:25 am >> DELETE FROM ps_product_supplier WHERE id_product = '20133' AND id_supplier = '' 29/10/2022 09:23:25 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20133' , '' , '1' ) 29/10/2022 09:23:25 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 ( '69731' , '20132' , 'CROCE METALLO CON BASE CM 21 - 25/1' , '1' , '-1' , '1' , '16.00' , '13.114754098361' , '22' , '0' , '16.00' ) 29/10/2022 09:23:25 am >> DELETE FROM ps_product_supplier WHERE id_product = '20132' AND id_supplier = '' 29/10/2022 09:23:25 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20132' , '' , '1' ) 29/10/2022 09:24:35 am >> SELECT document_num FROM ps_document WHERE document_num = '226' AND id_document != '69729' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2022-10-29') 29/10/2022 09:24:35 am >> UPDATE ps_document SET id_document_type = '21', document_num = '226', document_date = '2022-10-29', document_letter = '', id_customer = '246', id_supplier = '', id_address = '4671099', address1 = 'VIA NAZIONALE DELLE CALABRIE, 3 84131 FUORNI', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '15', id_causal = '0', price_tax_included = '68.00', price_tax_excluded = '68.00', date_upd = NOW() WHERE id_document = '69729' 29/10/2022 09:24:35 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '69729' 29/10/2022 09:24:35 am >> DELETE FROM ps_document_detail WHERE id_document = '69729' 29/10/2022 09:24: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 ( '69729' , '11097' , 'VANGELO E ATTI DEGLI APOSTOLI' , '16' , '-16' , '4' , '5.0000' , '5' , '0' , '15' , '68.00' ) 29/10/2022 09:24:35 am >> DELETE FROM ps_product_supplier WHERE id_product = '11097' AND id_supplier = '' 29/10/2022 09:24:35 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '11097' , '' , '1' ) 29/10/2022 10:39:42 am >> SELECT document_num FROM ps_document WHERE document_num = '3249' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-10-29') 29/10/2022 10:39:42 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' , '3249' , '2022-10-29' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '250.00' , '209.54' , NOW() , NOW() ) 29/10/2022 10:39:42 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 = '69732' 29/10/2022 10:39:42 am >> DELETE FROM ps_document_detail WHERE id_document = '69732' 29/10/2022 10:39:42 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 ( '69732' , '15049' , 'SERVIZIO MESSA LINO' , '1' , '-1' , '1' , '40' , '32.786885245902' , '22' , '0' , '40.00' ) 29/10/2022 10:39:42 am >> DELETE FROM ps_product_supplier WHERE id_product = '15049' AND id_supplier = '' 29/10/2022 10:39:42 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '15049' , '' , '1' ) 29/10/2022 10:39:42 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 ( '69732' , '540' , 'AMPOLLE ALTARE FUSIONE DORATA - 504 ' , '1' , '-1' , '1' , '115' , '94.262295081967' , '22' , '0' , '115.00' ) 29/10/2022 10:39:42 am >> DELETE FROM ps_product_supplier WHERE id_product = '540' AND id_supplier = '' 29/10/2022 10:39:42 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '540' , '' , '1' ) 29/10/2022 10:39:42 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 ( '69732' , '9020' , 'RITO DELLE ESEQUIE - MIN' , '1' , '-1' , '4' , '27.00' , '27' , '0' , '5' , '25.65' ) 29/10/2022 10:39:42 am >> DELETE FROM ps_product_supplier WHERE id_product = '9020' AND id_supplier = '' 29/10/2022 10:39:42 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '9020' , '' , '1' ) 29/10/2022 10:39:42 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 ( '69732' , '7735' , 'PATENA OTTONE - DIAM. 14 - 900' , '1' , '-1' , '1' , '40' , '32.786885245902' , '22' , '0' , '40.00' ) 29/10/2022 10:39:42 am >> DELETE FROM ps_product_supplier WHERE id_product = '7735' AND id_supplier = '' 29/10/2022 10:39:42 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '7735' , '' , '1' ) 29/10/2022 10:39:42 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 ( '69732' , '11623' , 'MANUTERGIO 28X48 - SERV 2' , '1' , '-1' , '1' , '6.50' , '5.327868852459' , '22' , '0' , '6.50' ) 29/10/2022 10:39:42 am >> DELETE FROM ps_product_supplier WHERE id_product = '11623' AND id_supplier = '' 29/10/2022 10:39:42 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '11623' , '' , '1' ) 29/10/2022 10:39:42 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 ( '69732' , '11626' , 'PURIFICATOIO 28X48 - SERV 1' , '1' , '-1' , '1' , '7.40' , '6.0655737704918' , '22' , '0' , '7.40' ) 29/10/2022 10:39:42 am >> DELETE FROM ps_product_supplier WHERE id_product = '11626' AND id_supplier = '' 29/10/2022 10:39:42 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '11626' , '' , '1' ) 29/10/2022 10:39:42 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 ( '69732' , '11624' , 'PALLA 16X16 - SERV 3 ' , '1' , '-1' , '1' , '5.90' , '4.8360655737705' , '22' , '0' , '5.90' ) 29/10/2022 10:39:42 am >> DELETE FROM ps_product_supplier WHERE id_product = '11624' AND id_supplier = '' 29/10/2022 10:39:42 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '11624' , '' , '1' ) 29/10/2022 10:39:42 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 ( '69732' , '11625' , 'CORPORALE - 47X47 - SERV 4' , '1' , '-1' , '1' , '9.55' , '7.827868852459' , '22' , '0' , '9.55' ) 29/10/2022 10:39:42 am >> DELETE FROM ps_product_supplier WHERE id_product = '11625' AND id_supplier = '' 29/10/2022 10:39:42 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '11625' , '' , '1' ) 29/10/2022 10:52:46 am >> SELECT document_num FROM ps_document WHERE document_num = '70/A' AND id_document != '61817' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2022-09-15') 29/10/2022 10:52:46 am >> UPDATE ps_document SET id_document_type = '24', document_num = '70/A', document_date = '2022-09-15', document_letter = 'A', id_customer = '204', id_supplier = '', id_address = '4671483', address1 = 'VIA ROBERTO IL GUISCARDO, 3 84121 SALERNO', address2 = '', note = 'CAPPELLANIA SAN 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 = '383.49', price_tax_excluded = '347.78', date_upd = NOW() WHERE id_document = '61817' 29/10/2022 10:52:46 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '61817' 29/10/2022 10:52:46 am >> DELETE FROM ps_document_detail WHERE id_document = '61817' 29/10/2022 10:52:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '61817' , '18339' , 'CROCE SAN BENEDETTO -CZ10NIK - VARI COLORI' , '1' , '-1' , '1' , '10.0000' , '8.1967213114754' , '22' , '0' , '10.00' ) 29/10/2022 10:52:46 am >> DELETE FROM ps_product_supplier WHERE id_product = '18339' AND id_supplier = '' 29/10/2022 10:52:46 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18339' , '' , '1' ) 29/10/2022 10:52:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '61817' , '19431' , 'PALLONCINO MAGNETE 12X15 - PM' , '1' , '-1' , '1' , '12.2000' , '10' , '22' , '0' , '12.20' ) 29/10/2022 10:52:46 am >> DELETE FROM ps_product_supplier WHERE id_product = '19431' AND id_supplier = '' 29/10/2022 10:52:46 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19431' , '' , '1' ) 29/10/2022 10:52:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '61817' , '14247' , 'ROSARIO ULIVO OVALE CON SETA E CROCE SAN DAMIANO' , '5' , '-5' , '1' , '1.5000' , '1.2295081967213' , '22' , '0' , '7.50' ) 29/10/2022 10:52:46 am >> DELETE FROM ps_product_supplier WHERE id_product = '14247' AND id_supplier = '' 29/10/2022 10:52:46 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '14247' , '' , '1' ) 29/10/2022 10:52:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '61817' , '12192' , 'CROCE BIANCA CM 11,5 - GAY MATTIOLO' , '1' , '-1' , '1' , '13.0000' , '10.655737704918' , '22' , '0' , '13.00' ) 29/10/2022 10:52:46 am >> DELETE FROM ps_product_supplier WHERE id_product = '12192' AND id_supplier = '' 29/10/2022 10:52:46 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '12192' , '' , '1' ) 29/10/2022 10:52:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '61817' , '8254' , 'PREGHIAMO CON MARIA' , '3' , '-3' , '4' , '0.6500' , '0.65' , '0' , '0' , '1.95' ) 29/10/2022 10:52:46 am >> DELETE FROM ps_product_supplier WHERE id_product = '8254' AND id_supplier = '' 29/10/2022 10:52:46 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '8254' , '' , '1' ) 29/10/2022 10:52:46 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '61817' , '0' , 'SUPPLICA' , '1' , '-1' , '0' , '10.0000' , '10' , '0' , '0' , '10.00' ) 29/10/2022 10:52:47 am >> DELETE FROM ps_product_supplier WHERE id_product = '0' AND id_supplier = '' 29/10/2022 10:52:47 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '0' , '' , '1' ) 29/10/2022 10:52:47 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '61817' , '13103' , 'BRACCIALE BAMBOO - CY B 774' , '20' , '-20' , '1' , '1.0000' , '0.81967213114754' , '22' , '0' , '20.00' ) 29/10/2022 10:52:47 am >> DELETE FROM ps_product_supplier WHERE id_product = '13103' AND id_supplier = '' 29/10/2022 10:52:47 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '13103' , '' , '1' ) 29/10/2022 10:52:47 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '61817' , '0' , '13/10/2022' , '1' , '-1' , '0' , '0.0000' , '0' , '0' , '0' , '0.00' ) 29/10/2022 10:52:47 am >> DELETE FROM ps_product_supplier WHERE id_product = '0' AND id_supplier = '' 29/10/2022 10:52:47 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '0' , '' , '1' ) 29/10/2022 10:52:47 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '61817' , '16689' , 'OSTIA PAN DI CENA mm80' , '10' , '-10' , '3' , '2.0000' , '1.9230769230769' , '4' , '0' , '20.00' ) 29/10/2022 10:52:47 am >> DELETE FROM ps_product_supplier WHERE id_product = '16689' AND id_supplier = '' 29/10/2022 10:52:47 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16689' , '' , '1' ) 29/10/2022 10:52:47 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '61817' , '16163' , 'PARTICOLE TAGLIO CHIUSO - PAN DI CENA' , '1' , '-1' , '3' , '3.5000' , '3.3653846153846' , '4' , '0' , '3.50' ) 29/10/2022 10:52:47 am >> DELETE FROM ps_product_supplier WHERE id_product = '16163' AND id_supplier = '' 29/10/2022 10:52:47 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16163' , '' , '1' ) 29/10/2022 10:52:47 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '61817' , '13103' , 'BRACCIALE BAMBOO - CY B 774' , '15' , '-15' , '1' , '1.0000' , '0.81967213114754' , '22' , '0' , '15.00' ) 29/10/2022 10:52:47 am >> DELETE FROM ps_product_supplier WHERE id_product = '13103' AND id_supplier = '' 29/10/2022 10:52:47 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '13103' , '' , '1' ) 29/10/2022 10:52:47 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '61817' , '4223' , 'FOGLIETTI LA DOMENICA SAN PAOLO' , '50' , '-50' , '4' , '0.5600' , '0.56' , '0' , '0' , '28.00' ) 29/10/2022 10:52:47 am >> DELETE FROM ps_product_supplier WHERE id_product = '4223' AND id_supplier = '' 29/10/2022 10:52:47 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '4223' , '' , '1' ) 29/10/2022 10:52:47 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '61817' , '19925' , 'AMEN - NOV. 2022' , '5' , '-5' , '4' , '3.9000' , '3.9' , '0' , '5' , '18.52' ) 29/10/2022 10:52:47 am >> DELETE FROM ps_product_supplier WHERE id_product = '19925' AND id_supplier = '' 29/10/2022 10:52:47 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19925' , '' , '1' ) 29/10/2022 10:52:47 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '61817' , '19926' , 'AMEN - DIC. 2022' , '5' , '-5' , '4' , '3.9000' , '3.9' , '0' , '5' , '18.52' ) 29/10/2022 10:52:47 am >> DELETE FROM ps_product_supplier WHERE id_product = '19926' AND id_supplier = '' 29/10/2022 10:52:47 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19926' , '' , '1' ) 29/10/2022 10:52:47 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '61817' , '19151' , 'CERONI S.S. T60 - CARTA BIANCO' , '25' , '-25' , '1' , '3.0000' , '2.4590163934426' , '22' , '0' , '75.00' ) 29/10/2022 10:52:47 am >> DELETE FROM ps_product_supplier WHERE id_product = '19151' AND id_supplier = '' 29/10/2022 10:52:47 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19151' , '' , '1' ) 29/10/2022 10:52:47 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '61817' , '9150' , 'ROSARIO LEGNO SCURO E CORDA - 99999' , '10' , '-10' , '1' , '1.0000' , '0.81967213114754' , '22' , '0' , '10.00' ) 29/10/2022 10:52:47 am >> DELETE FROM ps_product_supplier WHERE id_product = '9150' AND id_supplier = '' 29/10/2022 10:52:47 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '9150' , '' , '1' ) 29/10/2022 10:52:47 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '61817' , '14247' , 'ROSARIO ULIVO OVALE CON SETA E CROCE SAN DAMIANO' , '6' , '-6' , '1' , '1.3000' , '1.0655737704918' , '22' , '0' , '7.80' ) 29/10/2022 10:52:48 am >> DELETE FROM ps_product_supplier WHERE id_product = '14247' AND id_supplier = '' 29/10/2022 10:52:48 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '14247' , '' , '1' ) 29/10/2022 10:52:48 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '61817' , '9126' , 'ROSARIO IN PLASTICA - ROSSO' , '10' , '-10' , '1' , '0.2500' , '0.20491803278689' , '22' , '0' , '2.50' ) 29/10/2022 10:52:48 am >> DELETE FROM ps_product_supplier WHERE id_product = '9126' AND id_supplier = '' 29/10/2022 10:52:48 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '9126' , '' , '1' ) 29/10/2022 10:52:48 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '61817' , '20171' , 'ANGELO CM 18 - AR105' , '1' , '-1' , '1' , '10.0000' , '8.1967213114754' , '22' , '0' , '10.00' ) 29/10/2022 10:52:48 am >> DELETE FROM ps_product_supplier WHERE id_product = '20171' AND id_supplier = '' 29/10/2022 10:52:48 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20171' , '' , '1' ) 29/10/2022 10:52:48 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '61817' , '0' , 'LAMPADINE' , '50' , '-50' , '0' , '1.8000' , '1.8' , '0' , '0' , '90.00' ) 29/10/2022 10:52:48 am >> DELETE FROM ps_product_supplier WHERE id_product = '0' AND id_supplier = '' 29/10/2022 10:52:48 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '0' , '' , '1' ) 29/10/2022 10:52:48 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '61817' , '' , '29/10' , '1' , '-1' , '0' , '0' , '0' , '' , '0' , '0' ) 29/10/2022 10:52:48 am >> DELETE FROM ps_product_supplier WHERE id_product = '' AND id_supplier = '' 29/10/2022 10:52:48 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '' , '' , '1' ) 29/10/2022 10:52:48 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '61817' , '13103' , 'BRACCIALE BAMBOO - CY B 774' , '10' , '-10' , '1' , '1.00' , '0.81967213114754' , '22' , '0' , '10.00' ) 29/10/2022 10:52:48 am >> DELETE FROM ps_product_supplier WHERE id_product = '13103' AND id_supplier = '' 29/10/2022 10:52:48 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '13103' , '' , '1' ) 29/10/2022 10:53:36 am >> SELECT document_num FROM ps_document WHERE document_num = '3250' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-10-29') 29/10/2022 10:53:36 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '3250' , '2022-10-29' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '1.50' , '1.50' , NOW() , NOW() ) 29/10/2022 10:53:36 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '69733' 29/10/2022 10:53:36 am >> DELETE FROM ps_document_detail WHERE id_document = '69733' 29/10/2022 10:53:36 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '69733' , '13878' , 'GAUDETE ET EXSULTATE' , '1' , '-1' , '4' , '1.50' , '1.5' , '0' , '0' , '1.50' ) 29/10/2022 10:53:36 am >> DELETE FROM ps_product_supplier WHERE id_product = '13878' AND id_supplier = '' 29/10/2022 10:53:36 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '13878' , '' , '1' ) 29/10/2022 10:58:06 am >> SELECT document_num FROM ps_document WHERE document_num = '3251' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-10-29') 29/10/2022 10:58: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' , '3251' , '2022-10-29' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '174.72' , '174.72' , NOW() , NOW() ) 29/10/2022 10:58: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 = '69734' 29/10/2022 10:58:06 am >> DELETE FROM ps_document_detail WHERE id_document = '69734' 29/10/2022 10:58: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 ( '69734' , '5450' , 'IO SONO CON VOI - GUIDA 1 - MAGNIFICAT' , '3' , '-3' , '4' , '10.8' , '10.8' , '0' , '0' , '32.40' ) 29/10/2022 10:58:06 am >> DELETE FROM ps_product_supplier WHERE id_product = '5450' AND id_supplier = '' 29/10/2022 10:58:06 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5450' , '' , '1' ) 29/10/2022 10:58: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 ( '69734' , '12895' , 'PASSI VERSO LA CRESIMA' , '2' , '-2' , '4' , '7.11' , '7.11' , '0' , '0' , '14.22' ) 29/10/2022 10:58:06 am >> DELETE FROM ps_product_supplier WHERE id_product = '12895' AND id_supplier = '' 29/10/2022 10:58:06 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '12895' , '' , '1' ) 29/10/2022 10:58: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 ( '69734' , '8603' , 'VENITE CON ME 2 - MAGNIFICAT' , '22' , '-22' , '4' , '2.7' , '2.7' , '0' , '0' , '59.40' ) 29/10/2022 10:58:06 am >> DELETE FROM ps_product_supplier WHERE id_product = '8603' AND id_supplier = '' 29/10/2022 10:58:06 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '8603' , '' , '1' ) 29/10/2022 10:58: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 ( '69734' , '19985' , 'LECTIO DIVINA CON IL VANGELO DI MATTEO' , '1' , '-1' , '4' , '12.00' , '12' , '0' , '5' , '11.40' ) 29/10/2022 10:58:06 am >> DELETE FROM ps_product_supplier WHERE id_product = '19985' AND id_supplier = '' 29/10/2022 10:58:06 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19985' , '' , '1' ) 29/10/2022 10:58: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 ( '69734' , '2692' , 'CONSOLATE IL MIO POPOLO' , '1' , '-1' , '4' , '7.00' , '7' , '0' , '5' , '6.65' ) 29/10/2022 10:58:06 am >> DELETE FROM ps_product_supplier WHERE id_product = '2692' AND id_supplier = '' 29/10/2022 10:58:06 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '2692' , '' , '1' ) 29/10/2022 10:58: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 ( '69734' , '11363' , 'VICINO A GESÙ... PER SERVIRLO! - M. CHIESA' , '1' , '-1' , '4' , '10.00' , '10' , '0' , '5' , '9.50' ) 29/10/2022 10:58:06 am >> DELETE FROM ps_product_supplier WHERE id_product = '11363' AND id_supplier = '' 29/10/2022 10:58:06 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '11363' , '' , '1' ) 29/10/2022 10:58: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 ( '69734' , '19872' , 'CANTO DI LODE AL SIGNORE CHE VIENE' , '1' , '-1' , '4' , '2.50' , '2.5' , '0' , '5' , '2.38' ) 29/10/2022 10:58:06 am >> DELETE FROM ps_product_supplier WHERE id_product = '19872' AND id_supplier = '' 29/10/2022 10:58:06 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19872' , '' , '1' ) 29/10/2022 10:58: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 ( '69734' , '20056' , 'BEATA COLEI CHE HA CREDUTO' , '1' , '-1' , '4' , '3.70' , '3.7' , '0' , '5' , '3.52' ) 29/10/2022 10:58:06 am >> DELETE FROM ps_product_supplier WHERE id_product = '20056' AND id_supplier = '' 29/10/2022 10:58:06 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20056' , '' , '1' ) 29/10/2022 10:58: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 ( '69734' , '19727' , 'LITURGIA IN FRAMMENTI - A. SORRENTINO' , '1' , '-1' , '4' , '35.00' , '35' , '0' , '5' , '33.25' ) 29/10/2022 10:58:06 am >> DELETE FROM ps_product_supplier WHERE id_product = '19727' AND id_supplier = '' 29/10/2022 10:58:06 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19727' , '' , '1' ) 29/10/2022 10:58: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 ( '69734' , '7109' , 'NOVENA ALLIMMACOLATA CONCEZIONE - 8520' , '1' , '-1' , '4' , '2.00' , '2' , '0' , '0' , '2.00' ) 29/10/2022 10:58:06 am >> DELETE FROM ps_product_supplier WHERE id_product = '7109' AND id_supplier = '' 29/10/2022 10:58:06 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '7109' , '' , '1' ) 29/10/2022 11:04:16 am >> SELECT document_num FROM ps_document WHERE document_num = '3252' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-10-29') 29/10/2022 11:04:16 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' , '3252' , '2022-10-29' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '9.41' , '9.41' , NOW() , NOW() ) 29/10/2022 11:04:16 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 = '69735' 29/10/2022 11:04:16 am >> DELETE FROM ps_document_detail WHERE id_document = '69735' 29/10/2022 11:04:16 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 ( '69735' , '1090' , 'BIBBIA' , '1' , '-1' , '4' , '9.90' , '9.9' , '0' , '5' , '9.41' ) 29/10/2022 11:04:16 am >> DELETE FROM ps_product_supplier WHERE id_product = '1090' AND id_supplier = '' 29/10/2022 11:04:16 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '1090' , '' , '1' ) 29/10/2022 11:10:39 am >> SELECT document_num FROM ps_document WHERE document_num = '3253' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-10-29') 29/10/2022 11:10:39 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '3253' , '2022-10-29' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '88.85' , '88.85' , NOW() , NOW() ) 29/10/2022 11:10:39 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '69736' 29/10/2022 11:10:39 am >> DELETE FROM ps_document_detail WHERE id_document = '69736' 29/10/2022 11:10:39 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '69736' , '19909' , 'SULLA TUA PAROLA - NOV/DIC 2022' , '16' , '-16' , '4' , '5.00' , '5' , '0' , '5' , '76.00' ) 29/10/2022 11:10:39 am >> DELETE FROM ps_product_supplier WHERE id_product = '19909' AND id_supplier = '' 29/10/2022 11:10:39 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19909' , '' , '1' ) 29/10/2022 11:10:39 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '69736' , '2679' , 'CONOSCERE GESU' , '1' , '-1' , '4' , '3.50' , '3.5' , '0' , '5' , '3.33' ) 29/10/2022 11:10:39 am >> DELETE FROM ps_product_supplier WHERE id_product = '2679' AND id_supplier = '' 29/10/2022 11:10:39 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '2679' , '' , '1' ) 29/10/2022 11:10:39 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '69736' , '5457' , 'IO SONO CON VOI 1 PARTE' , '1' , '-1' , '4' , '2.50' , '2.5' , '0' , '5' , '2.38' ) 29/10/2022 11:10:39 am >> DELETE FROM ps_product_supplier WHERE id_product = '5457' AND id_supplier = '' 29/10/2022 11:10:39 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5457' , '' , '1' ) 29/10/2022 11:10:39 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '69736' , '5458' , 'IO SONO CON VOI 2 PARTE' , '1' , '-1' , '4' , '2.50' , '2.5' , '0' , '5' , '2.38' ) 29/10/2022 11:10:39 am >> DELETE FROM ps_product_supplier WHERE id_product = '5458' AND id_supplier = '' 29/10/2022 11:10:39 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5458' , '' , '1' ) 29/10/2022 11:10:39 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '69736' , '11192' , 'VENITE CON ME 2 PARTE' , '1' , '-1' , '4' , '2.50' , '2.5' , '0' , '5' , '2.38' ) 29/10/2022 11:10:39 am >> DELETE FROM ps_product_supplier WHERE id_product = '11192' AND id_supplier = '' 29/10/2022 11:10:39 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '11192' , '' , '1' ) 29/10/2022 11:10:39 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '69736' , '11191' , 'VENITE CON ME 1 PARTE' , '1' , '-1' , '4' , '2.50' , '2.5' , '0' , '5' , '2.38' ) 29/10/2022 11:10:39 am >> DELETE FROM ps_product_supplier WHERE id_product = '11191' AND id_supplier = '' 29/10/2022 11:10:39 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '11191' , '' , '1' ) 29/10/2022 11:19:39 am >> SELECT document_num FROM ps_document WHERE document_num = '3254' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-10-29') 29/10/2022 11:19:39 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '3254' , '2022-10-29' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '9.16' , '8.98' , NOW() , NOW() ) 29/10/2022 11:19:39 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '69737' 29/10/2022 11:19:39 am >> DELETE FROM ps_document_detail WHERE id_document = '69737' 29/10/2022 11:19:39 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '69737' , '3988' , 'EVANGELII GAUDIUM ' , '1' , '-1' , '4' , '3.50' , '3.5' , '0' , '0' , '3.50' ) 29/10/2022 11:19:39 am >> DELETE FROM ps_product_supplier WHERE id_product = '3988' AND id_supplier = '' 29/10/2022 11:19:39 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '3988' , '' , '1' ) 29/10/2022 11:19:39 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '69737' , '19231' , 'CARD CARLO ACUTIS - RN93' , '1' , '-1' , '1' , '1.00' , '0.81967213114754' , '22' , '0' , '1.00' ) 29/10/2022 11:19:39 am >> DELETE FROM ps_product_supplier WHERE id_product = '19231' AND id_supplier = '' 29/10/2022 11:19:39 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19231' , '' , '1' ) 29/10/2022 11:19:39 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '69737' , '20208' , 'SEGNI DELLA MESSA' , '1' , '-1' , '4' , '4.90' , '4.9' , '0' , '5' , '4.66' ) 29/10/2022 11:19:39 am >> DELETE FROM ps_product_supplier WHERE id_product = '20208' AND id_supplier = '' 29/10/2022 11:19:39 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20208' , '' , '1' ) 29/10/2022 11:44:19 am >> SELECT ean13 FROM ps_product WHERE ean13 = '8024823109742' AND id_product != '16969' AND ean13 != '' 29/10/2022 11:44:19 am >> UPDATE ps_product SET id_supplier = '38', reference = '', ean13 = '8024823109742', date_upd = NOW() WHERE id_product = '16969' 29/10/2022 11:44:19 am >> UPDATE ps_product_lang SET name = 'CORONA DELLE ROSE - 10974', description = '' WHERE id_product = '16969' 29/10/2022 11:44:19 am >> UPDATE ps_product SET wholesale_price = '1.92', on_sale = '0', price = '3.19672131147541' WHERE id_product = '16969' 29/10/2022 11:44:19 am >> UPDATE ps_product_shop SET wholesale_price = '1.92', price = '3.19672131147541', id_tax_rules_group = '1', id_category_default = '106', id_argoment_default = '42', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '16969' 29/10/2022 11:44:19 am >> DELETE FROM ps_specific_price WHERE id_product = '16969' 29/10/2022 11:51:54 am >> SELECT document_num FROM ps_document WHERE document_num = '3255' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-10-29') 29/10/2022 11:51:54 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '3255' , '2022-10-29' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '4.75' , '4.75' , NOW() , NOW() ) 29/10/2022 11:51:54 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '69738' 29/10/2022 11:51:54 am >> DELETE FROM ps_document_detail WHERE id_document = '69738' 29/10/2022 11:51:54 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '69738' , '19909' , 'SULLA TUA PAROLA - NOV/DIC 2022' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 29/10/2022 11:51:54 am >> DELETE FROM ps_product_supplier WHERE id_product = '19909' AND id_supplier = '' 29/10/2022 11:51:54 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19909' , '' , '1' ) 29/10/2022 12:00:33 pm >> SELECT document_num FROM ps_document WHERE document_num = '3256' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-10-29') 29/10/2022 12:00:33 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' , '3256' , '2022-10-29' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '18.00' , '18.00' , NOW() , NOW() ) 29/10/2022 12:00:33 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 = '69739' 29/10/2022 12:00:33 pm >> DELETE FROM ps_document_detail WHERE id_document = '69739' 29/10/2022 12:00:33 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 ( '69739' , '11151' , 'LIBRI' , '1' , '-1' , '4' , '18' , '18' , '0' , '0' , '18.00' ) 29/10/2022 12:00:33 pm >> DELETE FROM ps_product_supplier WHERE id_product = '11151' AND id_supplier = '' 29/10/2022 12:00:33 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '11151' , '' , '1' ) 29/10/2022 12:12:32 pm >> SELECT document_num FROM ps_document WHERE document_num = '3257' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-10-29') 29/10/2022 12:12:32 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' , '3257' , '2022-10-29' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '65.00' , '58.95' , NOW() , NOW() ) 29/10/2022 12:12:32 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 = '69740' 29/10/2022 12:12:32 pm >> DELETE FROM ps_document_detail WHERE id_document = '69740' 29/10/2022 12:12:32 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 ( '69740' , '9688' , 'SCAPOLARE 10X15 CUORE DI GESÙ - 2202 ' , '10' , '-10' , '1' , '2.5' , '2.0491803278689' , '22' , '0' , '25.00' ) 29/10/2022 12:12:32 pm >> DELETE FROM ps_product_supplier WHERE id_product = '9688' AND id_supplier = '' 29/10/2022 12:12:32 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '9688' , '' , '1' ) 29/10/2022 12:12:32 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 ( '69740' , '16163' , 'PARTICOLE TAGLIO CHIUSO - PAN DI CENA' , '6' , '-6' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '21.00' ) 29/10/2022 12:12:32 pm >> DELETE FROM ps_product_supplier WHERE id_product = '16163' AND id_supplier = '' 29/10/2022 12:12:32 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16163' , '' , '1' ) 29/10/2022 12:12:32 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 ( '69740' , '7311' , 'OSTIA SOTTILE 74MM' , '10' , '-10' , '3' , '1.90' , '1.8269230769231' , '4' , '0' , '19.00' ) 29/10/2022 12:12:32 pm >> DELETE FROM ps_product_supplier WHERE id_product = '7311' AND id_supplier = '' 29/10/2022 12:12:32 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '7311' , '' , '1' ) 29/10/2022 12:21:21 pm >> SELECT document_num FROM ps_document WHERE document_num = '71/A' AND id_document != '61878' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2022-09-20') 29/10/2022 12:21:21 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '71/A', document_date = '2022-09-20', document_letter = 'A', id_customer = '333', id_supplier = '', id_address = '4671072', address1 = 'P.ZZA S. MICHELE 84135 RUFOLI', 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 = '76.00', price_tax_excluded = '62.86', date_upd = NOW() WHERE id_document = '61878' 29/10/2022 12:21: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 = '61878' 29/10/2022 12:21:21 pm >> DELETE FROM ps_document_detail WHERE id_document = '61878' 29/10/2022 12:21: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 ( '61878' , '12817' , 'LIBRO DEI MATRIMONI' , '1' , '-1' , '1' , '40.0000' , '32.786885245902' , '22' , '10' , '36.00' ) 29/10/2022 12:21:21 pm >> DELETE FROM ps_product_supplier WHERE id_product = '12817' AND id_supplier = '' 29/10/2022 12:21:21 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '12817' , '' , '1' ) 29/10/2022 12:21: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 ( '61878' , '7924' , 'PERGAMENE - BATTESIMO MOD. A' , '10' , '-10' , '1' , '0.5000' , '0.40983606557377' , '22' , '0' , '5.00' ) 29/10/2022 12:21:21 pm >> DELETE FROM ps_product_supplier WHERE id_product = '7924' AND id_supplier = '' 29/10/2022 12:21:21 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '7924' , '' , '1' ) 29/10/2022 12:21: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 ( '61878' , '15387' , 'VESTINA BATTESIMALE ' , '3' , '-3' , '1' , '2.8000' , '2.2950819672131' , '22' , '0' , '8.40' ) 29/10/2022 12:21:21 pm >> DELETE FROM ps_product_supplier WHERE id_product = '15387' AND id_supplier = '' 29/10/2022 12:21:21 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '15387' , '' , '1' ) 29/10/2022 12:21: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 ( '61878' , '791' , 'ASSISI IN BUSTA BATTESIMO - 20X270 - BAAS' , '3' , '-3' , '1' , '1.4000' , '1.1475409836066' , '22' , '0' , '4.20' ) 29/10/2022 12:21:21 pm >> DELETE FROM ps_product_supplier WHERE id_product = '791' AND id_supplier = '' 29/10/2022 12:21:21 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '791' , '' , '1' ) 29/10/2022 12:21: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 ( '61878' , '15097' , 'CORONA MATRIMONIO - ORO' , '1' , '-1' , '1' , '7.5000' , '6.1475409836066' , '22' , '0' , '7.50' ) 29/10/2022 12:21:21 pm >> DELETE FROM ps_product_supplier WHERE id_product = '15097' AND id_supplier = '' 29/10/2022 12:21:21 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '15097' , '' , '1' ) 29/10/2022 12:21: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 ( '61878' , '16691' , 'PARTICOLE PER CELIACI 25pz' , '1' , '-1' , '3' , '4.0000' , '3.8461538461538' , '4' , '0' , '4.00' ) 29/10/2022 12:21:21 pm >> DELETE FROM ps_product_supplier WHERE id_product = '16691' AND id_supplier = '' 29/10/2022 12:21:21 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16691' , '' , '1' ) 29/10/2022 12:21: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 ( '61878' , '18222' , 'ROSARIO COLORATO - R316' , '15' , '-15' , '1' , '0.70' , '0.57377049180328' , '22' , '0' , '10.50' ) 29/10/2022 12:21:21 pm >> DELETE FROM ps_product_supplier WHERE id_product = '18222' AND id_supplier = '' 29/10/2022 12:21:21 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18222' , '' , '1' ) 29/10/2022 12:21: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 ( '61878' , '6019' , 'LUMINO ROSSO - 10B' , '1' , '-1' , '1' , '0.40' , '0.32786885245902' , '22' , '0' , '0.40' ) 29/10/2022 12:21:21 pm >> DELETE FROM ps_product_supplier WHERE id_product = '6019' AND id_supplier = '' 29/10/2022 12:21:21 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '6019' , '' , '1' ) 29/10/2022 12:23:27 pm >> SELECT document_num FROM ps_document WHERE document_num = '88/A' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2022-10-29') 29/10/2022 12:23:27 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' , '88/A' , '2022-10-29' , 'A' , '2893' , '0' , '4672074' , 'VIA CONVENTO 83025 MONTORO' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '295.00' , '241.80' , NOW() , NOW() ) 29/10/2022 12:23:27 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 = '69741' 29/10/2022 12:23:27 pm >> DELETE FROM ps_document_detail WHERE id_document = '69741' 29/10/2022 12:23:27 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 ( '69741' , '20223' , 'BAMBINELLO IN GESSO CM 50 - J202OA/50' , '1' , '-1' , '1' , '295.00' , '241.80327868852' , '22' , '0' , '295.00' ) 29/10/2022 12:27:21 pm >> SELECT document_num FROM ps_document WHERE document_num = '3258' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-10-29') 29/10/2022 12:27: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' , '3258' , '2022-10-29' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '7.42' , '7.42' , NOW() , NOW() ) 29/10/2022 12:27: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 = '69742' 29/10/2022 12:27:21 pm >> DELETE FROM ps_document_detail WHERE id_document = '69742' 29/10/2022 12:27: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 ( '69742' , '19925' , 'AMEN - NOV. 2022' , '1' , '-1' , '4' , '3.90' , '3.9' , '0' , '5' , '3.71' ) 29/10/2022 12:27:21 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19925' AND id_supplier = '' 29/10/2022 12:27:21 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19925' , '' , '1' ) 29/10/2022 12:27: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 ( '69742' , '19926' , 'AMEN - DIC. 2022' , '1' , '-1' , '4' , '3.90' , '3.9' , '0' , '5' , '3.71' ) 29/10/2022 12:27:21 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19926' AND id_supplier = '' 29/10/2022 12:27:21 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19926' , '' , '1' ) 29/10/2022 12:45:57 pm >> SELECT document_num FROM ps_document WHERE document_num = '3259' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-10-29') 29/10/2022 12:45:57 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '3259' , '2022-10-29' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '7.00' , '7.00' , NOW() , NOW() ) 29/10/2022 12:45:57 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '69743' 29/10/2022 12:45:57 pm >> DELETE FROM ps_document_detail WHERE id_document = '69743' 29/10/2022 12:45:57 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '69743' , '4223' , 'FOGLIETTI LA DOMENICA SAN PAOLO' , '10' , '-10' , '4' , '0.70' , '0.7' , '0' , '0' , '7.00' ) 29/10/2022 12:45:57 pm >> DELETE FROM ps_product_supplier WHERE id_product = '4223' AND id_supplier = '' 29/10/2022 12:45:57 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '4223' , '' , '1' ) 29/10/2022 12:58:40 pm >> SELECT document_num FROM ps_document WHERE document_num = '3260' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-10-29') 29/10/2022 12:58:40 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' , '3260' , '2022-10-29' , '' , '' , '' , '' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '61.30' , '61.30' , NOW() , NOW() ) 29/10/2022 12:58:40 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 = '69744' 29/10/2022 12:58:40 pm >> DELETE FROM ps_document_detail WHERE id_document = '69744' 29/10/2022 12:58:40 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 ( '69744' , '20248' , 'FORZA DELLO SPIRITO - C. MIRANTE' , '5' , '-5' , '4' , '12.90' , '12.9' , '0' , '5' , '61.30' ) 29/10/2022 12:58:41 pm >> DELETE FROM ps_product_supplier WHERE id_product = '20248' AND id_supplier = '' 29/10/2022 12:58:41 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20248' , '' , '1' )