27/02/2024 08:46:28 am >> SELECT document_num FROM ps_document WHERE document_num = '191' AND id_document != '90009' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-01-18') 27/02/2024 08:46:29 am >> UPDATE ps_document SET id_document_type = '11', document_num = '191', document_date = '2024-01-18', 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 = '11.50', price_tax_excluded = '10.13', date_upd = NOW() WHERE id_document = '90009' 27/02/2024 08:46:29 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 = '90009' 27/02/2024 08:46:29 am >> DELETE FROM ps_document_detail WHERE id_document = '90009' 27/02/2024 08:46:29 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 ( '90009' , '21684' , 'CEST LA CONFIANCE ' , '3' , '-3' , '4' , '1.3000' , '1.3' , '0' , '0' , '3.90' ) 27/02/2024 08:46:29 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 ( '90009' , '18104' , 'DECINA BIANCA - RL350' , '7' , '-7' , '1' , '1.00' , '0.81967213114754' , '22' , '0' , '7.00' ) 27/02/2024 08:46:29 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 ( '90009' , '18104' , 'DECINA BIANCA - RL350' , '1' , '-1' , '1' , '0.6' , '0.49180327868852' , '22' , '0' , '0.60' ) 27/02/2024 09:05:57 am >> INSERT INTO ps_customer ( id_gender , firstname , lastname , email , passwd , `date_add` , `date_upd` ) VALUES ( '1' , '' , '' , '' , 'ZCjEOiACVpvyKfnM' , NOW() , NOW() ) 27/02/2024 09:05:57 am >> INSERT INTO ps_customer_group ( id_customer , id_group ) VALUES ( '4091' , '1' ) 27/02/2024 09:05:57 am >> INSERT INTO ps_customer_group ( id_customer , id_group ) VALUES ( '4091' , '2' ) 27/02/2024 09:05:57 am >> INSERT INTO ps_customer_group ( id_customer , id_group ) VALUES ( '4091' , '3' ) 27/02/2024 09:07:41 am >> UPDATE ps_address SET deleted='1' , active = '0' WHERE id_customer = '4091' 27/02/2024 09:07:41 am >> INSERT INTO ps_address ( id_customer , id_country , id_state , company , lastname , firstname , address1 , address2 , postcode , city , other , phone , phone_mobile , vat_number , dni , date_add , date_upd ) VALUES ( '4091' , '10' , '145' , '' , 'CAMPAGNUOLO' , 'DON GIUSEPPE' , 'PIAZZA SAN PIETRO' , '' , '81020' , 'VALLE DI MADDALONI' , '' , '' , '3485645814' , '' , '' , NOW() , NOW() ) 27/02/2024 09:07:41 am >> UPDATE ps_customer SET email = 'giuseppecampagnuolo@gmail.com', sdi = '', pec = '', date_upd = NOW() WHERE id_customer = '4091' 27/02/2024 09:10:01 am >> SELECT document_num FROM ps_document WHERE document_num = '43' AND id_document != '' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2024-02-27') 27/02/2024 09:10:01 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '21' , '43' , '2024-02-27' , '' , '4091' , '0' , '4679283' , 'PIAZZA SAN PIETRO 81020 VALLE DI MADDALONI' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '6' , '0' , '106.40' , '106.40' , NOW() , NOW() ) 27/02/2024 09:10:01 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '90520' 27/02/2024 09:10:01 am >> DELETE FROM ps_document_detail WHERE id_document = '90520' 27/02/2024 09:10:01 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '90520' , '5457' , 'IO SONO CON VOI 1 PARTE' , '25' , '-25' , '4' , '2.80' , '2.8' , '0' , '5' , '66.50' ) 27/02/2024 09:10:01 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '90520' , '11191' , 'VENITE CON ME 1 PARTE' , '15' , '-15' , '4' , '2.80' , '2.8' , '0' , '5' , '39.90' ) 27/02/2024 10:10:05 am >> SELECT document_num FROM ps_document WHERE document_num = '573' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-02-27') 27/02/2024 10:10:05 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '573' , '2024-02-27' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '27.10' , '25.30' , NOW() , NOW() ) 27/02/2024 10:10:05 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '90521' 27/02/2024 10:10:05 am >> DELETE FROM ps_document_detail WHERE id_document = '90521' 27/02/2024 10:10:05 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '90521' , '17783' , 'MEDAGLIA OVALE S. GIUSEPPE CM 2,2 ' , '40' , '-40' , '1' , '0.25' , '0.20491803278689' , '22' , '0' , '10.00' ) 27/02/2024 10:10:05 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '90521' , '12995' , 'SALE, NON MIELE - L. EPICOCO' , '1' , '-1' , '4' , '18.00' , '18' , '0' , '5' , '17.10' ) 27/02/2024 10:13:28 am >> SELECT document_num FROM ps_document WHERE document_num = '574' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-02-27') 27/02/2024 10:13:28 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' , '574' , '2024-02-27' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '4.90' , '4.02' , NOW() , NOW() ) 27/02/2024 10:13:28 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 = '90522' 27/02/2024 10:13:28 am >> DELETE FROM ps_document_detail WHERE id_document = '90522' 27/02/2024 10:13:28 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 ( '90522' , '1914' , 'CERA DELLA LITURGIA' , '1' , '-1' , '1' , '4.90' , '4.016393442623' , '22' , '0' , '4.90' ) 27/02/2024 10:15:36 am >> SELECT document_num FROM ps_document WHERE document_num = '575' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-02-27') 27/02/2024 10:15: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' , '575' , '2024-02-27' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '11.00' , '10.58' , NOW() , NOW() ) 27/02/2024 10:15: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 = '90523' 27/02/2024 10:15:36 am >> DELETE FROM ps_document_detail WHERE id_document = '90523' 27/02/2024 10:15: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 ( '90523' , '20429' , 'OSTIA SENZA TOSTATURA MORREALE - OS25' , '2' , '-2' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '4.00' ) 27/02/2024 10:15: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 ( '90523' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '2' , '-2' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '7.00' ) 27/02/2024 10:52:37 am >> SELECT document_num FROM ps_document WHERE document_num = '28/L' AND id_document != '89746' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2023-12-29') 27/02/2024 10:52:37 am >> UPDATE ps_document SET id_document_type = '23', document_num = '28/L', document_date = '2023-12-29', document_letter = 'L', id_customer = '4074', id_supplier = '', id_address = '4679236', address1 = 'VIA DI OGLIARA 198 84135 SALERNO', address2 = '', note = 'ACCONTO € 250 IN 7 ASSEGNI TOTALE € 1750 RESTA A SALDO € 550 - 250€ contanti resta a saldo € 300', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '2', id_causal = '0', price_tax_included = '2300.00', price_tax_excluded = '1885.25', date_upd = NOW() WHERE id_document = '89746' 27/02/2024 10:52:37 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 = '89746' 27/02/2024 10:52:37 am >> DELETE FROM ps_document_detail WHERE id_document = '89746' 27/02/2024 10:52:37 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 ( '89746' , '20863' , 'CASULA ACETATO/VISCOSA - 65/19246' , '2' , '-2' , '1' , '1150.0000' , '942.62295081967' , '22' , '0' , '2300.00' ) 27/02/2024 11:16:33 am >> SELECT ean13 FROM ps_product WHERE ean13 = '001949' AND id_product != '19364' AND ean13 != '' 27/02/2024 11:16:33 am >> UPDATE ps_product SET id_supplier = '73', reference = '', ean13 = '001949', date_upd = NOW() WHERE id_product = '19364' 27/02/2024 11:16:33 am >> UPDATE ps_product_lang SET name = 'CERO MINIATO 80X120', description = '' WHERE id_product = '19364' 27/02/2024 11:16:33 am >> UPDATE ps_product SET wholesale_price = '40.60', on_sale = '0', price = '94.26229508196721' WHERE id_product = '19364' 27/02/2024 11:16:33 am >> UPDATE ps_product_shop SET wholesale_price = '40.60', price = '94.26229508196721', id_tax_rules_group = '1', id_category_default = '227', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '19364' 27/02/2024 11:16:33 am >> DELETE FROM ps_specific_price WHERE id_product = '19364' 27/02/2024 11:16:54 am >> SELECT ean13 FROM ps_product WHERE ean13 = '001948' AND id_product != '19363' AND ean13 != '' 27/02/2024 11:16:54 am >> UPDATE ps_product SET id_supplier = '73', reference = '', ean13 = '001948', date_upd = NOW() WHERE id_product = '19363' 27/02/2024 11:16:54 am >> UPDATE ps_product_lang SET name = 'CERO MINIATO 80X100', description = '' WHERE id_product = '19363' 27/02/2024 11:16:54 am >> UPDATE ps_product SET wholesale_price = '33.60', on_sale = '0', price = '77.8688524590164' WHERE id_product = '19363' 27/02/2024 11:16:54 am >> UPDATE ps_product_shop SET wholesale_price = '33.60', price = '77.8688524590164', id_tax_rules_group = '1', id_category_default = '227', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '19363' 27/02/2024 11:16:54 am >> DELETE FROM ps_specific_price WHERE id_product = '19363' 27/02/2024 11:17:04 am >> SELECT ean13 FROM ps_product WHERE ean13 = '001158' AND id_product != '1938' AND ean13 != '' 27/02/2024 11:17:04 am >> UPDATE ps_product SET id_supplier = '73', reference = '2016', ean13 = '001158', date_upd = NOW() WHERE id_product = '1938' 27/02/2024 11:17:04 am >> UPDATE ps_product_lang SET name = 'CERO PASQUALE API 80X100', description = '' WHERE id_product = '1938' 27/02/2024 11:17:04 am >> UPDATE ps_product SET wholesale_price = '24.00', on_sale = '0', price = '65.57377049180327' WHERE id_product = '1938' 27/02/2024 11:17:04 am >> UPDATE ps_product_shop SET wholesale_price = '24.00', price = '65.57377049180327', id_tax_rules_group = '1', id_category_default = '227', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '1938' 27/02/2024 11:17:04 am >> DELETE FROM ps_specific_price WHERE id_product = '1938' 27/02/2024 11:17:13 am >> SELECT ean13 FROM ps_product WHERE ean13 = '001159' AND id_product != '15210' AND ean13 != '' 27/02/2024 11:17:13 am >> UPDATE ps_product SET id_supplier = '124', reference = '', ean13 = '001159', date_upd = NOW() WHERE id_product = '15210' 27/02/2024 11:17:13 am >> UPDATE ps_product_lang SET name = 'CERO PASQUALE API 80X120', description = '' WHERE id_product = '15210' 27/02/2024 11:17:13 am >> UPDATE ps_product SET wholesale_price = '29.00', on_sale = '0', price = '73.77049180327869' WHERE id_product = '15210' 27/02/2024 11:17:13 am >> UPDATE ps_product_shop SET wholesale_price = '29.00', price = '73.77049180327869', id_tax_rules_group = '1', id_category_default = '227', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '15210' 27/02/2024 11:17:13 am >> DELETE FROM ps_specific_price WHERE id_product = '15210' 27/02/2024 11:20:38 am >> SELECT document_num FROM ps_document WHERE document_num = '576' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-02-27') 27/02/2024 11:20:38 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '576' , '2024-02-27' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '55.50' , '46.34' , NOW() , NOW() ) 27/02/2024 11:20:38 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '90524' 27/02/2024 11:20:38 am >> DELETE FROM ps_document_detail WHERE id_document = '90524' 27/02/2024 11:20:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '90524' , '13504' , 'SACRAMENTO DELLA RICONCILIAZIONE RAGAZZI' , '100' , '-100' , '1' , '0.30' , '0.24590163934426' , '22' , '10' , '27.00' ) 27/02/2024 11:20:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '90524' , '9799' , 'SEGNALIBRO M. TERESA - 126' , '150' , '-150' , '1' , '0.15' , '0.12295081967213' , '22' , '0' , '22.50' ) 27/02/2024 11:20:38 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '90524' , '20429' , 'OSTIA SENZA TOSTATURA MORREALE - OS25' , '3' , '-3' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '6.00' ) 27/02/2024 11:25:42 am >> INSERT INTO ps_product ( ean13 , id_tax_rules_group , `date_add` , `date_upd` ) VALUES ( '' , '1' , NOW() , NOW() ) 27/02/2024 11:25:42 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '22201' , '1' , '' , 'nuovo-prodotto' ) 27/02/2024 11:25:42 am >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , `date_add` , `date_upd` ) VALUES ( '22201' , '1' , '1' , '2' , NOW() , NOW() ) 27/02/2024 11:25:42 am >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) VALUES ( '22201' , '0' , '1' , '0' , '0' ) 27/02/2024 11:28:01 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788834355190' AND id_product != '22201' AND ean13 != '' 27/02/2024 11:28:01 am >> UPDATE ps_product SET id_supplier = '', reference = '6/5', ean13 = '9788834355190', date_upd = NOW() WHERE id_product = '22201' 27/02/2024 11:28:01 am >> UPDATE ps_product_lang SET name = 'UN TEMPO PER PIANTARE E UN TEMPO PER SDRAIARE - T. HALIK', description = '' WHERE id_product = '22201' 27/02/2024 11:28:01 am >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '16' WHERE id_product = '22201' 27/02/2024 11:28:01 am >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '16', id_tax_rules_group = '4', id_category_default = '444', id_argoment_default = '50', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '22201' 27/02/2024 11:28:01 am >> DELETE FROM ps_specific_price WHERE id_product = '22201' 27/02/2024 11:28:02 am >> 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 = '22201' 27/02/2024 11:28:02 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '22202' , '1' , '' , 'nuovo-prodotto' ) 27/02/2024 11:28:02 am >> 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 '22202' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '22201' 27/02/2024 11:28:02 am >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) SELECT '22202' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '22201' 27/02/2024 11:29:42 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788869292545' AND id_product != '22202' AND ean13 != '' 27/02/2024 11:29:42 am >> UPDATE ps_product SET id_supplier = '', reference = '7/3', ean13 = '9788869292545', date_upd = NOW() WHERE id_product = '22202' 27/02/2024 11:29:42 am >> UPDATE ps_product_lang SET name = 'MANUALE DEL PERFETTO CHIERICHETTO - D. COSO', description = '' WHERE id_product = '22202' 27/02/2024 11:29:42 am >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '8' WHERE id_product = '22202' 27/02/2024 11:29:42 am >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '8', id_tax_rules_group = '4', id_category_default = '45', id_argoment_default = '89', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '22202' 27/02/2024 11:29:42 am >> DELETE FROM ps_specific_price WHERE id_product = '22202' 27/02/2024 11:29:45 am >> 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 = '22202' 27/02/2024 11:29:45 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '22203' , '1' , '' , 'nuovo-prodotto' ) 27/02/2024 11:29:45 am >> 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 '22203' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '22202' 27/02/2024 11:29:45 am >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) SELECT '22203' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '22202' 27/02/2024 11:31:14 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788810508589' AND id_product != '22203' AND ean13 != '' 27/02/2024 11:31:14 am >> UPDATE ps_product SET id_supplier = '', reference = '13/6', ean13 = '9788810508589', date_upd = NOW() WHERE id_product = '22203' 27/02/2024 11:31:14 am >> UPDATE ps_product_lang SET name = 'AMERAI IL SIGNORE TUO DIO - A. CENCINI', description = '' WHERE id_product = '22203' 27/02/2024 11:31:14 am >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '26' WHERE id_product = '22203' 27/02/2024 11:31:14 am >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '26', id_tax_rules_group = '4', id_category_default = '9', id_argoment_default = '8', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '22203' 27/02/2024 11:31:14 am >> DELETE FROM ps_specific_price WHERE id_product = '22203' 27/02/2024 11:31:18 am >> 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 = '22203' 27/02/2024 11:31:18 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '22204' , '1' , '' , 'nuovo-prodotto' ) 27/02/2024 11:31:18 am >> 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 '22204' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '22203' 27/02/2024 11:31:18 am >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) SELECT '22204' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '22203' 27/02/2024 11:32:29 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9791259624604' AND id_product != '22204' AND ean13 != '' 27/02/2024 11:32:30 am >> UPDATE ps_product SET id_supplier = '', reference = '1/4', ean13 = '9791259624604', date_upd = NOW() WHERE id_product = '22204' 27/02/2024 11:32:30 am >> UPDATE ps_product_lang SET name = 'COSA E\' LA PREGHIERA? - R. CASTILLO', description = '' WHERE id_product = '22204' 27/02/2024 11:32:30 am >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '14' WHERE id_product = '22204' 27/02/2024 11:32:30 am >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '14', id_tax_rules_group = '4', id_category_default = '143', id_argoment_default = '58', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '22204' 27/02/2024 11:32:30 am >> DELETE FROM ps_specific_price WHERE id_product = '22204' 27/02/2024 11:33:21 am >> SELECT document_num FROM ps_document WHERE document_num = '577' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-02-27') 27/02/2024 11:33:21 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' , '577' , '2024-02-27' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '74.00' , '60.66' , NOW() , NOW() ) 27/02/2024 11:33:21 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '90525' 27/02/2024 11:33:21 am >> DELETE FROM ps_document_detail WHERE id_document = '90525' 27/02/2024 11:33:21 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 ( '90525' , '18223' , 'CORONA MISSIONARIA - R102' , '24' , '-24' , '1' , '1.00' , '0.81967213114754' , '22' , '0' , '24.00' ) 27/02/2024 11:33:21 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 ( '90525' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '50' , '40.983606557377' , '22' , '0' , '50.00' ) 27/02/2024 11:34:13 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9791259623515' AND id_product != '20974' AND ean13 != '' 27/02/2024 11:34:13 am >> UPDATE ps_product SET id_supplier = '109', reference = '1/4', ean13 = '9791259623515', date_upd = NOW() WHERE id_product = '20974' 27/02/2024 11:34:13 am >> UPDATE ps_product_lang SET name = 'COSE E\' LA MESSA? R. CASTILLO', description = '' WHERE id_product = '20974' 27/02/2024 11:34:13 am >> UPDATE ps_product SET wholesale_price = '9.80', on_sale = '0', price = '14.0000' WHERE id_product = '20974' 27/02/2024 11:34:13 am >> UPDATE ps_product_shop SET wholesale_price = '9.80', price = '14.0000', id_tax_rules_group = '4', id_category_default = '143', id_argoment_default = '58', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '20974' 27/02/2024 11:34:13 am >> DELETE FROM ps_specific_price WHERE id_product = '20974' 27/02/2024 11:34:14 am >> 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 = '20974' 27/02/2024 11:34:14 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '22205' , '1' , '' , 'nuovo-prodotto' ) 27/02/2024 11:34:14 am >> 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 '22205' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '20974' 27/02/2024 11:34:14 am >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) SELECT '22205' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '20974' 27/02/2024 11:37:15 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9788831136358' AND id_product != '22205' AND ean13 != '' 27/02/2024 11:37:15 am >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '9788831136358', date_upd = NOW() WHERE id_product = '22205' 27/02/2024 11:37:15 am >> UPDATE ps_product_lang SET name = 'VANGELO DI LUCA - S. GRASSO', description = '' WHERE id_product = '22205' 27/02/2024 11:37:15 am >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '65' WHERE id_product = '22205' 27/02/2024 11:37:15 am >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '65', id_tax_rules_group = '4', id_category_default = '13', id_argoment_default = '20', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '22205' 27/02/2024 11:37:15 am >> DELETE FROM ps_specific_price WHERE id_product = '22205' 27/02/2024 11:38:18 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 ( '33' , '51265' , '2024-02-26' , '' , '0' , '109' , '4669106' , 'VIA G. VERDI, 8 20090 ASSAGO' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '196.50' , '196.50' , NOW() , NOW() ) 27/02/2024 11:38:18 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 = '90526' 27/02/2024 11:38:18 am >> DELETE FROM ps_document_detail WHERE id_document = '90526' 27/02/2024 11:38:18 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 ( '90526' , '22201' , 'UN TEMPO PER PIANTARE E UN TEMPO PER SDRAIARE - T. HALIK' , '1' , '1' , '4' , '16.00' , '16' , '0' , '0' , '16.00' ) 27/02/2024 11:38:18 am >> DELETE FROM ps_product_supplier WHERE id_product = '22201' AND id_supplier = '109' 27/02/2024 11:38:18 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '22201' , '109' , '1' ) 27/02/2024 11:38:18 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 ( '90526' , '22204' , 'COSA E LA PREGHIERA? - R. CASTILLO' , '2' , '2' , '4' , '14.00' , '14' , '0' , '0' , '28.0000' ) 27/02/2024 11:38:18 am >> DELETE FROM ps_product_supplier WHERE id_product = '22204' AND id_supplier = '109' 27/02/2024 11:38:18 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '22204' , '109' , '1' ) 27/02/2024 11:38:18 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 ( '90526' , '22205' , 'VANGELO DI LUCA - S. GRASSO' , '1' , '1' , '4' , '65.00' , '65' , '0' , '0' , '65.00' ) 27/02/2024 11:38:18 am >> DELETE FROM ps_product_supplier WHERE id_product = '22205' AND id_supplier = '109' 27/02/2024 11:38:18 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '22205' , '109' , '1' ) 27/02/2024 11:38:18 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 ( '90526' , '22202' , 'MANUALE DEL PERFETTO CHIERICHETTO - D. COSO' , '4' , '4' , '4' , '8.00' , '8' , '0' , '0' , '32.0000' ) 27/02/2024 11:38:18 am >> DELETE FROM ps_product_supplier WHERE id_product = '22202' AND id_supplier = '109' 27/02/2024 11:38:18 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '22202' , '109' , '1' ) 27/02/2024 11:38:18 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 ( '90526' , '20218' , 'ECCLESIOLOGIA - V. MIGNOZZI' , '1' , '1' , '4' , '29.50' , '29.5' , '0' , '0' , '29.50' ) 27/02/2024 11:38:18 am >> DELETE FROM ps_product_supplier WHERE id_product = '20218' AND id_supplier = '109' 27/02/2024 11:38:18 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20218' , '109' , '1' ) 27/02/2024 11:38:18 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 ( '90526' , '22203' , 'AMERAI IL SIGNORE TUO DIO - A. CENCINI' , '1' , '1' , '4' , '26.00' , '26' , '0' , '0' , '26.00' ) 27/02/2024 11:38:18 am >> DELETE FROM ps_product_supplier WHERE id_product = '22203' AND id_supplier = '109' 27/02/2024 11:38:18 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '22203' , '109' , '1' ) 27/02/2024 12:12:47 pm >> SELECT document_num FROM ps_document WHERE document_num = '578' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-02-27') 27/02/2024 12:12:47 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' , '578' , '2024-02-27' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '50.00' , '42.52' , NOW() , NOW() ) 27/02/2024 12:12:47 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 = '90527' 27/02/2024 12:12:47 pm >> DELETE FROM ps_document_detail WHERE id_document = '90527' 27/02/2024 12:12:47 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 ( '90527' , '21006' , 'MOSE E MIRIAM' , '1' , '-1' , '4' , '1.50' , '1.5' , '0' , '0' , '1.50' ) 27/02/2024 12:12:47 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 ( '90527' , '21015' , 'PASQUA' , '1' , '-1' , '4' , '1.50' , '1.5' , '0' , '0' , '1.50' ) 27/02/2024 12:12:47 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 ( '90527' , '12816' , 'LIBRO DEI DEFUNTI' , '1' , '-1' , '1' , '40.00' , '32.786885245902' , '22' , '0' , '40.00' ) 27/02/2024 12:12:47 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 ( '90527' , '21012' , 'PECORELLA SMARRITA' , '1' , '-1' , '4' , '1.50' , '1.5' , '0' , '0' , '1.50' ) 27/02/2024 12:12:47 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 ( '90527' , '17034' , 'SACRAMENTO DEL PERDONO' , '1' , '-1' , '4' , '2.00' , '2' , '0' , '0' , '2.00' ) 27/02/2024 12:12:47 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 ( '90527' , '15318' , 'PERDONAMI SIGNORE ' , '1' , '-1' , '4' , '2.00' , '2' , '0' , '0' , '2.00' ) 27/02/2024 12:12:47 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 ( '90527' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '1.5' , '1.2295081967213' , '22' , '0' , '1.50' ) 27/02/2024 04:39:11 pm >> SELECT document_num FROM ps_document WHERE document_num = '579' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-02-27') 27/02/2024 04:39:11 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' , '579' , '2024-02-27' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '4.75' , '4.75' , NOW() , NOW() ) 27/02/2024 04:39:11 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '90528' 27/02/2024 04:39:11 pm >> DELETE FROM ps_document_detail WHERE id_document = '90528' 27/02/2024 04:39:11 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '90528' , '22023' , 'SULLA TUA PAROLA - MAR/APR 2024 - 521' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 27/02/2024 05:10:23 pm >> SELECT document_num FROM ps_document WHERE document_num = '580' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-02-27') 27/02/2024 05:10:23 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' , '580' , '2024-02-27' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '295.00' , '249.85' , NOW() , NOW() ) 27/02/2024 05:10:23 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 = '90529' 27/02/2024 05:10:23 pm >> DELETE FROM ps_document_detail WHERE id_document = '90529' 27/02/2024 05:10:23 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 ( '90529' , '15046' , 'ICONA DIPINTA 14X18' , '1' , '-1' , '1' , '89.85' , '73.647540983607' , '22' , '0' , '89.85' ) 27/02/2024 05:10:23 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 ( '90529' , '22045' , 'CLERGY REGULAR ML - C 24' , '1' , '-1' , '1' , '49' , '40.16393442623' , '22' , '0' , '49.00' ) 27/02/2024 05:10:23 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 ( '90529' , '18947' , 'CLERGY COMODA MISTO - ML' , '2' , '-2' , '1' , '42' , '34.426229508197' , '22' , '0' , '84.00' ) 27/02/2024 05:10:23 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 ( '90529' , '15123' , 'SAN GIUSEPPE FATTO RELIGIOSO E TEOLOGIA - 8930' , '1' , '-1' , '4' , '12.00' , '12' , '0' , '5' , '11.40' ) 27/02/2024 05:10:23 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 ( '90529' , '6419' , 'MESE DI MARZO DEDICATO A SAN GIUSEPPE - 8340' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 27/02/2024 05:10:23 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 ( '90529' , '20190' , 'MISTERO MARIANO NEL MISTERO TRINITARIO' , '1' , '-1' , '4' , '30.00' , '30' , '0' , '5' , '28.50' ) 27/02/2024 05:10:23 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 ( '90529' , '20073' , 'ROSARIO CRISTALLO - 01M46' , '1' , '-1' , '1' , '9.50' , '7.7868852459016' , '22' , '0' , '9.50' ) 27/02/2024 05:10:23 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 ( '90529' , '21175' , 'BRACCIALE ARG. MM6 - 1452/CAV' , '1' , '-1' , '1' , '18.00' , '14.754098360656' , '22' , '0' , '18.00' ) 27/02/2024 06:09:37 pm >> SELECT document_num FROM ps_document WHERE document_num = '581' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-02-27') 27/02/2024 06:09: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' , '581' , '2024-02-27' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '11.60' , '11.60' , NOW() , NOW() ) 27/02/2024 06:09: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 = '90530' 27/02/2024 06:09:37 pm >> DELETE FROM ps_document_detail WHERE id_document = '90530' 27/02/2024 06:09: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 ( '90530' , '21920' , 'AMEN - MAR 24' , '2' , '-2' , '4' , '2.90' , '2.9' , '0' , '0' , '5.80' ) 27/02/2024 06:09: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 ( '90530' , '21919' , 'AMEN - APR 24' , '2' , '-2' , '4' , '2.90' , '2.9' , '0' , '0' , '5.80' )