15/06/2023 08:49:16 am >> SELECT ean13 FROM ps_product WHERE ean13 = '1000000017779' AND id_product != '18348' AND ean13 != '' 15/06/2023 08:49:16 am >> UPDATE ps_product SET id_supplier = '12', reference = '', ean13 = '1000000017779', date_upd = NOW() WHERE id_product = '18348' 15/06/2023 08:49:16 am >> UPDATE ps_product_lang SET name = 'TECA OSTIA MAGNA 17x23 - 823/M', description = '' WHERE id_product = '18348' 15/06/2023 08:49:16 am >> UPDATE ps_product SET wholesale_price = '66.03', on_sale = '0', price = '130.7377049180328' WHERE id_product = '18348' 15/06/2023 08:49:16 am >> UPDATE ps_product_shop SET wholesale_price = '66.03', price = '130.7377049180328', id_tax_rules_group = '1', id_category_default = '147', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '18348' 15/06/2023 08:49:16 am >> DELETE FROM ps_specific_price WHERE id_product = '18348' 15/06/2023 08:50:17 am >> SELECT ean13 FROM ps_product WHERE ean13 = '1000000006742' AND id_product != '778' AND ean13 != '' 15/06/2023 08:50:17 am >> UPDATE ps_product SET id_supplier = '12', reference = '2014', ean13 = '1000000006742', date_upd = NOW() WHERE id_product = '778' 15/06/2023 08:50:17 am >> UPDATE ps_product_lang SET name = 'ASPERGES CON VASETTO O. S. - 1700 ', description = '' WHERE id_product = '778' 15/06/2023 08:50:17 am >> UPDATE ps_product SET wholesale_price = '21.85', on_sale = '0', price = '53.278688524590166' WHERE id_product = '778' 15/06/2023 08:50:17 am >> UPDATE ps_product_shop SET wholesale_price = '21.85', price = '53.278688524590166', id_tax_rules_group = '1', id_category_default = '147', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '778' 15/06/2023 08:50:17 am >> DELETE FROM ps_specific_price WHERE id_product = '778' 15/06/2023 08:51:47 am >> SELECT ean13 FROM ps_product WHERE ean13 = '1000000015324' AND id_product != '12200' AND ean13 != '' 15/06/2023 08:51:47 am >> UPDATE ps_product SET id_supplier = '12', reference = '', ean13 = '1000000015324', date_upd = NOW() WHERE id_product = '12200' 15/06/2023 08:51:47 am >> UPDATE ps_product_lang SET name = 'CANDELIERE FUSO - 643', description = '' WHERE id_product = '12200' 15/06/2023 08:51:47 am >> UPDATE ps_product SET wholesale_price = '6.84', on_sale = '0', price = '17.21311475409836' WHERE id_product = '12200' 15/06/2023 08:51:47 am >> UPDATE ps_product_shop SET wholesale_price = '6.84', price = '17.21311475409836', id_tax_rules_group = '1', id_category_default = '147', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '12200' 15/06/2023 08:51:47 am >> DELETE FROM ps_specific_price WHERE id_product = '12200' 15/06/2023 08:52:06 am >> SELECT ean13 FROM ps_product WHERE ean13 = '1000000015324' AND id_product != '12200' AND ean13 != '' 15/06/2023 08:52:06 am >> UPDATE ps_product SET id_supplier = '12', reference = '', ean13 = '1000000015324', date_upd = NOW() WHERE id_product = '12200' 15/06/2023 08:52:06 am >> UPDATE ps_product_lang SET name = 'CANDELIERE FUSO - 643', description = '' WHERE id_product = '12200' 15/06/2023 08:52:06 am >> UPDATE ps_product SET wholesale_price = '6.84', on_sale = '0', price = '17.21311475409836' WHERE id_product = '12200' 15/06/2023 08:52:06 am >> UPDATE ps_product_shop SET wholesale_price = '6.84', price = '17.21311475409836', id_tax_rules_group = '1', id_category_default = '147', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '12200' 15/06/2023 08:52:06 am >> DELETE FROM ps_specific_price WHERE id_product = '12200' 15/06/2023 08:58:27 am >> SELECT ean13 FROM ps_product WHERE ean13 = '000242' AND id_product != '8935' AND ean13 != '' 15/06/2023 08:58:27 am >> UPDATE ps_product SET id_supplier = '12', reference = '2013', ean13 = '000242', date_upd = NOW() WHERE id_product = '8935' 15/06/2023 08:58:27 am >> UPDATE ps_product_lang SET name = 'RICAMBIO PER TORCIA NIKEL - DIAM. 4 - 32', description = '' WHERE id_product = '8935' 15/06/2023 08:58:27 am >> UPDATE ps_product SET wholesale_price = '14.73', on_sale = '0', price = '31.9672131147541' WHERE id_product = '8935' 15/06/2023 08:58:27 am >> UPDATE ps_product_shop SET wholesale_price = '14.73', price = '31.9672131147541', id_tax_rules_group = '1', id_category_default = '147', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '8935' 15/06/2023 08:58:27 am >> DELETE FROM ps_specific_price WHERE id_product = '8935' 15/06/2023 09:01:15 am >> SELECT ean13 FROM ps_product WHERE ean13 = '001812' AND id_product != '18799' AND ean13 != '' 15/06/2023 09:01:15 am >> UPDATE ps_product SET id_supplier = '12', reference = '', ean13 = '001812', date_upd = NOW() WHERE id_product = '18799' 15/06/2023 09:01:15 am >> UPDATE ps_product_lang SET name = 'PARAFIAMMA PIREX PER CARTUCCIA 4 CM - 474/30', description = '' WHERE id_product = '18799' 15/06/2023 09:01:15 am >> UPDATE ps_product SET wholesale_price = '4.28', on_sale = '0', price = '9.836065573770492' WHERE id_product = '18799' 15/06/2023 09:01:15 am >> UPDATE ps_product_shop SET wholesale_price = '4.28', price = '9.836065573770492', id_tax_rules_group = '1', id_category_default = '147', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '18799' 15/06/2023 09:01:15 am >> DELETE FROM ps_specific_price WHERE id_product = '18799' 15/06/2023 09:06:21 am >> SELECT ean13 FROM ps_product WHERE ean13 = '001812' AND id_product != '18799' AND ean13 != '' 15/06/2023 09:06:21 am >> UPDATE ps_product SET id_supplier = '12', reference = '', ean13 = '001812', date_upd = NOW() WHERE id_product = '18799' 15/06/2023 09:06:21 am >> UPDATE ps_product_lang SET name = 'PARAFIAMMA PIREX PER CARTUCCIA 4 CM - 474/30', description = '' WHERE id_product = '18799' 15/06/2023 09:06:21 am >> UPDATE ps_product SET wholesale_price = '4.28', on_sale = '0', price = '9.01639344262295' WHERE id_product = '18799' 15/06/2023 09:06:21 am >> UPDATE ps_product_shop SET wholesale_price = '4.28', price = '9.01639344262295', id_tax_rules_group = '1', id_category_default = '147', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '18799' 15/06/2023 09:06:21 am >> DELETE FROM ps_specific_price WHERE id_product = '18799' 15/06/2023 09:06:41 am >> SELECT ean13 FROM ps_product WHERE ean13 = '000396' AND id_product != '1751' AND ean13 != '' 15/06/2023 09:06:41 am >> UPDATE ps_product SET id_supplier = '12', reference = '2013', ean13 = '000396', date_upd = NOW() WHERE id_product = '1751' 15/06/2023 09:06:41 am >> UPDATE ps_product_lang SET name = 'CARTUCCIA TRASPARENTE DIAM. 4 - 455', description = '' WHERE id_product = '1751' 15/06/2023 09:06:41 am >> UPDATE ps_product SET wholesale_price = '5.23', on_sale = '0', price = '11.065573770491804' WHERE id_product = '1751' 15/06/2023 09:06:41 am >> UPDATE ps_product_shop SET wholesale_price = '5.23', price = '11.065573770491804', id_tax_rules_group = '1', id_category_default = '147', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '1751' 15/06/2023 09:06:41 am >> DELETE FROM ps_specific_price WHERE id_product = '1751' 15/06/2023 09:07:48 am >> SELECT ean13 FROM ps_product WHERE ean13 = '000396' AND id_product != '1751' AND ean13 != '' 15/06/2023 09:07:48 am >> UPDATE ps_product SET id_supplier = '12', reference = '2013', ean13 = '000396', date_upd = NOW() WHERE id_product = '1751' 15/06/2023 09:07:48 am >> UPDATE ps_product_lang SET name = 'CARTUCCIA TRASPARENTE DIAM. 4 - 455', description = '' WHERE id_product = '1751' 15/06/2023 09:07:48 am >> UPDATE ps_product SET wholesale_price = '5.23', on_sale = '0', price = '11.065573770491804' WHERE id_product = '1751' 15/06/2023 09:07:48 am >> UPDATE ps_product_shop SET wholesale_price = '5.23', price = '11.065573770491804', id_tax_rules_group = '1', id_category_default = '147', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '1751' 15/06/2023 09:07:48 am >> DELETE FROM ps_specific_price WHERE id_product = '1751' 15/06/2023 09:20:09 am >> SELECT ean13 FROM ps_product WHERE ean13 = '000396' AND id_product != '1751' AND ean13 != '' 15/06/2023 09:20:09 am >> UPDATE ps_product SET id_supplier = '12', reference = '2013', ean13 = '000396', date_upd = NOW() WHERE id_product = '1751' 15/06/2023 09:20:09 am >> UPDATE ps_product_lang SET name = 'CARTUCCIA TRASPARENTE DIAM. 4 - 455', description = '' WHERE id_product = '1751' 15/06/2023 09:20:09 am >> UPDATE ps_product SET wholesale_price = '5.23', on_sale = '0', price = '11.065573770491804' WHERE id_product = '1751' 15/06/2023 09:20:09 am >> UPDATE ps_product_shop SET wholesale_price = '5.23', price = '11.065573770491804', id_tax_rules_group = '1', id_category_default = '147', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '1751' 15/06/2023 09:20:09 am >> DELETE FROM ps_specific_price WHERE id_product = '1751' 15/06/2023 09:21:09 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' , '2078' , '2023-06-13' , '' , '0' , '12' , '2607' , 'VIA NAZIONALE NORD, 4 - LAGARO 40035 CASTIGLIONE DEI PEPOLI' , '' , '' , '11' , '1' , '0' , '0' , '0' , '' , '9' , '0' , '283.47' , '232.35' , NOW() , NOW() ) 15/06/2023 09:21:09 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 = '85858' 15/06/2023 09:21:09 am >> DELETE FROM ps_document_detail WHERE id_document = '85858' 15/06/2023 09:21:09 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 ( '85858' , '18348' , 'TECA OSTIA MAGNA 17x23 - 823/M' , '1' , '1' , '1' , '69.5' , '56.967213114754' , '22' , '5' , '80.5505' ) 15/06/2023 09:21:09 am >> DELETE FROM ps_product_supplier WHERE id_product = '18348' AND id_supplier = '12' 15/06/2023 09:21:09 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18348' , '12' , '1' ) 15/06/2023 09:21:09 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 ( '85858' , '778' , 'ASPERGES CON VASETTO O. S. - 1700 ' , '1' , '1' , '1' , '27.5' , '22.540983606557' , '22' , '5' , '31.8725' ) 15/06/2023 09:21:10 am >> DELETE FROM ps_product_supplier WHERE id_product = '778' AND id_supplier = '12' 15/06/2023 09:21:10 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '778' , '12' , '1' ) 15/06/2023 09:21:10 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 ( '85858' , '12200' , 'CANDELIERE FUSO - 643' , '2' , '2' , '1' , '9' , '7.3770491803279' , '22' , '5' , '20.8620' ) 15/06/2023 09:21:10 am >> DELETE FROM ps_product_supplier WHERE id_product = '12200' AND id_supplier = '12' 15/06/2023 09:21:10 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '12200' , '12' , '1' ) 15/06/2023 09:21:10 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 ( '85858' , '8935' , 'RICAMBIO PER TORCIA NIKEL - DIAM. 4 - 32' , '2' , '2' , '1' , '18.5' , '15.16393442623' , '22' , '5' , '42.8830' ) 15/06/2023 09:21:10 am >> DELETE FROM ps_product_supplier WHERE id_product = '8935' AND id_supplier = '12' 15/06/2023 09:21:10 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '8935' , '12' , '1' ) 15/06/2023 09:21:10 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 ( '85858' , '12202' , 'VETRO ANTIVENTO PER F. CAND. DIAM. 4 - 73/40' , '1' , '1' , '1' , '8' , '6.5573770491803' , '22' , '5' , '9.2720' ) 15/06/2023 09:21:10 am >> DELETE FROM ps_product_supplier WHERE id_product = '12202' AND id_supplier = '12' 15/06/2023 09:21:10 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '12202' , '12' , '1' ) 15/06/2023 09:21:10 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 ( '85858' , '18799' , 'PARAFIAMMA PIREX PER CARTUCCIA 4 CM - 474/30' , '4' , '4' , '1' , '4.5' , '3.6885245901639' , '22' , '5' , '20.8620' ) 15/06/2023 09:21:10 am >> DELETE FROM ps_product_supplier WHERE id_product = '18799' AND id_supplier = '12' 15/06/2023 09:21:10 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '18799' , '12' , '1' ) 15/06/2023 09:21:10 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 ( '85858' , '1751' , 'CARTUCCIA TRASPARENTE DIAM. 4 - 455' , '10' , '10' , '1' , '5.5' , '4.5081967213115' , '22' , '5' , '63.7450' ) 15/06/2023 09:21:10 am >> DELETE FROM ps_product_supplier WHERE id_product = '1751' AND id_supplier = '12' 15/06/2023 09:21:10 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '1751' , '12' , '1' ) 15/06/2023 09:37:15 am >> INSERT INTO ps_customer ( id_gender , firstname , lastname , email , passwd , `date_add` , `date_upd` ) VALUES ( '1' , '' , '' , '' , '6Xp6yC3EhpYeiym8' , NOW() , NOW() ) 15/06/2023 09:37:15 am >> INSERT INTO ps_customer_group ( id_customer , id_group ) VALUES ( '4020' , '1' ) 15/06/2023 09:37:15 am >> INSERT INTO ps_customer_group ( id_customer , id_group ) VALUES ( '4020' , '2' ) 15/06/2023 09:37:15 am >> INSERT INTO ps_customer_group ( id_customer , id_group ) VALUES ( '4020' , '3' ) 15/06/2023 09:38:22 am >> UPDATE ps_address SET deleted='1' , active = '0' WHERE id_customer = '4020' 15/06/2023 09:38:22 am >> INSERT INTO ps_address ( id_customer , id_country , id_state , company , lastname , firstname , address1 , address2 , postcode , city , other , phone , phone_mobile , vat_number , dni , date_add , date_upd ) VALUES ( '4020' , '10' , '195' , '' , 'BERTOIA' , 'ROBERTO ' , 'VIA GIOVANNI PASCOLI 13' , '' , '65015' , 'MONTESILVANO' , '' , '' , '3475405688' , '' , '' , NOW() , NOW() ) 15/06/2023 09:38:22 am >> UPDATE ps_customer SET email = 'bermando66@gmail.com', sdi = '', pec = '', date_upd = NOW() WHERE id_customer = '4020' 15/06/2023 09:41:51 am >> SELECT document_num FROM ps_document WHERE document_num = '103' AND id_document != '' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2023-06-15') 15/06/2023 09:41:51 am >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '21' , '103' , '2023-06-15' , '' , '4020' , '0' , '4679052' , 'VIA GIOVANNI PASCOLI 13 65015 MONTESILVANO' , '' , '' , '5' , '4' , '0' , '0' , '0' , '' , '6' , '0' , '19.30' , '19.30' , NOW() , NOW() ) 15/06/2023 09:41:51 am >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '86370' 15/06/2023 09:41:51 am >> DELETE FROM ps_document_detail WHERE id_document = '86370' 15/06/2023 09:41:51 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '86370' , '16603' , 'LIBRO INTENZIONI SANTE MESSE' , '1' , '-1' , '0' , '12.00' , '12' , '' , '5' , '11.40' ) 15/06/2023 09:41:51 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '86370' , '' , 'CONTRASSEGNO' , '1' , '-1' , '0' , '2.9' , '2.9' , '' , '0' , '2.90' ) 15/06/2023 09:54:41 am >> UPDATE ps_address SET deleted='1' , active = '0' WHERE id_customer = '1716' 15/06/2023 09:54:41 am >> INSERT INTO ps_address ( id_customer , id_country , id_state , company , lastname , firstname , address1 , address2 , postcode , city , other , phone , phone_mobile , vat_number , dni , date_add , date_upd ) VALUES ( '1716' , '10' , '148' , '' , 'CORAZZARI ' , 'DON LUCA' , 'VIA EUCLIDE 49' , '' , '66054' , 'VASTO' , '' , '' , '3385707686' , '' , '' , NOW() , NOW() ) 15/06/2023 09:54:41 am >> UPDATE ps_customer SET email = 'corazzariluca@gmail.com', sdi = '', pec = '', date_upd = NOW() WHERE id_customer = '1716' 15/06/2023 09:55:20 am >> UPDATE ps_address SET deleted='1' , active = '0' WHERE id_customer = '1716' 15/06/2023 09:55:20 am >> INSERT INTO ps_address ( id_customer , id_country , id_state , company , lastname , firstname , address1 , address2 , postcode , city , other , phone , phone_mobile , vat_number , dni , date_add , date_upd ) VALUES ( '1716' , '10' , '148' , '' , 'CORAZZARI ' , 'DON LUCA' , 'VIA EUCLIDE 49' , '' , '66054' , 'VASTO' , '' , '' , '3385707686' , '' , '' , NOW() , NOW() ) 15/06/2023 09:55:20 am >> UPDATE ps_customer SET email = 'corazzariluca@gmail.com', sdi = '', pec = '', date_upd = NOW() WHERE id_customer = '1716' 15/06/2023 10:03:23 am >> SELECT document_num FROM ps_document WHERE document_num = '104' AND id_document != '' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2023-06-15') 15/06/2023 10:03:23 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' , '104' , '2023-06-15' , '' , '1716' , '0' , '4679054' , 'VIA EUCLIDE 49 66054 VASTO' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '6' , '0' , '120.12' , '120.12' , NOW() , NOW() ) 15/06/2023 10:03:23 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 = '86371' 15/06/2023 10:03:23 am >> DELETE FROM ps_document_detail WHERE id_document = '86371' 15/06/2023 10:03:23 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 ( '86371' , '4154' , 'FESTA DEL PERDONO' , '1' , '-1' , '4' , '3.00' , '3' , '0' , '5' , '2.85' ) 15/06/2023 10:03:23 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 ( '86371' , '4155' , 'FESTA DEL PERDONO - GUIDA' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 15/06/2023 10:03:23 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 ( '86371' , '4394' , 'GESÙ CI CHIAMA 1 - SCHEDE' , '1' , '-1' , '4' , '3.50' , '3.5' , '0' , '5' , '3.33' ) 15/06/2023 10:03:23 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 ( '86371' , '4393' , 'GESÙ CI CHIAMA 1 - GUIDA' , '1' , '-1' , '4' , '10.00' , '10' , '0' , '5' , '9.50' ) 15/06/2023 10:03:23 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 ( '86371' , '4397' , 'GESÙ CI RIVELA IL PADRE 2 - SCHEDE' , '1' , '-1' , '4' , '3.50' , '3.5' , '0' , '5' , '3.33' ) 15/06/2023 10:03:23 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 ( '86371' , '4396' , 'GESÙ CI RIVELA IL PADRE 2 - GUIDA' , '1' , '-1' , '4' , '10.00' , '10' , '0' , '5' , '9.50' ) 15/06/2023 10:03:23 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 ( '86371' , '5457' , 'IO SONO CON VOI 1 PARTE' , '1' , '-1' , '4' , '2.50' , '2.5' , '0' , '5' , '2.38' ) 15/06/2023 10:03:23 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 ( '86371' , '5458' , 'IO SONO CON VOI 2 PARTE' , '1' , '-1' , '4' , '2.50' , '2.5' , '0' , '5' , '2.38' ) 15/06/2023 10:03:23 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 ( '86371' , '8408' , 'PRENDETE E MANGIATE' , '1' , '-1' , '4' , '3.00' , '3' , '0' , '5' , '2.85' ) 15/06/2023 10:03:23 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 ( '86371' , '8409' , 'PRENDETE E MANGIATE - GUIDA' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 15/06/2023 10:03:23 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 ( '86371' , '8488' , 'PRIMA CONFESSIONE E MESSA PRIMA COMUNIONE' , '1' , '-1' , '4' , '2.40' , '2.4' , '0' , '5' , '2.28' ) 15/06/2023 10:03:23 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 ( '86371' , '8489' , 'PRIMA CONFESSIONE... - GUIDA' , '1' , '-1' , '4' , '8.00' , '8' , '0' , '5' , '7.60' ) 15/06/2023 10:03:23 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 ( '86371' , '11183' , 'VENITE CON ME - GUIDA' , '1' , '-1' , '4' , '6.00' , '6' , '0' , '5' , '5.70' ) 15/06/2023 10:03:23 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 ( '86371' , '11191' , 'VENITE CON ME 1 PARTE' , '1' , '-1' , '4' , '2.50' , '2.5' , '0' , '5' , '2.38' ) 15/06/2023 10:03:23 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 ( '86371' , '11192' , 'VENITE CON ME 2 PARTE' , '1' , '-1' , '4' , '2.50' , '2.5' , '0' , '5' , '2.38' ) 15/06/2023 10:03:23 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 ( '86371' , '9675' , 'SARETE MIEI TESTIMONI' , '1' , '-1' , '4' , '3.50' , '3.5' , '0' , '5' , '3.33' ) 15/06/2023 10:03:23 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 ( '86371' , '9677' , 'SARETE MIEI TESTIMONI - GUIDA' , '1' , '-1' , '4' , '8.00' , '8' , '0' , '5' , '7.60' ) 15/06/2023 10:03:23 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 ( '86371' , '2880' , 'CRESIMA: UN DONO E UN PROGETTO' , '1' , '-1' , '4' , '2.50' , '2.5' , '0' , '5' , '2.38' ) 15/06/2023 10:03:23 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 ( '86371' , '18491' , 'UNA STORIA CHE SALVA VOL. 1' , '1' , '-1' , '4' , '9.00' , '9' , '0' , '5' , '8.55' ) 15/06/2023 10:03:23 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 ( '86371' , '18492' , 'UNA STORIA CHE SALVA VOL. 2' , '1' , '-1' , '4' , '9.00' , '9' , '0' , '5' , '8.55' ) 15/06/2023 10:03:23 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 ( '86371' , '18493' , 'UNA STORIA CHE SALVA VOL. 3' , '1' , '-1' , '4' , '9.00' , '9' , '0' , '5' , '8.55' ) 15/06/2023 10:03:23 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 ( '86371' , '5446' , 'IO SONO CON VOI - GUIDA' , '2' , '-2' , '4' , '8.00' , '8' , '0' , '5' , '15.20' ) 15/06/2023 10:41:48 am >> SELECT document_num FROM ps_document WHERE document_num = '2070' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-06-15') 15/06/2023 10:41: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 ( '11' , '2070' , '2023-06-15' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '47.00' , '45.19' , NOW() , NOW() ) 15/06/2023 10:41: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 = '86372' 15/06/2023 10:41:48 am >> DELETE FROM ps_document_detail WHERE id_document = '86372' 15/06/2023 10:41: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 ( '86372' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '10' , '-10' , '3' , '3.50' , '3.3653846153846' , '4' , '0' , '35.00' ) 15/06/2023 10:41: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 ( '86372' , '16689' , 'OSTIA PAN DI CENA mm80' , '6' , '-6' , '3' , '2.00' , '1.9230769230769' , '4' , '0' , '12.00' ) 15/06/2023 10:53:37 am >> SELECT ean13 FROM ps_product WHERE ean13 = '001061' AND id_product != '14354' AND ean13 != '' 15/06/2023 10:53:38 am >> UPDATE ps_product SET id_supplier = '118', reference = '', ean13 = '001061', date_upd = NOW() WHERE id_product = '14354' 15/06/2023 10:53:38 am >> UPDATE ps_product_lang SET name = 'CAMICE BENEDETTINO LINO - 3010', description = '' WHERE id_product = '14354' 15/06/2023 10:53:38 am >> UPDATE ps_product SET wholesale_price = '54.32', on_sale = '0', price = '117.21311475409836' WHERE id_product = '14354' 15/06/2023 10:53:38 am >> UPDATE ps_product_shop SET wholesale_price = '54.32', price = '117.21311475409836', id_tax_rules_group = '1', id_category_default = '432', id_argoment_default = '42', id_internal_category = '3', on_sale = '0', on_showcase = '0', on_offer = '00', on_most = '00', date_upd = NOW() WHERE id_product = '14354' 15/06/2023 10:53:38 am >> DELETE FROM ps_specific_price WHERE id_product = '14354' 15/06/2023 10:57:54 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' , '261' , '2023-06-13' , '' , '0' , '118' , '4669176' , 'VIALE EUROPA, 102 36075 MONTECCHIO MAGGIORE' , '' , '' , '13.5' , '1' , '0' , '0' , '0' , '' , '9' , '0' , '841.30' , '689.59' , NOW() , NOW() ) 15/06/2023 10:57:54 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 = '86373' 15/06/2023 10:57:54 am >> DELETE FROM ps_document_detail WHERE id_document = '86373' 15/06/2023 10:57:54 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 ( '86373' , '14354' , 'CAMICE BENEDETTINO LINO - 3010' , '8' , '8' , '1' , '59' , '48.360655737705' , '22' , '3' , '558.5648' ) 15/06/2023 10:57:55 am >> DELETE FROM ps_product_supplier WHERE id_product = '14354' AND id_supplier = '118' 15/06/2023 10:57:55 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '14354' , '118' , '1' ) 15/06/2023 10:57:55 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '86373' , '14578' , 'CAMICE GOTICO - MISTO LANA LEGGERO - 328' , '1' , '1' , '1' , '78' , '63.934426229508' , '22' , '3' , '92.3052' ) 15/06/2023 10:57:55 am >> DELETE FROM ps_product_supplier WHERE id_product = '14578' AND id_supplier = '118' 15/06/2023 10:57:55 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '14578' , '118' , '1' ) 15/06/2023 10:57:55 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '86373' , '14577' , 'CAMICE BENEDETTINO COCOLLE - MISTO LANA 328' , '1' , '1' , '1' , '54' , '44.262295081967' , '22' , '3' , '63.9036' ) 15/06/2023 10:57:55 am >> DELETE FROM ps_product_supplier WHERE id_product = '14577' AND id_supplier = '118' 15/06/2023 10:57:55 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '14577' , '118' , '1' ) 15/06/2023 10:57:55 am >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '86373' , '20848' , 'CAMICE MONASTICO CON CAPPUCCIO - 21MON' , '1' , '1' , '1' , '93' , '76.229508196721' , '22' , '3' , '110.0562' ) 15/06/2023 10:57:55 am >> DELETE FROM ps_product_supplier WHERE id_product = '20848' AND id_supplier = '118' 15/06/2023 10:57:55 am >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '20848' , '118' , '1' ) 15/06/2023 12:05:40 pm >> UPDATE ps_address SET deleted='1' , active = '0' WHERE id_customer = '1716' 15/06/2023 12:05:40 pm >> INSERT INTO ps_address ( id_customer , id_country , id_state , company , lastname , firstname , address1 , address2 , postcode , city , other , phone , phone_mobile , vat_number , dni , date_add , date_upd ) VALUES ( '1716' , '10' , '148' , '' , 'CORAZZARI ' , 'DON LUCA' , 'VIA EUCLIDE 49' , '' , '66054' , 'VASTO' , '' , '' , '3385707686' , '' , '' , NOW() , NOW() ) 15/06/2023 12:05:40 pm >> UPDATE ps_customer SET email = 'corazzariluca@gmail.com', sdi = '', pec = '', date_upd = NOW() WHERE id_customer = '1716' 15/06/2023 12:06:50 pm >> SELECT document_num FROM ps_document WHERE document_num = '104' AND id_document != '86371' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2023-06-15') 15/06/2023 12:06:50 pm >> UPDATE ps_document SET id_document_type = '21', document_num = '104', document_date = '2023-06-15', document_letter = '', id_customer = '1716', id_supplier = '', id_address = '4679054', address1 = 'VIA EUCLIDE 49 66054 VASTO', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '6', id_causal = '0', price_tax_included = '128.25', price_tax_excluded = '128.25', date_upd = NOW() WHERE id_document = '86371' 15/06/2023 12:06:50 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 = '86371' 15/06/2023 12:06:50 pm >> DELETE FROM ps_document_detail WHERE id_document = '86371' 15/06/2023 12:06:50 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 ( '86371' , '4154' , 'FESTA DEL PERDONO' , '1' , '-1' , '4' , '3.0000' , '3' , '0' , '5' , '2.85' ) 15/06/2023 12:06:50 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 ( '86371' , '4155' , 'FESTA DEL PERDONO - GUIDA' , '1' , '-1' , '4' , '5.0000' , '5' , '0' , '5' , '4.75' ) 15/06/2023 12:06:50 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 ( '86371' , '4394' , 'GESÙ CI CHIAMA 1 - SCHEDE' , '1' , '-1' , '4' , '3.5000' , '3.5' , '0' , '5' , '3.33' ) 15/06/2023 12:06:50 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 ( '86371' , '4393' , 'GESÙ CI CHIAMA 1 - GUIDA' , '1' , '-1' , '4' , '10.0000' , '10' , '0' , '5' , '9.50' ) 15/06/2023 12:06:50 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 ( '86371' , '4397' , 'GESÙ CI RIVELA IL PADRE 2 - SCHEDE' , '1' , '-1' , '4' , '3.5000' , '3.5' , '0' , '5' , '3.33' ) 15/06/2023 12:06:50 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 ( '86371' , '4396' , 'GESÙ CI RIVELA IL PADRE 2 - GUIDA' , '1' , '-1' , '4' , '10.0000' , '10' , '0' , '5' , '9.50' ) 15/06/2023 12:06:50 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 ( '86371' , '5457' , 'IO SONO CON VOI 1 PARTE' , '1' , '-1' , '4' , '2.5000' , '2.5' , '0' , '5' , '2.38' ) 15/06/2023 12:06:50 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 ( '86371' , '5458' , 'IO SONO CON VOI 2 PARTE' , '1' , '-1' , '4' , '2.5000' , '2.5' , '0' , '5' , '2.38' ) 15/06/2023 12:06:50 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 ( '86371' , '8408' , 'PRENDETE E MANGIATE' , '1' , '-1' , '4' , '3.0000' , '3' , '0' , '5' , '2.85' ) 15/06/2023 12:06:50 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 ( '86371' , '8409' , 'PRENDETE E MANGIATE - GUIDA' , '1' , '-1' , '4' , '5.0000' , '5' , '0' , '5' , '4.75' ) 15/06/2023 12:06:50 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 ( '86371' , '8488' , 'PRIMA CONFESSIONE E MESSA PRIMA COMUNIONE' , '1' , '-1' , '4' , '2.4000' , '2.4' , '0' , '5' , '2.28' ) 15/06/2023 12:06:50 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 ( '86371' , '8489' , 'PRIMA CONFESSIONE... - GUIDA' , '1' , '-1' , '4' , '8.0000' , '8' , '0' , '5' , '7.60' ) 15/06/2023 12:06:50 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 ( '86371' , '11183' , 'VENITE CON ME - GUIDA' , '1' , '-1' , '4' , '6.0000' , '6' , '0' , '5' , '5.70' ) 15/06/2023 12:06:50 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 ( '86371' , '11191' , 'VENITE CON ME 1 PARTE' , '1' , '-1' , '4' , '2.5000' , '2.5' , '0' , '5' , '2.38' ) 15/06/2023 12:06:50 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 ( '86371' , '11192' , 'VENITE CON ME 2 PARTE' , '1' , '-1' , '4' , '2.5000' , '2.5' , '0' , '5' , '2.38' ) 15/06/2023 12:06:50 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 ( '86371' , '9675' , 'SARETE MIEI TESTIMONI' , '1' , '-1' , '4' , '3.5000' , '3.5' , '0' , '5' , '3.33' ) 15/06/2023 12:06:50 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 ( '86371' , '9677' , 'SARETE MIEI TESTIMONI - GUIDA' , '1' , '-1' , '4' , '8.0000' , '8' , '0' , '5' , '7.60' ) 15/06/2023 12:06:50 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 ( '86371' , '2880' , 'CRESIMA: UN DONO E UN PROGETTO' , '1' , '-1' , '4' , '2.5000' , '2.5' , '0' , '5' , '2.38' ) 15/06/2023 12:06:50 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 ( '86371' , '18491' , 'UNA STORIA CHE SALVA VOL. 1' , '1' , '-1' , '4' , '9.0000' , '9' , '0' , '5' , '8.55' ) 15/06/2023 12:06:50 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 ( '86371' , '18492' , 'UNA STORIA CHE SALVA VOL. 2' , '1' , '-1' , '4' , '9.0000' , '9' , '0' , '5' , '8.55' ) 15/06/2023 12:06:50 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 ( '86371' , '18493' , 'UNA STORIA CHE SALVA VOL. 3' , '1' , '-1' , '4' , '9.0000' , '9' , '0' , '5' , '8.55' ) 15/06/2023 12:06:50 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 ( '86371' , '5446' , 'IO SONO CON VOI - GUIDA' , '1' , '-1' , '4' , '8.0000' , '8' , '0' , '5' , '7.60' ) 15/06/2023 12:06:50 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 ( '86371' , '4495' , 'GESÙ RESTA CON NOI 3 - SCHEDE' , '1' , '-1' , '4' , '3.50' , '3.5' , '0' , '5' , '3.33' ) 15/06/2023 12:06:50 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 ( '86371' , '4494' , 'GESÙ RESTA CON NOI 3 - GUIDA' , '1' , '-1' , '4' , '10.00' , '10' , '0' , '5' , '9.50' ) 15/06/2023 12:06:50 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 ( '86371' , '' , 'CONTRASSEGNO' , '1' , '-1' , '4' , '2.9' , '2.9' , '0' , '0' , '2.90' ) 15/06/2023 12:15:21 pm >> SELECT document_num FROM ps_document WHERE document_num = '2071' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-06-15') 15/06/2023 12:15:21 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' , '2071' , '2023-06-15' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '59.00' , '48.36' , NOW() , NOW() ) 15/06/2023 12:15:21 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 = '86374' 15/06/2023 12:15:21 pm >> DELETE FROM ps_document_detail WHERE id_document = '86374' 15/06/2023 12:15:21 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 ( '86374' , '14088' , 'CAMICE IN MICROFIBRA - 429/PMA' , '1' , '-1' , '1' , '59.00' , '48.360655737705' , '22' , '0' , '59.00' ) 15/06/2023 01:09:42 pm >> SELECT document_num FROM ps_document WHERE document_num = '2072' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-06-15') 15/06/2023 01:09: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' , '2072' , '2023-06-15' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '150.00' , '130.32' , NOW() , NOW() ) 15/06/2023 01:09: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 = '86375' 15/06/2023 01:09:42 pm >> DELETE FROM ps_document_detail WHERE id_document = '86375' 15/06/2023 01:09: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 ( '86375' , '4229' , 'FONTI FRANCESCANE - ED. MINOR' , '1' , '-1' , '4' , '32.00' , '32' , '0' , '5' , '30.40' ) 15/06/2023 01:09: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 ( '86375' , '21116' , 'LIBERTA DI ANTONIO - L. EPICOCO' , '1' , '-1' , '4' , '11.00' , '11' , '0' , '5' , '10.45' ) 15/06/2023 01:09: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 ( '86375' , '19430' , 'QUADRO DECORATO 50X35 - R35' , '1' , '-1' , '1' , '109.15' , '89.467213114754' , '22' , '0' , '109.15' ) 15/06/2023 03:25:43 pm >> SELECT document_num FROM ps_document WHERE document_num = '2073' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-06-15') 15/06/2023 03:25:43 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' , '2073' , '2023-06-15' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '55.00' , '47.79' , NOW() , NOW() ) 15/06/2023 03:25:43 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 = '86376' 15/06/2023 03:25:43 pm >> DELETE FROM ps_document_detail WHERE id_document = '86376' 15/06/2023 03:25:43 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 ( '86376' , '21152' , 'BRACCIALE ARG. - 123/124' , '1' , '-1' , '1' , '40.00' , '32.786885245902' , '22' , '0' , '40.00' ) 15/06/2023 03:25:44 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 ( '86376' , '11151' , 'LIBRI' , '1' , '-1' , '4' , '15' , '15' , '0' , '0' , '15.00' ) 15/06/2023 03:30:44 pm >> SELECT document_num FROM ps_document WHERE document_num = '2003' AND id_document != '85773' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-06-09') 15/06/2023 03:30:44 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '2003', document_date = '2023-06-09', 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 = '36.50', price_tax_excluded = '33.32', date_upd = NOW() WHERE id_document = '85773' 15/06/2023 03:30:44 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 = '85773' 15/06/2023 03:30:44 pm >> DELETE FROM ps_document_detail WHERE id_document = '85773' 15/06/2023 03:30:44 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 ( '85773' , '17895' , 'ANELLO FEDI DI SANTA RITA' , '1' , '-1' , '1' , '12.5' , '10.245901639344' , '22' , '0' , '12.50' ) 15/06/2023 03:30:44 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 ( '85773' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '4' , '-4' , '3' , '3.5000' , '3.3653846153846' , '4' , '0' , '14.00' ) 15/06/2023 03:30:44 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 ( '85773' , '16689' , 'OSTIA PAN DI CENA mm80' , '5' , '-5' , '3' , '2.0000' , '1.9230769230769' , '4' , '0' , '10.00' ) 15/06/2023 03:33:00 pm >> SELECT document_num FROM ps_document WHERE document_num = '1654' AND id_document != '84323' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-05-13') 15/06/2023 03:33:00 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '1654', document_date = '2023-05-13', document_letter = '', id_customer = '0', id_supplier = '', id_address = '0', address1 = '', address2 = '', note = '', price_shipping = '0.00', id_tax_shipping_rules = '4', colli = '0', peso = '0', porto_e_imballo = '0', mezzo_consegna = '', id_payment = '0', id_causal = '0', price_tax_included = '65.00', price_tax_excluded = '53.28', date_upd = NOW() WHERE id_document = '84323' 15/06/2023 03:33:00 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 = '84323' 15/06/2023 03:33:00 pm >> DELETE FROM ps_document_detail WHERE id_document = '84323' 15/06/2023 03:33:00 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 ( '84323' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '18' , '14.754098360656' , '22' , '0' , '18.00' ) 15/06/2023 03:33:00 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 ( '84323' , '19772' , 'BRACCIALE ARGENTO/EMATITE - 1374CAV' , '1' , '-1' , '1' , '20.0000' , '16.393442622951' , '22' , '0' , '20.00' ) 15/06/2023 03:33:00 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 ( '84323' , '17607' , 'BRACCIALE BICOLORE ARG.- SL095' , '1' , '-1' , '1' , '27.00' , '22.131147540984' , '22' , '0' , '27.00' ) 15/06/2023 03:34:43 pm >> SELECT document_num FROM ps_document WHERE document_num = '1587' AND id_document != '84245' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-05-09') 15/06/2023 03:34:43 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '1587', document_date = '2023-05-09', 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 = '31.80', price_tax_excluded = '31.80', date_upd = NOW() WHERE id_document = '84245' 15/06/2023 03:34:43 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 = '84245' 15/06/2023 03:34:43 pm >> DELETE FROM ps_document_detail WHERE id_document = '84245' 15/06/2023 03:34:43 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 ( '84245' , '5532' , 'LA SALETTE' , '1' , '-1' , '4' , '4.0000' , '4' , '0' , '5' , '3.80' ) 15/06/2023 03:34:43 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 ( '84245' , '20812' , 'ULTIME PAROLE DI GESU - A. COMASTRI' , '1' , '-1' , '4' , '28.00' , '28' , '0' , '0' , '28.00' ) 15/06/2023 05:40:06 pm >> SELECT document_num FROM ps_document WHERE document_num = '1747' AND id_document != '84434' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-05-19') 15/06/2023 05:40:06 pm >> UPDATE ps_document SET id_document_type = '11', document_num = '1747', document_date = '2023-05-19', 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 = '95.00', price_tax_excluded = '88.69', date_upd = NOW() WHERE id_document = '84434' 15/06/2023 05:40:06 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 = '84434' 15/06/2023 05:40:06 pm >> DELETE FROM ps_document_detail WHERE id_document = '84434' 15/06/2023 05:40:06 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 ( '84434' , '20077' , 'BRACCIALE ARGENTO - 1375CAV' , '1' , '-1' , '1' , '24.5000' , '20.081967213115' , '22' , '0' , '24.50' ) 15/06/2023 05:40:06 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 ( '84434' , '11151' , 'LIBRI' , '1' , '-1' , '4' , '60.0000' , '60' , '0' , '0' , '60.00' ) 15/06/2023 05:40:06 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 ( '84434' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' , '5.45' , '4.4672131147541' , '22' , '' , '5.45' ) 15/06/2023 05:40:06 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 ( '84434' , '18617' , 'MEDAGLIA MIRACOLOSA - OV22/M' , '5' , '-5' , '1' , '0.25' , '0.20491803278689' , '22' , '0' , '1.25' ) 15/06/2023 05:40:06 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 ( '84434' , '18618' , 'MEDAGLIA SAN MICHELE - OV22/MC' , '5' , '-5' , '1' , '0.25' , '0.20491803278689' , '22' , '0' , '1.25' ) 15/06/2023 05:40:06 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 ( '84434' , '6355' , 'MEDAGLIA S. PIO MM 22 - METALLO OX ' , '5' , '-5' , '1' , '0.25' , '0.20491803278689' , '22' , '0' , '1.25' ) 15/06/2023 05:40:06 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 ( '84434' , '3103' , 'CROCE SAN BENEDETTO' , '1' , '-1' , '1' , '1.30' , '1.0655737704918' , '22' , '0' , '1.30' ) 15/06/2023 06:01:43 pm >> SELECT document_num FROM ps_document WHERE document_num = '2074' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-06-15') 15/06/2023 06:01:43 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' , '2074' , '2023-06-15' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '3.10' , '2.54' , NOW() , NOW() ) 15/06/2023 06:01:43 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 = '86377' 15/06/2023 06:01:43 pm >> DELETE FROM ps_document_detail WHERE id_document = '86377' 15/06/2023 06:01:43 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 ( '86377' , '18122' , 'ROCCA STOPPINO M. 100 - 469/100' , '1' , '-1' , '1' , '1.10' , '0.9016393442623' , '22' , '0' , '1.10' ) 15/06/2023 06:01:43 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 ( '86377' , '5002' , 'IMMAGINE STAMPA 35X45 - OGGETTI' , '1' , '-1' , '1' , '2.00' , '1.6393442622951' , '22' , '0' , '2.00' ) 15/06/2023 06:50:11 pm >> SELECT document_num FROM ps_document WHERE document_num = '2075' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-06-15') 15/06/2023 06:50:11 pm >> INSERT INTO ps_document ( id_document_type , document_num , document_date , document_letter , id_customer , id_supplier , id_address , address1 , address2 , note , price_shipping , id_tax_shipping_rules , colli , peso , porto_e_imballo , mezzo_consegna , id_payment , id_causal , price_tax_included , price_tax_excluded , date_add , date_upd ) VALUES ( '11' , '2075' , '2023-06-15' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '5.60' , '5.13' , NOW() , NOW() ) 15/06/2023 06:50:11 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '86378' 15/06/2023 06:50:11 pm >> DELETE FROM ps_document_detail WHERE id_document = '86378' 15/06/2023 06:50:11 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '86378' , '11151' , 'LIBRI' , '1' , '-1' , '4' , '3' , '3' , '0' , '0' , '3.00' ) 15/06/2023 06:50:11 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '86378' , '15261' , 'MEDAGLIA SAN BENEDETTO' , '1' , '-1' , '1' , '1.50' , '1.2295081967213' , '22' , '0' , '1.50' ) 15/06/2023 06:50:11 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '86378' , '9691' , 'SCAPOLARE DEL CARMELO - PICCOLO - 1215/ITA' , '1' , '-1' , '1' , '1.10' , '0.9016393442623' , '22' , '0' , '1.10' ) 15/06/2023 07:16:31 pm >> SELECT document_num FROM ps_document WHERE document_num = '2076' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-06-15') 15/06/2023 07:16:31 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' , '2076' , '2023-06-15' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '4.75' , '4.75' , NOW() , NOW() ) 15/06/2023 07:16:31 pm >> INSERT INTO ps_document_detail_backup ( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total ) SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '86379' 15/06/2023 07:16:31 pm >> DELETE FROM ps_document_detail WHERE id_document = '86379' 15/06/2023 07:16:31 pm >> INSERT INTO ps_document_detail ( id_document , id_product , name , qt , qt_mov , id_tax_rules_group , price_tax_included , price_tax_excluded , tax , discount , price_total ) VALUES ( '86379' , '21037' , 'SULLA TUA PAROLA LUG/AGO 2023' , '1' , '-1' , '4' , '5.00' , '5' , '0' , '5' , '4.75' ) 15/06/2023 07:36:38 pm >> SELECT document_num FROM ps_document WHERE document_num = '2077' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-06-15') 15/06/2023 07:36:38 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' , '2077' , '2023-06-15' , '' , '0' , '0' , '0' , '' , '' , '' , '0' , '4' , '0' , '0' , '0' , '' , '0' , '0' , '11.50' , '10.10' , NOW() , NOW() ) 15/06/2023 07:36:38 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 = '86380' 15/06/2023 07:36:38 pm >> DELETE FROM ps_document_detail WHERE id_document = '86380' 15/06/2023 07:36:38 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 ( '86380' , '17275' , 'TELA 18X25- 2963' , '1' , '-1' , '1' , '7.79' , '6.3852459016393' , '22' , '0' , '7.79' ) 15/06/2023 07:36:38 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 ( '86380' , '9466' , 'SAN GIUSEPPE DA COPERTINO' , '1' , '-1' , '4' , '3.90' , '3.9' , '0' , '5' , '3.71' )