13/04/2024 08:59:08 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788884042583' AND id_product != '3798' AND ean13 != '' 13/04/2024 08:59:08 am >> UPDATE ps_product SET id_supplier = '38', reference = 'ESPOSITORE SHALOM', ean13 = '9788884042583', date_upd = NOW() WHERE id_product = '3798' 13/04/2024 08:59:08 am >> UPDATE ps_product_lang SET name = 'EDUCHIAMO I FIGLI - A. COMASTRI', description = '' WHERE id_product = '3798' 13/04/2024 08:59:08 am >> UPDATE ps_product SET wholesale_price = '2.40', on_sale = '0', price = '5' WHERE id_product = '3798' 13/04/2024 08:59:08 am >> UPDATE ps_product_shop SET wholesale_price = '2.40', price = '5', id_tax_rules_group = '4', id_category_default = '106', id_argoment_default = '14', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '3798' 13/04/2024 08:59:08 am >> DELETE FROM ps_specific_price WHERE id_product = '3798' 13/04/2024 09:08:40 am >> SELECT document_num FROM ps_document WHERE document_num = '1134' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-04-13') 13/04/2024 09:08:40 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' , '1134' , '2024-04-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '14.25' , '14.25' , NOW() , NOW() ) 13/04/2024 09:08:40 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 = '91248' 13/04/2024 09:08:40 am >> DELETE FROM ps_document_detail WHERE id_document = '91248' 13/04/2024 09:08:40 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 ( '91248' , '22341' , 'SULLA TUA PAROLA - MAG/GIU 2024' , '3' , '-3' , '4' , '5.00' , '5' , '0' , '5' , '14.25' ) 13/04/2024 09:11:39 am >> SELECT document_num FROM ps_document WHERE document_num = '1135' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-04-13') 13/04/2024 09:11:39 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '1135' , '2024-04-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '53.00' , '43.44' , NOW() , NOW() ) 13/04/2024 09:11:39 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '91249' 13/04/2024 09:11:39 am >> DELETE FROM ps_document_detail WHERE id_document = '91249' 13/04/2024 09:11:39 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '91249' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '45' , '36.885245901639' , '22' , '0' , '45.00' ) 13/04/2024 09:11:39 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '91249' , '22198' , 'CORONCINA PRIMA COMUNIONE - 3313' , '1' , '-1' , '1' , '8.00' , '6.5573770491803' , '22' , '0' , '8.00' ) 13/04/2024 09:19:57 am >> SELECT document_num FROM ps_document WHERE document_num = '1136' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-04-13') 13/04/2024 09:19:57 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' , '1136' , '2024-04-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '35.00' , '28.69' , NOW() , NOW() ) 13/04/2024 09:19:57 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 = '91250' 13/04/2024 09:19:57 am >> DELETE FROM ps_document_detail WHERE id_document = '91250' 13/04/2024 09:19: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 ( '91250' , '20125' , 'FATIMA CM 35 AVORIO - 1023/V' , '1' , '-1' , '1' , '35.00' , '28.688524590164' , '22' , '0' , '35.00' ) 13/04/2024 09:30:32 am >> SELECT document_num FROM ps_document WHERE document_num = '1137' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-04-13') 13/04/2024 09:30: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' , '1137' , '2024-04-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '7.42' , '7.42' , NOW() , NOW() ) 13/04/2024 09:30: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 = '91251' 13/04/2024 09:30:32 am >> DELETE FROM ps_document_detail WHERE id_document = '91251' 13/04/2024 09:30: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 ( '91251' , '22370' , 'DIGNITAS INFINITA' , '2' , '-2' , '4' , '3.90' , '3.9' , '0' , '5' , '7.42' ) 13/04/2024 09:34:39 am >> SELECT document_num FROM ps_document WHERE document_num = '1138' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-04-13') 13/04/2024 09:34:39 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '1138' , '2024-04-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '14.25' , '14.25' , NOW() , NOW() ) 13/04/2024 09:34:39 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '91252' 13/04/2024 09:34:39 am >> DELETE FROM ps_document_detail WHERE id_document = '91252' 13/04/2024 09:34:39 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '91252' , '22341' , 'SULLA TUA PAROLA - MAG/GIU 2024' , '3' , '-3' , '4' , '5.00' , '5' , '0' , '5' , '14.25' ) 13/04/2024 09:45:51 am >> SELECT document_num FROM ps_document WHERE document_num = '44/A' AND id_document != '90934' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2024-03-25') 13/04/2024 09:45:51 am >> UPDATE ps_document SET id_document_type = '24', document_num = '44/A', document_date = '2024-03-25', document_letter = 'A', id_customer = '3712', id_supplier = '', id_address = '4671443', address1 = 'VIA DALMAZIA 6 84121 SALERNO', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '205.30', price_tax_excluded = '175.86', date_upd = NOW() WHERE id_document = '90934' 13/04/2024 09:45:51 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 = '90934' 13/04/2024 09:45:51 am >> DELETE FROM ps_document_detail WHERE id_document = '90934' 13/04/2024 09:45:51 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 ( '90934' , '20438' , 'CANDELE VOTIVE 20X40 3B' , '1' , '-1' , '1' , '70.0000' , '57.377049180328' , '22' , '0' , '70.00' ) 13/04/2024 09:45:51 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 ( '90934' , '1914' , 'CERA DELLA LITURGIA' , '12' , '-12' , '1' , '4.7000' , '3.8524590163934' , '22' , '0' , '56.40' ) 13/04/2024 09:45:51 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 ( '90934' , '20790' , 'AI PIEDI DEL SUO AMORE ' , '1' , '-1' , '4' , '3.5000' , '3.5' , '0' , '0' , '3.50' ) 13/04/2024 09:45:51 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 ( '90934' , '6019' , 'LUMINO ROSSO - 10B' , '27' , '-27' , '1' , '0.5000' , '0.40983606557377' , '22' , '0' , '13.50' ) 13/04/2024 09:45:51 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 ( '90934' , '6014' , 'LUMINO BIANCO - 10B' , '18' , '-18' , '1' , '0.5000' , '0.40983606557377' , '22' , '0' , '9.00' ) 13/04/2024 09:45:51 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 ( '90934' , '20437' , 'LUMINO BIANCO 10BTS000' , '9' , '-9' , '1' , '0.5000' , '0.40983606557377' , '22' , '0' , '4.50' ) 13/04/2024 09:45:51 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 ( '90934' , '17710' , 'OSTIA MAGNA 140 - OM 140' , '1' , '-1' , '3' , '4.5000' , '4.3269230769231' , '4' , '0' , '4.50' ) 13/04/2024 09:45:51 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 ( '90934' , '4223' , 'FOGLIETTI LA DOMENICA SAN PAOLO' , '50' , '-50' , '4' , '0.70' , '0.7' , '0' , '0' , '35.00' ) 13/04/2024 09:45:51 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 ( '90934' , '11384' , 'VINO BIANCO DOLCE - 102' , '1' , '-1' , '1' , '8.90' , '7.2950819672131' , '22' , '0' , '8.90' ) 13/04/2024 10:01:08 am >> SELECT document_num FROM ps_document WHERE document_num = '1139' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-04-13') 13/04/2024 10:01:08 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' , '1139' , '2024-04-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '19.00' , '15.57' , NOW() , NOW() ) 13/04/2024 10:01:08 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '91253' 13/04/2024 10:01:08 am >> DELETE FROM ps_document_detail WHERE id_document = '91253' 13/04/2024 10:01:08 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '91253' , '16310' , 'PORTACHIAVI COLOMBA - KP027' , '15' , '-15' , '1' , '1.20' , '0.98360655737705' , '22' , '0' , '18.00' ) 13/04/2024 10:01:08 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '91253' , '16310' , 'PORTACHIAVI COLOMBA - KP027' , '1' , '-1' , '1' , '1' , '0.81967213114754' , '22' , '0' , '1.00' ) 13/04/2024 10:18:51 am >> SELECT document_num FROM ps_document WHERE document_num = '1131' AND id_document != '91245' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-04-12') 13/04/2024 10:18:51 am >> UPDATE ps_document SET id_document_type = '11', document_num = '1131', document_date = '2024-04-12', 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 = '28.13', price_tax_excluded = '26.04', date_upd = NOW() WHERE id_document = '91245' 13/04/2024 10:18:51 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 = '91245' 13/04/2024 10:18:51 am >> DELETE FROM ps_document_detail WHERE id_document = '91245' 13/04/2024 10:18:51 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 ( '91245' , '16345' , 'REGOLA DELLORDINE FRANCESCANO SECOLARE' , '3' , '-3' , '4' , '3.0000' , '3' , '0' , '5' , '8.55' ) 13/04/2024 10:18:51 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 ( '91245' , '20953' , 'VANGELO E ATTI DEGLI APOSTOLI' , '3' , '-3' , '4' , '2.8000' , '2.8' , '0' , '5' , '7.98' ) 13/04/2024 10:18:51 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 ( '91245' , '18130' , 'TAU GRANDE CM 4 - T9' , '5' , '-5' , '1' , '1.0000' , '0.81967213114754' , '22' , '0' , '5.00' ) 13/04/2024 10:18:51 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 ( '91245' , '13049' , 'LITURGICO ART. 60LT BIANCO SUPER' , '2' , '-2' , '1' , '3.3' , '2.7049180327869' , '22' , '0' , '6.60' ) 13/04/2024 10:20:20 am >> DELETE FROM ps_document WHERE id_document = '90880' 13/04/2024 10:20:20 am >> DELETE FROM ps_document_detail WHERE id_document = '90880' 13/04/2024 10:22:39 am >> SELECT document_num FROM ps_document WHERE document_num = '1140' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-04-13') 13/04/2024 10:22:39 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '1140' , '2024-04-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '9.00' , '7.38' , NOW() , NOW() ) 13/04/2024 10:22:39 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '91254' 13/04/2024 10:22:39 am >> DELETE FROM ps_document_detail WHERE id_document = '91254' 13/04/2024 10:22:39 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '91254' , '3144' , 'CROCE TRILOBATA ' , '2' , '-2' , '1' , '4.50' , '3.6885245901639' , '22' , '0' , '9.00' ) 13/04/2024 10:28:21 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788884047519' AND id_product != '19924' AND ean13 != '' 13/04/2024 10:28:21 am >> UPDATE ps_product SET id_supplier = '38', reference = '11/2', ean13 = '9788884047519', date_upd = NOW() WHERE id_product = '19924' 13/04/2024 10:28:21 am >> UPDATE ps_product_lang SET name = 'SACRA BIBBIA BIANCA - 8056', description = '' WHERE id_product = '19924' 13/04/2024 10:28:21 am >> UPDATE ps_product SET wholesale_price = '15.00', on_sale = '0', price = '38' WHERE id_product = '19924' 13/04/2024 10:28:21 am >> UPDATE ps_product_shop SET wholesale_price = '15.00', price = '38', id_tax_rules_group = '4', id_category_default = '106', id_argoment_default = '170', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '19924' 13/04/2024 10:28:21 am >> DELETE FROM ps_specific_price WHERE id_product = '19924' 13/04/2024 10:29:06 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788884047502' AND id_product != '19581' AND ean13 != '' 13/04/2024 10:29:06 am >> UPDATE ps_product SET id_supplier = '38', reference = '11/2', ean13 = '9788884047502', date_upd = NOW() WHERE id_product = '19581' 13/04/2024 10:29:06 am >> UPDATE ps_product_lang SET name = 'SACRA BIBBIA - 8055', description = '' WHERE id_product = '19581' 13/04/2024 10:29:06 am >> UPDATE ps_product SET wholesale_price = '15.00', on_sale = '0', price = '38' WHERE id_product = '19581' 13/04/2024 10:29:06 am >> UPDATE ps_product_shop SET wholesale_price = '15.00', price = '38', id_tax_rules_group = '4', id_category_default = '106', id_argoment_default = '170', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '19581' 13/04/2024 10:29:06 am >> DELETE FROM ps_specific_price WHERE id_product = '19581' 13/04/2024 10:30:34 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788886616027' AND id_product != '8244' AND ean13 != '' 13/04/2024 10:30:34 am >> UPDATE ps_product SET id_supplier = '38', reference = 'ESPOSITORE SHALOM', ean13 = '9788886616027', date_upd = NOW() WHERE id_product = '8244' 13/04/2024 10:30:34 am >> UPDATE ps_product_lang SET name = 'PREGATE IL SANTO ROSARIO OGNI GIORNO... - 8102', description = '' WHERE id_product = '8244' 13/04/2024 10:30:34 am >> UPDATE ps_product SET wholesale_price = '4.80', on_sale = '0', price = '9' WHERE id_product = '8244' 13/04/2024 10:30:34 am >> UPDATE ps_product_shop SET wholesale_price = '4.80', price = '9', id_tax_rules_group = '4', id_category_default = '106', id_argoment_default = '28', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '8244' 13/04/2024 10:30:34 am >> DELETE FROM ps_specific_price WHERE id_product = '8244' 13/04/2024 10:47:59 am >> SELECT document_num FROM ps_document WHERE document_num = '1141' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-04-13') 13/04/2024 10:48:00 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' , '1141' , '2024-04-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '18.05' , '18.05' , NOW() , NOW() ) 13/04/2024 10:48:00 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 = '91255' 13/04/2024 10:48:00 am >> DELETE FROM ps_document_detail WHERE id_document = '91255' 13/04/2024 10:48:00 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 ( '91255' , '22330' , 'LIFE - LA MIA STORIA - PAPA FRANCESCO' , '1' , '-1' , '4' , '19.00' , '19' , '0' , '5' , '18.05' ) 13/04/2024 10:55:00 am >> SELECT document_num FROM ps_document WHERE document_num = '49/A' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2024-04-13') 13/04/2024 10:55:00 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' , '49/A' , '2024-04-13' , 'A' , '3550' , '0' , '4671016' , 'VIA S. MARIA IN MONTICELLI, 28 00186 ROMA' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '2935.00' , '2935.00' , NOW() , NOW() ) 13/04/2024 10:55:00 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 = '91256' 13/04/2024 10:55:00 am >> DELETE FROM ps_document_detail WHERE id_document = '91256' 13/04/2024 10:55:00 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 ( '91256' , '18717' , 'ISTRUZIONI FAMILIARI VOL. II - I DIECI COMANDAMENTI ' , '32' , '-32' , '4' , '20.00' , '20' , '0' , '0' , '640.00' ) 13/04/2024 10:55:00 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 ( '91256' , '17827' , 'ISTRUZIONI FAMILIARI VOL. I - IL CREDO ' , '16' , '-16' , '4' , '20.00' , '20' , '0' , '0' , '320.00' ) 13/04/2024 10:55:00 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 ( '91256' , '21799' , 'ISTRUZIONI FAMILIARI VOL. IV - I VIZI E I SCARAMENTI' , '64' , '-64' , '4' , '25.00' , '25' , '0' , '0' , '1600.00' ) 13/04/2024 10:55:00 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 ( '91256' , '18529' , 'SAN CESARE DE BUS - FUMETTO' , '75' , '-75' , '4' , '5.00' , '5' , '0' , '0' , '375.00' ) 13/04/2024 11:00:36 am >> SELECT document_num FROM ps_document WHERE document_num = '1142' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-04-13') 13/04/2024 11:00:36 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '1142' , '2024-04-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '76.00' , '76.00' , NOW() , NOW() ) 13/04/2024 11:00:36 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '91257' 13/04/2024 11:00:36 am >> DELETE FROM ps_document_detail WHERE id_document = '91257' 13/04/2024 11:00:36 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '91257' , '22341' , 'SULLA TUA PAROLA - MAG/GIU 2024' , '16' , '-16' , '4' , '5.00' , '5' , '0' , '5' , '76.00' ) 13/04/2024 11:04:36 am >> SELECT document_num FROM ps_document WHERE document_num = '1143' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-04-13') 13/04/2024 11:04:36 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '1143' , '2024-04-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '46.40' , '38.03' , NOW() , NOW() ) 13/04/2024 11:04:36 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '91258' 13/04/2024 11:04:36 am >> DELETE FROM ps_document_detail WHERE id_document = '91258' 13/04/2024 11:04:36 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '91258' , '13799' , 'CROCETTA CONFESSIONE - 2370/J44' , '16' , '-16' , '1' , '2.90' , '2.3770491803279' , '22' , '0' , '46.40' ) 13/04/2024 11:04:51 am >> SELECT document_num FROM ps_document WHERE document_num = '1144' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-04-13') 13/04/2024 11:04:51 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' , '1144' , '2024-04-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '11.20' , '9.18' , NOW() , NOW() ) 13/04/2024 11:04:51 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 = '91259' 13/04/2024 11:04:51 am >> DELETE FROM ps_document_detail WHERE id_document = '91259' 13/04/2024 11:04:51 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 ( '91259' , '19560' , 'PERGAMENA COMUNIONE 17X25' , '16' , '-16' , '1' , '0.70' , '0.57377049180328' , '22' , '0' , '11.20' ) 13/04/2024 11:09:14 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788886616263' AND id_product != '7125' AND ean13 != '' 13/04/2024 11:09:14 am >> UPDATE ps_product SET id_supplier = '38', reference = 'ESPOSITORE SHALOM', ean13 = '9788886616263', date_upd = NOW() WHERE id_product = '7125' 13/04/2024 11:09:14 am >> UPDATE ps_product_lang SET name = 'NOVENA E CORONCINA ALL\'ANGELO RAFFAELE - 8262', description = '' WHERE id_product = '7125' 13/04/2024 11:09:14 am >> UPDATE ps_product SET wholesale_price = '0.90', on_sale = '0', price = '2' WHERE id_product = '7125' 13/04/2024 11:09:14 am >> UPDATE ps_product_shop SET wholesale_price = '0.90', price = '2', id_tax_rules_group = '4', id_category_default = '106', id_argoment_default = '28', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '7125' 13/04/2024 11:09:14 am >> DELETE FROM ps_specific_price WHERE id_product = '7125' 13/04/2024 11:17:35 am >> SELECT document_num FROM ps_document WHERE document_num = '1145' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-04-13') 13/04/2024 11:17:35 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' , '1145' , '2024-04-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '45.00' , '36.89' , NOW() , NOW() ) 13/04/2024 11:17:35 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '91260' 13/04/2024 11:17:35 am >> DELETE FROM ps_document_detail WHERE id_document = '91260' 13/04/2024 11:17:35 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '91260' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '45' , '36.885245901639' , '22' , '0' , '45.00' ) 13/04/2024 11:26:43 am >> SELECT document_num FROM ps_document WHERE document_num = '1146' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-04-13') 13/04/2024 11:26: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 ( '11' , '1146' , '2024-04-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '23.04' , '22.65' , NOW() , NOW() ) 13/04/2024 11:26: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 = '91261' 13/04/2024 11:26:43 am >> DELETE FROM ps_document_detail WHERE id_document = '91261' 13/04/2024 11:26: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 ( '91261' , '2880' , 'CRESIMA: UN DONO E UN PROGETTO' , '3' , '-3' , '4' , '2.50' , '2.5' , '0' , '5' , '7.14' ) 13/04/2024 11:26: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 ( '91261' , '12842' , 'RICEVI IL SIGILLO DELLO SPIRITO SANTO' , '1' , '-1' , '4' , '6.00' , '6' , '0' , '5' , '5.70' ) 13/04/2024 11:26: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 ( '91261' , '20433' , 'PARTICOLA MORREALE 38MM - PTC38S' , '3' , '-3' , '3' , '3.4' , '3.2692307692308' , '4' , '0' , '10.20' ) 13/04/2024 11:32:22 am >> SELECT document_num FROM ps_document WHERE document_num = '1147' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-04-13') 13/04/2024 11:32: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' , '1147' , '2024-04-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '55.00' , '45.08' , NOW() , NOW() ) 13/04/2024 11:32: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 = '91262' 13/04/2024 11:32:22 am >> DELETE FROM ps_document_detail WHERE id_document = '91262' 13/04/2024 11:32: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 ( '91262' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '55' , '45.081967213115' , '22' , '0' , '55.00' ) 13/04/2024 11:59:40 am >> SELECT document_num FROM ps_document WHERE document_num = '1148' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-04-13') 13/04/2024 11:59:40 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' , '1148' , '2024-04-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '4.50' , '3.69' , NOW() , NOW() ) 13/04/2024 11:59:40 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 = '91263' 13/04/2024 11:59:40 am >> DELETE FROM ps_document_detail WHERE id_document = '91263' 13/04/2024 11:59:40 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 ( '91263' , '3144' , 'CROCE TRILOBATA ' , '1' , '-1' , '1' , '4.50' , '3.6885245901639' , '22' , '0' , '4.50' ) 13/04/2024 12:06:37 pm >> SELECT document_num FROM ps_document WHERE document_num = '1149' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-04-13') 13/04/2024 12:06:37 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' , '1149' , '2024-04-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '1.20' , '0.98' , NOW() , NOW() ) 13/04/2024 12:06:37 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 = '91264' 13/04/2024 12:06:37 pm >> DELETE FROM ps_document_detail WHERE id_document = '91264' 13/04/2024 12:06: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 ( '91264' , '20516' , 'CROCE COMUNIONE - 42/08' , '1' , '-1' , '1' , '1.20' , '0.98360655737705' , '22' , '0' , '1.20' ) 13/04/2024 12:09:56 pm >> SELECT document_num FROM ps_document WHERE document_num = '1150' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-04-13') 13/04/2024 12:09:56 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' , '1150' , '2024-04-13' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '90.00' , '73.77' , NOW() , NOW() ) 13/04/2024 12:09:56 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 = '91265' 13/04/2024 12:09:56 pm >> DELETE FROM ps_document_detail WHERE id_document = '91265' 13/04/2024 12:09:56 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 ( '91265' , '13751' , 'TUNICA SVASATA AVORIO - 191/TPA' , '2' , '-2' , '1' , '45' , '36.885245901639' , '22' , '0' , '90.00' ) 13/04/2024 12:49:36 pm >> SELECT document_num FROM ps_document WHERE document_num = '50/A' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2024-04-13') 13/04/2024 12:49: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 ( '24' , '50/A' , '2024-04-13' , 'A' , '333' , '0' , '4671072' , 'P.ZZA S. MICHELE 84135 RUFOLI' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '49.00' , '40.73' , NOW() , NOW() ) 13/04/2024 12:49: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 = '91266' 13/04/2024 12:49:36 pm >> DELETE FROM ps_document_detail WHERE id_document = '91266' 13/04/2024 12:49: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 ( '91266' , '19884' , 'COPPIA SPOSI H 12 CON CUORE LUM - 4249/822' , '1' , '-1' , '1' , '29.00' , '23.770491803279' , '22' , '0' , '29.00' ) 13/04/2024 12:49: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 ( '91266' , '17005' , 'BIGLIETTO AUGURALE medio' , '1' , '-1' , '1' , '1.00' , '0.81967213114754' , '22' , '0' , '1.00' ) 13/04/2024 12:49: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 ( '91266' , '7311' , 'OSTIA SOTTILE 74MM' , '2' , '-2' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '4.00' ) 13/04/2024 12:49: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 ( '91266' , '15096' , 'CORONA MATRIMONIO - ARG ' , '2' , '-2' , '1' , '7.50' , '6.1475409836066' , '22' , '0' , '15.00' ) 13/04/2024 12:55:36 pm >> SELECT document_num FROM ps_document WHERE document_num = '50/A' AND id_document != '91266' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2024-04-13') 13/04/2024 12:55:36 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '50/A', document_date = '2024-04-13', document_letter = 'A', id_customer = '333', id_supplier = '', id_address = '4671072', address1 = 'P.ZZA S. MICHELE 84135 RUFOLI', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '62.20', price_tax_excluded = '51.55', date_upd = NOW() WHERE id_document = '91266' 13/04/2024 12:55: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 = '91266' 13/04/2024 12:55:36 pm >> DELETE FROM ps_document_detail WHERE id_document = '91266' 13/04/2024 12:55: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 ( '91266' , '19884' , 'COPPIA SPOSI H 12 CON CUORE LUM - 4249/822' , '1' , '-1' , '1' , '29.0000' , '23.770491803279' , '22' , '0' , '29.00' ) 13/04/2024 12:55: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 ( '91266' , '17005' , 'BIGLIETTO AUGURALE medio' , '2' , '-2' , '1' , '1.0000' , '0.81967213114754' , '22' , '0' , '2.00' ) 13/04/2024 12:55: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 ( '91266' , '7311' , 'OSTIA SOTTILE 74MM' , '2' , '-2' , '3' , '2.0000' , '1.9230769230769' , '4' , '0' , '4.00' ) 13/04/2024 12:55: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 ( '91266' , '15096' , 'CORONA MATRIMONIO - ARG ' , '2' , '-2' , '1' , '7.5000' , '6.1475409836066' , '22' , '0' , '15.00' ) 13/04/2024 12:55: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 ( '91266' , '19431' , 'PALLONCINO MAGNETE 12X15 - PM' , '1' , '-1' , '1' , '12.20' , '10' , '22' , '0' , '12.20' )