26/09/2023 09:03:53 am >> SELECT document_num FROM ps_document WHERE document_num = '2782' AND id_document != '87244' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-09-09') 26/09/2023 09:03:53 am >> UPDATE ps_document SET id_document_type = '11', document_num = '2782', document_date = '2023-09-09', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = '', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '27.00', price_tax_excluded = '23.84', date_upd = NOW() WHERE id_document = '87244' 26/09/2023 09:03: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 = '87244' 26/09/2023 09:03:53 am >> DELETE FROM ps_document_detail WHERE id_document = '87244' 26/09/2023 09:03: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 ( '87244' , '19689' , 'NEL VOSTRO AMORE - PAPA FRANCESCO' , '1' , '-1' , '4' , '10.0000' , '10' , '0' , '5' , '9.50' ) 26/09/2023 09:03: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 ( '87244' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '11.9' , '9.7540983606557' , '22' , '0' , '11.90' ) 26/09/2023 09:03: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 ( '87244' , '17005' , 'BIGLIETTO AUGURALE medio' , '1' , '-1' , '1' , '1.0000' , '0.81967213114754' , '22' , '0' , '1.00' ) 26/09/2023 09:03: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 ( '87244' , '1325' , 'BRACCIALE IN CORDA CON TAU - 1649' , '1' , '-1' , '1' , '1.60' , '1.3114754098361' , '22' , '0' , '1.60' ) 26/09/2023 09:03: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 ( '87244' , '1351' , 'BRACCIALETTO CON TAU - 29002 03' , '1' , '-1' , '1' , '3.00' , '2.4590163934426' , '22' , '0' , '3.00' ) 26/09/2023 09:06:56 am >> SELECT document_num FROM ps_document WHERE document_num = '2910' AND id_document != '87410' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-09-25') 26/09/2023 09:06:56 am >> UPDATE ps_document SET id_document_type = '11', document_num = '2910', document_date = '2023-09-25', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = '', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '170.00', price_tax_excluded = '140.20', date_upd = NOW() WHERE id_document = '87410' 26/09/2023 09:06:56 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 = '87410' 26/09/2023 09:06:56 am >> DELETE FROM ps_document_detail WHERE id_document = '87410' 26/09/2023 09:06:57 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 ( '87410' , '20117' , 'FATIMA CM 55 - 1036' , '1' , '-1' , '1' , '62.7500' , '51.434426229508' , '22' , '0' , '62.75' ) 26/09/2023 09:06:57 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 ( '87410' , '21519' , 'SULLA TUA PAROLA - NOV/DIC 23' , '1' , '-1' , '4' , '5.0000' , '5' , '0' , '5' , '4.75' ) 26/09/2023 09:06:57 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 ( '87410' , '15801' , 'ARGENTO A PESO' , '4' , '-4' , '1' , '22.5' , '18.44262295082' , '22' , '0' , '90.00' ) 26/09/2023 09:06:57 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 ( '87410' , '12040' , 'MEDAGLIA MIRACOLOSA GRANDE IN ARGENTO - M058' , '1' , '-1' , '1' , '12.5000' , '10.245901639344' , '22' , '0' , '12.50' ) 26/09/2023 10:28:32 am >> SELECT document_num FROM ps_document WHERE document_num = '2920' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-09-26') 26/09/2023 10:28:32 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' , '2920' , '2023-09-26' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '1234.65' , '1219.32' , NOW() , NOW() ) 26/09/2023 10:28:32 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 = '87422' 26/09/2023 10:28:32 am >> DELETE FROM ps_document_detail WHERE id_document = '87422' 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '5444' , 'IO SONO CON VOI - CAT.' , '100' , '-100' , '4' , '4.95' , '4.95' , '0' , '0' , '495.00' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '11193' , 'VENITE CON ME CAT.' , '100' , '-100' , '4' , '4.95' , '4.95' , '0' , '0' , '495.00' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '9676' , 'SARETE MIEI TESTIMONI - CAT.' , '20' , '-20' , '4' , '4.95' , '4.95' , '0' , '0' , '99.00' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '12819' , 'REGISTRO DEL CATECHISTA ' , '50' , '-50' , '1' , '1.00' , '0.81967213114754' , '22' , '15' , '42.50' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '8855' , 'REGISTRO DEL CATECHISTA' , '50' , '-50' , '1' , '0.75' , '0.61475409836066' , '22' , '15' , '32.00' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '4404' , 'GESÙ CONFIDO IN TE - 296' , '3' , '-3' , '1' , '3.5' , '2.8688524590164' , '22' , '0' , '10.50' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '17034' , 'SACRAMENTO DEL PERDONO' , '1' , '-1' , '4' , '2.00' , '2' , '0' , '5' , '1.90' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '18357' , 'MIE PREGHIERINE N.E.' , '1' , '-1' , '4' , '1.50' , '1.5' , '0' , '5' , '1.43' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '18658' , 'PICCOLO DIZIONARIO DEL CRISTIANO' , '1' , '-1' , '4' , '3.00' , '3' , '0' , '5' , '2.85' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '15317' , 'SACRAMENTI SPIEGATI AI RAGAZZI - LA COMUNIONE' , '1' , '-1' , '4' , '1.80' , '1.8' , '0' , '5' , '1.71' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '16065' , 'DIZIONARIO DEI SIMBOLI DEL CRISTIANO' , '1' , '-1' , '4' , '2.50' , '2.5' , '0' , '5' , '2.38' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '13463' , 'PREGHIERE DEI RAGAZZI - N.E.' , '1' , '-1' , '4' , '1.50' , '1.5' , '0' , '5' , '1.43' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '16199' , 'DIO E IN DIECI PAROLE - COMANDAMENTI' , '1' , '-1' , '4' , '3.00' , '3' , '0' , '5' , '2.85' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '18049' , 'PADRE NOSTRO SPIEGATO AI BAMBINI' , '1' , '-1' , '4' , '2.50' , '2.5' , '0' , '5' , '2.38' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '13462' , 'SE MI AMI NON PIANGERE' , '1' , '-1' , '4' , '1.50' , '1.5' , '0' , '5' , '1.43' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '17163' , 'SPIRITO SANTO SPIEGATO AI RAGAZZI' , '1' , '-1' , '4' , '2.50' , '2.5' , '0' , '5' , '2.38' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '4120' , 'FEDE NELLO ZAINETTO' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '13771' , 'PREGHIERE A MARIA' , '1' , '-1' , '4' , '7.00' , '7' , '0' , '5' , '6.65' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '21390' , 'ROSARIO EUCARISTICO - F. STANO' , '1' , '-1' , '4' , '4.00' , '4' , '0' , '5' , '3.80' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '19050' , 'VENITE ADORIAMO - G. DAMORE' , '1' , '-1' , '4' , '7.00' , '7' , '0' , '5' , '6.65' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '19471' , 'PAROLA DI MARIA - P. MANCA' , '1' , '-1' , '4' , '4.50' , '4.5' , '0' , '5' , '4.28' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '20992' , 'LITANIE LAURETANE' , '1' , '-1' , '4' , '7.00' , '7' , '0' , '5' , '6.65' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '19478' , 'MARIA CANTO DI SPERANZA - FRANCESCO' , '1' , '-1' , '4' , '2.50' , '2.5' , '0' , '5' , '2.38' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '13700' , 'PIENA DI GRAZIA - G. SACINO' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '20952' , 'VANGELO E ATTI DEGLI APOSTOLI - ragazzi' , '1' , '-1' , '4' , '2.80' , '2.8' , '0' , '100' , '0.00' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '15602' , 'AMICO GESU ALBUM' , '1' , '-1' , '4' , '2.00' , '2' , '0' , '100' , '0.00' ) 26/09/2023 10:28:32 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87422' , '21524' , 'LIBRO AGENDA CATTOLICO 2024' , '1' , '-1' , '4' , '18.00' , '18' , '0' , '100' , '0.00' ) 26/09/2023 12:13:24 pm >> INSERT INTO ps_customer ( id_gender , firstname , lastname , email , passwd , `date_add` , `date_upd` ) VALUES ( '1' , '' , '' , '' , 'TVAoAHMRohw7G48y' , NOW() , NOW() ) 26/09/2023 12:13:24 pm >> INSERT INTO ps_customer_group ( id_customer , id_group ) VALUES ( '4028' , '1' ) 26/09/2023 12:13:25 pm >> INSERT INTO ps_customer_group ( id_customer , id_group ) VALUES ( '4028' , '2' ) 26/09/2023 12:13:25 pm >> INSERT INTO ps_customer_group ( id_customer , id_group ) VALUES ( '4028' , '3' ) 26/09/2023 12:16:16 pm >> UPDATE ps_address SET deleted='1' , active = '0' WHERE id_customer = '4028' 26/09/2023 12:16:16 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 ( '4028' , '10' , '124' , '' , 'MAZZARELLO' , 'MARINA ' , 'VIA BELLETTI 41' , '' , '15010' , 'CREMOLINO' , 'Corso Saracco 234 15076 Ovada (AL)' , '' , '3384372671' , '' , '' , NOW() , NOW() ) 26/09/2023 12:16:16 pm >> UPDATE ps_customer SET email = 'marinamazzarello@gmail.com', sdi = '', pec = '', date_upd = NOW() WHERE id_customer = '4028' 26/09/2023 12:16:30 pm >> UPDATE ps_address SET deleted='1' , active = '0' WHERE id_customer = '4028' 26/09/2023 12:16:30 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 ( '4028' , '10' , '124' , '' , 'MAZZARELLO' , 'MARINA ' , 'VIA BELLETTI 41' , '' , '15010' , 'CREMOLINO' , 'Corso Saracco 234 15076 Ovada (AL)' , '' , '3384372671' , '' , '' , NOW() , NOW() ) 26/09/2023 12:16:31 pm >> UPDATE ps_customer SET email = 'marinamazzarello@gmail.com', sdi = '', pec = '', date_upd = NOW() WHERE id_customer = '4028' 26/09/2023 12:18:24 pm >> UPDATE ps_address SET deleted='1' , active = '0' WHERE id_customer = '4028' 26/09/2023 12:18:24 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 ( '4028' , '10' , '124' , '' , 'MAZZARELLO' , 'MARINA ' , 'VIA BELLETTI 41' , '' , '15010' , 'CREMOLINO' , 'SPEDIZIONE: Corso Saracco 234 15076 Ovada (AL)' , '' , '3384372671' , '' , '' , NOW() , NOW() ) 26/09/2023 12:18:24 pm >> UPDATE ps_customer SET email = 'marinamazzarello@gmail.com', sdi = '', pec = '', date_upd = NOW() WHERE id_customer = '4028' 26/09/2023 12:19:35 pm >> SELECT document_num FROM ps_document WHERE document_num = '123' AND id_document != '' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2023-09-26') 26/09/2023 12:19:35 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '21' , '123' , '2023-09-26' , '' , '4028' , '0' , '4679088' , 'VIA BELLETTI 41 15010 CREMOLINO' , '' , '' , '5' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '14.88' , '14.88' , NOW() , NOW() ) 26/09/2023 12:19:35 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '87423' 26/09/2023 12:19:35 pm >> DELETE FROM ps_document_detail WHERE id_document = '87423' 26/09/2023 12:19:35 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87423' , '8488' , 'PRIMA CONFESSIONE E MESSA PRIMA COMUNIONE' , '1' , '-1' , '4' , '2.40' , '2.4' , '0' , '5' , '2.28' ) 26/09/2023 12:19:35 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87423' , '8489' , 'PRIMA CONFESSIONE... - GUIDA' , '1' , '-1' , '4' , '8.00' , '8' , '0' , '5' , '7.60' ) 26/09/2023 12:22:28 pm >> SELECT document_num FROM ps_document WHERE document_num = '123' AND id_document != '87423' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2023-09-26') 26/09/2023 12:22:29 pm >> UPDATE ps_document SET id_document_type = '21', document_num = '123', document_date = '2023-09-26', document_letter = '', id_customer = '4028', id_supplier = '', id_address = '4679088', address1 = 'VIA BELLETTI 41 15010 CREMOLINO', address2 = '', note = '', price_shipping = '5.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '3', id_causal = '0', price_tax_included = '14.88', price_tax_excluded = '14.88', date_upd = NOW() WHERE id_document = '87423' 26/09/2023 12:22:29 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 = '87423' 26/09/2023 12:22:29 pm >> DELETE FROM ps_document_detail WHERE id_document = '87423' 26/09/2023 12:22:29 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 ( '87423' , '8488' , 'PRIMA CONFESSIONE E MESSA PRIMA COMUNIONE' , '1' , '-1' , '4' , '2.4000' , '2.4' , '0' , '5' , '2.28' ) 26/09/2023 12:22:29 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 ( '87423' , '8489' , 'PRIMA CONFESSIONE... - GUIDA' , '1' , '-1' , '4' , '8.0000' , '8' , '0' , '5' , '7.60' ) 26/09/2023 02:11:40 pm >> INSERT INTO ps_product ( ean13 , id_tax_rules_group , `date_add` , `date_upd` ) VALUES ( '' , '1' , NOW() , NOW() ) 26/09/2023 02:11:40 pm >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '21600' , '1' , '' , 'nuovo-prodotto' ) 26/09/2023 02:11:40 pm >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , `date_add` , `date_upd` ) VALUES ( '21600' , '1' , '1' , '2' , NOW() , NOW() ) 26/09/2023 02:11:40 pm >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) VALUES ( '21600' , '0' , '1' , '0' , '0' ) 26/09/2023 02:12:39 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '9788828626473' AND id_product != '21600' AND ean13 != '' 26/09/2023 02:12:39 pm >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '9788828626473', date_upd = NOW() WHERE id_product = '21600' 26/09/2023 02:12:39 pm >> UPDATE ps_product_lang SET name = 'nuova agenda del cittadino', description = '' WHERE id_product = '21600' 26/09/2023 02:12:39 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '9.8' WHERE id_product = '21600' 26/09/2023 02:12:39 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '9.8', id_tax_rules_group = '4', id_category_default = '46', id_argoment_default = '10', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '21600' 26/09/2023 02:12:39 pm >> DELETE FROM ps_specific_price WHERE id_product = '21600' 26/09/2023 02:12:40 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 = '21600' 26/09/2023 02:12:40 pm >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '21601' , '1' , '' , 'nuovo-prodotto' ) 26/09/2023 02:12:40 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 '21601' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '21600' 26/09/2023 02:12:40 pm >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) SELECT '21601' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '21600' 26/09/2023 02:13:07 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '9788824799409' AND id_product != '21601' AND ean13 != '' 26/09/2023 02:13:07 pm >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '9788824799409', date_upd = NOW() WHERE id_product = '21601' 26/09/2023 02:13:07 pm >> UPDATE ps_product_lang SET name = 'mindset 1', description = '' WHERE id_product = '21601' 26/09/2023 02:13:07 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '26.5' WHERE id_product = '21601' 26/09/2023 02:13:07 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '26.5', id_tax_rules_group = '4', id_category_default = '46', id_argoment_default = '10', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '21601' 26/09/2023 02:13:07 pm >> DELETE FROM ps_specific_price WHERE id_product = '21601' 26/09/2023 02:13:08 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 = '21601' 26/09/2023 02:13:08 pm >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '21602' , '1' , '' , 'nuovo-prodotto' ) 26/09/2023 02:13:08 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 '21602' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '21601' 26/09/2023 02:13:08 pm >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) SELECT '21602' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '21601' 26/09/2023 02:14:12 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '31' , '2220' , '2023-09-26' , '' , '0' , '10' , '2605' , 'VIA TERRE DELLE RISAIE, 4 84131 SALERNO' , '' , '' , '0.91' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '31.28' , '31.28' , NOW() , NOW() ) 26/09/2023 02:14:12 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '87424' 26/09/2023 02:14:12 pm >> DELETE FROM ps_document_detail WHERE id_document = '87424' 26/09/2023 02:14:12 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87424' , '21600' , 'nuova agenda del cittadino' , '1' , '1' , '4' , '8.2' , '8.2' , '0' , '' , '8.2000' ) 26/09/2023 02:14:12 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21600' AND id_supplier = '10' 26/09/2023 02:14:12 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21600' , '10' , '1' ) 26/09/2023 02:14:12 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87424' , '21601' , 'mindset 1' , '1' , '1' , '4' , '22.17' , '22.17' , '0' , '' , '22.1700' ) 26/09/2023 02:14:12 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21601' AND id_supplier = '10' 26/09/2023 02:14:12 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21601' , '10' , '1' ) 26/09/2023 03:15:00 pm >> SELECT document_num FROM ps_document WHERE document_num = '2921' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-09-26') 26/09/2023 03:15:00 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' , '2921' , '2023-09-26' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '4.50' , '4.33' , NOW() , NOW() ) 26/09/2023 03:15:00 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 = '87425' 26/09/2023 03:15:00 pm >> DELETE FROM ps_document_detail WHERE id_document = '87425' 26/09/2023 03:15:00 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 ( '87425' , '19089' , 'OSTIA MAGNA 150 -OM150' , '1' , '-1' , '3' , '4.50' , '4.3269230769231' , '4' , '0' , '4.50' ) 26/09/2023 03:31:35 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '33' , '207/23' , '2023-09-26' , '23' , '0' , '0' , '4671003' , 'VIA TORQUATO TASSO, 10 24020 GORLE' , '' , 'SPEDITI DIRETTAMENTE A BYBLOS' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '150.00' , '150.00' , NOW() , NOW() ) 26/09/2023 03:31:35 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '87426' 26/09/2023 03:31:35 pm >> DELETE FROM ps_document_detail WHERE id_document = '87426' 26/09/2023 03:31:35 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87426' , '17861' , 'CARTA D\'IDENTITA\' DELLA CHIESA - R. LUPI' , '60' , '60' , '4' , '2.50' , '2.5' , '0' , '0' , '150.0000' ) 26/09/2023 05:13:22 pm >> SELECT document_num FROM ps_document WHERE document_num = '2922' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-09-26') 26/09/2023 05:13: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' , '2922' , '2023-09-26' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '81.80' , '69.39' , NOW() , NOW() ) 26/09/2023 05:13: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 = '87427' 26/09/2023 05:13:22 pm >> DELETE FROM ps_document_detail WHERE id_document = '87427' 26/09/2023 05:13: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 ( '87427' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '3' , '-3' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '10.50' ) 26/09/2023 05:13: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 ( '87427' , '16689' , 'OSTIA PAN DI CENA mm80' , '3' , '-3' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '6.00' ) 26/09/2023 05:13: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 ( '87427' , '11384' , 'VINO BIANCO DOLCE - 102' , '1' , '-1' , '1' , '8.90' , '7.2950819672131' , '22' , '0' , '8.90' ) 26/09/2023 05:13: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 ( '87427' , '1914' , 'CERA DELLA LITURGIA' , '12' , '-12' , '1' , '4.7' , '3.8524590163934' , '22' , '0' , '56.40' ) 26/09/2023 05:26:38 pm >> SELECT document_num FROM ps_document WHERE document_num = '2923' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-09-26') 26/09/2023 05:26:38 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '2923' , '2023-09-26' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '7.42' , '7.42' , NOW() , NOW() ) 26/09/2023 05:26: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 = '87428' 26/09/2023 05:26:38 pm >> DELETE FROM ps_document_detail WHERE id_document = '87428' 26/09/2023 05:26: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 ( '87428' , '21537' , 'AMEN - DIC. 23' , '1' , '-1' , '4' , '3.90' , '3.9' , '0' , '5' , '3.71' ) 26/09/2023 05:26: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 ( '87428' , '21538' , 'AMEN - NOV. 23' , '1' , '-1' , '4' , '3.90' , '3.9' , '0' , '5' , '3.71' ) 26/09/2023 06:03:34 pm >> SELECT document_num FROM ps_document WHERE document_num = '2924' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-09-26') 26/09/2023 06:03:34 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' , '2924' , '2023-09-26' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '89.00' , '72.95' , NOW() , NOW() ) 26/09/2023 06:03:34 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '87429' 26/09/2023 06:03:34 pm >> DELETE FROM ps_document_detail WHERE id_document = '87429' 26/09/2023 06:03:34 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87429' , '18561' , 'FORMELLA SAGOMATA 26X26 - ' , '1' , '-1' , '1' , '89.00' , '72.950819672131' , '22' , '0' , '89.00' ) 26/09/2023 06:28:49 pm >> SELECT document_num FROM ps_document WHERE document_num = '2925' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-09-26') 26/09/2023 06:28:49 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' , '2925' , '2023-09-26' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '7.00' , '5.74' , NOW() , NOW() ) 26/09/2023 06:28:49 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '87430' 26/09/2023 06:28:49 pm >> DELETE FROM ps_document_detail WHERE id_document = '87430' 26/09/2023 06:28:49 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87430' , '20123' , 'FATIMA CM 17 - 1012' , '1' , '-1' , '1' , '7.00' , '5.7377049180328' , '22' , '0' , '7.00' ) 26/09/2023 06:37:55 pm >> SELECT document_num FROM ps_document WHERE document_num = '2782' AND id_document != '87244' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-09-09') 26/09/2023 06:37:55 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '2782', document_date = '2023-09-09', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = '', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '27.00', price_tax_excluded = '23.84', date_upd = NOW() WHERE id_document = '87244' 26/09/2023 06:37:55 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '87244' 26/09/2023 06:37:55 pm >> DELETE FROM ps_document_detail WHERE id_document = '87244' 26/09/2023 06:37:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87244' , '19689' , 'NEL VOSTRO AMORE - PAPA FRANCESCO' , '1' , '-1' , '4' , '10.0000' , '10' , '0' , '5' , '9.50' ) 26/09/2023 06:37:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87244' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '2.9' , '2.3770491803279' , '22' , '0' , '2.90' ) 26/09/2023 06:37:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87244' , '17005' , 'BIGLIETTO AUGURALE medio' , '1' , '-1' , '1' , '1.0000' , '0.81967213114754' , '22' , '0' , '1.00' ) 26/09/2023 06:37:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87244' , '1325' , 'BRACCIALE IN CORDA CON TAU - 1649' , '1' , '-1' , '1' , '1.6000' , '1.3114754098361' , '22' , '0' , '1.60' ) 26/09/2023 06:37:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87244' , '1351' , 'BRACCIALETTO CON TAU - 29002 03' , '1' , '-1' , '1' , '3.0000' , '2.4590163934426' , '22' , '0' , '3.00' ) 26/09/2023 06:37:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '87244' , '14621' , 'SANTA RITA BABY - 023 SR/9 BB' , '1' , '-1' , '1' , '9.00' , '7.3770491803279' , '22' , '0' , '9.00' ) 26/09/2023 06:46:02 pm >> SELECT document_num FROM ps_document WHERE document_num = '105/A' AND id_document != '75504' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2022-12-01') 26/09/2023 06:46:02 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '105/A', document_date = '2022-12-01', document_letter = 'A', id_customer = '2739', id_supplier = '', id_address = '4671014', address1 = 'VIA F. WENNER, 37 84080 PELLEZZANO', address2 = '', note = 'sordina ACC- 200,00 - 27/12 € 200,00 + € 100 20/3/23 + 300,00 17/06/23 - 300,00 26/09/2023', 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 = '2700.00', price_tax_excluded = '2213.11', date_upd = NOW() WHERE id_document = '75504' 26/09/2023 06:46: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 = '75504' 26/09/2023 06:46:03 pm >> DELETE FROM ps_document_detail WHERE id_document = '75504' 26/09/2023 06:46:03 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 ( '75504' , '7306' , 'OSTENSORIO - OTTONE BAGNO ORO ' , '1' , '-1' , '1' , '2700.0000' , '2213.1147540984' , '22' , '0' , '2700.00' ) 26/09/2023 06:46:03 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 ( '75504' , '0' , 'ACCONTO 220€' , '1' , '-1' , '0' , '0.0000' , '0' , '0' , '0' , '0.00' ) 26/09/2023 06:46:03 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 ( '75504' , '0' , 'acconto € 200 27/12/2022' , '1' , '-1' , '0' , '0.0000' , '0' , '0' , '0' , '0.00' ) 26/09/2023 06:46:03 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 ( '75504' , '0' , 'acconto € 100,00 20/03/2023' , '1' , '-1' , '0' , '0.0000' , '0' , '0' , '0' , '0.00' ) 26/09/2023 06:46:03 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 ( '75504' , '0' , 'acconto € 300,00 - 17/06/2023' , '1' , '-1' , '0' , '0.0000' , '0' , '0' , '0' , '0.00' ) 26/09/2023 06:48:22 pm >> SELECT document_num FROM ps_document WHERE document_num = '105/A' AND id_document != '75504' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2022-12-01') 26/09/2023 06:48:22 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '105/A', document_date = '2022-12-01', document_letter = 'A', id_customer = '2739', id_supplier = '', id_address = '4671014', address1 = 'VIA F. WENNER, 37 84080 PELLEZZANO', address2 = '', note = 'sordina ACC- 220,00 - 27/12 € 200,00 + € 100 20/3/23 + 300,00 17/06/23 - 300,00 26/09/2023', 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 = '2700.00', price_tax_excluded = '2213.11', date_upd = NOW() WHERE id_document = '75504' 26/09/2023 06:48: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 = '75504' 26/09/2023 06:48:22 pm >> DELETE FROM ps_document_detail WHERE id_document = '75504' 26/09/2023 06:48: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 ( '75504' , '7306' , 'OSTENSORIO - OTTONE BAGNO ORO ' , '1' , '-1' , '1' , '2700.0000' , '2213.1147540984' , '22' , '0' , '2700.00' ) 26/09/2023 06:48: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 ( '75504' , '0' , 'ACCONTO € 220,00' , '1' , '-1' , '0' , '0.0000' , '0' , '' , '' , '0.00' ) 26/09/2023 06:48: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 ( '75504' , '0' , 'acconto € 200,00 27/12/2022' , '1' , '-1' , '0' , '0.0000' , '0' , '' , '0' , '0.00' ) 26/09/2023 06:48: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 ( '75504' , '0' , 'acconto € 100,00 20/03/2023' , '1' , '-1' , '0' , '0.0000' , '0' , '0' , '0' , '0.00' ) 26/09/2023 06:48: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 ( '75504' , '0' , 'acconto € 300,00 - 17/06/2023' , '1' , '-1' , '0' , '0.0000' , '0' , '0' , '0' , '0.00' ) 26/09/2023 06:48: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 ( '75504' , '' , 'acconto € 300,00 26/09/2023' , '1' , '-1' , '0' , '0' , '0' , '' , '0' , '0' )