20/03/2024 08:30:42 am >> SELECT document_num FROM ps_document WHERE document_num = '4' AND id_document != '90225' AND id_document_type LIKE '24' AND YEAR(document_date) = YEAR('2024-02-03') 20/03/2024 08:30:42 am >> UPDATE ps_document SET id_document_type = '24', document_num = '4', document_date = '2024-02-03', document_letter = '', id_customer = '0', id_supplier = '', id_address = '4669100', address1 = 'VIA DEI CASTANI, 116 00172 ROMA', address2 = '', note = 'RESA - ricevuta n.c.', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '9', price_tax_included = '464.90', price_tax_excluded = '463.01', date_upd = NOW() WHERE id_document = '90225' 20/03/2024 08:30: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 = '90225' 20/03/2024 08:30:42 am >> DELETE FROM ps_document_detail WHERE id_document = '90225' 20/03/2024 08:30: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 ( '90225' , '17916' , 'VINCOLO DELLA FRATERNITA - S. FARI' , '1' , '-1' , '4' , '20.0000' , '20' , '0' , '0' , '20.00' ) 20/03/2024 08:30: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 ( '90225' , '20046' , 'PREGHIERE NEI VANGELI - G. DE VIRGILIO' , '1' , '-1' , '4' , '17.0000' , '17' , '0' , '0' , '17.00' ) 20/03/2024 08:30: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 ( '90225' , '14861' , 'BELLEZZA TUA VOGLIO CANTARE - ANNO C - E. RONCHI' , '1' , '-1' , '4' , '17.0000' , '17' , '0' , '0' , '17.00' ) 20/03/2024 08:30: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 ( '90225' , '16823' , 'SANTO E UN UOMO - A. BELLANDI' , '1' , '-1' , '4' , '13.0000' , '13' , '0' , '0' , '13.00' ) 20/03/2024 08:30: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 ( '90225' , '17668' , 'VERBA SCRIPTA - AAVV' , '1' , '-1' , '4' , '17.9000' , '17.9' , '0' , '0' , '17.90' ) 20/03/2024 08:30: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 ( '90225' , '15911' , 'SAN FRANCESCO SI RACCONTA - F. MARCHESI' , '1' , '-1' , '4' , '12.0000' , '12' , '0' , '0' , '12.00' ) 20/03/2024 08:30: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 ( '90225' , '18182' , 'DON BOSCO E LA SCUOLA - BORDIGNON/ MAURIZIO' , '1' , '-1' , '4' , '40.0000' , '40' , '0' , '0' , '40.00' ) 20/03/2024 08:30: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 ( '90225' , '13792' , 'LORENZO MILANI' , '1' , '-1' , '4' , '20.0000' , '20' , '0' , '0' , '20.00' ) 20/03/2024 08:30: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 ( '90225' , '15516' , 'GIOBBE' , '1' , '-1' , '4' , '10.0000' , '10' , '0' , '0' , '10.00' ) 20/03/2024 08:30: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 ( '90225' , '17479' , 'BIBBIA INTRODUZIONE - G. SUMMA' , '1' , '-1' , '4' , '12.0000' , '12' , '0' , '0' , '12.00' ) 20/03/2024 08:30: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 ( '90225' , '19496' , 'DIACONI - A. STRAUCH' , '1' , '-1' , '4' , '16.0000' , '16' , '0' , '0' , '16.00' ) 20/03/2024 08:30:43 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 ( '90225' , '19254' , 'PRESBITERI E DIACONI - L. GIRARDI' , '1' , '-1' , '4' , '20.0000' , '20' , '0' , '0' , '20.00' ) 20/03/2024 08:30:43 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 ( '90225' , '15358' , 'OMNIA VERBA - J. DALARUN' , '1' , '-1' , '4' , '29.0000' , '29' , '0' , '0' , '29.00' ) 20/03/2024 08:30:43 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 ( '90225' , '11815' , 'MARIOLOGIA DI SAN BERNARDO - M. AROSIO' , '1' , '-1' , '4' , '15.0000' , '15' , '0' , '0' , '15.00' ) 20/03/2024 08:30:43 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 ( '90225' , '18566' , 'IL DIACONATO PERMANENTE ' , '1' , '-1' , '4' , '8.0000' , '8' , '0' , '0' , '8.00' ) 20/03/2024 08:30:43 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 ( '90225' , '16643' , 'GESU, COSCIENZA, LIBERTA - A. DUCAY' , '1' , '-1' , '4' , '15.0000' , '15' , '0' , '0' , '15.00' ) 20/03/2024 08:30:43 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 ( '90225' , '19575' , 'DIMENSIONE REGALE ... - SCORRANO' , '1' , '-1' , '4' , '29.5000' , '29.5' , '0' , '0' , '29.50' ) 20/03/2024 08:30:43 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 ( '90225' , '20498' , 'RIFORMA DELLA LITURGIA E RIFORMA DELLA CHIESA - P. SORCI' , '1' , '-1' , '4' , '20.0000' , '20' , '0' , '0' , '20.00' ) 20/03/2024 08:30:43 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 ( '90225' , '19083' , 'TU ED IO - C. ROMAGNONI' , '1' , '-1' , '4' , '12.0000' , '12' , '0' , '0' , '12.00' ) 20/03/2024 08:30:43 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 ( '90225' , '16644' , 'TU ED IO - C. ROMAGNONI' , '2' , '-2' , '4' , '10.0000' , '10' , '0' , '0' , '20.00' ) 20/03/2024 08:30:43 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 ( '90225' , '19528' , 'CATECHISTI OGGI IN ITALIA' , '1' , '-1' , '4' , '20.0000' , '20' , '0' , '0' , '20.00' ) 20/03/2024 08:30:43 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 ( '90225' , '20399' , 'NATALE GRANDE GIOIA - M. BORRELLI' , '1' , '-1' , '4' , '18.0000' , '18' , '0' , '0' , '18.00' ) 20/03/2024 08:30:43 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 ( '90225' , '20499' , 'SEGRETO SOTTILE - SUSSIDIO 2023' , '1' , '-1' , '4' , '9.0000' , '9' , '0' , '0' , '9.00' ) 20/03/2024 08:30:43 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 ( '90225' , '14326' , 'RELIGIOCANDO - GESU BAMBINO' , '1' , '-1' , '4' , '2.5000' , '2.5' , '0' , '0' , '2.50' ) 20/03/2024 08:30:43 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 ( '90225' , '21461' , 'PAROLA PER OGGI 2024' , '3' , '-3' , '1' , '3.5000' , '2.8688524590164' , '22' , '0' , '10.50' ) 20/03/2024 08:30:43 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 ( '90225' , '17812' , 'GUARDA: FACCIO NUOVE TUTTE LE COSE - G. BARBIERI' , '1' , '-1' , '4' , '18.5000' , '18.5' , '0' , '0' , '18.50' ) 20/03/2024 08:30:43 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 ( '90225' , '16947' , 'GIACOMO' , '1' , '-1' , '4' , '8.0000' , '8' , '0' , '0' , '8.00' ) 20/03/2024 08:30:43 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 ( '90225' , '17911' , 'VIA LUCIS - E. DAGOSTINO' , '1' , '-1' , '4' , '15.0000' , '15' , '0' , '0' , '15.00' ) 20/03/2024 09:19:53 am >> SELECT document_num FROM ps_document WHERE document_num = '817' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 09:19:53 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' , '817' , '2024-03-20' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '8.00' , '8.00' , NOW() , NOW() ) 20/03/2024 09:19:53 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 = '90843' 20/03/2024 09:19:53 am >> DELETE FROM ps_document_detail WHERE id_document = '90843' 20/03/2024 09:19:53 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 ( '90843' , '7703' , 'PASSIONE DI NOSTRO SIGNORE' , '1' , '-1' , '4' , '8.00' , '8' , '0' , '0' , '8.00' ) 20/03/2024 09:31:22 am >> SELECT document_num FROM ps_document WHERE document_num = '818' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 09:31: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' , '818' , '2024-03-20' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '149.08' , '123.65' , NOW() , NOW() ) 20/03/2024 09:31: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 = '90844' 20/03/2024 09:31:22 am >> DELETE FROM ps_document_detail WHERE id_document = '90844' 20/03/2024 09:31: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 ( '90844' , '22191' , 'PREGARE CON I SALMI' , '1' , '-1' , '4' , '8.50' , '8.5' , '0' , '5' , '8.08' ) 20/03/2024 09:31: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 ( '90844' , '22288' , 'CIONDOLO SI - ORO' , '30' , '-30' , '1' , '3.00' , '2.4590163934426' , '22' , '0' , '90.00' ) 20/03/2024 09:31: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 ( '90844' , '22287' , 'CIONDOLO SI - ARGENTO' , '17' , '-17' , '1' , '3.00' , '2.4590163934426' , '22' , '0' , '51.00' ) 20/03/2024 09:39:25 am >> SELECT document_num FROM ps_document WHERE document_num = '819' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 09:39: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' , '819' , '2024-03-20' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '200.00' , '167.27' , NOW() , NOW() ) 20/03/2024 09:39: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 = '90845' 20/03/2024 09:39:25 am >> DELETE FROM ps_document_detail WHERE id_document = '90845' 20/03/2024 09:39: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 ( '90845' , '10687' , 'TORCIA A VENTO ' , '6' , '-6' , '1' , '2.90' , '2.3770491803279' , '22' , '0' , '17.40' ) 20/03/2024 09:39: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 ( '90845' , '1622' , 'CANDELE VOTIVE 14X27 KG 10' , '2' , '-2' , '1' , '67.7' , '55.491803278689' , '22' , '0' , '135.40' ) 20/03/2024 09:39: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 ( '90845' , '11757' , 'VINO LIQUOROSO DOLCE - 16%' , '3' , '-3' , '1' , '7.90' , '6.4754098360656' , '22' , '0' , '23.70' ) 20/03/2024 09:39: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 ( '90845' , '20433' , 'PARTICOLA MORREALE 38MM - PTC38S' , '5' , '-5' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '17.50' ) 20/03/2024 09:39: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 ( '90845' , '7311' , 'OSTIA SOTTILE 74MM' , '3' , '-3' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '6.00' ) 20/03/2024 09:40:25 am >> SELECT document_num FROM ps_document WHERE document_num = '38/A' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 09:40: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 ( '24' , '38/A' , '2024-03-20' , 'A' , '246' , '0' , '4676205' , 'VIA NAZIONALE DELLE CALABRIE, 3 84131 FUORNI' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '25.00' , '20.49' , NOW() , NOW() ) 20/03/2024 09:40: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 = '90846' 20/03/2024 09:40:25 am >> DELETE FROM ps_document_detail WHERE id_document = '90846' 20/03/2024 09:40: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 ( '90846' , '20791' , 'BOTTIGLIE PER ACQUA BENEDETTA - CONF. 100 PZ' , '1' , '-1' , '1' , '25.00' , '20.491803278689' , '22' , '0' , '25.00' ) 20/03/2024 09:56:33 am >> SELECT document_num FROM ps_document WHERE document_num = '820' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 09:56:33 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' , '820' , '2024-03-20' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '88.00' , '72.13' , NOW() , NOW() ) 20/03/2024 09:56:33 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 = '90847' 20/03/2024 09:56:33 am >> DELETE FROM ps_document_detail WHERE id_document = '90847' 20/03/2024 09:56:33 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 ( '90847' , '20791' , 'BOTTIGLIE PER ACQUA BENEDETTA - CONF. 100 PZ' , '4' , '-4' , '1' , '22' , '18.032786885246' , '22' , '0' , '88.00' ) 20/03/2024 09:57:02 am >> SELECT document_num FROM ps_document WHERE document_num = '821' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 09:57:02 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' , '821' , '2024-03-20' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '154.00' , '126.23' , NOW() , NOW() ) 20/03/2024 09:57:02 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 = '90848' 20/03/2024 09:57:02 am >> DELETE FROM ps_document_detail WHERE id_document = '90848' 20/03/2024 09:57:02 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 ( '90848' , '20791' , 'BOTTIGLIE PER ACQUA BENEDETTA - CONF. 100 PZ' , '7' , '-7' , '1' , '22' , '18.032786885246' , '22' , '0' , '154.00' ) 20/03/2024 09:59:34 am >> SELECT document_num FROM ps_document WHERE document_num = '39/A' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 09:59: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' , '39/A' , '2024-03-20' , 'A' , '249' , '0' , '4676358' , 'VIA N. PETROSINO, 33 84125 SALERNO' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '20.00' , '20.00' , NOW() , NOW() ) 20/03/2024 09:59: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 = '90849' 20/03/2024 09:59:34 am >> DELETE FROM ps_document_detail WHERE id_document = '90849' 20/03/2024 09:59: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 ( '90849' , '21615' , 'RITO DELLA COMUNIONE FUORI DELLA MESSA N.E.' , '1' , '-1' , '4' , '20.00' , '20' , '0' , '0' , '20.00' ) 20/03/2024 10:08:44 am >> SELECT document_num FROM ps_document WHERE document_num = '822' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 10:08:44 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' , '822' , '2024-03-20' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '2.40' , '1.97' , NOW() , NOW() ) 20/03/2024 10:08:44 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 = '90850' 20/03/2024 10:08:44 am >> DELETE FROM ps_document_detail WHERE id_document = '90850' 20/03/2024 10:08:44 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 ( '90850' , '17005' , 'BIGLIETTO AUGURALE medio' , '2' , '-2' , '1' , '1.2' , '0.98360655737705' , '22' , '0' , '2.40' ) 20/03/2024 10:54:13 am >> SELECT document_num FROM ps_document WHERE document_num = '823' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 10:54:13 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' , '823' , '2024-03-20' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '200.00' , '164.93' , NOW() , NOW() ) 20/03/2024 10:54:13 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 = '90851' 20/03/2024 10:54:13 am >> DELETE FROM ps_document_detail WHERE id_document = '90851' 20/03/2024 10:54:13 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 ( '90851' , '15498' , 'CROCE SAN BENEDETTO SMALTATA - CZ5NIK' , '2' , '-2' , '1' , '17.50' , '14.344262295082' , '22' , '0' , '35.00' ) 20/03/2024 10:54:13 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 ( '90851' , '12490' , 'CROCE SAN BENEDETTO ULIVO - CZ6NIK' , '1' , '-1' , '1' , '18.00' , '14.754098360656' , '22' , '0' , '18.00' ) 20/03/2024 10:54:13 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 ( '90851' , '20433' , 'PARTICOLA MORREALE 38MM - PTC38S' , '2' , '-2' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '7.00' ) 20/03/2024 10:54:13 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 ( '90851' , '15210' , 'CERO PASQUALE API 80X120' , '1' , '-1' , '1' , '140' , '114.75409836066' , '22' , '0' , '140.00' ) 20/03/2024 11:20:03 am >> SELECT document_num FROM ps_document WHERE document_num = '823' AND id_document != '90851' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 11:20:04 am >> UPDATE ps_document SET id_document_type = '11', document_num = '823', document_date = '2024-03-20', 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 = '200.00', price_tax_excluded = '164.93', date_upd = NOW() WHERE id_document = '90851' 20/03/2024 11:20:04 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '90851' 20/03/2024 11:20:04 am >> DELETE FROM ps_document_detail WHERE id_document = '90851' 20/03/2024 11:20:04 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '90851' , '15498' , 'CROCE SAN BENEDETTO SMALTATA - CZ5NIK' , '2' , '-2' , '1' , '17.5000' , '14.344262295082' , '22' , '0' , '35.00' ) 20/03/2024 11:20:04 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '90851' , '12490' , 'CROCE SAN BENEDETTO ULIVO - CZ6NIK' , '1' , '-1' , '1' , '18.0000' , '14.754098360656' , '22' , '0' , '18.00' ) 20/03/2024 11:20:04 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '90851' , '20433' , 'PARTICOLA MORREALE 38MM - PTC38S' , '2' , '-2' , '3' , '3.5000' , '3.3653846153846' , '4' , '0' , '7.00' ) 20/03/2024 11:20:04 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '90851' , '15210' , 'CERO PASQUALE API 80X120' , '1' , '-1' , '1' , '115' , '94.262295081967' , '22' , '0' , '115.00' ) 20/03/2024 11:20:04 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '90851' , '20791' , 'BOTTIGLIE PER ACQUA BENEDETTA - CONF. 100 PZ' , '1' , '-1' , '1' , '25.00' , '20.491803278689' , '22' , '0' , '25.00' ) 20/03/2024 11:22:21 am >> SELECT document_num FROM ps_document WHERE document_num = '55' AND id_document != '90794' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2024-03-18') 20/03/2024 11:22:21 am >> UPDATE ps_document SET id_document_type = '21', document_num = '55', document_date = '2024-03-18', document_letter = '', id_customer = '1178', id_supplier = '', id_address = '4671042', address1 = 'P. ZZA LINGUITI, 1 84095 GIFFONI VALLE PIANA', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '1', id_causal = '0', price_tax_included = '53.55', price_tax_excluded = '53.55', date_upd = NOW() WHERE id_document = '90794' 20/03/2024 11:22:21 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 = '90794' 20/03/2024 11:22:21 am >> DELETE FROM ps_document_detail WHERE id_document = '90794' 20/03/2024 11:22: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 ( '90794' , '22028' , 'PRIMA CONFESSIONE E MESSA DI PRIMA COMUNIONE - N.E.' , '21' , '-21' , '4' , '3.0000' , '3' , '0' , '15' , '53.55' ) 20/03/2024 11:28:10 am >> SELECT document_num FROM ps_document WHERE document_num = '11' AND id_document != '90835' AND id_document_type LIKE '24' AND YEAR(document_date) = YEAR('2024-03-19') 20/03/2024 11:28:11 am >> UPDATE ps_document SET id_document_type = '24', document_num = '11', document_date = '2024-03-19', document_letter = '', id_customer = '3000', id_supplier = '', id_address = '4669629', address1 = 'VIA DEI CASTANI, 116 00172 ROMA', address2 = '', note = 'EDIZIONI', 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 = '1260.00', price_tax_excluded = '1260.00', date_upd = NOW() WHERE id_document = '90835' 20/03/2024 11:28:11 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 = '90835' 20/03/2024 11:28:11 am >> DELETE FROM ps_document_detail WHERE id_document = '90835' 20/03/2024 11:28:11 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 ( '90835' , '22034' , 'MISTERI DEL ROSARIO - M. DE ROSA' , '60' , '-60' , '4' , '8.0000' , '8' , '0' , '0' , '480.00' ) 20/03/2024 11:28:11 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 ( '90835' , '22152' , 'A TE RICORRIAMO' , '260' , '-260' , '4' , '3.0000' , '3' , '0' , '0' , '780.00' ) 20/03/2024 11:28:54 am >> SELECT document_num FROM ps_document WHERE document_num = '40/A' AND id_document != '90849' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 11:28:54 am >> UPDATE ps_document SET id_document_type = '24', document_num = '40/A', document_date = '2024-03-20', document_letter = 'A', id_customer = '249', id_supplier = '', id_address = '4676358', address1 = 'VIA N. PETROSINO, 33 84125 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 = '20.00', price_tax_excluded = '20.00', date_upd = NOW() WHERE id_document = '90849' 20/03/2024 11:28: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 = '90849' 20/03/2024 11:28:54 am >> DELETE FROM ps_document_detail WHERE id_document = '90849' 20/03/2024 11:28: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 ( '90849' , '21615' , 'RITO DELLA COMUNIONE FUORI DELLA MESSA N.E.' , '1' , '-1' , '4' , '20.00' , '20' , '0' , '0' , '20.00' ) 20/03/2024 11:28:57 am >> DELETE FROM ps_document WHERE id_document = '90849' 20/03/2024 11:28:57 am >> DELETE FROM ps_document_detail WHERE id_document = '90849' 20/03/2024 11:30:43 am >> SELECT document_num FROM ps_document WHERE document_num = '39/A' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 11:30:43 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '24' , '39/A' , '2024-03-20' , 'A' , '249' , '0' , '4676358' , 'VIA N. PETROSINO, 33 84125 SALERNO' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '20.00' , '20.00' , NOW() , NOW() ) 20/03/2024 11:30:43 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 = '90852' 20/03/2024 11:30:43 am >> DELETE FROM ps_document_detail WHERE id_document = '90852' 20/03/2024 11:30:43 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 ( '90852' , '21615' , 'RITO DELLA COMUNIONE FUORI DELLA MESSA N.E.' , '1' , '-1' , '4' , '20.00' , '20' , '0' , '0' , '20.00' ) 20/03/2024 11:32:58 am >> SELECT document_num FROM ps_document WHERE document_num = '824' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 11:32:58 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' , '824' , '2024-03-20' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '14.00' , '11.48' , NOW() , NOW() ) 20/03/2024 11:32:58 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 = '90853' 20/03/2024 11:32:58 am >> DELETE FROM ps_document_detail WHERE id_document = '90853' 20/03/2024 11:32:58 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 ( '90853' , '18662' , 'BRACCIA IN METALLO - 18031MET' , '1' , '-1' , '1' , '14.00' , '11.475409836066' , '22' , '0' , '14.00' ) 20/03/2024 11:38:49 am >> SELECT document_num FROM ps_document WHERE document_num = '825' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 11:38:49 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' , '825' , '2024-03-20' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '18.00' , '18.00' , NOW() , NOW() ) 20/03/2024 11:38:49 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 = '90854' 20/03/2024 11:38:49 am >> DELETE FROM ps_document_detail WHERE id_document = '90854' 20/03/2024 11:38:49 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 ( '90854' , '11151' , 'LIBRI' , '1' , '-1' , '4' , '18' , '18' , '0' , '0' , '18.00' ) 20/03/2024 11:56:49 am >> SELECT document_num FROM ps_document WHERE document_num = '826' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 11:56:49 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' , '826' , '2024-03-20' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '11.00' , '9.02' , NOW() , NOW() ) 20/03/2024 11:56:49 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 = '90855' 20/03/2024 11:56:49 am >> DELETE FROM ps_document_detail WHERE id_document = '90855' 20/03/2024 11:56:49 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 ( '90855' , '1427' , 'BUSTE PER PALMA BENEDETTA - PZ 200 ' , '1' , '-1' , '1' , '11.00' , '9.016393442623' , '22' , '0' , '11.00' ) 20/03/2024 12:10:31 pm >> SELECT document_num FROM ps_document WHERE document_num = '827' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 12:10: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' , '827' , '2024-03-20' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '94.60' , '77.54' , NOW() , NOW() ) 20/03/2024 12:10: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 = '90856' 20/03/2024 12:10:31 pm >> DELETE FROM ps_document_detail WHERE id_document = '90856' 20/03/2024 12:10: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 ( '90856' , '1631' , 'CANDELINE NON GOCCIOLANTI ' , '1' , '-1' , '1' , '30.00' , '24.590163934426' , '22' , '0' , '30.00' ) 20/03/2024 12:10: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 ( '90856' , '17617' , 'IMMAGINI ISONZO X 100' , '12' , '-12' , '1' , '3.3' , '2.7049180327869' , '22' , '0' , '39.60' ) 20/03/2024 12:10: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 ( '90856' , '5903' , 'LITURGICO ART. 60LT ROSSO SUPER' , '10' , '-10' , '1' , '2.5' , '2.0491803278689' , '22' , '0' , '25.00' ) 20/03/2024 12:13:38 pm >> SELECT document_num FROM ps_document WHERE document_num = '133' AND id_document != '89934' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-01-13') 20/03/2024 12:13:38 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '133', document_date = '2024-01-13', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = 'VIA CIRILLO 84085 MERCATO SAN SEVERINO', 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 = '147.30', price_tax_excluded = '122.91', date_upd = NOW() WHERE id_document = '89934' 20/03/2024 12:13: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 = '89934' 20/03/2024 12:13:38 pm >> DELETE FROM ps_document_detail WHERE id_document = '89934' 20/03/2024 12:13: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 ( '89934' , '17161' , 'CARBONCINI NERI - CARNE' , '1' , '-1' , '1' , '12.0000' , '9.8360655737705' , '22' , '0' , '12.00' ) 20/03/2024 12:13: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 ( '89934' , '19107' , 'INCENSO GRANI 3A - BUSTA' , '1' , '-1' , '1' , '30.0000' , '24.590163934426' , '22' , '0' , '30.00' ) 20/03/2024 12:13: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 ( '89934' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '2' , '-2' , '3' , '3.5000' , '3.3653846153846' , '4' , '0' , '7.00' ) 20/03/2024 12:13: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 ( '89934' , '16689' , 'OSTIA PAN DI CENA mm80' , '2' , '-2' , '3' , '2.0000' , '1.9230769230769' , '4' , '0' , '4.00' ) 20/03/2024 12:13: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 ( '89934' , '16691' , 'PARTICOLE PER CELIACI 25pz' , '1' , '-1' , '3' , '4.3000' , '4.1346153846154' , '4' , '0' , '4.30' ) 20/03/2024 12:13: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 ( '89934' , '15300' , 'BENEDIZIONI - MADONNA MURILLO' , '400' , '-400' , '1' , '0.1500' , '0.12295081967213' , '22' , '0' , '60.00' ) 20/03/2024 12:13: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 ( '89934' , '1220' , 'BICCHIERI FLAMBEAUX - PZ. 50' , '2' , '-2' , '1' , '15.00' , '12.295081967213' , '22' , '0' , '30.00' ) 20/03/2024 12:27:10 pm >> SELECT document_num FROM ps_document WHERE document_num = '828' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 12:27:10 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' , '828' , '2024-03-20' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '140.00' , '114.75' , NOW() , NOW() ) 20/03/2024 12:27:10 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 = '90857' 20/03/2024 12:27:10 pm >> DELETE FROM ps_document_detail WHERE id_document = '90857' 20/03/2024 12:27:10 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 ( '90857' , '15210' , 'CERO PASQUALE API 80X120' , '1' , '-1' , '1' , '140' , '114.75409836066' , '22' , '0' , '140.00' ) 20/03/2024 12:30:02 pm >> SELECT document_num FROM ps_document WHERE document_num = '829' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 12:30:02 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '829' , '2024-03-20' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '85.00' , '69.67' , NOW() , NOW() ) 20/03/2024 12:30:02 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '90858' 20/03/2024 12:30:02 pm >> DELETE FROM ps_document_detail WHERE id_document = '90858' 20/03/2024 12:30:02 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 ( '90858' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '35' , '28.688524590164' , '22' , '0' , '35.00' ) 20/03/2024 12:30:02 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 ( '90858' , '20791' , 'BOTTIGLIE PER ACQUA BENEDETTA - CONF. 100 PZ' , '2' , '-2' , '1' , '25.00' , '20.491803278689' , '22' , '0' , '50.00' ) 20/03/2024 12:35:03 pm >> UPDATE ps_address SET deleted='1' , active = '0' WHERE id_customer = '161' 20/03/2024 12:35:03 pm >> 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 ( '161' , '10' , '145' , '' , 'IODICE DON GENNARO' , '' , 'VIA G. MAZZINI VICO III, 8' , '' , '81047' , 'MACERATA CAMPANIA' , '' , '3319872191' , '' , '' , '' , NOW() , NOW() ) 20/03/2024 12:35:03 pm >> UPDATE ps_customer SET email = 'gennaro0404@gmail.com', sdi = '', pec = '', date_upd = NOW() WHERE id_customer = '161' 20/03/2024 02:37:32 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '001909' AND id_product != '19109' AND ean13 != '' 20/03/2024 02:37:32 pm >> UPDATE ps_product SET id_supplier = '12', reference = '', ean13 = '001909', date_upd = NOW() WHERE id_product = '19109' 20/03/2024 02:37:32 pm >> UPDATE ps_product_lang SET name = 'LUCERNA IN VETRO TRASPARENTE - 1492', description = '' WHERE id_product = '19109' 20/03/2024 02:37:32 pm >> UPDATE ps_product SET wholesale_price = '6.18', on_sale = '0', price = '13.934426229508198' WHERE id_product = '19109' 20/03/2024 02:37:32 pm >> UPDATE ps_product_shop SET wholesale_price = '6.18', price = '13.934426229508198', id_tax_rules_group = '1', id_category_default = '147', 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 = '19109' 20/03/2024 02:37:32 pm >> DELETE FROM ps_specific_price WHERE id_product = '19109' 20/03/2024 02:39:35 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '1000000014969' AND id_product != '10122' AND ean13 != '' 20/03/2024 02:39:35 pm >> UPDATE ps_product SET id_supplier = '12', reference = '2016', ean13 = '1000000014969', date_upd = NOW() WHERE id_product = '10122' 20/03/2024 02:39:35 pm >> UPDATE ps_product_lang SET name = 'SPEGNICANDELA CON MANICO CM 50 - 609/50', description = '' WHERE id_product = '10122' 20/03/2024 02:39:35 pm >> UPDATE ps_product SET wholesale_price = '11.88', on_sale = '0', price = '27.868852459016395' WHERE id_product = '10122' 20/03/2024 02:39:35 pm >> UPDATE ps_product_shop SET wholesale_price = '11.88', price = '27.868852459016395', id_tax_rules_group = '1', id_category_default = '147', 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 = '10122' 20/03/2024 02:39:35 pm >> DELETE FROM ps_specific_price WHERE id_product = '10122' 20/03/2024 02:40:33 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '1000000006742' AND id_product != '778' AND ean13 != '' 20/03/2024 02:40:33 pm >> UPDATE ps_product SET id_supplier = '12', reference = '2014', ean13 = '1000000006742', date_upd = NOW() WHERE id_product = '778' 20/03/2024 02:40:33 pm >> UPDATE ps_product_lang SET name = 'ASPERGES CON VASETTO O. S. - 1700 ', description = '' WHERE id_product = '778' 20/03/2024 02:40:33 pm >> UPDATE ps_product SET wholesale_price = '26.13', on_sale = '0', price = '57.37704918032787' WHERE id_product = '778' 20/03/2024 02:40:33 pm >> UPDATE ps_product_shop SET wholesale_price = '26.13', price = '57.37704918032787', id_tax_rules_group = '1', id_category_default = '147', 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 = '778' 20/03/2024 02:40:33 pm >> DELETE FROM ps_specific_price WHERE id_product = '778' 20/03/2024 02:40:55 pm >> INSERT INTO ps_product ( ean13 , id_tax_rules_group , `date_add` , `date_upd` ) VALUES ( '' , '1' , NOW() , NOW() ) 20/03/2024 02:40:55 pm >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '22318' , '1' , '' , 'nuovo-prodotto' ) 20/03/2024 02:40:55 pm >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , `date_add` , `date_upd` ) VALUES ( '22318' , '1' , '1' , '2' , NOW() , NOW() ) 20/03/2024 02:40:55 pm >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) VALUES ( '22318' , '0' , '1' , '0' , '0' ) 20/03/2024 02:43:08 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '1000000006308' AND id_product != '22318' AND ean13 != '' 20/03/2024 02:43:08 pm >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '1000000006308', date_upd = NOW() WHERE id_product = '22318' 20/03/2024 02:43:08 pm >> UPDATE ps_product_lang SET name = 'BOSSOLO OTTONE 8X14 - 162', description = '' WHERE id_product = '22318' 20/03/2024 02:43:08 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '56.55737704918033' WHERE id_product = '22318' 20/03/2024 02:43:08 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '56.55737704918033', id_tax_rules_group = '1', id_category_default = '147', 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 = '22318' 20/03/2024 02:43:08 pm >> DELETE FROM ps_specific_price WHERE id_product = '22318' 20/03/2024 02:43:09 pm >> INSERT INTO ps_product ( id_tax_rules_group , `date_add` , `date_upd` ) SELECT id_tax_rules_group , NOW() , NOW() FROM ps_product WHERE id_product = '22318' 20/03/2024 02:43:09 pm >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '22319' , '1' , '' , 'nuovo-prodotto' ) 20/03/2024 02:43:09 pm >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , `date_add` , `date_upd` ) SELECT '22319' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '22318' 20/03/2024 02:43:10 pm >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) SELECT '22319' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '22318' 20/03/2024 02:57:13 pm >> SELECT document_num FROM ps_document WHERE document_num = '13/A' AND id_document != '90153' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2024-01-30') 20/03/2024 02:57:13 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '13/A', document_date = '2024-01-30', document_letter = 'A', id_customer = '2332', id_supplier = '', id_address = '4679092', address1 = 'P.ZZA S. ROCCO 84088 SIANO', 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 = '285.00', price_tax_excluded = '233.61', date_upd = NOW() WHERE id_document = '90153' 20/03/2024 02:57:13 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 = '90153' 20/03/2024 02:57:13 pm >> DELETE FROM ps_document_detail WHERE id_document = '90153' 20/03/2024 02:57:13 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 ( '90153' , '14362' , 'CAMICE SVASATO - 434/TPA' , '1' , '-1' , '1' , '65.0000' , '53.27868852459' , '22' , '0' , '65.00' ) 20/03/2024 02:57:13 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 ( '90153' , '20791' , 'BOTTIGLIE PER ACQUA BENEDETTA - CONF. 100 PZ' , '10' , '-10' , '1' , '22' , '18.032786885246' , '22' , '0' , '220.00' ) 20/03/2024 02:59:16 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '' AND id_product != '22319' AND ean13 != '' 20/03/2024 02:59:16 pm >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '', date_upd = NOW() WHERE id_product = '22319' 20/03/2024 02:59:16 pm >> UPDATE ps_product_lang SET name = 'FINTA CANDELA CON CARTUCCIA 3,2 X40 - 1133 ', description = '' WHERE id_product = '22319' 20/03/2024 02:59:16 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '20.491803278688526' WHERE id_product = '22319' 20/03/2024 02:59:16 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '20.491803278688526', id_tax_rules_group = '1', id_category_default = '147', 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 = '22319' 20/03/2024 02:59:16 pm >> DELETE FROM ps_specific_price WHERE id_product = '22319' 20/03/2024 02:59:25 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '002250' AND id_product != '22319' AND ean13 != '' 20/03/2024 02:59:25 pm >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '002250', date_upd = NOW() WHERE id_product = '22319' 20/03/2024 02:59:25 pm >> UPDATE ps_product_lang SET name = 'FINTA CANDELA CON CARTUCCIA 3,2 X40 - 1133 ', description = '' WHERE id_product = '22319' 20/03/2024 02:59:25 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '20.491803278688526' WHERE id_product = '22319' 20/03/2024 02:59:25 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '20.491803278688526', id_tax_rules_group = '1', id_category_default = '147', 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 = '22319' 20/03/2024 02:59:25 pm >> DELETE FROM ps_specific_price WHERE id_product = '22319' 20/03/2024 03:09:19 pm >> SELECT document_num FROM ps_document WHERE document_num = '830' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 03:09:19 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '830' , '2024-03-20' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '100.00' , '84.95' , NOW() , NOW() ) 20/03/2024 03:09:19 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '90859' 20/03/2024 03:09:19 pm >> DELETE FROM ps_document_detail WHERE id_document = '90859' 20/03/2024 03:09:19 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '90859' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '6' , '-6' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '21.00' ) 20/03/2024 03:09:19 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '90859' , '17160' , 'CARBONCINI ROSSI - CARRO' , '1' , '-1' , '1' , '10.00' , '8.1967213114754' , '22' , '0' , '10.00' ) 20/03/2024 03:09:19 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '90859' , '1626' , 'CANDELE VOTIVE KG 10 - 13X26 - CIRCA 300 PZ' , '1' , '-1' , '1' , '69' , '56.55737704918' , '22' , '0' , '69.00' ) 20/03/2024 03:23:06 pm >> SELECT document_num FROM ps_document WHERE document_num = '13/A' AND id_document != '90153' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2024-01-30') 20/03/2024 03:23:06 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '13/A', document_date = '2024-01-30', document_letter = 'A', id_customer = '2332', id_supplier = '', id_address = '4679092', address1 = 'P.ZZA S. ROCCO 84088 SIANO', 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 = '406.85', price_tax_excluded = '337.42', date_upd = NOW() WHERE id_document = '90153' 20/03/2024 03:23:06 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 = '90153' 20/03/2024 03:23:06 pm >> DELETE FROM ps_document_detail WHERE id_document = '90153' 20/03/2024 03:23:06 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 ( '90153' , '14362' , 'CAMICE SVASATO - 434/TPA' , '1' , '-1' , '1' , '65.0000' , '53.27868852459' , '22' , '0' , '65.00' ) 20/03/2024 03:23:06 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 ( '90153' , '20791' , 'BOTTIGLIE PER ACQUA BENEDETTA - CONF. 100 PZ' , '10' , '-10' , '1' , '22.0000' , '18.032786885246' , '22' , '0' , '220.00' ) 20/03/2024 03:23:06 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 ( '90153' , '19107' , 'INCENSO GRANI 3A - BUSTA' , '1' , '-1' , '1' , '30.00' , '24.590163934426' , '22' , '0' , '30.00' ) 20/03/2024 03:23:06 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 ( '90153' , '1626' , 'CANDELE VOTIVE KG 10 - 13X26 - CIRCA 300 PZ' , '1' , '-1' , '1' , '70.00' , '57.377049180328' , '22' , '0' , '70.00' ) 20/03/2024 03:23:06 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 ( '90153' , '22281' , 'CARDIOLOGO VISITA GESU - F. SERAFINI' , '1' , '-1' , '4' , '23.00' , '23' , '0' , '5' , '21.85' ) 20/03/2024 03:42:54 pm >> INSERT INTO ps_product ( ean13 , id_tax_rules_group , `date_add` , `date_upd` ) VALUES ( '' , '1' , NOW() , NOW() ) 20/03/2024 03:42:54 pm >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '22320' , '1' , '' , 'nuovo-prodotto' ) 20/03/2024 03:42:54 pm >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , `date_add` , `date_upd` ) VALUES ( '22320' , '1' , '1' , '2' , NOW() , NOW() ) 20/03/2024 03:42:54 pm >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) VALUES ( '22320' , '0' , '1' , '0' , '0' ) 20/03/2024 03:43:56 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '002251' AND id_product != '22320' AND ean13 != '' 20/03/2024 03:43:56 pm >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '002251', date_upd = NOW() WHERE id_product = '22320' 20/03/2024 03:43:56 pm >> UPDATE ps_product_lang SET name = 'CANDELABRO CM 40 - 621', description = '' WHERE id_product = '22320' 20/03/2024 03:43:56 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '163.9344262295082' WHERE id_product = '22320' 20/03/2024 03:43:56 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '163.9344262295082', id_tax_rules_group = '1', id_category_default = '147', 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 = '22320' 20/03/2024 03:43:56 pm >> DELETE FROM ps_specific_price WHERE id_product = '22320' 20/03/2024 03:46:12 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '1000000007206' AND id_product != '797' AND ean13 != '' 20/03/2024 03:46:12 pm >> UPDATE ps_product SET id_supplier = '12', reference = '2016', ean13 = '1000000007206', date_upd = NOW() WHERE id_product = '797' 20/03/2024 03:46:12 pm >> UPDATE ps_product_lang SET name = 'ASTUCCIO CON 3 VASETTI - 1759/3', description = '' WHERE id_product = '797' 20/03/2024 03:46:12 pm >> UPDATE ps_product SET wholesale_price = '126.68', on_sale = '0', price = '315.57377049180326' WHERE id_product = '797' 20/03/2024 03:46:12 pm >> UPDATE ps_product_shop SET wholesale_price = '126.68', price = '315.57377049180326', id_tax_rules_group = '1', id_category_default = '147', 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 = '797' 20/03/2024 03:46:12 pm >> DELETE FROM ps_specific_price WHERE id_product = '797' 20/03/2024 03:47:36 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' , '877' , '2024-03-18' , '' , '0' , '12' , '2607' , 'VIA NAZIONALE NORD, 4 - LAGARO 40035 CASTIGLIONE DEI PEPOLI' , '' , '' , '12' , '1' , '0' , '0' , '0' , '' , '9' , '0' , '1217.04' , '997.58' , NOW() , NOW() ) 20/03/2024 03:47:36 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 = '90860' 20/03/2024 03:47:36 pm >> DELETE FROM ps_document_detail WHERE id_document = '90860' 20/03/2024 03:47:36 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 ( '90860' , '19109' , 'LUCERNA IN VETRO TRASPARENTE - 1492' , '4' , '4' , '1' , '7' , '5.7377049180328' , '22' , '5' , '32.4520' ) 20/03/2024 03:47:36 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19109' AND id_supplier = '12' 20/03/2024 03:47:36 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19109' , '12' , '1' ) 20/03/2024 03:47:36 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 ( '90860' , '10122' , 'SPEGNICANDELA CON MANICO CM 50 - 609/50' , '1' , '1' , '1' , '14' , '11.475409836066' , '22' , '5' , '16.2260' ) 20/03/2024 03:47:36 pm >> DELETE FROM ps_product_supplier WHERE id_product = '10122' AND id_supplier = '12' 20/03/2024 03:47:36 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '10122' , '12' , '1' ) 20/03/2024 03:47:36 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 ( '90860' , '778' , 'ASPERGES CON VASETTO O. S. - 1700 ' , '1' , '1' , '1' , '29' , '23.770491803279' , '22' , '5' , '33.6110' ) 20/03/2024 03:47:36 pm >> DELETE FROM ps_product_supplier WHERE id_product = '778' AND id_supplier = '12' 20/03/2024 03:47:36 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '778' , '12' , '1' ) 20/03/2024 03:47:36 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 ( '90860' , '22318' , 'BOSSOLO OTTONE 8X14 - 162' , '1' , '1' , '1' , '28.5' , '23.360655737705' , '22' , '5' , '33.0315' ) 20/03/2024 03:47:36 pm >> DELETE FROM ps_product_supplier WHERE id_product = '22318' AND id_supplier = '12' 20/03/2024 03:47:36 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '22318' , '12' , '1' ) 20/03/2024 03:47:36 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 ( '90860' , '7735' , 'PATENA OTTONE - DIAM. 14 - 900' , '2' , '2' , '1' , '18.5' , '15.16393442623' , '22' , '5' , '42.8830' ) 20/03/2024 03:47:36 pm >> DELETE FROM ps_product_supplier WHERE id_product = '7735' AND id_supplier = '12' 20/03/2024 03:47:36 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '7735' , '12' , '1' ) 20/03/2024 03:47:36 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 ( '90860' , '22051' , 'FINTA CANDELA COMPLETA 4X30 - 1140' , '2' , '2' , '1' , '10.5' , '8.6065573770492' , '22' , '5' , '24.3390' ) 20/03/2024 03:47:36 pm >> DELETE FROM ps_product_supplier WHERE id_product = '22051' AND id_supplier = '12' 20/03/2024 03:47:36 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '22051' , '12' , '1' ) 20/03/2024 03:47:36 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 ( '90860' , '22320' , 'CANDELABRO CM 40 - 621' , '6' , '6' , '1' , '89.5' , '73.360655737705' , '22' , '5+5' , '591.2639' ) 20/03/2024 03:47:36 pm >> DELETE FROM ps_product_supplier WHERE id_product = '22320' AND id_supplier = '12' 20/03/2024 03:47:37 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '22320' , '12' , '1' ) 20/03/2024 03:47:37 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '90860' , '22319' , 'FINTA CANDELA CON CARTUCCIA 3,2 X40 - 1133 ' , '6' , '6' , '1' , '10.3' , '8.4426229508197' , '22' , '5' , '71.6262' ) 20/03/2024 03:47:37 pm >> DELETE FROM ps_product_supplier WHERE id_product = '22319' AND id_supplier = '12' 20/03/2024 03:47:37 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '22319' , '12' , '1' ) 20/03/2024 03:47:37 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '90860' , '8936' , 'ANTIVENTO PER TORCIA ORO DIAM. 4 - 33' , '4' , '4' , '1' , '21' , '17.213114754098' , '22' , '5' , '97.3560' ) 20/03/2024 03:47:37 pm >> DELETE FROM ps_product_supplier WHERE id_product = '8936' AND id_supplier = '12' 20/03/2024 03:47:37 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '8936' , '12' , '1' ) 20/03/2024 03:47:37 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '90860' , '12578' , 'RICAMBIO VETRO PER ART. 486 - 65' , '4' , '4' , '1' , '7' , '5.7377049180328' , '22' , '5' , '32.4520' ) 20/03/2024 03:47:37 pm >> DELETE FROM ps_product_supplier WHERE id_product = '12578' AND id_supplier = '12' 20/03/2024 03:47:37 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '12578' , '12' , '1' ) 20/03/2024 03:47:37 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '90860' , '797' , 'ASTUCCIO CON 3 VASETTI - 1759/3' , '1' , '1' , '1' , '168' , '137.70491803279' , '22' , '5' , '194.7120' ) 20/03/2024 03:47:37 pm >> DELETE FROM ps_product_supplier WHERE id_product = '797' AND id_supplier = '12' 20/03/2024 03:47:37 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '797' , '12' , '1' ) 20/03/2024 03:47:37 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '90860' , '9780' , 'SECCHIELLO PER ASPERGES IN ACCIAIO - 695' , '1' , '1' , '1' , '28' , '22.950819672131' , '22' , '5' , '32.4520' ) 20/03/2024 03:47:37 pm >> DELETE FROM ps_product_supplier WHERE id_product = '9780' AND id_supplier = '12' 20/03/2024 03:47:37 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '9780' , '12' , '1' ) 20/03/2024 04:52:18 pm >> SELECT document_num FROM ps_document WHERE document_num = '831' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 04:52:18 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' , '831' , '2024-03-20' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '5.70' , '5.70' , NOW() , NOW() ) 20/03/2024 04:52:18 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 = '90861' 20/03/2024 04:52:18 pm >> DELETE FROM ps_document_detail WHERE id_document = '90861' 20/03/2024 04:52:18 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 ( '90861' , '22181' , 'MESSALINO QUOTIDIANO - MAG/GIU/LUG 2024' , '1' , '-1' , '4' , '6.00' , '6' , '0' , '5' , '5.70' ) 20/03/2024 05:36:20 pm >> DELETE FROM ps_document WHERE id_document = '90846' 20/03/2024 05:36:20 pm >> DELETE FROM ps_document_detail WHERE id_document = '90846' 20/03/2024 05:36:36 pm >> SELECT document_num FROM ps_document WHERE document_num = '38/A' AND id_document != '90852' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 05:36:36 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '38/A', document_date = '2024-03-20', document_letter = 'A', id_customer = '249', id_supplier = '', id_address = '4676358', address1 = 'VIA N. PETROSINO, 33 84125 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 = '20.00', price_tax_excluded = '20.00', date_upd = NOW() WHERE id_document = '90852' 20/03/2024 05:36:36 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 = '90852' 20/03/2024 05:36:36 pm >> DELETE FROM ps_document_detail WHERE id_document = '90852' 20/03/2024 05:36:36 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 ( '90852' , '21615' , 'RITO DELLA COMUNIONE FUORI DELLA MESSA N.E.' , '1' , '-1' , '4' , '20.0000' , '20' , '0' , '0' , '20.00' ) 20/03/2024 05:39:22 pm >> SELECT document_num FROM ps_document WHERE document_num = '4/L' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 05:39:22 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' , '4/L' , '2024-03-20' , 'L' , '204' , '0' , '4671483' , 'VIA ROBERTO IL GUISCARDO, 3 84121 SALERNO' , '' , 'CAPPELLANIA OSPEDALIERA BATTIPAGLIA' , '0.00' , '4' , '0' , '0' , '0' , '' , '3' , '0' , '122.10' , '108.58' , NOW() , NOW() ) 20/03/2024 05:39:22 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 = '90862' 20/03/2024 05:39:22 pm >> DELETE FROM ps_document_detail WHERE id_document = '90862' 20/03/2024 05:39:22 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 ( '90862' , '4223' , 'FOGLIETTI LA DOMENICA SAN PAOLO' , '24' , '-24' , '4' , '0.7000' , '0.7' , '0' , '0' , '16.80' ) 20/03/2024 05:39:22 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 ( '90862' , '4223' , 'FOGLIETTI LA DOMENICA SAN PAOLO' , '25' , '-25' , '4' , '0.7000' , '0.7' , '0' , '0' , '17.50' ) 20/03/2024 05:39:22 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 ( '90862' , '20791' , 'BOTTIGLIE PER ACQUA BENEDETTA - CONF. 100 PZ' , '3' , '-3' , '1' , '25.0000' , '20.4918' , '22' , '0' , '75.00' ) 20/03/2024 05:39:22 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 ( '90862' , '22031' , 'GLI ULTIMI SARANNO PRIMI - R. LUPI' , '2' , '-2' , '4' , '2.5000' , '2.5' , '0' , '0' , '5.00' ) 20/03/2024 05:39:22 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 ( '90862' , '22189' , 'VIA CRUCIS VIA DI SPERANZA - R. LUPI' , '2' , '-2' , '4' , '3.9000' , '3.9' , '0' , '0' , '7.80' ) 20/03/2024 05:39:51 pm >> DELETE FROM ps_document WHERE id_document = '89857' 20/03/2024 05:39:51 pm >> DELETE FROM ps_document_detail WHERE id_document = '89857' 20/03/2024 06:52:27 pm >> SELECT document_num FROM ps_document WHERE document_num = '832' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 06:52: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 ( '11' , '832' , '2024-03-20' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '12.00' , '9.84' , NOW() , NOW() ) 20/03/2024 06:52: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 = '90863' 20/03/2024 06:52:27 pm >> DELETE FROM ps_document_detail WHERE id_document = '90863' 20/03/2024 06:52: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 ( '90863' , '17161' , 'CARBONCINI NERI - CARNE' , '1' , '-1' , '1' , '12.00' , '9.8360655737705' , '22' , '0' , '12.00' ) 20/03/2024 07:01:27 pm >> SELECT document_num FROM ps_document WHERE document_num = '833' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 07:01: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 ( '11' , '833' , '2024-03-20' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '46.00' , '37.70' , NOW() , NOW() ) 20/03/2024 07:01: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 = '90864' 20/03/2024 07:01:27 pm >> DELETE FROM ps_document_detail WHERE id_document = '90864' 20/03/2024 07:01: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 ( '90864' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '40' , '32.786885245902' , '22' , '0' , '40.00' ) 20/03/2024 07:01: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 ( '90864' , '13562' , 'CORONCINA IN STOFFA CON ROSE E FOGLIOLINE - 3311' , '1' , '-1' , '1' , '6.00' , '4.9180327868852' , '22' , '0' , '6.00' ) 20/03/2024 07:10:40 pm >> SELECT document_num FROM ps_document WHERE document_num = '834' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 07:10: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' , '834' , '2024-03-20' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '62.50' , '55.13' , NOW() , NOW() ) 20/03/2024 07:10: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 = '90865' 20/03/2024 07:10:40 pm >> DELETE FROM ps_document_detail WHERE id_document = '90865' 20/03/2024 07:10: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 ( '90865' , '16689' , 'OSTIA PAN DI CENA mm80' , '5' , '-5' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '10.00' ) 20/03/2024 07:10: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 ( '90865' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '5' , '-5' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '17.50' ) 20/03/2024 07:10: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 ( '90865' , '20885' , 'BIGLIETTI SANTINI X 100 PZ' , '1' , '-1' , '1' , '12' , '9.8360655737705' , '22' , '0' , '12.00' ) 20/03/2024 07:10: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 ( '90865' , '17161' , 'CARBONCINI NERI - CARNE' , '1' , '-1' , '1' , '12.00' , '9.8360655737705' , '22' , '0' , '12.00' ) 20/03/2024 07:10: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 ( '90865' , '1427' , 'BUSTE PER PALMA BENEDETTA - PZ 200 ' , '1' , '-1' , '1' , '11.00' , '9.016393442623' , '22' , '0' , '11.00' ) 20/03/2024 07:13:10 pm >> SELECT document_num FROM ps_document WHERE document_num = '835' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 07:13:10 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' , '835' , '2024-03-20' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '81.50' , '70.70' , NOW() , NOW() ) 20/03/2024 07:13:10 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 = '90866' 20/03/2024 07:13:10 pm >> DELETE FROM ps_document_detail WHERE id_document = '90866' 20/03/2024 07:13:10 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 ( '90866' , '16689' , 'OSTIA PAN DI CENA mm80' , '5' , '-5' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '10.00' ) 20/03/2024 07:13:10 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 ( '90866' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '5' , '-5' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '17.50' ) 20/03/2024 07:13:10 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 ( '90866' , '20885' , 'BIGLIETTI SANTINI X 100 PZ' , '1' , '-1' , '1' , '12' , '9.8360655737705' , '22' , '0' , '12.00' ) 20/03/2024 07:13:10 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 ( '90866' , '17161' , 'CARBONCINI NERI - CARNE' , '1' , '-1' , '1' , '12.00' , '9.8360655737705' , '22' , '0' , '12.00' ) 20/03/2024 07:13:10 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 ( '90866' , '1631' , 'CANDELINE NON GOCCIOLANTI ' , '1' , '-1' , '1' , '30.00' , '24.590163934426' , '22' , '0' , '30.00' ) 20/03/2024 07:21:13 pm >> SELECT document_num FROM ps_document WHERE document_num = '828' AND id_document != '90857' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 07:21:13 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '828', document_date = '2024-03-20', 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 = '140.00', price_tax_excluded = '114.75', date_upd = NOW() WHERE id_document = '90857' 20/03/2024 07:21:13 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 = '90857' 20/03/2024 07:21:14 pm >> DELETE FROM ps_document_detail WHERE id_document = '90857' 20/03/2024 07:21: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 ( '90857' , '15210' , 'CERO PASQUALE API 80X120' , '2' , '-2' , '1' , '70' , '57.377049180328' , '22' , '0' , '140.00' ) 20/03/2024 07:42:22 pm >> SELECT document_num FROM ps_document WHERE document_num = '836' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 07:42:22 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' , '836' , '2024-03-20' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '6.18' , '6.18' , NOW() , NOW() ) 20/03/2024 07:42:22 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 = '90867' 20/03/2024 07:42:22 pm >> DELETE FROM ps_document_detail WHERE id_document = '90867' 20/03/2024 07:42:22 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 ( '90867' , '1824' , 'CATECHISMO DELLA CHIESA CATTOLICA - COMPENDIO' , '1' , '-1' , '4' , '6.50' , '6.5' , '0' , '5' , '6.18' ) 20/03/2024 07:47:09 pm >> SELECT document_num FROM ps_document WHERE document_num = '837' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-03-20') 20/03/2024 07:47: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' , '837' , '2024-03-20' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '31.00' , '26.67' , NOW() , NOW() ) 20/03/2024 07:47: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 = '90868' 20/03/2024 07:47:09 pm >> DELETE FROM ps_document_detail WHERE id_document = '90868' 20/03/2024 07:47: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 ( '90868' , '3073' , 'CROCE PRIMA COMUNIONE - LEGNO SCURO - 713/15' , '20' , '-20' , '1' , '1.2' , '0.98360655737705' , '22' , '0' , '24.00' ) 20/03/2024 07:47: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 ( '90868' , '4394' , 'GESÙ CI CHIAMA 1 - SCHEDE' , '2' , '-2' , '4' , '3.50' , '3.5' , '0' , '0' , '7.00' )