30/12/2022 08:51:03 am >> SELECT document_num FROM ps_document WHERE document_num = '4139' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-12-30') 30/12/2022 08:51:03 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' , '4139' , '2022-12-30' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '15.20' , '15.20' , NOW() , NOW() ) 30/12/2022 08:51:03 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 = '77601' 30/12/2022 08:51:03 am >> DELETE FROM ps_document_detail WHERE id_document = '77601' 30/12/2022 08:51:03 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 ( '77601' , '19512' , 'SGUARDO DI GESU - F. CRISTOFARO' , '1' , '-1' , '4' , '16.00' , '16' , '0' , '5' , '15.20' ) 30/12/2022 08:56:48 am >> SELECT document_num FROM ps_document WHERE document_num = '339' AND id_document != '' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2022-12-30') 30/12/2022 08:56:48 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' , '339' , '2022-12-30' , '' , '3996' , '0' , '4678084' , 'Via Diaz , 131 56024 San Miniato - fraz Ponte a Egola Se fossimo assenti in canonica o in chiesa lasciare articoli al Bar \"le vipere\" poco più avanti Via Diaz 96 (di fronte edicola) ' , '' , '' , '5.00' , '0' , '0' , '0' , '0' , '' , '1' , '0' , '43.00' , '43.00' , NOW() , NOW() ) 30/12/2022 08:56:48 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 = '78113' 30/12/2022 08:56:48 am >> DELETE FROM ps_document_detail WHERE id_document = '78113' 30/12/2022 08:56:48 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 ( '78113' , '12816' , 'LIBRO DEI DEFUNTI' , '1' , '-1' , '0' , '40.0000' , '40' , '' , '5' , '38.00' ) 30/12/2022 08:57:11 am >> UPDATE ps_orders SET current_state = '4', delivery_date = '2022-12-30' WHERE id_order = '411' 30/12/2022 08:57:11 am >> DELETE FROM ps_document WHERE document_num = '411' AND id_document_type = '28' 30/12/2022 09:06:07 am >> SELECT document_num FROM ps_document WHERE document_num = '4140' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-12-30') 30/12/2022 09:06:07 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' , '4140' , '2022-12-30' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '50.80' , '43.44' , NOW() , NOW() ) 30/12/2022 09:06:07 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 = '78114' 30/12/2022 09:06:07 am >> DELETE FROM ps_document_detail WHERE id_document = '78114' 30/12/2022 09:06:07 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 ( '78114' , '17160' , 'CARBONCINI ROSSI - CARRO' , '1' , '-1' , '1' , '10.00' , '8.1967213114754' , '22' , '0' , '10.00' ) 30/12/2022 09:06:07 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 ( '78114' , '7311' , 'OSTIA SOTTILE 74MM' , '2' , '-2' , '3' , '1.90' , '1.8269230769231' , '4' , '0' , '3.80' ) 30/12/2022 09:06:07 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 ( '78114' , '19107' , 'INCENSO GRANI 3A' , '1' , '-1' , '1' , '30.00' , '24.590163934426' , '22' , '0' , '30.00' ) 30/12/2022 09:06:07 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 ( '78114' , '11151' , 'LIBRI' , '2' , '-2' , '4' , '3.5' , '3.5' , '0' , '0' , '7.00' ) 30/12/2022 10:48:31 am >> SELECT document_num FROM ps_document WHERE document_num = '4141' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-12-30') 30/12/2022 10:48:31 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' , '4141' , '2022-12-30' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '5.10' , '4.56' , NOW() , NOW() ) 30/12/2022 10:48:31 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 = '78115' 30/12/2022 10:48:31 am >> DELETE FROM ps_document_detail WHERE id_document = '78115' 30/12/2022 10:48:31 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 ( '78115' , '19323' , 'PREGHIERE DI SANTA BRIGIDA' , '3' , '-3' , '4' , '0.70' , '0.7' , '0' , '0' , '2.10' ) 30/12/2022 10:48:31 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 ( '78115' , '5958' , 'LUCAS 25G - FIORI DARANCIO - EVE ' , '2' , '-2' , '1' , '1.50' , '1.2295081967213' , '22' , '0' , '3.00' ) 30/12/2022 11:26:24 am >> SELECT document_num FROM ps_document WHERE document_num = '4142' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-12-30') 30/12/2022 11:26: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' , '4142' , '2022-12-30' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '13.30' , '10.90' , NOW() , NOW() ) 30/12/2022 11:26: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 = '78116' 30/12/2022 11:26:24 am >> DELETE FROM ps_document_detail WHERE id_document = '78116' 30/12/2022 11:26: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 ( '78116' , '18884' , 'BAMBINELLO CM 10 - PB13627' , '2' , '-2' , '1' , '6.00' , '4.9180327868852' , '22' , '0' , '12.00' ) 30/12/2022 11:26: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 ( '78116' , '20163' , 'QUADRETTO CAMPANA - 23/77C' , '1' , '-1' , '1' , '1.30' , '1.0655737704918' , '22' , '0' , '1.30' ) 30/12/2022 11:28:17 am >> SELECT document_num FROM ps_document WHERE document_num = '4142' AND id_document != '78116' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-12-30') 30/12/2022 11:28:18 am >> UPDATE ps_document SET id_document_type = '11', document_num = '4142', document_date = '2022-12-30', 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 = '13.30', price_tax_excluded = '10.90', date_upd = NOW() WHERE id_document = '78116' 30/12/2022 11:28:18 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '78116' 30/12/2022 11:28:18 am >> DELETE FROM ps_document_detail WHERE id_document = '78116' 30/12/2022 11:28:18 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '78116' , '18884' , 'BAMBINELLO CM 10 - PB13627' , '2' , '-2' , '1' , '6.0000' , '4.9180327868852' , '22' , '0' , '12.00' ) 30/12/2022 11:28:18 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '78116' , '20156' , 'PALLA CON CARTONCINO - 23/64NAT03' , '1' , '-1' , '1' , '1.30' , '1.0655737704918' , '22' , '0' , '1.30' ) 30/12/2022 11:45:53 am >> SELECT document_num FROM ps_document WHERE document_num = '4143' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-12-30') 30/12/2022 11:45:53 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' , '4143' , '2022-12-30' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '59.00' , '50.20' , NOW() , NOW() ) 30/12/2022 11:45:53 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '78117' 30/12/2022 11:45:53 am >> DELETE FROM ps_document_detail WHERE id_document = '78117' 30/12/2022 11:45:53 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '78117' , '4223' , 'FOGLIETTI LA DOMENICA SAN PAOLO' , '1' , '-1' , '4' , '0.70' , '0.7' , '0' , '0' , '0.70' ) 30/12/2022 11:45:53 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '78117' , '20275' , 'SULLA TUA PAROLA GEN/FEB 2023' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 30/12/2022 11:45:53 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '78117' , '20592' , 'SULLA TUA PAROLA MAR/APR 23' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 30/12/2022 11:45:53 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '78117' , '780' , 'ASPERGES MAXI CON CUSTODIA - 700' , '1' , '-1' , '1' , '48' , '39.344262295082' , '22' , '0' , '48.00' ) 30/12/2022 11:45:53 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '78117' , '17004' , 'BIGLIETTO AUGURALE PICCOLO' , '1' , '-1' , '1' , '0.80' , '0.65573770491803' , '22' , '0' , '0.80' ) 30/12/2022 11:57:16 am >> SELECT document_num FROM ps_document WHERE document_num = '4144' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-12-30') 30/12/2022 11:57:16 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' , '4144' , '2022-12-30' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '35.60' , '33.98' , NOW() , NOW() ) 30/12/2022 11:57:16 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 = '78118' 30/12/2022 11:57:16 am >> DELETE FROM ps_document_detail WHERE id_document = '78118' 30/12/2022 11:57:16 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 ( '78118' , '8702' , 'QUANDO IL MAESTRO PARLA AL CUORE - G. COURTOIS' , '2' , '-2' , '4' , '14.00' , '14' , '0' , '5' , '26.60' ) 30/12/2022 11:57:16 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 ( '78118' , '18122' , 'ROCCA STOPPINO M. 100 - 469/100' , '1' , '-1' , '1' , '1.10' , '0.9016393442623' , '22' , '0' , '1.10' ) 30/12/2022 11:57:16 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 ( '78118' , '1914' , 'CERA DELLA LITURGIA' , '1' , '-1' , '1' , '4.90' , '4.016393442623' , '22' , '0' , '4.90' ) 30/12/2022 11:57:16 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 ( '78118' , '1310' , 'BRACCIALE CORDA SAN BENEDETTO' , '1' , '-1' , '1' , '3.00' , '2.4590163934426' , '22' , '0' , '3.00' ) 30/12/2022 12:15:45 pm >> SELECT document_num FROM ps_document WHERE document_num = '4145' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-12-30') 30/12/2022 12:15:45 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' , '4145' , '2022-12-30' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '12.00' , '12.00' , NOW() , NOW() ) 30/12/2022 12:15:45 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 = '78119' 30/12/2022 12:15:45 pm >> DELETE FROM ps_document_detail WHERE id_document = '78119' 30/12/2022 12:15:45 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 ( '78119' , '11151' , 'LIBRI' , '2' , '-2' , '4' , '6' , '6' , '0' , '0' , '12.00' ) 30/12/2022 12:16:08 pm >> SELECT document_num FROM ps_document WHERE document_num = '4146' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-12-30') 30/12/2022 12:16:08 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' , '4146' , '2022-12-30' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '12.26' , '12.26' , NOW() , NOW() ) 30/12/2022 12:16:08 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 = '78120' 30/12/2022 12:16:08 pm >> DELETE FROM ps_document_detail WHERE id_document = '78120' 30/12/2022 12:16:08 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 ( '78120' , '20248' , 'FORZA DELLO SPIRITO - C. MIRANTE' , '1' , '-1' , '4' , '12.90' , '12.9' , '0' , '5' , '12.26' ) 30/12/2022 12:20:34 pm >> SELECT document_num FROM ps_document WHERE document_num = '4147' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-12-30') 30/12/2022 12:20: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' , '4147' , '2022-12-30' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '28.50' , '28.50' , NOW() , NOW() ) 30/12/2022 12:20: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 = '78121' 30/12/2022 12:20:34 pm >> DELETE FROM ps_document_detail WHERE id_document = '78121' 30/12/2022 12:20: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 ( '78121' , '20275' , 'SULLA TUA PAROLA GEN/FEB 2023' , '6' , '-6' , '4' , '5.00' , '5' , '0' , '5' , '28.50' ) 30/12/2022 12:23:16 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' , '4002' , '2022-12-29' , '' , '0' , '79' , '2686' , 'CITTA\\\' DEL VATICANO 00120 CITTA\\\' DEL VATICANO' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '11' , '0' , '129.04' , '129.04' , NOW() , NOW() ) 30/12/2022 12:23:16 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 = '78122' 30/12/2022 12:23:16 pm >> DELETE FROM ps_document_detail WHERE id_document = '78122' 30/12/2022 12:23:16 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 ( '78122' , '9017' , 'RITO DELLA PENITENZA' , '2' , '2' , '4' , '10.50' , '10.5' , '0' , '30' , '14.7000' ) 30/12/2022 12:23:16 pm >> DELETE FROM ps_product_supplier WHERE id_product = '9017' AND id_supplier = '79' 30/12/2022 12:23:16 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '9017' , '79' , '1' ) 30/12/2022 12:23:16 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 ( '78122' , '5762' , 'LEZIONARIO E RITO DEL MATRIMONIO - KIT 2 VOL.' , '1' , '1' , '4' , '25.00' , '25' , '0' , '35' , '16.2500' ) 30/12/2022 12:23:16 pm >> DELETE FROM ps_product_supplier WHERE id_product = '5762' AND id_supplier = '79' 30/12/2022 12:23:16 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5762' , '79' , '1' ) 30/12/2022 12:23:16 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 ( '78122' , '9020' , 'RITO DELLE ESEQUIE - MIN' , '1' , '1' , '4' , '27.00' , '27' , '0' , '30' , '18.9000' ) 30/12/2022 12:23:16 pm >> DELETE FROM ps_product_supplier WHERE id_product = '9020' AND id_supplier = '79' 30/12/2022 12:23:16 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '9020' , '79' , '1' ) 30/12/2022 12:23:16 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 ( '78122' , '9313' , 'SACRAMENTO DELL\'UNZIONE E CURA PASTORALE DEGLI INFERMI' , '2' , '2' , '4' , '15.49' , '15.49' , '0' , '30' , '21.6860' ) 30/12/2022 12:23:16 pm >> DELETE FROM ps_product_supplier WHERE id_product = '9313' AND id_supplier = '79' 30/12/2022 12:23:16 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '9313' , '79' , '1' ) 30/12/2022 12:23:16 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 ( '78122' , '5887' , 'LITURGIA DELLE ORE - VOL. I - PER SACERDOTI E RELIGIOSI' , '1' , '1' , '4' , '35.00' , '35' , '0' , '30' , '24.5000' ) 30/12/2022 12:23:16 pm >> DELETE FROM ps_product_supplier WHERE id_product = '5887' AND id_supplier = '79' 30/12/2022 12:23:16 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '5887' , '79' , '1' ) 30/12/2022 12:23:16 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 ( '78122' , '20578' , 'TOTUM AMORIS EST ' , '30' , '30' , '4' , '2.00' , '2' , '0' , '45' , '33.0000' ) 30/12/2022 12:23:16 pm >> DELETE FROM ps_product_supplier WHERE id_product = '20578' AND id_supplier = '79' 30/12/2022 12:23:16 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20578' , '79' , '1' ) 30/12/2022 01:00:14 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '9788801055658' AND id_product != '3596' AND ean13 != '' 30/12/2022 01:00:14 pm >> UPDATE ps_product SET id_supplier = '', reference = '13/1', ean13 = '9788801055658', date_upd = NOW() WHERE id_product = '3596' 30/12/2022 01:00:14 pm >> UPDATE ps_product_lang SET name = 'DIZIONARIO DI OMILETICA - SODI/TRICCA', description = '' WHERE id_product = '3596' 30/12/2022 01:00:14 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '75.0000' WHERE id_product = '3596' 30/12/2022 01:00:14 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '75.0000', id_tax_rules_group = '4', id_category_default = '19', id_argoment_default = '247', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '3596' 30/12/2022 01:00:14 pm >> DELETE FROM ps_specific_price WHERE id_product = '3596' 30/12/2022 02:37:34 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '9788884047991' AND id_product != '20275' AND ean13 != '' 30/12/2022 02:37:34 pm >> UPDATE ps_product SET id_supplier = '38', reference = '7/3', ean13 = '9788884047991', date_upd = NOW() WHERE id_product = '20275' 30/12/2022 02:37:34 pm >> UPDATE ps_product_lang SET name = 'SULLA TUA PAROLA GEN/FEB 23', description = '' WHERE id_product = '20275' 30/12/2022 02:37:34 pm >> UPDATE ps_product SET wholesale_price = '3.00', on_sale = '0', price = '5.0000' WHERE id_product = '20275' 30/12/2022 02:37:34 pm >> UPDATE ps_product_shop SET wholesale_price = '3.00', price = '5.0000', id_tax_rules_group = '4', id_category_default = '106', 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 = '20275' 30/12/2022 02:37:34 pm >> DELETE FROM ps_specific_price WHERE id_product = '20275' 30/12/2022 02:42:53 pm >> SELECT document_num FROM ps_document WHERE document_num = '2757' AND id_document != '61829' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-09-16') 30/12/2022 02:42:53 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '2757', document_date = '2022-09-16', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = '', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '27.50', price_tax_excluded = '22.54', date_upd = NOW() WHERE id_document = '61829' 30/12/2022 02:42: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 = '61829' 30/12/2022 02:42:53 pm >> DELETE FROM ps_document_detail WHERE id_document = '61829' 30/12/2022 02:42: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 ( '61829' , '1751' , 'CARTUCCIA TRASPARENTE DIAM. 4 - 455' , '1' , '-1' , '1' , '14.0000' , '11.475409836066' , '22' , '0' , '14.00' ) 30/12/2022 02:42: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 ( '61829' , '1312' , 'BRACCIALE DECINA' , '1' , '-1' , '1' , '1.3000' , '1.0655737704918' , '22' , '0' , '1.30' ) 30/12/2022 02:42: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 ( '61829' , '17998' , 'MIRACOLOSA CM 13 - 023 MIR/13E' , '1' , '-1' , '1' , '10.5000' , '8.6065573770492' , '22' , '0' , '10.50' ) 30/12/2022 02:42: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 ( '61829' , '11677' , 'MEDAGLIA MIRACOLOSA - 1311L' , '1' , '-1' , '1' , '1.0000' , '0.81967213114754' , '22' , '0' , '1.00' ) 30/12/2022 02:42: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 ( '61829' , '18620' , 'MEDAGLIA MIRACOLOSA BLU PICCOLA - 022M/SM' , '1' , '-1' , '1' , '0.5000' , '0.40983606557377' , '22' , '0' , '0.50' ) 30/12/2022 02:42: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 ( '61829' , '6355' , 'MEDAGLIA S. PIO MM 22 - METALLO OX ' , '1' , '-1' , '1' , '0.20' , '0.16393442622951' , '22' , '0' , '0.20' ) 30/12/2022 02:51:58 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '9788821545351' AND id_product != '10551' AND ean13 != '' 30/12/2022 02:51:58 pm >> UPDATE ps_product SET id_supplier = '', reference = '13/1', ean13 = '9788821545351', date_upd = NOW() WHERE id_product = '10551' 30/12/2022 02:51:58 pm >> UPDATE ps_product_lang SET name = 'TEOLOGIA', description = '' WHERE id_product = '10551' 30/12/2022 02:51:58 pm >> UPDATE ps_product SET wholesale_price = '64.35', on_sale = '0', price = '170' WHERE id_product = '10551' 30/12/2022 02:51:58 pm >> UPDATE ps_product_shop SET wholesale_price = '64.35', price = '170', id_tax_rules_group = '4', id_category_default = '30', id_argoment_default = '247', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '10551' 30/12/2022 02:51:58 pm >> DELETE FROM ps_specific_price WHERE id_product = '10551' 30/12/2022 02:52:15 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '9788821563416' AND id_product != '6272' AND ean13 != '' 30/12/2022 02:52:15 pm >> UPDATE ps_product SET id_supplier = '7', reference = '13/1', ean13 = '9788821563416', date_upd = NOW() WHERE id_product = '6272' 30/12/2022 02:52:15 pm >> UPDATE ps_product_lang SET name = 'MARIOLOGIA ', description = '' WHERE id_product = '6272' 30/12/2022 02:52:15 pm >> UPDATE ps_product SET wholesale_price = '85.43', on_sale = '0', price = '170' WHERE id_product = '6272' 30/12/2022 02:52:15 pm >> UPDATE ps_product_shop SET wholesale_price = '85.43', price = '170', id_tax_rules_group = '4', id_category_default = '30', id_argoment_default = '247', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '6272' 30/12/2022 02:52:15 pm >> DELETE FROM ps_specific_price WHERE id_product = '6272' 30/12/2022 02:57:26 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '9788821517723' AND id_product != '7165' AND ean13 != '' 30/12/2022 02:57:26 pm >> UPDATE ps_product SET id_supplier = '', reference = '13/1', ean13 = '9788821517723', date_upd = NOW() WHERE id_product = '7165' 30/12/2022 02:57:26 pm >> UPDATE ps_product_lang SET name = 'NUOVO DIZIONARIO DI SPIRITUALITÀ ', description = '' WHERE id_product = '7165' 30/12/2022 02:57:26 pm >> UPDATE ps_product SET wholesale_price = '39.00', on_sale = '0', price = '70' WHERE id_product = '7165' 30/12/2022 02:57:26 pm >> UPDATE ps_product_shop SET wholesale_price = '39.00', price = '70', id_tax_rules_group = '4', id_category_default = '30', id_argoment_default = '247', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '7165' 30/12/2022 02:57:26 pm >> DELETE FROM ps_specific_price WHERE id_product = '7165' 30/12/2022 03:01:08 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '9788810231135' AND id_product != '2620' AND ean13 != '' 30/12/2022 03:01:08 pm >> UPDATE ps_product SET id_supplier = '', reference = '11/7', ean13 = '9788810231135', date_upd = NOW() WHERE id_product = '2620' 30/12/2022 03:01:08 pm >> UPDATE ps_product_lang SET name = 'CONCORDANZA TEMATICA DEL NUOVO TESTAMENTO', description = '' WHERE id_product = '2620' 30/12/2022 03:01:08 pm >> UPDATE ps_product SET wholesale_price = '0.00', on_sale = '0', price = '88.0000' WHERE id_product = '2620' 30/12/2022 03:01:08 pm >> UPDATE ps_product_shop SET wholesale_price = '0.00', price = '88.0000', id_tax_rules_group = '4', id_category_default = '9', id_argoment_default = '20', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '2620' 30/12/2022 03:01:08 pm >> DELETE FROM ps_specific_price WHERE id_product = '2620' 30/12/2022 03:22:09 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '9788811816256' AND id_product != '19630' AND ean13 != '' 30/12/2022 03:22:09 pm >> UPDATE ps_product SET id_supplier = '109', reference = '', ean13 = '9788811816256', date_upd = NOW() WHERE id_product = '19630' 30/12/2022 03:22:09 pm >> UPDATE ps_product_lang SET name = 'BERNADETTE - A. MAGGI', description = '' WHERE id_product = '19630' 30/12/2022 03:22:09 pm >> UPDATE ps_product SET wholesale_price = '13.15', on_sale = '0', price = '18.0000' WHERE id_product = '19630' 30/12/2022 03:22:09 pm >> UPDATE ps_product_shop SET wholesale_price = '13.15', price = '18.0000', id_tax_rules_group = '4', id_category_default = '337', id_argoment_default = '71', id_internal_category = '7', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '19630' 30/12/2022 03:22:09 pm >> DELETE FROM ps_specific_price WHERE id_product = '19630' 30/12/2022 03:29:03 pm >> SELECT document_num FROM ps_document WHERE document_num = '4148' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-12-30') 30/12/2022 03:29:03 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' , '4148' , '2022-12-30' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '23.00' , '19.75' , NOW() , NOW() ) 30/12/2022 03:29:03 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 = '78123' 30/12/2022 03:29:03 pm >> DELETE FROM ps_document_detail WHERE id_document = '78123' 30/12/2022 03:29:03 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '78123' , '1912' , 'CERA DELL\'EREMO - 415/B ' , '3' , '-3' , '1' , '6.00' , '4.9180327868852' , '22' , '0' , '18.00' ) 30/12/2022 03:29:03 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '78123' , '19138' , 'ATTO DI ABBANDONO - D. D. RUOTOLO' , '5' , '-5' , '4' , '1.00' , '1' , '0' , '0' , '5.00' ) 30/12/2022 03:42:02 pm >> DELETE FROM ps_product WHERE id_product = '1670' 30/12/2022 03:42:03 pm >> DELETE FROM ps_product_shop WHERE id_product = '1670' 30/12/2022 03:42:03 pm >> DELETE FROM ps_product_lang WHERE id_product = '1670' 30/12/2022 03:42:03 pm >> DELETE FROM ps_stock_available WHERE id_product = '1670' 30/12/2022 03:44:45 pm >> SELECT document_num FROM ps_document WHERE document_num = '4149' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-12-30') 30/12/2022 03:44:45 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' , '4149' , '2022-12-30' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '29.30' , '24.02' , NOW() , NOW() ) 30/12/2022 03:44:45 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 = '78124' 30/12/2022 03:44:45 pm >> DELETE FROM ps_document_detail WHERE id_document = '78124' 30/12/2022 03:44:45 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 ( '78124' , '15590' , 'ANGELO CON CUORE ARG. - 4214' , '2' , '-2' , '1' , '9.50' , '7.7868852459016' , '22' , '0' , '19.00' ) 30/12/2022 03:44:45 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 ( '78124' , '19921' , 'AGENDA 2023 - 40809' , '1' , '-1' , '1' , '6.7' , '5.4918032786885' , '22' , '0' , '6.70' ) 30/12/2022 03:44:45 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 ( '78124' , '9132' , 'DECINA LEGNO ACERO NATURALE - RG 021-10' , '2' , '-2' , '1' , '0.70' , '0.57377049180328' , '22' , '0' , '1.40' ) 30/12/2022 03:44:45 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 ( '78124' , '18218' , 'DECINA LEGNO CHIARO - FR52' , '2' , '-2' , '1' , '0.60' , '0.49180327868852' , '22' , '0' , '1.20' ) 30/12/2022 03:44:45 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 ( '78124' , '16311' , 'DECINA MISSIONARIA' , '2' , '-2' , '1' , '0.50' , '0.40983606557377' , '22' , '0' , '1.00' ) 30/12/2022 05:13:42 pm >> SELECT document_num FROM ps_document WHERE document_num = '4150' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-12-30') 30/12/2022 05:13:42 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' , '4150' , '2022-12-30' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '2.40' , '2.40' , NOW() , NOW() ) 30/12/2022 05:13:42 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 = '78125' 30/12/2022 05:13:42 pm >> DELETE FROM ps_document_detail WHERE id_document = '78125' 30/12/2022 05:13:42 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 ( '78125' , '11151' , 'LIBRI' , '1' , '-1' , '4' , '2.4' , '2.4' , '0' , '0' , '2.40' ) 30/12/2022 05:15:18 pm >> SELECT document_num FROM ps_document WHERE document_num = '4150' AND id_document != '78125' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-12-30') 30/12/2022 05:15:18 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '4150', document_date = '2022-12-30', 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 = '2.40', price_tax_excluded = '2.40', date_upd = NOW() WHERE id_document = '78125' 30/12/2022 05:15:18 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 = '78125' 30/12/2022 05:15:18 pm >> DELETE FROM ps_document_detail WHERE id_document = '78125' 30/12/2022 05:15:18 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 ( '78125' , '6629' , 'MIA PREGHIERA' , '1' , '-1' , '4' , '0.5' , '0.5' , '0' , '0' , '0.50' ) 30/12/2022 05:15:18 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 ( '78125' , '20578' , 'TOTUM AMORIS EST ' , '1' , '-1' , '4' , '2.00' , '2' , '0' , '5' , '1.90' ) 30/12/2022 05:45:36 pm >> SELECT document_num FROM ps_document WHERE document_num = '4151' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-12-30') 30/12/2022 05:45:36 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '4151' , '2022-12-30' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '11.50' , '11.08' , NOW() , NOW() ) 30/12/2022 05:45:36 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '78126' 30/12/2022 05:45:36 pm >> DELETE FROM ps_document_detail WHERE id_document = '78126' 30/12/2022 05:45:36 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '78126' , '16163' , 'PARTICOLE TAGLIO CHIUSO - PAN DI CENA' , '2' , '-2' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '7.00' ) 30/12/2022 05:45: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 ( '78126' , '16689' , 'OSTIA PAN DI CENA mm80' , '2' , '-2' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '4.00' ) 30/12/2022 05:45: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 ( '78126' , '19920' , 'CALENDARIO LITURGICO 2023 - 8078' , '1' , '-1' , '4' , '0.50' , '0.5' , '0' , '0' , '0.50' ) 30/12/2022 07:53:40 pm >> SELECT document_num FROM ps_document WHERE document_num = '4152' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2022-12-30') 30/12/2022 07:53: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 ( '11' , '4152' , '2022-12-30' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '9.50' , '9.50' , NOW() , NOW() ) 30/12/2022 07:53: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 = '78127' 30/12/2022 07:53:40 pm >> DELETE FROM ps_document_detail WHERE id_document = '78127' 30/12/2022 07:53: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 ( '78127' , '20592' , 'SULLA TUA PAROLA MAR/APR 23' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 30/12/2022 07:53: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 ( '78127' , '20275' , 'SULLA TUA PAROLA GEN/FEB 23' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' )