18/10/2024 08:39:50 am >> INSERT INTO ps_product ( ean13 , id_tax_rules_group , `date_add` , `date_upd` ) VALUES ( '' , '1' , NOW() , NOW() ) 18/10/2024 08:39:50 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '23050' , '1' , '' , 'nuovo-prodotto' ) 18/10/2024 08:39:50 am >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , `date_add` , `date_upd` ) VALUES ( '23050' , '1' , '1' , '2' , NOW() , NOW() ) 18/10/2024 08:39:50 am >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) VALUES ( '23050' , '0' , '1' , '0' , '0' ) 18/10/2024 08:42:47 am >> SELECT ean13 FROM ps_product WHERE ean13 = '002305' AND id_product != '23050' AND ean13 != '' 18/10/2024 08:42:47 am >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '002305', date_upd = NOW() WHERE id_product = '23050' 18/10/2024 08:42:47 am >> UPDATE ps_product_lang SET name = 'CAMICE MICROFIBRA CERN. DAVANTI - 435PMA', description = '' WHERE id_product = '23050' 18/10/2024 08:42:47 am >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '47.540983606557376' WHERE id_product = '23050' 18/10/2024 08:42:47 am >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '47.540983606557376', id_tax_rules_group = '1', id_category_default = '396', 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 = '23050' 18/10/2024 08:42:47 am >> DELETE FROM ps_specific_price WHERE id_product = '23050' 18/10/2024 08:42:48 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 = '23050' 18/10/2024 08:42:48 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '23051' , '1' , '' , 'nuovo-prodotto' ) 18/10/2024 08:42:48 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 '23051' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '23050' 18/10/2024 08:42:48 am >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) SELECT '23051' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '23050' 18/10/2024 08:48:56 am >> SELECT ean13 FROM ps_product WHERE ean13 = '002306' AND id_product != '14389' AND ean13 != '' 18/10/2024 08:48:56 am >> UPDATE ps_product SET id_supplier = '89', reference = '', ean13 = '002306', date_upd = NOW() WHERE id_product = '14389' 18/10/2024 08:48:56 am >> UPDATE ps_product_lang SET name = 'CAMICE MISTO COTONE - COLLO QUADRO - 446TCAQ', description = '' WHERE id_product = '14389' 18/10/2024 08:48:56 am >> UPDATE ps_product SET wholesale_price = '49.10', on_sale = '0', price = '108.19672131147541' WHERE id_product = '14389' 18/10/2024 08:48:56 am >> UPDATE ps_product_shop SET wholesale_price = '49.10', price = '108.19672131147541', id_tax_rules_group = '1', id_category_default = '396', 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 = '14389' 18/10/2024 08:48:56 am >> DELETE FROM ps_specific_price WHERE id_product = '14389' 18/10/2024 08:50:58 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '31' , '483' , '2024-10-14' , '' , '0' , '89' , '2729' , 'VIA COLLE DI NAVA, 127D 12060 MAGLIANO ALPI' , '' , '' , '12' , '1' , '0' , '0' , '0' , '' , '10' , '0' , '431.03' , '353.30' , NOW() , NOW() ) 18/10/2024 08:50:58 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '93688' 18/10/2024 08:50:58 am >> DELETE FROM ps_document_detail WHERE id_document = '93688' 18/10/2024 08:50:58 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93688' , '23050' , 'CAMICE MICROFIBRA CERN. DAVANTI - 435PMA' , '3' , '3' , '1' , '24' , '19.672131147541' , '22' , '0' , '87.8400' ) 18/10/2024 08:50:58 am >> DELETE FROM ps_product_supplier WHERE id_product = '23050' AND id_supplier = '89' 18/10/2024 08:50:58 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '23050' , '89' , '1' ) 18/10/2024 08:50:58 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93688' , '14362' , 'CAMICE SVASATO - 434/TPA' , '2' , '2' , '1' , '29.1' , '23.852459016393' , '22' , '0' , '71.0040' ) 18/10/2024 08:50:58 am >> DELETE FROM ps_product_supplier WHERE id_product = '14362' AND id_supplier = '89' 18/10/2024 08:50:58 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '14362' , '89' , '1' ) 18/10/2024 08:50:58 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93688' , '18399' , 'CAMICE DUE PIEGONI POL. CERNIERA DAVANTI - 405/TPAD' , '1' , '1' , '1' , '30.4' , '24.918032786885' , '22' , '0' , '37.0880' ) 18/10/2024 08:50:58 am >> DELETE FROM ps_product_supplier WHERE id_product = '18399' AND id_supplier = '89' 18/10/2024 08:50:58 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18399' , '89' , '1' ) 18/10/2024 08:50:58 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93688' , '14389' , 'CAMICE MISTO COTONE - COLLO QUADRO - 446TCAQ' , '2' , '2' , '1' , '54.2' , '44.426229508197' , '22' , '0' , '132.2480' ) 18/10/2024 08:50:58 am >> DELETE FROM ps_product_supplier WHERE id_product = '14389' AND id_supplier = '89' 18/10/2024 08:50:58 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '14389' , '89' , '1' ) 18/10/2024 08:50:58 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93688' , '14088' , 'CAMICE IN MICROFIBRA - 429/PMA' , '3' , '3' , '1' , '24.1' , '19.754098360656' , '22' , '0' , '88.2060' ) 18/10/2024 08:50:59 am >> DELETE FROM ps_product_supplier WHERE id_product = '14088' AND id_supplier = '89' 18/10/2024 08:50:59 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '14088' , '89' , '1' ) 18/10/2024 08:58:30 am >> SELECT document_num FROM ps_document WHERE document_num = '162' AND id_document != '' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2024-10-18') 18/10/2024 08:58:30 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' , '162' , '2024-10-18' , '' , '4120' , '0' , '4679373' , 'VIA ROMA 54 81051 PIETRAMELARA' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '6' , '0' , '90.25' , '90.25' , NOW() , NOW() ) 18/10/2024 08:58:30 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 = '93689' 18/10/2024 08:58:30 am >> DELETE FROM ps_document_detail WHERE id_document = '93689' 18/10/2024 08:58:30 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 ( '93689' , '4495' , 'GESÙ RESTA CON NOI 3 - SCHEDE' , '25' , '-25' , '4' , '3.80' , '3.8' , '0' , '5' , '90.25' ) 18/10/2024 08:59:16 am >> INSERT INTO ps_customer ( id_gender , firstname , lastname , email , passwd , `date_add` , `date_upd` ) VALUES ( '1' , '' , '' , '' , 'B6qdZweVCxf5t1Aj' , NOW() , NOW() ) 18/10/2024 08:59:16 am >> INSERT INTO ps_customer_group ( id_customer , id_group ) VALUES ( '4128' , '1' ) 18/10/2024 08:59:16 am >> INSERT INTO ps_customer_group ( id_customer , id_group ) VALUES ( '4128' , '2' ) 18/10/2024 08:59:16 am >> INSERT INTO ps_customer_group ( id_customer , id_group ) VALUES ( '4128' , '3' ) 18/10/2024 09:00:47 am >> UPDATE ps_address SET deleted='1' , active = '0' WHERE id_customer = '4128' 18/10/2024 09:00:47 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 ( '4128' , '10' , '217' , '' , 'ANTONINI' , 'DANIELA ' , 'VIA ANTONIO DI PADOVA 21' , '' , '64016' , 'SANT\'EGIDIO ALLA VIBRATA' , '' , '' , '3395703508' , '' , '' , NOW() , NOW() ) 18/10/2024 09:00:47 am >> UPDATE ps_customer SET email = 'dani62anto@gmail.com', sdi = '', pec = '', date_upd = NOW() WHERE id_customer = '4128' 18/10/2024 09:03:01 am >> SELECT document_num FROM ps_document WHERE document_num = '163' AND id_document != '' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2024-10-18') 18/10/2024 09:03: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' , '163' , '2024-10-18' , '' , '4128' , '0' , '4679389' , 'VIA ANTONIO DI PADOVA 21 64016 SANT\\\'EGIDIO ALLA VIBRATA' , '' , '' , '5' , '4' , '0' , '0' , '0' , '' , '3' , '0' , '35.78' , '35.78' , NOW() , NOW() ) 18/10/2024 09:03: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 = '93690' 18/10/2024 09:03:01 am >> DELETE FROM ps_document_detail WHERE id_document = '93690' 18/10/2024 09:03: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 ( '93690' , '4155' , 'FESTA DEL PERDONO - GUIDA' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 18/10/2024 09:03: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 ( '93690' , '4495' , 'GESÙ RESTA CON NOI 3 - SCHEDE' , '1' , '-1' , '4' , '3.80' , '3.8' , '0' , '5' , '3.61' ) 18/10/2024 09:03: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 ( '93690' , '4494' , 'GESÙ RESTA CON NOI 3 - GUIDA' , '1' , '-1' , '4' , '10.00' , '10' , '0' , '5' , '9.50' ) 18/10/2024 09:03: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 ( '93690' , '5446' , 'IO SONO CON VOI - GUIDA' , '1' , '-1' , '4' , '8.00' , '8' , '0' , '5' , '7.60' ) 18/10/2024 09:03: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 ( '93690' , '5457' , 'IO SONO CON VOI 1 PARTE' , '1' , '-1' , '4' , '2.80' , '2.8' , '0' , '5' , '2.66' ) 18/10/2024 09:03: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 ( '93690' , '5458' , 'IO SONO CON VOI 2 PARTE' , '1' , '-1' , '4' , '2.80' , '2.8' , '0' , '5' , '2.66' ) 18/10/2024 09:26:55 am >> SELECT document_num FROM ps_document WHERE document_num = '164' AND id_document != '' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2024-10-18') 18/10/2024 09:26:55 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' , '164' , '2024-10-18' , '' , '4113' , '0' , '4679349' , 'VIA GERMONIO 6 10095 GRUGLIASCO' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '3' , '0' , '60.18' , '60.18' , NOW() , NOW() ) 18/10/2024 09:26:55 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 = '93691' 18/10/2024 09:26:55 am >> DELETE FROM ps_document_detail WHERE id_document = '93691' 18/10/2024 09:26:55 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 ( '93691' , '9676' , 'SARETE MIEI TESTIMONI - CAT.' , '2' , '-2' , '4' , '5.50' , '5.5' , '0' , '5' , '10.45' ) 18/10/2024 09:26:55 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 ( '93691' , '2679' , 'CONOSCERE GESU\'' , '15' , '-15' , '4' , '3.50' , '3.5' , '0' , '15' , '44.63' ) 18/10/2024 09:26:55 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 ( '93691' , '2680' , 'CONOSCERE GESU\' - GUIDA' , '1' , '-1' , '4' , '6.00' , '6' , '0' , '15' , '5.10' ) 18/10/2024 09:42:11 am >> SELECT document_num FROM ps_document WHERE document_num = '3088' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-10-18') 18/10/2024 09:42:11 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' , '3088' , '2024-10-18' , '' , '0' , '0' , '0' , 'PIAZZA SAN MARCO 03037 PONTECORVO' , '' , '' , '0.00' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '462.60' , '388.40' , NOW() , NOW() ) 18/10/2024 09:42:11 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '93692' 18/10/2024 09:42:11 am >> DELETE FROM ps_document_detail WHERE id_document = '93692' 18/10/2024 09:42:11 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93692' , '19395' , 'CLERGY MISTO COTONE ML - C01' , '1' , '-1' , '1' , '37.0000' , '30.3279' , '22' , '0' , '37.00' ) 18/10/2024 09:42:11 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93692' , '11384' , 'VINO BIANCO DOLCE - 102' , '12' , '-12' , '1' , '8.5000' , '6.9672' , '22' , '0' , '102.00' ) 18/10/2024 09:42:11 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93692' , '1914' , 'CERA DELLA LITURGIA' , '48' , '-48' , '1' , '4.7000' , '3.8525' , '22' , '0' , '225.60' ) 18/10/2024 09:42:11 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93692' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '10' , '-10' , '3' , '3.5000' , '3.3654' , '4' , '0' , '35.00' ) 18/10/2024 09:42:11 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93692' , '7311' , 'OSTIA SOTTILE 74MM' , '15' , '-15' , '3' , '2.0000' , '1.9231' , '4' , '0' , '30.00' ) 18/10/2024 09:42:11 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93692' , '17160' , 'CARBONCINI ROSSI - CARRO' , '1' , '-1' , '1' , '10.0000' , '8.1967' , '22' , '0' , '10.00' ) 18/10/2024 09:42:11 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93692' , '19818' , 'INCENSO NATURALE 3A KG 1' , '1' , '-1' , '1' , '23.0000' , '18.8525' , '22' , '0' , '23.00' ) 18/10/2024 10:01:12 am >> SELECT document_num FROM ps_document WHERE document_num = '3089' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-10-18') 18/10/2024 10:01:12 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' , '3089' , '2024-10-18' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '300.00' , '251.04' , NOW() , NOW() ) 18/10/2024 10:01:12 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 = '93693' 18/10/2024 10:01:12 am >> DELETE FROM ps_document_detail WHERE id_document = '93693' 18/10/2024 10:01:12 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 ( '93693' , '803' , 'ASTUCCIO VIATICO - GRANDE - 1933' , '1' , '-1' , '1' , '115.00' , '94.262295081967' , '22' , '0' , '115.00' ) 18/10/2024 10:01:12 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 ( '93693' , '21612' , 'RITO DELLE ESEQUIE - ED. MIN.- N.E.' , '1' , '-1' , '4' , '30.00' , '30' , '0' , '5' , '28.50' ) 18/10/2024 10:01:12 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 ( '93693' , '22911' , 'AGENDA LITURGICO PASTORALE 2025 - 40821' , '1' , '-1' , '1' , '12.00' , '9.8360655737705' , '22' , '5' , '11.40' ) 18/10/2024 10:01:12 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 ( '93693' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '52.3' , '42.868852459016' , '22' , '0' , '52.30' ) 18/10/2024 10:01:12 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 ( '93693' , '18947' , 'CLERGY COMODA MISTO - ML' , '1' , '-1' , '1' , '42.90' , '35.16393442623' , '22' , '0' , '42.90' ) 18/10/2024 10:01:12 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 ( '93693' , '22196' , 'CLERGY VERSUS ML - C25' , '1' , '-1' , '1' , '49.90' , '40.901639344262' , '22' , '0' , '49.90' ) 18/10/2024 10:04:55 am >> SELECT document_num FROM ps_document WHERE document_num = '3088' AND id_document != '93692' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-10-18') 18/10/2024 10:04:55 am >> UPDATE ps_document SET id_document_type = '11', document_num = '3088', document_date = '2024-10-18', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = 'PIAZZA SAN MARCO 03037 PONTECORVO', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '3', id_causal = '0', price_tax_included = '462.60', price_tax_excluded = '388.40', date_upd = NOW() WHERE id_document = '93692' 18/10/2024 10:04:55 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 = '93692' 18/10/2024 10:04:55 am >> DELETE FROM ps_document_detail WHERE id_document = '93692' 18/10/2024 10:04:55 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 ( '93692' , '19395' , 'CLERGY MISTO COTONE ML - C01' , '1' , '-1' , '1' , '37.0000' , '30.327868852459' , '22' , '0' , '37.00' ) 18/10/2024 10:04:55 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 ( '93692' , '11384' , 'VINO BIANCO DOLCE - 102' , '12' , '-12' , '1' , '8.5000' , '6.9672131147541' , '22' , '0' , '102.00' ) 18/10/2024 10:04:55 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 ( '93692' , '1914' , 'CERA DELLA LITURGIA' , '48' , '-48' , '1' , '4.7000' , '3.8524590163934' , '22' , '0' , '225.60' ) 18/10/2024 10:04:55 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 ( '93692' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '10' , '-10' , '3' , '3.5000' , '3.3653846153846' , '4' , '0' , '35.00' ) 18/10/2024 10:04:55 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 ( '93692' , '7311' , 'OSTIA SOTTILE 74MM' , '15' , '-15' , '3' , '2.0000' , '1.9230769230769' , '4' , '0' , '30.00' ) 18/10/2024 10:04:55 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 ( '93692' , '17160' , 'CARBONCINI ROSSI - CARRO' , '1' , '-1' , '1' , '10.0000' , '8.1967213114754' , '22' , '0' , '10.00' ) 18/10/2024 10:04:55 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 ( '93692' , '19818' , 'INCENSO NATURALE 3A KG 1' , '1' , '-1' , '1' , '23.0000' , '18.852459016393' , '22' , '0' , '23.00' ) 18/10/2024 10:18:11 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' , '008752/2024' , '2024-10-10' , '2024' , '0' , '125' , '4669745' , 'VIA SIBELLUCCIA, AREA P.I.P. 84088 MERCATO SAN SEVERINO' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '0.00' , '0.00' , NOW() , NOW() ) 18/10/2024 10:18:11 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '93694' 18/10/2024 10:18:11 am >> DELETE FROM ps_document_detail WHERE id_document = '93694' 18/10/2024 10:18:12 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 ( '93694' , '23032' , 'MIO LIBRO DI PREGHIERE - N. E. ' , '3000' , '3000' , '4' , '0' , '0' , '0' , '0' , '0.0000' ) 18/10/2024 10:18:12 am >> DELETE FROM ps_product_supplier WHERE id_product = '23032' AND id_supplier = '125' 18/10/2024 10:18:12 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '23032' , '125' , '1' ) 18/10/2024 10:18:12 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 ( '93694' , '2679' , 'CONOSCERE GESU\'' , '2000' , '2000' , '4' , '0' , '0' , '0' , '0' , '0.0000' ) 18/10/2024 10:18:12 am >> DELETE FROM ps_product_supplier WHERE id_product = '2679' AND id_supplier = '125' 18/10/2024 10:18:12 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '2679' , '125' , '1' ) 18/10/2024 10:39:34 am >> SELECT document_num FROM ps_document WHERE document_num = '2641' AND id_document != '93077' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-09-10') 18/10/2024 10:39:34 am >> UPDATE ps_document SET id_document_type = '11', document_num = '2641', document_date = '2024-09-10', 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 = '955.00', price_tax_excluded = '782.79', date_upd = NOW() WHERE id_document = '93077' 18/10/2024 10:39:34 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '93077' 18/10/2024 10:39:34 am >> DELETE FROM ps_document_detail WHERE id_document = '93077' 18/10/2024 10:39:34 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93077' , '17215' , 'CASULA LANA TESSUTA A TELAIO' , '1' , '-1' , '1' , '655.0000' , '536.88524590164' , '22' , '0' , '655.00' ) 18/10/2024 10:39:34 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93077' , '22840' , 'STOLA RICAMO ORO mf - 50/3611' , '1' , '-1' , '1' , '300' , '245.90163934426' , '22' , '0' , '300.00' ) 18/10/2024 11:25:24 am >> SELECT document_num FROM ps_document WHERE document_num = '3090' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-10-18') 18/10/2024 11:25:24 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' , '3090' , '2024-10-18' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '12.00' , '9.84' , NOW() , NOW() ) 18/10/2024 11:25:24 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 = '93695' 18/10/2024 11:25:24 am >> DELETE FROM ps_document_detail WHERE id_document = '93695' 18/10/2024 11:25:24 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 ( '93695' , '1912' , 'CERA DELL\'EREMO - 415/B ' , '2' , '-2' , '1' , '6.00' , '4.9180327868852' , '22' , '0' , '12.00' ) 18/10/2024 11:31:11 am >> SELECT document_num FROM ps_document WHERE document_num = '3091' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-10-18') 18/10/2024 11:31:11 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' , '3091' , '2024-10-18' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '2.00' , '2.00' , NOW() , NOW() ) 18/10/2024 11:31:11 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '93696' 18/10/2024 11:31:11 am >> DELETE FROM ps_document_detail WHERE id_document = '93696' 18/10/2024 11:31:11 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93696' , '11151' , 'LIBRI' , '1' , '-1' , '4' , '2' , '2' , '0' , '0' , '2.00' ) 18/10/2024 11:51:55 am >> SELECT document_num FROM ps_document WHERE document_num = '3092' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-10-18') 18/10/2024 11:51:55 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' , '3092' , '2024-10-18' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '8.08' , '8.08' , NOW() , NOW() ) 18/10/2024 11:51:55 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 = '93697' 18/10/2024 11:51:55 am >> DELETE FROM ps_document_detail WHERE id_document = '93697' 18/10/2024 11:51:55 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 ( '93697' , '11193' , 'VENITE CON ME CAT.' , '1' , '-1' , '4' , '5.50' , '5.5' , '0' , '5' , '5.23' ) 18/10/2024 11:51:55 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 ( '93697' , '8602' , 'VENITE CON ME 1 - MAGNIFICAT' , '1' , '-1' , '4' , '3.00' , '3' , '0' , '5' , '2.85' ) 18/10/2024 12:20:28 pm >> SELECT document_num FROM ps_document WHERE document_num = '3093' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-10-18') 18/10/2024 12:20:28 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' , '3093' , '2024-10-18' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '640.00' , '562.31' , NOW() , NOW() ) 18/10/2024 12:20:28 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 = '93698' 18/10/2024 12:20:28 pm >> DELETE FROM ps_document_detail WHERE id_document = '93698' 18/10/2024 12:20:28 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 ( '93698' , '5929' , 'LODI E VESPRI' , '40' , '-40' , '4' , '4.50' , '4.5' , '0' , '5' , '171.20' ) 18/10/2024 12:20:28 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 ( '93698' , '547' , 'AMPOLLINE E VASSOIO IN VETRO - 506' , '1' , '-1' , '1' , '30' , '24.590163934426' , '22' , '0' , '30.00' ) 18/10/2024 12:20:28 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 ( '93698' , '11757' , 'VINO LIQUOROSO DOLCE - 16%' , '12' , '-12' , '1' , '7.5' , '6.1475409836066' , '22' , '0' , '90.00' ) 18/10/2024 12:20:28 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 ( '93698' , '13049' , 'LITURGICO ART. 60LT BIANCO SUPER' , '60' , '-60' , '1' , '3' , '2.4590163934426' , '22' , '0' , '180.00' ) 18/10/2024 12:20:28 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 ( '93698' , '19107' , 'INCENSO GRANI 3A - BUSTA' , '1' , '-1' , '1' , '30.00' , '24.590163934426' , '22' , '0' , '30.00' ) 18/10/2024 12:20:28 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 ( '93698' , '19818' , 'INCENSO NATURALE 3A KG 1' , '1' , '-1' , '1' , '20.8' , '17.049180327869' , '22' , '0' , '20.80' ) 18/10/2024 12:20:28 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 ( '93698' , '21655' , 'BENEDIZIONALE N. E. ' , '1' , '-1' , '4' , '40.00' , '40' , '0' , '5' , '38.00' ) 18/10/2024 12:20:28 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 ( '93698' , '22870' , 'AGENDA SAN PAOLO 2025' , '2' , '-2' , '1' , '10.00' , '8.1967213114754' , '22' , '0' , '20.00' ) 18/10/2024 12:20:28 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 ( '93698' , '15871' , 'FINTA CANDELA 4X100 - 143' , '2' , '-2' , '1' , '30' , '24.590163934426' , '22' , '0' , '60.00' ) 18/10/2024 12:39:58 pm >> SELECT document_num FROM ps_document WHERE document_num = '109/A' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2024-10-18') 18/10/2024 12:39:58 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' , '109/A' , '2024-10-18' , 'A' , '333' , '0' , '4671072' , 'P.ZZA S. MICHELE 84135 RUFOLI' , '' , 'CATECHESI' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '150.45' , '150.45' , NOW() , NOW() ) 18/10/2024 12:39:58 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 = '93699' 18/10/2024 12:39:58 pm >> DELETE FROM ps_document_detail WHERE id_document = '93699' 18/10/2024 12:39:58 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 ( '93699' , '2679' , 'CONOSCERE GESU' , '8' , '-8' , '4' , '3.50' , '3.5' , '0' , '15' , '23.80' ) 18/10/2024 12:39:58 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 ( '93699' , '13397' , 'MIO GESU' , '22' , '-22' , '4' , '3.50' , '3.5' , '0' , '15' , '65.45' ) 18/10/2024 12:39:58 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 ( '93699' , '11192' , 'VENITE CON ME 2 PARTE' , '15' , '-15' , '4' , '2.80' , '2.8' , '0' , '15' , '35.70' ) 18/10/2024 12:39:58 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 ( '93699' , '7543' , 'PARABOLE DI GESÙ' , '10' , '-10' , '4' , '3.00' , '3' , '0' , '15' , '25.50' ) 18/10/2024 12:41:37 pm >> SELECT document_num FROM ps_document WHERE document_num = '89/A' AND id_document != '92874' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2024-08-26') 18/10/2024 12:41:37 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '89/A', document_date = '2024-08-26', document_letter = 'A', id_customer = '333', id_supplier = '', id_address = '4671072', address1 = 'P.ZZA S. MICHELE 84135 RUFOLI', address2 = '', note = 'PARROCCHIA', 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 = '124.90', price_tax_excluded = '104.05', date_upd = NOW() WHERE id_document = '92874' 18/10/2024 12:41: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 = '92874' 18/10/2024 12:41:37 pm >> DELETE FROM ps_document_detail WHERE id_document = '92874' 18/10/2024 12:41: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 ( '92874' , '15096' , 'CORONA MATRIMONIO - ARG ' , '1' , '-1' , '1' , '7.5000' , '6.1475409836066' , '22' , '0' , '7.50' ) 18/10/2024 12:41: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 ( '92874' , '15097' , 'CORONA MATRIMONIO - ORO - 197/34' , '5' , '-5' , '1' , '7.5000' , '6.1475409836066' , '22' , '0' , '37.50' ) 18/10/2024 12:41: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 ( '92874' , '18218' , 'DECINA LEGNO CHIARO - FR52' , '3' , '-3' , '1' , '0.6000' , '0.49180327868852' , '22' , '0' , '1.80' ) 18/10/2024 12:41: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 ( '92874' , '14773' , 'BRACCIALE RIGATO - 0825N' , '3' , '-3' , '1' , '1.3000' , '1.0655737704918' , '22' , '0' , '3.90' ) 18/10/2024 12:41: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 ( '92874' , '22651' , 'QUADRETTO S. FAMIGLIA - 25/101-22' , '2' , '-2' , '1' , '9.0000' , '7.3770491803279' , '22' , '0' , '18.00' ) 18/10/2024 12:41: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 ( '92874' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '1' , '-1' , '3' , '3.5000' , '3.3653846153846' , '4' , '0' , '3.50' ) 18/10/2024 12:41: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 ( '92874' , '16691' , 'PARTICOLE PER CELIACI 25pz' , '1' , '-1' , '3' , '4.3000' , '4.1346153846154' , '4' , '0' , '4.30' ) 18/10/2024 12:41: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 ( '92874' , '20429' , 'OSTIA SENZA TOSTATURA MORREALE - OS25' , '2' , '-2' , '3' , '2.0000' , '1.9230769230769' , '4' , '0' , '4.00' ) 18/10/2024 12:41: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 ( '92874' , '11756' , 'VINO BIANCO SECCO - 14%' , '6' , '-6' , '1' , '6.9000' , '5.655737704918' , '22' , '0' , '41.40' ) 18/10/2024 12:41: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 ( '92874' , '18218' , 'DECINA LEGNO CHIARO - FR52' , '5' , '-5' , '1' , '0.60' , '0.49180327868852' , '22' , '0' , '3.00' ) 18/10/2024 12:47:52 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '9788826608525' AND id_product != '23051' AND ean13 != '' 18/10/2024 12:47:52 pm >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '9788826608525', date_upd = NOW() WHERE id_product = '23051' 18/10/2024 12:47:52 pm >> UPDATE ps_product_lang SET name = 'PREGHIERE A MARIA - PAPA FRANCESCO', description = '' WHERE id_product = '23051' 18/10/2024 12:47:52 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '11' WHERE id_product = '23051' 18/10/2024 12:47:52 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '11', id_tax_rules_group = '4', id_category_default = '104', 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 = '23051' 18/10/2024 12:47:52 pm >> DELETE FROM ps_specific_price WHERE id_product = '23051' 18/10/2024 12:47:52 pm >> INSERT INTO ps_product ( id_tax_rules_group , `date_add` , `date_upd` ) SELECT id_tax_rules_group , NOW() , NOW() FROM ps_product WHERE id_product = '23051' 18/10/2024 12:47:53 pm >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '23052' , '1' , '' , 'nuovo-prodotto' ) 18/10/2024 12:47:53 pm >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , `date_add` , `date_upd` ) SELECT '23052' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '23051' 18/10/2024 12:47:53 pm >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) SELECT '23052' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '23051' 18/10/2024 12:49:04 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '33' , '2024-DL003178' , '2024-10-17' , '' , '0' , '79' , '2686' , 'CITTA\\\' DEL VATICANO 00120 CITTA\\\' DEL VATICANO' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '166.90' , '166.90' , NOW() , NOW() ) 18/10/2024 12:49:04 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 = '93700' 18/10/2024 12:49:04 pm >> DELETE FROM ps_document_detail WHERE id_document = '93700' 18/10/2024 12:49:04 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 ( '93700' , '5762' , 'LEZIONARIO E RITO DEL MATRIMONIO - KIT 2 VOL.' , '3' , '3' , '4' , '25.00' , '25' , '0' , '35' , '48.7500' ) 18/10/2024 12:49:04 pm >> DELETE FROM ps_product_supplier WHERE id_product = '5762' AND id_supplier = '79' 18/10/2024 12:49:05 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5762' , '79' , '1' ) 18/10/2024 12:49:05 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 ( '93700' , '23051' , 'PREGHIERE A MARIA - PAPA FRANCESCO' , '3' , '3' , '4' , '11.00' , '11' , '0' , '45' , '18.1500' ) 18/10/2024 12:49:05 pm >> DELETE FROM ps_product_supplier WHERE id_product = '23051' AND id_supplier = '79' 18/10/2024 12:49:05 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '23051' , '79' , '1' ) 18/10/2024 12:49:05 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 ( '93700' , '21612' , 'RITO DELLE ESEQUIE - ED. MIN.- N.E.' , '2' , '2' , '4' , '30.00' , '30' , '0' , '35' , '39.0000' ) 18/10/2024 12:49:05 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21612' AND id_supplier = '79' 18/10/2024 12:49:05 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21612' , '79' , '1' ) 18/10/2024 12:49:05 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 ( '93700' , '21656' , 'SACRAMENTO DELLUNZIONE E CURA PASTORALE N.E.' , '3' , '3' , '4' , '20.00' , '20' , '0' , '35' , '39.0000' ) 18/10/2024 12:49:05 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21656' AND id_supplier = '79' 18/10/2024 12:49:05 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21656' , '79' , '1' ) 18/10/2024 12:49:05 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 ( '93700' , '22507' , 'SPES NON CONFUNDIT' , '20' , '20' , '4' , '2.00' , '2' , '0' , '45' , '22.0000' ) 18/10/2024 12:49:05 pm >> DELETE FROM ps_product_supplier WHERE id_product = '22507' AND id_supplier = '79' 18/10/2024 12:49:05 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '22507' , '79' , '1' ) 18/10/2024 12:54:47 pm >> SELECT document_num FROM ps_document WHERE document_num = '109/A' AND id_document != '93699' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2024-10-18') 18/10/2024 12:54:47 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '109/A', document_date = '2024-10-18', document_letter = 'A', id_customer = '333', id_supplier = '', id_address = '4671072', address1 = 'P.ZZA S. MICHELE 84135 RUFOLI', address2 = '', note = 'CATECHESI', 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 = '162.35', price_tax_excluded = '162.35', date_upd = NOW() WHERE id_document = '93699' 18/10/2024 12:54: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 = '93699' 18/10/2024 12:54:47 pm >> DELETE FROM ps_document_detail WHERE id_document = '93699' 18/10/2024 12:54: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 ( '93699' , '2679' , 'CONOSCERE GESU' , '8' , '-8' , '4' , '3.5000' , '3.5' , '0' , '15' , '23.80' ) 18/10/2024 12:54: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 ( '93699' , '13397' , 'MIO GESU' , '22' , '-22' , '4' , '3.5000' , '3.5' , '0' , '15' , '65.45' ) 18/10/2024 12:54: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 ( '93699' , '11192' , 'VENITE CON ME 2 PARTE' , '15' , '-15' , '4' , '2.8000' , '2.8' , '0' , '15' , '35.70' ) 18/10/2024 12:54: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 ( '93699' , '7543' , 'PARABOLE DI GESÙ' , '10' , '-10' , '4' , '3.0000' , '3' , '0' , '15' , '25.50' ) 18/10/2024 12:54: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 ( '93699' , '2680' , 'CONOSCERE GESU\' - GUIDA' , '1' , '-1' , '4' , '6.00' , '6' , '0' , '15' , '5.10' ) 18/10/2024 12:54: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 ( '93699' , '11183' , 'VENITE CON ME - GUIDA' , '1' , '-1' , '4' , '8.00' , '8' , '0' , '15' , '6.80' ) 18/10/2024 02:52:08 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '002306' AND id_product != '23052' AND ean13 != '' 18/10/2024 02:52:22 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '002307' AND id_product != '23052' AND ean13 != '' 18/10/2024 02:52:22 pm >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '002307', date_upd = NOW() WHERE id_product = '23052' 18/10/2024 02:52:23 pm >> UPDATE ps_product_lang SET name = 'DALMATICA MORELLO', description = '' WHERE id_product = '23052' 18/10/2024 02:52:23 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '100' WHERE id_product = '23052' 18/10/2024 02:52:23 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '100', id_tax_rules_group = '4', id_category_default = '440', 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 = '23052' 18/10/2024 02:52:23 pm >> DELETE FROM ps_specific_price WHERE id_product = '23052' 18/10/2024 02:57:21 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '002307' AND id_product != '23052' AND ean13 != '' 18/10/2024 02:57:21 pm >> UPDATE ps_product SET id_supplier = '', reference = '', ean13 = '002307', date_upd = NOW() WHERE id_product = '23052' 18/10/2024 02:57:21 pm >> UPDATE ps_product_lang SET name = 'DALMATICA MORELLO', description = '' WHERE id_product = '23052' 18/10/2024 02:57:22 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '81.9672131147541' WHERE id_product = '23052' 18/10/2024 02:57:22 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '81.9672131147541', id_tax_rules_group = '1', id_category_default = '440', 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 = '23052' 18/10/2024 02:57:22 pm >> DELETE FROM ps_specific_price WHERE id_product = '23052' 18/10/2024 02:57:35 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '33' , '895' , '2024-10-17' , '' , '0' , '122' , '4669556' , 'VIA XXV APRILE, 17 24050 GRASSOBBIO' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '3' , '0' , '175.07' , '143.50' , NOW() , NOW() ) 18/10/2024 02:57:35 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '93701' 18/10/2024 02:57:35 pm >> DELETE FROM ps_document_detail WHERE id_document = '93701' 18/10/2024 02:57:35 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93701' , '18880' , 'COPRILEGGIO MORELLO' , '1' , '1' , '1' , '25' , '20.491803278689' , '22' , '0' , '30.5000' ) 18/10/2024 02:57:35 pm >> DELETE FROM ps_product_supplier WHERE id_product = '18880' AND id_supplier = '122' 18/10/2024 02:57:35 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18880' , '122' , '1' ) 18/10/2024 02:57:35 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93701' , '23052' , 'DALMATICA MORELLO' , '2' , '2' , '1' , '40.5' , '33.196721311475' , '22' , '0' , '98.8200' ) 18/10/2024 02:57:35 pm >> DELETE FROM ps_product_supplier WHERE id_product = '23052' AND id_supplier = '122' 18/10/2024 02:57:35 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '23052' , '122' , '1' ) 18/10/2024 02:57:35 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93701' , '14920' , 'CASULA AVE MARIA - PCA032' , '1' , '1' , '1' , '37.5' , '30.737704918033' , '22' , '0' , '45.7500' ) 18/10/2024 02:57:35 pm >> DELETE FROM ps_product_supplier WHERE id_product = '14920' AND id_supplier = '122' 18/10/2024 02:57:35 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '14920' , '122' , '1' ) 18/10/2024 04:38:53 pm >> SELECT document_num FROM ps_document WHERE document_num = '2907' AND id_document != '93444' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-10-04') 18/10/2024 04:38:53 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '2907', document_date = '2024-10-04', 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 = '33.03', price_tax_excluded = '28.70', date_upd = NOW() WHERE id_document = '93444' 18/10/2024 04:38:53 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 = '93444' 18/10/2024 04:38:53 pm >> DELETE FROM ps_document_detail WHERE id_document = '93444' 18/10/2024 04:38:53 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 ( '93444' , '1912' , 'CERA DELL\'EREMO - 415/B ' , '2' , '-2' , '1' , '6.0000' , '4.9180327868852' , '22' , '0' , '12.00' ) 18/10/2024 04:38:53 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 ( '93444' , '16603' , 'LIBRO INTENZIONI SANTE MESSE' , '1' , '-1' , '1' , '12.00' , '9.8360655737705' , '22' , '0' , '12.00' ) 18/10/2024 04:38:53 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 ( '93444' , '2680' , 'CONOSCERE GESU\' - GUIDA' , '1' , '-1' , '4' , '6.0000' , '6' , '0' , '5' , '5.70' ) 18/10/2024 04:38:54 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 ( '93444' , '2679' , 'CONOSCERE GESU\'' , '1' , '-1' , '4' , '3.5000' , '3.5' , '0' , '5' , '3.33' ) 18/10/2024 04:40:23 pm >> SELECT document_num FROM ps_document WHERE document_num = '2857' AND id_document != '93368' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-10-01') 18/10/2024 04:40:23 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '2857', document_date = '2024-10-01', 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 = '100.00', price_tax_excluded = '81.97', date_upd = NOW() WHERE id_document = '93368' 18/10/2024 04:40: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 = '93368' 18/10/2024 04:40:23 pm >> DELETE FROM ps_document_detail WHERE id_document = '93368' 18/10/2024 04:40: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 ( '93368' , '12816' , 'LIBRO DEI DEFUNTI' , '1' , '-1' , '1' , '30' , '24.590163934426' , '22' , '0' , '30.00' ) 18/10/2024 04:40: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 ( '93368' , '12814' , 'LIBRO DEI BATTEZZATI' , '1' , '-1' , '1' , '35' , '28.688524590164' , '22' , '0' , '35.00' ) 18/10/2024 04:40: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 ( '93368' , '12817' , 'LIBRO DEI MATRIMONI' , '1' , '-1' , '1' , '35' , '28.688524590164' , '22' , '0' , '35.00' ) 18/10/2024 04:48:58 pm >> SELECT document_num FROM ps_document WHERE document_num = '2800' AND id_document != '93297' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-09-26') 18/10/2024 04:48:58 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '2800', document_date = '2024-09-26', 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 = '65.00', price_tax_excluded = '54.65', date_upd = NOW() WHERE id_document = '93297' 18/10/2024 04:48:58 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 = '93297' 18/10/2024 04:48:58 pm >> DELETE FROM ps_document_detail WHERE id_document = '93297' 18/10/2024 04:48:58 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 ( '93297' , '17005' , 'BIGLIETTO AUGURALE medio' , '5' , '-5' , '1' , '1.0000' , '0.81967213114754' , '22' , '0' , '5.00' ) 18/10/2024 04:48:58 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 ( '93297' , '17004' , 'BIGLIETTO AUGURALE PICCOLO' , '10' , '-10' , '1' , '0.8000' , '0.65573770491803' , '22' , '0' , '8.00' ) 18/10/2024 04:48:58 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 ( '93297' , '8983' , 'RINNEGARE SE STESSO PER VIVERE IN CRISTO - 8461' , '1' , '-1' , '4' , '8.0000' , '8' , '0' , '5' , '7.60' ) 18/10/2024 04:48:58 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 ( '93297' , '12818' , 'LIBRO DELLE PRIME COMUNIONI' , '1' , '-1' , '1' , '40.00' , '32.786885245902' , '22' , '5' , '38.00' ) 18/10/2024 04:48:58 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 ( '93297' , '12819' , 'REGISTRO DEL CATECHISTA ' , '6' , '-6' , '1' , '1.00' , '0.81967213114754' , '22' , '0' , '6.00' ) 18/10/2024 04:48:58 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 ( '93297' , '18617' , 'MEDAGLIA MIRACOLOSA - OV22/M' , '2' , '-2' , '1' , '0.2' , '0.16393442622951' , '22' , '0' , '0.40' ) 18/10/2024 04:54:04 pm >> SELECT document_num FROM ps_document WHERE document_num = '3094' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-10-18') 18/10/2024 04:54:04 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' , '3094' , '2024-10-18' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '12.60' , '12.60' , NOW() , NOW() ) 18/10/2024 04:54:04 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 = '93702' 18/10/2024 04:54:04 pm >> DELETE FROM ps_document_detail WHERE id_document = '93702' 18/10/2024 04:54:04 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 ( '93702' , '4223' , 'FOGLIETTI LA DOMENICA SAN PAOLO' , '18' , '-18' , '4' , '0.70' , '0.7' , '0' , '0' , '12.60' ) 18/10/2024 04:55:31 pm >> SELECT document_num FROM ps_document WHERE document_num = '1/A' AND id_document != '89846' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2024-01-08') 18/10/2024 04:55:31 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '1/A', document_date = '2024-01-08', document_letter = 'A', id_customer = '206', id_supplier = '', id_address = '4671015', address1 = 'VIA N. BUONSERVIZI, 25 84135 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 = '80.80', price_tax_excluded = '80.80', date_upd = NOW() WHERE id_document = '89846' 18/10/2024 04:55:31 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '89846' 18/10/2024 04:55:31 pm >> DELETE FROM ps_document_detail WHERE id_document = '89846' 18/10/2024 04:55:31 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '89846' , '22937' , 'PAROLA E PREGHIERA - DIC 2024' , '1' , '-1' , '4' , '2.9000' , '2.9' , '0' , '0' , '2.90' ) 18/10/2024 04:55:31 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '89846' , '4223' , 'FOGLIETTI LA DOMENICA SAN PAOLO' , '2' , '-2' , '4' , '0.7000' , '0.7' , '0' , '0' , '1.40' ) 18/10/2024 04:55:31 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '89846' , '10794' , 'TUTTI I SALMI A CARATTERI GRANDI' , '2' , '-2' , '4' , '7.0000' , '7' , '0' , '0' , '14.00' ) 18/10/2024 04:55:31 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '89846' , '22977' , 'VANGELO SECONDO LUCA - L. BRUNI' , '1' , '-1' , '4' , '26.0000' , '26' , '0' , '0' , '26.00' ) 18/10/2024 04:55:31 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '89846' , '22943' , 'AVVENTO 2024' , '1' , '-1' , '4' , '3.5000' , '3.5' , '0' , '0' , '3.50' ) 18/10/2024 04:55:31 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '89846' , '22574' , 'CANTO DELLA VITA - P. PROSPERI' , '1' , '-1' , '4' , '17.0000' , '17' , '0' , '0' , '17.00' ) 18/10/2024 04:55:31 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '89846' , '22996' , 'MAESTRO DELLA MISERICORDIA - L. CRIPPA' , '1' , '-1' , '4' , '16.00' , '16' , '0' , '0' , '16.00' ) 18/10/2024 05:04:10 pm >> SELECT document_num FROM ps_document WHERE document_num = '3095' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-10-18') 18/10/2024 05:04:10 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '3095' , '2024-10-18' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '3.00' , '3.00' , NOW() , NOW() ) 18/10/2024 05:04:10 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '93703' 18/10/2024 05:04:10 pm >> DELETE FROM ps_document_detail WHERE id_document = '93703' 18/10/2024 05:04:10 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93703' , '11151' , 'LIBRI' , '1' , '-1' , '4' , '3' , '3' , '0' , '0' , '3.00' ) 18/10/2024 05:44:34 pm >> SELECT document_num FROM ps_document WHERE document_num = '3096' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-10-18') 18/10/2024 05:44:34 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '3096' , '2024-10-18' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '85.49' , '72.87' , NOW() , NOW() ) 18/10/2024 05:44:34 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '93704' 18/10/2024 05:44:34 pm >> DELETE FROM ps_document_detail WHERE id_document = '93704' 18/10/2024 05:44:34 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93704' , '22463' , 'CAMICE LEGGERO - 020/06' , '1' , '-1' , '1' , '70.00' , '57.377049180328' , '22' , '0' , '70.00' ) 18/10/2024 05:44:34 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93704' , '5458' , 'IO SONO CON VOI 2 PARTE' , '1' , '-1' , '4' , '2.80' , '2.8' , '0' , '5' , '2.66' ) 18/10/2024 05:44:34 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93704' , '5444' , 'IO SONO CON VOI - CAT.' , '1' , '-1' , '4' , '5.50' , '5.5' , '0' , '5' , '5.23' ) 18/10/2024 05:44:34 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93704' , '5446' , 'IO SONO CON VOI - GUIDA' , '1' , '-1' , '4' , '8.00' , '8' , '0' , '5' , '7.60' ) 18/10/2024 05:45:09 pm >> SELECT document_num FROM ps_document WHERE document_num = '3097' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-10-18') 18/10/2024 05:45:09 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '3097' , '2024-10-18' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '14.16' , '14.16' , NOW() , NOW() ) 18/10/2024 05:45:09 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '93705' 18/10/2024 05:45:09 pm >> DELETE FROM ps_document_detail WHERE id_document = '93705' 18/10/2024 05:45:09 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '93705' , '8769' , 'RACCONTA LA BIBBIA AI TUOI RAGAZZI' , '1' , '-1' , '4' , '14.90' , '14.9' , '0' , '5' , '14.16' ) 18/10/2024 07:18:30 pm >> DELETE FROM ps_document WHERE id_document = '93676' 18/10/2024 07:18:30 pm >> DELETE FROM ps_document_detail WHERE id_document = '93676' 18/10/2024 07:18:51 pm >> SELECT document_num FROM ps_document WHERE document_num = '25' AND id_document != '93677' AND id_document_type LIKE '24' AND YEAR(document_date) = YEAR('2024-10-17') 18/10/2024 07:18:51 pm >> UPDATE ps_document SET id_document_type = '24', document_num = '25', document_date = '2024-10-17', document_letter = '', id_customer = '3000', id_supplier = '', id_address = '4669629', address1 = 'VIA DEI CASTANI, 116 00172 ROMA', address2 = '', note = 'EDIZIONI', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '21756.00', price_tax_excluded = '21575.67', date_upd = NOW() WHERE id_document = '93677' 18/10/2024 07:18:51 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 = '93677' 18/10/2024 07:18:51 pm >> DELETE FROM ps_document_detail WHERE id_document = '93677' 18/10/2024 07:18:51 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 ( '93677' , '4154' , 'FESTA DEL PERDONO' , '600' , '-600' , '4' , '3.0000' , '3' , '0' , '0' , '1800.00' ) 18/10/2024 07:18:51 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 ( '93677' , '2679' , 'CONOSCERE GESU\'' , '720' , '-720' , '4' , '3.5000' , '3.5' , '0' , '0' , '2520.00' ) 18/10/2024 07:18:51 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 ( '93677' , '4394' , 'GESÙ CI CHIAMA 1 - SCHEDE' , '320' , '-320' , '4' , '3.8000' , '3.8' , '0' , '0' , '1216.00' ) 18/10/2024 07:18:51 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 ( '93677' , '4397' , 'GESÙ CI RIVELA IL PADRE 2 - SCHEDE' , '330' , '-330' , '4' , '3.8000' , '3.8' , '0' , '0' , '1254.00' ) 18/10/2024 07:18:52 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 ( '93677' , '4495' , 'GESÙ RESTA CON NOI 3 - SCHEDE' , '330' , '-330' , '4' , '3.8000' , '3.8' , '0' , '0' , '1254.00' ) 18/10/2024 07:18:52 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 ( '93677' , '12819' , 'REGISTRO DEL CATECHISTA ' , '1000' , '-1000' , '1' , '1.0000' , '0.81967213114754' , '22' , '0' , '1000.00' ) 18/10/2024 07:18:52 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 ( '93677' , '11192' , 'VENITE CON ME 2 PARTE' , '3240' , '-3240' , '4' , '2.8000' , '2.8' , '0' , '0' , '9072.00' ) 18/10/2024 07:18:52 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 ( '93677' , '13397' , 'MIO GESU\'' , '240' , '-240' , '4' , '3.5000' , '3.5' , '0' , '0' , '840.00' ) 18/10/2024 07:18:52 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 ( '93677' , '23032' , 'MIO LIBRO DI PREGHIERE - N. E. ' , '1000' , '-1000' , '4' , '2.8000' , '2.8' , '0' , '0' , '2800.00' ) 18/10/2024 07:19:02 pm >> DELETE FROM ps_document WHERE id_document = '93574' 18/10/2024 07:19:02 pm >> DELETE FROM ps_document_detail WHERE id_document = '93574' 18/10/2024 07:36:23 pm >> SELECT document_num FROM ps_document WHERE document_num = '3098' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-10-18') 18/10/2024 07:36: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' , '3098' , '2024-10-18' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '17.80' , '14.59' , NOW() , NOW() ) 18/10/2024 07:36: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 = '93706' 18/10/2024 07:36:23 pm >> DELETE FROM ps_document_detail WHERE id_document = '93706' 18/10/2024 07:36: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 ( '93706' , '11389' , 'VINO ROSSO DOLCE - 103' , '2' , '-2' , '1' , '8.90' , '7.2950819672131' , '22' , '0' , '17.80' )