28/06/2024 09:05:21 am >> SELECT document_num FROM ps_document WHERE document_num = '66/A' AND id_document != '91993' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2024-05-24') 28/06/2024 09:05:21 am >> UPDATE ps_document SET id_document_type = '24', document_num = '66/A', document_date = '2024-05-24', document_letter = 'A', id_customer = '333', id_supplier = '', id_address = '4671072', address1 = 'P.ZZA S. MICHELE 84135 RUFOLI', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '133.70', price_tax_excluded = '112.04', date_upd = NOW() WHERE id_document = '91993' 28/06/2024 09:05: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 = '91993' 28/06/2024 09:05:21 am >> DELETE FROM ps_document_detail WHERE id_document = '91993' 28/06/2024 09:05: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 ( '91993' , '11756' , 'VINO BIANCO SECCO - 14%' , '6' , '-6' , '1' , '6.9000' , '5.655737704918' , '22' , '0' , '41.40' ) 28/06/2024 09:05: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 ( '91993' , '16689' , 'OSTIA PAN DI CENA mm80' , '1' , '-1' , '3' , '2.0000' , '1.9230769230769' , '4' , '0' , '2.00' ) 28/06/2024 09:05: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 ( '91993' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '1' , '-1' , '3' , '3.5000' , '3.3653846153846' , '4' , '0' , '3.50' ) 28/06/2024 09:05: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 ( '91993' , '16691' , 'PARTICOLE PER CELIACI 25pz' , '1' , '-1' , '3' , '4.3000' , '4.1346153846154' , '4' , '0' , '4.30' ) 28/06/2024 09:05: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 ( '91993' , '' , '28/06' , '1' , '-1' , '0' , '0' , '0' , '' , '0' , '0' ) 28/06/2024 09:05: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 ( '91993' , '5903' , 'LITURGICO ART. 60LT ROSSO SUPER' , '30' , '-30' , '1' , '2.5' , '2.0491803278689' , '22' , '0' , '75.00' ) 28/06/2024 09:05: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 ( '91993' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '1' , '-1' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '3.50' ) 28/06/2024 09:05: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 ( '91993' , '16689' , 'OSTIA PAN DI CENA mm80' , '2' , '-2' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '4.00' ) 28/06/2024 09:13:00 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '31' , '9825/00/2024' , '2024-06-26' , '00' , '0' , '38' , '2633' , 'VIA GALVANI, 1 60020 CAMERATA PICENA' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '1' , '0' , '165.00' , '165.00' , NOW() , NOW() ) 28/06/2024 09:13:00 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '92439' 28/06/2024 09:13:00 am >> DELETE FROM ps_document_detail WHERE id_document = '92439' 28/06/2024 09:13:00 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92439' , '22414' , 'SULLA TUA PAROLA - LUG/AGO 2024' , '55' , '55' , '4' , '5.00' , '5' , '0' , '40' , '165.0000' ) 28/06/2024 09:13:00 am >> DELETE FROM ps_product_supplier WHERE id_product = '22414' AND id_supplier = '38' 28/06/2024 09:13:00 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '22414' , '38' , '1' ) 28/06/2024 09:39:50 am >> SELECT document_num FROM ps_document WHERE document_num = '2111' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-06-28') 28/06/2024 09:39:50 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' , '2111' , '2024-06-28' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '50.36' , '48.66' , NOW() , NOW() ) 28/06/2024 09:39:50 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 = '92440' 28/06/2024 09:39:50 am >> DELETE FROM ps_document_detail WHERE id_document = '92440' 28/06/2024 09:39:50 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 ( '92440' , '16689' , 'OSTIA PAN DI CENA mm80' , '10' , '-10' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '20.00' ) 28/06/2024 09:39:50 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 ( '92440' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '4' , '-4' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '14.00' ) 28/06/2024 09:39:50 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 ( '92440' , '22570' , 'IN TERRA SANTA - G. RAVASI' , '1' , '-1' , '4' , '14.90' , '14.9' , '0' , '5' , '14.16' ) 28/06/2024 09:39:50 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 ( '92440' , '18122' , 'ROCCA STOPPINO M. 100 - 469/100' , '2' , '-2' , '1' , '1.10' , '0.9016393442623' , '22' , '0' , '2.20' ) 28/06/2024 10:41:34 am >> SELECT document_num FROM ps_document WHERE document_num = '2112' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-06-28') 28/06/2024 10:41:34 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '2112' , '2024-06-28' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '28.50' , '28.50' , NOW() , NOW() ) 28/06/2024 10:41: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 = '92441' 28/06/2024 10:41:34 am >> DELETE FROM ps_document_detail WHERE id_document = '92441' 28/06/2024 10:41: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 ( '92441' , '22414' , 'SULLA TUA PAROLA - LUG/AGO 2024' , '6' , '-6' , '4' , '5.00' , '5' , '0' , '5' , '28.50' ) 28/06/2024 11:11:56 am >> SELECT document_num FROM ps_document WHERE document_num = '2113' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-06-28') 28/06/2024 11:11:56 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' , '2113' , '2024-06-28' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '90.00' , '90.00' , NOW() , NOW() ) 28/06/2024 11:11:56 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '92442' 28/06/2024 11:11:56 am >> DELETE FROM ps_document_detail WHERE id_document = '92442' 28/06/2024 11:11:56 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 ( '92442' , '22414' , 'SULLA TUA PAROLA - LUG/AGO 2024' , '18' , '-18' , '4' , '5.00' , '5' , '0' , '0' , '90.00' ) 28/06/2024 11:12:13 am >> DELETE FROM ps_document WHERE id_document = '92442' 28/06/2024 11:12:13 am >> DELETE FROM ps_document_detail WHERE id_document = '92442' 28/06/2024 11:22:05 am >> SELECT document_num FROM ps_document WHERE document_num = '2113' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-06-28') 28/06/2024 11:22: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' , '2113' , '2024-06-28' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '33.00' , '33.00' , NOW() , NOW() ) 28/06/2024 11:22: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 = '92443' 28/06/2024 11:22:05 am >> DELETE FROM ps_document_detail WHERE id_document = '92443' 28/06/2024 11:22: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 ( '92443' , '22414' , 'SULLA TUA PAROLA - LUG/AGO 2024' , '5' , '-5' , '4' , '5.00' , '5' , '0' , '0' , '25.00' ) 28/06/2024 11:22: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 ( '92443' , '22307' , 'MESSA MEDITAZIONE - LUG/AGO 2024' , '1' , '-1' , '4' , '8.00' , '8' , '0' , '0' , '8.00' ) 28/06/2024 11:22:53 am >> DELETE FROM ps_document WHERE id_document = '92443' 28/06/2024 11:22:53 am >> DELETE FROM ps_document_detail WHERE id_document = '92443' 28/06/2024 11:26:50 am >> SELECT document_num FROM ps_document WHERE document_num = '2113' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-06-28') 28/06/2024 11:26:50 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' , '2113' , '2024-06-28' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '140.00' , '114.75' , NOW() , NOW() ) 28/06/2024 11:26:50 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 = '92444' 28/06/2024 11:26:50 am >> DELETE FROM ps_document_detail WHERE id_document = '92444' 28/06/2024 11:26:50 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 ( '92444' , '14354' , 'CAMICE BENEDETTINO LINO - 3010' , '1' , '-1' , '1' , '140' , '114.75409836066' , '22' , '0' , '140.00' ) 28/06/2024 11:29:12 am >> SELECT document_num FROM ps_document WHERE document_num = '2114' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-06-28') 28/06/2024 11:29: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' , '2114' , '2024-06-28' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '29.00' , '23.77' , NOW() , NOW() ) 28/06/2024 11:29: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 = '92445' 28/06/2024 11:29:12 am >> DELETE FROM ps_document_detail WHERE id_document = '92445' 28/06/2024 11:29: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 ( '92445' , '9691' , 'SCAPOLARE DEL CARMELO - PICCOLO - 1215/ITA' , '5' , '-5' , '1' , '1.20' , '0.98360655737705' , '22' , '0' , '6.00' ) 28/06/2024 11:29: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 ( '92445' , '19818' , 'INCENSO NATURALE 3A KG 1' , '1' , '-1' , '1' , '23.00' , '18.852459016393' , '22' , '0' , '23.00' ) 28/06/2024 11:30:29 am >> SELECT document_num FROM ps_document WHERE document_num = '2115' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-06-28') 28/06/2024 11:30:29 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' , '2115' , '2024-06-28' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '120.00' , '98.36' , NOW() , NOW() ) 28/06/2024 11:30: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 = '92446' 28/06/2024 11:30:29 am >> DELETE FROM ps_document_detail WHERE id_document = '92446' 28/06/2024 11:30: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 ( '92446' , '19594' , 'POLO JERSEY COTONE 100%' , '3' , '-3' , '1' , '40' , '32.786885245902' , '22' , '0' , '120.00' ) 28/06/2024 11:32:50 am >> SELECT document_num FROM ps_document WHERE document_num = '2116' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-06-28') 28/06/2024 11:32:50 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' , '2116' , '2024-06-28' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '45.20' , '37.05' , NOW() , NOW() ) 28/06/2024 11:32:50 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 = '92447' 28/06/2024 11:32:50 am >> DELETE FROM ps_document_detail WHERE id_document = '92447' 28/06/2024 11:32:50 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 ( '92447' , '18122' , 'ROCCA STOPPINO M. 100 - 469/100' , '2' , '-2' , '1' , '1.10' , '0.9016393442623' , '22' , '0' , '2.20' ) 28/06/2024 11:32:50 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 ( '92447' , '19107' , 'INCENSO GRANI 3A - BUSTA' , '1' , '-1' , '1' , '30.00' , '24.590163934426' , '22' , '0' , '30.00' ) 28/06/2024 11:32:50 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 ( '92447' , '19102' , 'CARBONCINI MM 40' , '1' , '-1' , '1' , '13.00' , '10.655737704918' , '22' , '0' , '13.00' ) 28/06/2024 11:34:43 am >> SELECT document_num FROM ps_document WHERE document_num = '2117' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-06-28') 28/06/2024 11:34:43 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '2117' , '2024-06-28' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '59.00' , '48.36' , NOW() , NOW() ) 28/06/2024 11:34:43 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '92448' 28/06/2024 11:34:43 am >> DELETE FROM ps_document_detail WHERE id_document = '92448' 28/06/2024 11:34:43 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92448' , '14088' , 'CAMICE IN MICROFIBRA - 429/PMA' , '1' , '-1' , '1' , '59.00' , '48.360655737705' , '22' , '0' , '59.00' ) 28/06/2024 11:35:43 am >> SELECT document_num FROM ps_document WHERE document_num = '2118' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-06-28') 28/06/2024 11:35:43 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '2118' , '2024-06-28' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '135.00' , '110.66' , NOW() , NOW() ) 28/06/2024 11:35:43 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '92449' 28/06/2024 11:35:43 am >> DELETE FROM ps_document_detail WHERE id_document = '92449' 28/06/2024 11:35:43 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92449' , '22463' , 'CAMICE LEGGERO - 020/06' , '2' , '-2' , '1' , '67.5' , '55.327868852459' , '22' , '0' , '135.00' ) 28/06/2024 11:38:43 am >> SELECT document_num FROM ps_document WHERE document_num = '2119' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-06-28') 28/06/2024 11:38:43 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '2119' , '2024-06-28' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '53.50' , '48.53' , NOW() , NOW() ) 28/06/2024 11:38:43 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '92450' 28/06/2024 11:38:43 am >> DELETE FROM ps_document_detail WHERE id_document = '92450' 28/06/2024 11:38:43 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92450' , '15403' , 'CROCE IN RESINA CM 9 - 3806/G052' , '3' , '-3' , '1' , '3.5' , '2.8688524590164' , '22' , '0' , '10.50' ) 28/06/2024 11:38:43 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92450' , '17160' , 'CARBONCINI ROSSI - CARRO' , '1' , '-1' , '1' , '10.00' , '8.1967213114754' , '22' , '0' , '10.00' ) 28/06/2024 11:38:43 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92450' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '6' , '-6' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '21.00' ) 28/06/2024 11:38:43 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92450' , '20429' , 'OSTIA SENZA TOSTATURA MORREALE - OS25' , '6' , '-6' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '12.00' ) 28/06/2024 11:59:40 am >> SELECT document_num FROM ps_document WHERE document_num = '1943' AND id_document != '92241' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-06-11') 28/06/2024 11:59:40 am >> UPDATE ps_document SET id_document_type = '11', document_num = '1943', document_date = '2024-06-11', 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 = '30.00', price_tax_excluded = '30.00', date_upd = NOW() WHERE id_document = '92241' 28/06/2024 11:59:40 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '92241' 28/06/2024 11:59:40 am >> DELETE FROM ps_document_detail WHERE id_document = '92241' 28/06/2024 11:59:40 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92241' , '22307' , 'MESSA MEDITAZIONE - LUG/AGO 2024' , '1' , '-1' , '4' , '6.25' , '6.25' , '0' , '0' , '6.25' ) 28/06/2024 11:59:40 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92241' , '22414' , 'SULLA TUA PAROLA - LUG/AGO 2024' , '5' , '-5' , '4' , '5.00' , '5' , '0' , '5' , '23.75' ) 28/06/2024 12:01:29 pm >> SELECT document_num FROM ps_document WHERE document_num = '1755' AND id_document != '92007' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-05-24') 28/06/2024 12:01:29 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '1755', document_date = '2024-05-24', 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 = '240.00', price_tax_excluded = '231.89', date_upd = NOW() WHERE id_document = '92007' 28/06/2024 12:01:29 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '92007' 28/06/2024 12:01:29 pm >> DELETE FROM ps_document_detail WHERE id_document = '92007' 28/06/2024 12:01:29 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92007' , '11757' , 'VINO LIQUOROSO DOLCE - 16%' , '6' , '-6' , '1' , '7.5000' , '6.1475409836066' , '22' , '0' , '45.00' ) 28/06/2024 12:01:29 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92007' , '18956' , 'LEZIONARIO DOMENICALE E FESTIVO ANNO B' , '1' , '-1' , '4' , '60.0000' , '60' , '0' , '5' , '57.00' ) 28/06/2024 12:01:29 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92007' , '17329' , 'MESSALE ROMANO DALTARE N.E' , '1' , '-1' , '4' , '110.0000' , '110' , '0' , '5' , '104.50' ) 28/06/2024 12:01:29 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92007' , '16665' , 'VIA CRUCIS Dialogata per comunità parrocchiali' , '2' , '-2' , '4' , '1.00' , '1' , '0' , '0' , '2.00' ) 28/06/2024 12:01:29 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92007' , '22414' , 'SULLA TUA PAROLA - LUG/AGO 2024' , '7' , '-7' , '4' , '4.5' , '4.5' , '0' , '' , '31.50' ) 28/06/2024 12:02:15 pm >> SELECT document_num FROM ps_document WHERE document_num = '2120' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-06-28') 28/06/2024 12:02:15 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' , '2120' , '2024-06-28' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '55.10' , '55.10' , NOW() , NOW() ) 28/06/2024 12:02:15 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 = '92451' 28/06/2024 12:02:15 pm >> DELETE FROM ps_document_detail WHERE id_document = '92451' 28/06/2024 12:02:15 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 ( '92451' , '22414' , 'SULLA TUA PAROLA - LUG/AGO 2024' , '10' , '-10' , '4' , '5.00' , '5' , '0' , '5' , '47.50' ) 28/06/2024 12:02:15 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 ( '92451' , '22307' , 'MESSA MEDITAZIONE - LUG/AGO 2024' , '1' , '-1' , '4' , '8.00' , '8' , '0' , '5' , '7.60' ) 28/06/2024 12:20:27 pm >> SELECT document_num FROM ps_document WHERE document_num = '2121' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-06-28') 28/06/2024 12:20:27 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '2121' , '2024-06-28' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '6.00' , '5.77' , NOW() , NOW() ) 28/06/2024 12:20:27 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '92452' 28/06/2024 12:20:27 pm >> DELETE FROM ps_document_detail WHERE id_document = '92452' 28/06/2024 12:20:27 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92452' , '16689' , 'OSTIA PAN DI CENA mm80' , '3' , '-3' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '6.00' ) 28/06/2024 12:23:40 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '32' , '2024-FV001035' , '2024-06-28' , '' , '0' , '79' , '2686' , 'CITTA\\\' DEL VATICANO 00120 CITTA\\\' DEL VATICANO' , '' , '' , '13' , '4' , '0' , '0' , '0' , '' , '11' , '0' , '382.80' , '382.80' , NOW() , NOW() ) 28/06/2024 12:23:40 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '92453' 28/06/2024 12:23:40 pm >> DELETE FROM ps_document_detail WHERE id_document = '92453' 28/06/2024 12:23:40 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92453' , '21509' , 'LITURGIA DELLE ORE VOL. IV N.E.' , '1' , '0' , '4' , '35.0000' , '35' , '0' , '30' , '24.50' ) 28/06/2024 12:23:40 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21509' AND id_supplier = '79' 28/06/2024 12:23:40 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21509' , '79' , '1' ) 28/06/2024 12:23:40 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92453' , '21508' , 'LITURGIA DELLE ORE VOL. II N.E.' , '2' , '0' , '4' , '35.0000' , '35' , '0' , '30' , '49.00' ) 28/06/2024 12:23:40 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21508' AND id_supplier = '79' 28/06/2024 12:23:40 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21508' , '79' , '1' ) 28/06/2024 12:23:40 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92453' , '22370' , 'DIGNITAS INFINITA' , '3' , '0' , '4' , '3.9000' , '3.9' , '0' , '45' , '6.44' ) 28/06/2024 12:23:40 pm >> DELETE FROM ps_product_supplier WHERE id_product = '22370' AND id_supplier = '79' 28/06/2024 12:23:40 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '22370' , '79' , '1' ) 28/06/2024 12:23:40 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92453' , '18956' , 'LEZIONARIO DOMENICALE E FESTIVO ANNO B' , '1' , '0' , '4' , '60.0000' , '60' , '0' , '30' , '42.00' ) 28/06/2024 12:23:40 pm >> DELETE FROM ps_product_supplier WHERE id_product = '18956' AND id_supplier = '79' 28/06/2024 12:23:40 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18956' , '79' , '1' ) 28/06/2024 12:23:40 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92453' , '22685' , 'LAZZARO VIENI FUORI - J. MARTIN' , '2' , '0' , '4' , '25.0000' , '25' , '0' , '45' , '27.50' ) 28/06/2024 12:23:40 pm >> DELETE FROM ps_product_supplier WHERE id_product = '22685' AND id_supplier = '79' 28/06/2024 12:23:40 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '22685' , '79' , '1' ) 28/06/2024 12:23:40 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92453' , '22111' , 'PREGARE OGGI - 1' , '1' , '0' , '4' , '8.5000' , '8.5' , '0' , '45' , '4.68' ) 28/06/2024 12:23:40 pm >> DELETE FROM ps_product_supplier WHERE id_product = '22111' AND id_supplier = '79' 28/06/2024 12:23:41 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '22111' , '79' , '1' ) 28/06/2024 12:23:41 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 ( '92453' , '22191' , 'PREGARE CON I SALMI - 2' , '1' , '0' , '4' , '8.5000' , '8.5' , '0' , '45' , '4.68' ) 28/06/2024 12:23:41 pm >> DELETE FROM ps_product_supplier WHERE id_product = '22191' AND id_supplier = '79' 28/06/2024 12:23:41 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '22191' , '79' , '1' ) 28/06/2024 12:23:41 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 ( '92453' , '18956' , 'LEZIONARIO DOMENICALE E FESTIVO ANNO B' , '1' , '0' , '4' , '60.0000' , '60' , '0' , '30' , '42.00' ) 28/06/2024 12:23:41 pm >> DELETE FROM ps_product_supplier WHERE id_product = '18956' AND id_supplier = '79' 28/06/2024 12:23:41 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18956' , '79' , '1' ) 28/06/2024 12:23:41 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 ( '92453' , '17330' , 'MESSALE ROMANO DALTARE N. E. TAGLIO ORO' , '1' , '0' , '4' , '130.0000' , '130' , '0' , '30' , '91.00' ) 28/06/2024 12:23:41 pm >> DELETE FROM ps_product_supplier WHERE id_product = '17330' AND id_supplier = '79' 28/06/2024 12:23:41 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17330' , '79' , '1' ) 28/06/2024 12:23:41 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 ( '92453' , '5763' , 'LEZIONARIO FERIALE ANNO DISPARI - TEMPO ORDINARIO' , '1' , '0' , '4' , '60.0000' , '60' , '0' , '35' , '39.00' ) 28/06/2024 12:23:41 pm >> DELETE FROM ps_product_supplier WHERE id_product = '5763' AND id_supplier = '79' 28/06/2024 12:23:41 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5763' , '79' , '1' ) 28/06/2024 12:23:41 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 ( '92453' , '5764' , 'LEZIONARIO FERIALE ANNO PARI - TEMPO ORDINARIO' , '1' , '0' , '4' , '60.0000' , '60' , '0' , '35' , '39.00' ) 28/06/2024 12:23:41 pm >> DELETE FROM ps_product_supplier WHERE id_product = '5764' AND id_supplier = '79' 28/06/2024 12:23:41 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5764' , '79' , '1' ) 28/06/2024 03:20:58 pm >> SELECT document_num FROM ps_document WHERE document_num = '80/A' AND id_document != '' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2024-06-28') 28/06/2024 03:20: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' , '80/A' , '2024-06-28' , 'A' , '3712' , '0' , '4671443' , 'VIA DALMAZIA 6 84121 SALERNO' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '8.90' , '7.30' , NOW() , NOW() ) 28/06/2024 03:20: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 = '92454' 28/06/2024 03:20:58 pm >> DELETE FROM ps_document_detail WHERE id_document = '92454' 28/06/2024 03:20: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 ( '92454' , '11384' , 'VINO BIANCO DOLCE - 102' , '1' , '-1' , '1' , '8.90' , '7.2950819672131' , '22' , '0' , '8.90' ) 28/06/2024 03:22:20 pm >> INSERT INTO ps_product ( ean13 , id_tax_rules_group , `date_add` , `date_upd` ) VALUES ( '' , '1' , NOW() , NOW() ) 28/06/2024 03:22:20 pm >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '22731' , '1' , '' , 'nuovo-prodotto' ) 28/06/2024 03:22:20 pm >> INSERT INTO ps_product_shop ( id_product , id_tax_rules_group , id_shop , id_category_default , `date_add` , `date_upd` ) VALUES ( '22731' , '1' , '1' , '2' , NOW() , NOW() ) 28/06/2024 03:22:20 pm >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) VALUES ( '22731' , '0' , '1' , '0' , '0' ) 28/06/2024 03:23:03 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '9787706240800' AND id_product != '22731' AND ean13 != '' 28/06/2024 03:23:03 pm >> UPDATE ps_product SET id_supplier = '', reference = '7/4', ean13 = '9787706240800', date_upd = NOW() WHERE id_product = '22731' 28/06/2024 03:23:03 pm >> UPDATE ps_product_lang SET name = 'DALL\'ALBA AL TRAMONTO - AGO 24', description = '' WHERE id_product = '22731' 28/06/2024 03:23:03 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '3.2' WHERE id_product = '22731' 28/06/2024 03:23:03 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '3.2', id_tax_rules_group = '4', id_category_default = '280', id_argoment_default = '64', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '22731' 28/06/2024 03:23:03 pm >> DELETE FROM ps_specific_price WHERE id_product = '22731' 28/06/2024 03:25:57 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '9788861248618' AND id_product != '19513' AND ean13 != '' 28/06/2024 03:25:58 pm >> UPDATE ps_product SET id_supplier = '7', reference = '5/4', ean13 = '9788861248618', date_upd = NOW() WHERE id_product = '19513' 28/06/2024 03:25:58 pm >> UPDATE ps_product_lang SET name = 'CARLO ACUTIS - DALLA PISTA .... - M. MUSOLINO', description = '' WHERE id_product = '19513' 28/06/2024 03:25:58 pm >> UPDATE ps_product SET wholesale_price = '9.03', on_sale = '0', price = '12.9000' WHERE id_product = '19513' 28/06/2024 03:25:58 pm >> UPDATE ps_product_shop SET wholesale_price = '9.03', price = '12.9000', id_tax_rules_group = '4', id_category_default = '26', id_argoment_default = '40', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '19513' 28/06/2024 03:25:58 pm >> DELETE FROM ps_specific_price WHERE id_product = '19513' 28/06/2024 03:27:10 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '33' , '668925' , '2024-06-27' , '' , '0' , '7' , '2602' , 'P. ZZA SAN PAOLO, 14 12051 ALBA' , '' , '' , '2.33' , '4' , '0' , '0' , '0' , '' , '11' , '0' , '82.10' , '82.10' , NOW() , NOW() ) 28/06/2024 03:27:10 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '92455' 28/06/2024 03:27:10 pm >> DELETE FROM ps_document_detail WHERE id_document = '92455' 28/06/2024 03:27:10 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92455' , '22731' , 'DALLALBA AL TRAMONTO - AGO 24' , '1' , '1' , '4' , '3.20' , '3.2' , '0' , '30' , '2.2400' ) 28/06/2024 03:27:10 pm >> DELETE FROM ps_product_supplier WHERE id_product = '22731' AND id_supplier = '7' 28/06/2024 03:27:10 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '22731' , '7' , '1' ) 28/06/2024 03:27:10 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92455' , '22269' , 'ARTE DELLA PREGHIERA - E. BIANCHI' , '1' , '1' , '4' , '14.00' , '14' , '0' , '33' , '9.3800' ) 28/06/2024 03:27:10 pm >> DELETE FROM ps_product_supplier WHERE id_product = '22269' AND id_supplier = '7' 28/06/2024 03:27:10 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '22269' , '7' , '1' ) 28/06/2024 03:27:10 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92455' , '17713' , 'FARSI SANTI CON CIO CHE CE - L. EPICOCO' , '2' , '2' , '4' , '12.00' , '12' , '0' , '30' , '16.8000' ) 28/06/2024 03:27:10 pm >> DELETE FROM ps_product_supplier WHERE id_product = '17713' AND id_supplier = '7' 28/06/2024 03:27:10 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17713' , '7' , '1' ) 28/06/2024 03:27:10 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92455' , '16931' , 'ROSARIO CON SAN PIO DA PIETRELCINA' , '5' , '5' , '4' , '3.90' , '3.9' , '0' , '33' , '13.0650' ) 28/06/2024 03:27:10 pm >> DELETE FROM ps_product_supplier WHERE id_product = '16931' AND id_supplier = '7' 28/06/2024 03:27:10 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16931' , '7' , '1' ) 28/06/2024 03:27:10 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92455' , '18923' , 'CI SARANNO SANTI TRA I BAMBINI' , '1' , '1' , '4' , '11.00' , '11' , '0' , '33' , '7.3700' ) 28/06/2024 03:27:10 pm >> DELETE FROM ps_product_supplier WHERE id_product = '18923' AND id_supplier = '7' 28/06/2024 03:27:10 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18923' , '7' , '1' ) 28/06/2024 03:27:10 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92455' , '19618' , 'CARLO ACUTIS' , '1' , '1' , '4' , '4.90' , '4.9' , '0' , '30' , '3.4300' ) 28/06/2024 03:27:10 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19618' AND id_supplier = '7' 28/06/2024 03:27:10 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19618' , '7' , '1' ) 28/06/2024 03:27:10 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92455' , '18288' , 'SE CARLO ACUTIS AVESSE TRENANNI - A. DEHO' , '1' , '1' , '4' , '15.00' , '15' , '0' , '33' , '10.0500' ) 28/06/2024 03:27:10 pm >> DELETE FROM ps_product_supplier WHERE id_product = '18288' AND id_supplier = '7' 28/06/2024 03:27:10 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18288' , '7' , '1' ) 28/06/2024 03:27:10 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92455' , '17286' , 'VIVERE DA ORIGINALI - C. GALATOLO' , '1' , '1' , '4' , '12.00' , '12' , '0' , '30' , '8.4000' ) 28/06/2024 03:27:10 pm >> DELETE FROM ps_product_supplier WHERE id_product = '17286' AND id_supplier = '7' 28/06/2024 03:27:10 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '17286' , '7' , '1' ) 28/06/2024 03:27:10 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92455' , '19513' , 'CARLO ACUTIS - DALLA PISTA .... - M. MUSOLINO' , '1' , '1' , '4' , '12.90' , '12.9' , '0' , '30' , '9.0300' ) 28/06/2024 03:27:10 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19513' AND id_supplier = '7' 28/06/2024 03:27:10 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19513' , '7' , '1' ) 28/06/2024 03:41:05 pm >> SELECT document_num FROM ps_document WHERE document_num = '2122' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-06-28') 28/06/2024 03:41:05 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' , '2122' , '2024-06-28' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '39.00' , '31.97' , NOW() , NOW() ) 28/06/2024 03:41:05 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 = '92456' 28/06/2024 03:41:05 pm >> DELETE FROM ps_document_detail WHERE id_document = '92456' 28/06/2024 03:41: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 ( '92456' , '10475' , 'TEALIGHTS X 50 ' , '10' , '-10' , '1' , '3.90' , '3.1967213114754' , '22' , '0' , '39.00' ) 28/06/2024 03:59:55 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' , '105' , '2024-06-17' , '' , '0' , '126' , '4669995' , 'VIA DELLE INDUSTRIE, 75 06083 BASTIA UMBRA' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '10' , '0' , '207.40' , '170.00' , NOW() , NOW() ) 28/06/2024 03:59:55 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '92457' 28/06/2024 03:59:55 pm >> DELETE FROM ps_document_detail WHERE id_document = '92457' 28/06/2024 03:59:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92457' , '16958' , 'SERVIZIO MESSA M/LINO MARIANO - 6990' , '2' , '2' , '1' , '20' , '16.393442622951' , '22' , '0' , '48.8000' ) 28/06/2024 03:59:55 pm >> DELETE FROM ps_product_supplier WHERE id_product = '16958' AND id_supplier = '126' 28/06/2024 03:59:55 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16958' , '126' , '1' ) 28/06/2024 03:59:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92457' , '18239' , 'SERVIZIO MESSA - MARIANO M/L - 7051' , '2' , '2' , '1' , '25' , '20.491803278689' , '22' , '0' , '61.0000' ) 28/06/2024 03:59:55 pm >> DELETE FROM ps_product_supplier WHERE id_product = '18239' AND id_supplier = '126' 28/06/2024 03:59:55 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18239' , '126' , '1' ) 28/06/2024 03:59:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92457' , '18237' , 'SERVIZIO MESSA VARI COLORI - 8047' , '2' , '2' , '1' , '20' , '16.393442622951' , '22' , '0' , '48.8000' ) 28/06/2024 03:59:55 pm >> DELETE FROM ps_product_supplier WHERE id_product = '18237' AND id_supplier = '126' 28/06/2024 03:59:55 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18237' , '126' , '1' ) 28/06/2024 03:59:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92457' , '19351' , 'SERVIZIO MESSA COTONE - 7050' , '1' , '1' , '1' , '20' , '16.393442622951' , '22' , '0' , '24.4000' ) 28/06/2024 03:59:55 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19351' AND id_supplier = '126' 28/06/2024 03:59:55 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19351' , '126' , '1' ) 28/06/2024 03:59:55 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92457' , '18238' , 'SERVIZIO MESSA - M/LINO - 6799' , '1' , '1' , '1' , '20' , '16.393442622951' , '22' , '0' , '24.4000' ) 28/06/2024 03:59:55 pm >> DELETE FROM ps_product_supplier WHERE id_product = '18238' AND id_supplier = '126' 28/06/2024 03:59:55 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18238' , '126' , '1' ) 28/06/2024 04:00:33 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 ( '32' , '88' , '2024-06-27' , '' , '0' , '126' , '4669995' , 'VIA DELLE INDUSTRIE, 75 06083 BASTIA UMBRA' , '' , '' , '0.00' , '4' , '0' , '0' , '0' , '' , '10' , '0' , '207.40' , '170.00' , NOW() , NOW() ) 28/06/2024 04:00:33 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 = '92458' 28/06/2024 04:00:33 pm >> DELETE FROM ps_document_detail WHERE id_document = '92458' 28/06/2024 04:00:33 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 ( '92458' , '16958' , 'SERVIZIO MESSA M/LINO MARIANO - 6990' , '2' , '0' , '1' , '20.0000' , '16.3934' , '22' , '0' , '48.80' ) 28/06/2024 04:00:33 pm >> DELETE FROM ps_product_supplier WHERE id_product = '16958' AND id_supplier = '126' 28/06/2024 04:00:33 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '16958' , '126' , '1' ) 28/06/2024 04:00:33 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 ( '92458' , '18239' , 'SERVIZIO MESSA - MARIANO M/L - 7051' , '2' , '0' , '1' , '25.0000' , '20.4918' , '22' , '0' , '61.00' ) 28/06/2024 04:00:33 pm >> DELETE FROM ps_product_supplier WHERE id_product = '18239' AND id_supplier = '126' 28/06/2024 04:00:33 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18239' , '126' , '1' ) 28/06/2024 04:00: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 ( '92458' , '18237' , 'SERVIZIO MESSA VARI COLORI - 8047' , '2' , '0' , '1' , '20.0000' , '16.3934' , '22' , '0' , '48.80' ) 28/06/2024 04:00:34 pm >> DELETE FROM ps_product_supplier WHERE id_product = '18237' AND id_supplier = '126' 28/06/2024 04:00:34 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18237' , '126' , '1' ) 28/06/2024 04:00: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 ( '92458' , '19351' , 'SERVIZIO MESSA COTONE - 7050' , '1' , '0' , '1' , '20.0000' , '16.3934' , '22' , '0' , '24.40' ) 28/06/2024 04:00:34 pm >> DELETE FROM ps_product_supplier WHERE id_product = '19351' AND id_supplier = '126' 28/06/2024 04:00:34 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '19351' , '126' , '1' ) 28/06/2024 04:00: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 ( '92458' , '18238' , 'SERVIZIO MESSA - M/LINO - 6799' , '1' , '0' , '1' , '20.0000' , '16.3934' , '22' , '0' , '24.40' ) 28/06/2024 04:00:34 pm >> DELETE FROM ps_product_supplier WHERE id_product = '18238' AND id_supplier = '126' 28/06/2024 04:00:34 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18238' , '126' , '1' ) 28/06/2024 05:14:48 pm >> SELECT document_num FROM ps_document WHERE document_num = '2123' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-06-28') 28/06/2024 05:14:48 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' , '2123' , '2024-06-28' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '39.40' , '35.51' , NOW() , NOW() ) 28/06/2024 05:14:48 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 = '92459' 28/06/2024 05:14:48 pm >> DELETE FROM ps_document_detail WHERE id_document = '92459' 28/06/2024 05:14:48 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 ( '92459' , '5903' , 'LITURGICO ART. 60LT ROSSO SUPER' , '1' , '-1' , '1' , '3.50' , '2.8688524590164' , '22' , '0' , '3.50' ) 28/06/2024 05:14:48 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 ( '92459' , '11757' , 'VINO LIQUOROSO DOLCE - 16%' , '2' , '-2' , '1' , '7.90' , '6.4754098360656' , '22' , '0' , '15.80' ) 28/06/2024 05:14:48 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 ( '92459' , '20431' , 'PARTICOLA TAGLIO CHIUSO 35MM - W500' , '2' , '-2' , '3' , '3.30' , '3.1730769230769' , '4' , '0' , '6.60' ) 28/06/2024 05:14:48 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 ( '92459' , '7311' , 'OSTIA SOTTILE 74MM' , '2' , '-2' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '4.00' ) 28/06/2024 05:14:48 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 ( '92459' , '22414' , 'SULLA TUA PAROLA - LUG/AGO 2024' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 28/06/2024 05:14:48 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 ( '92459' , '22693' , 'SULLA TUA PAROLA - SETT/OTT 2024' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 28/06/2024 06:02:01 pm >> SELECT document_num FROM ps_document WHERE document_num = '2124' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-06-28') 28/06/2024 06:02:01 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' , '2124' , '2024-06-28' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '18.55' , '18.55' , NOW() , NOW() ) 28/06/2024 06:02:01 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 = '92460' 28/06/2024 06:02:01 pm >> DELETE FROM ps_document_detail WHERE id_document = '92460' 28/06/2024 06:02:01 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 ( '92460' , '16931' , 'ROSARIO CON SAN PIO DA PIETRELCINA' , '5' , '-5' , '4' , '3.90' , '3.9' , '0' , '5' , '18.55' ) 28/06/2024 06:31:25 pm >> SELECT document_num FROM ps_document WHERE document_num = '2125' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-06-28') 28/06/2024 06:31:25 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' , '2125' , '2024-06-28' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '214.00' , '177.12' , NOW() , NOW() ) 28/06/2024 06:31:25 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 = '92461' 28/06/2024 06:31:25 pm >> DELETE FROM ps_document_detail WHERE id_document = '92461' 28/06/2024 06:31:25 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 ( '92461' , '22503' , 'ROSARIO PROFUMATO ROSA MIRACOLOSA - 192/RP6' , '10' , '-10' , '1' , '4.90' , '4.016393442623' , '22' , '0' , '49.00' ) 28/06/2024 06:31:25 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 ( '92461' , '20524' , 'CROCE SAN BENEDETTO SMALTATA - CZ4NIK' , '7' , '-7' , '1' , '4.90' , '4.016393442623' , '22' , '0' , '34.30' ) 28/06/2024 06:31:25 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 ( '92461' , '18134' , 'CROCE SAN BENEDETTO CM 7 - CSB3' , '5' , '-5' , '1' , '4.50' , '3.6885245901639' , '22' , '0' , '22.50' ) 28/06/2024 06:31:25 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 ( '92461' , '22489' , 'SACERDOTE DEVE LASCIARSI MODELLARE - A. COMASTRI' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 28/06/2024 06:31:25 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 ( '92461' , '13418' , 'AD RESURGENDUM CUM CHRISTO' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 28/06/2024 06:31:25 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 ( '92461' , '20968' , 'CROCE SAN BENEDETTO - PG598' , '3' , '-3' , '1' , '13.90' , '11.393442622951' , '22' , '0' , '41.70' ) 28/06/2024 06:31:25 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 ( '92461' , '20525' , 'MEDAGLIA SAN BENEDETTO 36MM - M275/A SM' , '5' , '-5' , '1' , '4.20' , '3.4426229508197' , '22' , '0' , '21.00' ) 28/06/2024 06:31:25 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 ( '92461' , '20219' , 'MEDAGLIA SAN BENEDETTO CM 4 - 400/N0216' , '10' , '-10' , '1' , '3.00' , '2.4590163934426' , '22' , '0' , '30.00' ) 28/06/2024 06:31:25 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 ( '92461' , '20526' , 'MEDAGLIA SAN BENEDETTO 36MM - M275/A' , '5' , '-5' , '1' , '1.20' , '0.98360655737705' , '22' , '0' , '6.00' ) 28/06/2024 06:34:29 pm >> SELECT document_num FROM ps_document WHERE document_num = '2126' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-06-28') 28/06/2024 06:34:29 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' , '2126' , '2024-06-28' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '9.50' , '9.50' , NOW() , NOW() ) 28/06/2024 06:34:29 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '92462' 28/06/2024 06:34:29 pm >> DELETE FROM ps_document_detail WHERE id_document = '92462' 28/06/2024 06:34:29 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92462' , '22414' , 'SULLA TUA PAROLA - LUG/AGO 2024' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 28/06/2024 06:34:29 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '92462' , '22693' , 'SULLA TUA PAROLA - SETT/OTT 2024' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 28/06/2024 06:39:35 pm >> SELECT document_num FROM ps_document WHERE document_num = '2125' AND id_document != '92461' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-06-28') 28/06/2024 06:39:35 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '2125', document_date = '2024-06-28', 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 = '214.00', price_tax_excluded = '177.12', date_upd = NOW() WHERE id_document = '92461' 28/06/2024 06:39: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 = '92461' 28/06/2024 06:39:35 pm >> DELETE FROM ps_document_detail WHERE id_document = '92461' 28/06/2024 06:39: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 ( '92461' , '22503' , 'ROSARIO PROFUMATO ROSA MIRACOLOSA - 192/RP6' , '10' , '-10' , '1' , '4.9000' , '4.016393442623' , '22' , '0' , '49.00' ) 28/06/2024 06:39: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 ( '92461' , '20524' , 'CROCE SAN BENEDETTO SMALTATA - CZ4NIK' , '7' , '-7' , '1' , '4.9000' , '4.016393442623' , '22' , '0' , '34.30' ) 28/06/2024 06:39: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 ( '92461' , '18134' , 'CROCE SAN BENEDETTO CM 7 - CSB3' , '5' , '-5' , '1' , '4.5000' , '3.6885245901639' , '22' , '0' , '22.50' ) 28/06/2024 06:39: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 ( '92461' , '22489' , 'SACERDOTE DEVE LASCIARSI MODELLARE - A. COMASTRI' , '1' , '-1' , '4' , '5.0000' , '5' , '0' , '5' , '4.75' ) 28/06/2024 06:39: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 ( '92461' , '13418' , 'AD RESURGENDUM CUM CHRISTO' , '1' , '-1' , '4' , '5.0000' , '5' , '0' , '5' , '4.75' ) 28/06/2024 06:39: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 ( '92461' , '20968' , 'CROCE SAN BENEDETTO - PG598' , '3' , '-3' , '1' , '13.9000' , '11.393442622951' , '22' , '0' , '41.70' ) 28/06/2024 06:39: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 ( '92461' , '20525' , 'MEDAGLIA SAN BENEDETTO 36MM - M275/A SM' , '5' , '-5' , '1' , '4.2000' , '3.4426229508197' , '22' , '0' , '21.00' ) 28/06/2024 06:39: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 ( '92461' , '20219' , 'MEDAGLIA SAN BENEDETTO CM 4 - 400/N0216' , '10' , '-10' , '1' , '3.0000' , '2.4590163934426' , '22' , '0' , '30.00' ) 28/06/2024 06:39: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 ( '92461' , '20526' , 'MEDAGLIA SAN BENEDETTO 36MM - M275/A' , '5' , '-5' , '1' , '1.2000' , '0.98360655737705' , '22' , '0' , '6.00' ) 28/06/2024 06:39: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 ( '92461' , '17784' , 'MEDAGLIA S. BENEDETTO MET. OX - Q 1010-OX' , '1' , '-1' , '1' , '20.00' , '16.393442622951' , '22' , '100' , '0.00' ) 28/06/2024 06:39: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 ( '92461' , '22698' , 'CALENDARIO LITURGICO 2025' , '1' , '-1' , '4' , '0.80' , '0.8' , '0' , '100' , '0.00' ) 28/06/2024 06:40:31 pm >> UPDATE ps_product_shop SET minimal_quantity = '1', multiple_quantity = '1', available_date = '', date_upd = NOW() WHERE id_product = '6346' 28/06/2024 06:40:31 pm >> UPDATE ps_stock_available SET quantity = quantity + '-1' WHERE id_product = '6346' 28/06/2024 07:26:05 pm >> SELECT document_num FROM ps_document WHERE document_num = '2127' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2024-06-28') 28/06/2024 07:26:05 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' , '2127' , '2024-06-28' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '9.50' , '9.50' , NOW() , NOW() ) 28/06/2024 07:26:05 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 = '92463' 28/06/2024 07:26:05 pm >> DELETE FROM ps_document_detail WHERE id_document = '92463' 28/06/2024 07:26: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 ( '92463' , '22414' , 'SULLA TUA PAROLA - LUG/AGO 2024' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 28/06/2024 07:26: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 ( '92463' , '22693' , 'SULLA TUA PAROLA - SETT/OTT 2024' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' )