28/12/2023 08:17:34 am >> SELECT document_num FROM ps_document
WHERE document_num = '322' AND id_document != '' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 08:17:34 am >> INSERT INTO ps_document (
id_document_type ,
document_num ,
document_date ,
document_letter ,
id_customer ,
id_supplier ,
id_address ,
address1 ,
address2 ,
note ,
price_shipping ,
id_tax_shipping_rules ,
colli ,
peso ,
porto_e_imballo ,
mezzo_consegna ,
id_payment ,
id_causal ,
price_tax_included ,
price_tax_excluded ,
date_add ,
date_upd
) VALUES (
'21' ,
'322' ,
'2023-12-28' ,
'' ,
'479' ,
'0' ,
'4679233' ,
'VIA ORAZIO GAVIOLI 3 85100 POTENZA' ,
'' ,
'' ,
'0' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'0' ,
'0' ,
'222.70' ,
'222.70' ,
NOW() ,
NOW() )
28/12/2023 08:17:34 am >> INSERT INTO ps_document_detail_backup
( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total )
SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '89714'
28/12/2023 08:17:34 am >> DELETE FROM ps_document_detail WHERE id_document = '89714'
28/12/2023 08:17:34 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89714' , '5457' , 'IO SONO CON VOI 1 PARTE' , '20' , '-20' , '4' ,
'2.80' , '2.8' , '0' , '15' , '47.60' )
28/12/2023 08:17:34 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89714' , '11191' , 'VENITE CON ME 1 PARTE' , '20' , '-20' , '4' ,
'2.80' , '2.8' , '0' , '15' , '47.60' )
28/12/2023 08:17:34 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89714' , '11192' , 'VENITE CON ME 2 PARTE' , '20' , '-20' , '4' ,
'2.80' , '2.8' , '0' , '15' , '47.60' )
28/12/2023 08:17:34 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89714' , '9675' , 'SARETE MIEI TESTIMONI' , '20' , '-20' , '4' ,
'3.50' , '3.5' , '0' , '15' , '59.50' )
28/12/2023 08:17:34 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89714' , '5446' , 'IO SONO CON VOI - GUIDA' , '1' , '-1' , '4' ,
'8.00' , '8' , '0' , '15' , '6.80' )
28/12/2023 08:17:34 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89714' , '11183' , 'VENITE CON ME - GUIDA' , '1' , '-1' , '4' ,
'8.00' , '8' , '0' , '15' , '6.80' )
28/12/2023 08:17:34 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89714' , '9677' , 'SARETE MIEI TESTIMONI - GUIDA' , '1' , '-1' , '4' ,
'8.00' , '8' , '0' , '15' , '6.80' )
28/12/2023 08:24:59 am >> SELECT document_num FROM ps_document
WHERE document_num = '3751' AND id_document != '89168' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-11-27')
28/12/2023 08:24:59 am >> UPDATE ps_document SET
id_document_type = '11',
document_num = '3751',
document_date = '2023-11-27',
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 = '87.80',
price_tax_excluded = '71.97',
date_upd = NOW()
WHERE id_document = '89168'
28/12/2023 08:24:59 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 = '89168'
28/12/2023 08:24:59 am >> DELETE FROM ps_document_detail WHERE id_document = '89168'
28/12/2023 08:24:59 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
( '89168' , '5903' , 'LITURGICO ART. 60LT ROSSO SUPER' , '2' , '-2' , '1' ,
'2' , '1.6393442622951' , '22' , '0' , '4.00' )
28/12/2023 08:24:59 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
( '89168' , '11757' , 'VINO LIQUOROSO DOLCE - 16%' , '2' , '-2' , '1' ,
'7.9000' , '6.4754098360656' , '22' , '0' , '15.80' )
28/12/2023 08:24:59 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
( '89168' , '12849' , 'LIBRO DELLE SS. MESSE' , '4' , '-4' , '1' ,
'20.00' , '16.393442622951' , '22' , '15' , '68.00' )
28/12/2023 08:26:22 am >> SELECT document_num FROM ps_document
WHERE document_num = '3861' AND id_document != '89322' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-04')
28/12/2023 08:26:22 am >> UPDATE ps_document SET
id_document_type = '11',
document_num = '3861',
document_date = '2023-12-04',
document_letter = '',
id_customer = '0',
id_supplier = '',
id_address = '0',
address1 = '',
address2 = '',
note = '',
price_shipping = '0.00',
id_tax_shipping_rules = '4',
colli = '0',
peso = '0',
porto_e_imballo = '0',
mezzo_consegna = '',
id_payment = '0',
id_causal = '0',
price_tax_included = '319.00',
price_tax_excluded = '261.48',
date_upd = NOW()
WHERE id_document = '89322'
28/12/2023 08:26:22 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 = '89322'
28/12/2023 08:26:22 am >> DELETE FROM ps_document_detail WHERE id_document = '89322'
28/12/2023 08:26:22 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
( '89322' , '21933' , 'FINTA CANDELA CON CARTUCCIA 8X30- 1180' , '6' , '-6' , '1' ,
'40.0000' , '32.786885245902' , '22' , '0' , '240.00' )
28/12/2023 08:26:22 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
( '89322' , '17160' , 'CARBONCINI ROSSI - CARRO' , '1' , '-1' , '1' ,
'10.00' , '8.1967213114754' , '22' , '0' , '10.00' )
28/12/2023 08:26:22 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
( '89322' , '12849' , 'LIBRO DELLE SS. MESSE' , '4' , '-4' , '1' ,
'20.00' , '16.393442622951' , '22' , '15' , '68.00' )
28/12/2023 08:26:22 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
( '89322' , '6355' , 'MEDAGLIA S. PIO MM 22 - METALLO OX ' , '4' , '-4' , '1' ,
'0.25' , '0.20491803278689' , '22' , '0' , '1.00' )
28/12/2023 08:27:42 am >> SELECT document_num FROM ps_document
WHERE document_num = '3886' AND id_document != '89361' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-06')
28/12/2023 08:27:42 am >> UPDATE ps_document SET
id_document_type = '11',
document_num = '3886',
document_date = '2023-12-06',
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 = '132.50',
price_tax_excluded = '112.51',
date_upd = NOW()
WHERE id_document = '89361'
28/12/2023 08:27:43 am >> INSERT INTO ps_document_detail_backup
( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total )
SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '89361'
28/12/2023 08:27:43 am >> DELETE FROM ps_document_detail WHERE id_document = '89361'
28/12/2023 08:27:43 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89361' , '11805' , 'TECA IHS - 823' , '1' , '-1' , '1' ,
'25.0000' , '20.491803278689' , '22' , '0' , '25.00' )
28/12/2023 08:27:43 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89361' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '5' , '-5' , '3' ,
'3.5000' , '3.3653846153846' , '4' , '0' , '17.50' )
28/12/2023 08:27:43 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89361' , '16689' , 'OSTIA PAN DI CENA mm80' , '5' , '-5' , '3' ,
'2.0000' , '1.9230769230769' , '4' , '0' , '10.00' )
28/12/2023 08:27:43 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89361' , '12849' , 'LIBRO DELLE SS. MESSE' , '4' , '-4' , '1' ,
'20.00' , '16.393442622951' , '22' , '15' , '68.00' )
28/12/2023 08:27:43 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89361' , '17160' , 'CARBONCINI ROSSI - CARRO' , '1' , '-1' , '1' ,
'10.00' , '8.1967213114754' , '22' , '0' , '10.00' )
28/12/2023 08:27:43 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89361' , '18618' , 'MEDAGLIA SAN MICHELE - OV22/MC' , '8' , '-8' , '1' ,
'0.25' , '0.20491803278689' , '22' , '0' , '2.00' )
28/12/2023 08:28:06 am >> DELETE FROM ps_document WHERE id_document = '89217'
28/12/2023 08:28:06 am >> DELETE FROM ps_document_detail WHERE id_document = '89217'
28/12/2023 08:45:05 am >> INSERT INTO ps_product ( ean13 , id_tax_rules_group , `date_add` , `date_upd` ) VALUES ( '' , '1' , NOW() , NOW() )
28/12/2023 08:45:05 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '22028' , '1' , '' , 'nuovo-prodotto' )
28/12/2023 08:45:05 am >> INSERT INTO ps_product_shop (
id_product , id_tax_rules_group , id_shop , id_category_default , `date_add` , `date_upd`
) VALUES (
'22028' , '1' , '1' , '2' , NOW() , NOW()
)
28/12/2023 08:45:05 am >> INSERT INTO `ps_stock_available` ( id_product , id_product_attribute , id_shop , id_shop_group , quantity ) VALUES ( '22028' , '0' , '1' , '0' , '0' )
28/12/2023 08:47:27 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9791280736253' AND id_product != '22028' AND ean13 != ''
28/12/2023 08:47:27 am >> UPDATE ps_product SET
id_supplier = '',
reference = '',
ean13 = '9791280736253',
date_upd = NOW()
WHERE id_product = '22028'
28/12/2023 08:47:27 am >> UPDATE ps_product_lang SET
name = 'PRIMA CONFESSIONE E MESSA DI PRIMA COMUNIONE - N.E.',
description = '
Percorso catechistico per la preparazione alla Prima Confessione e alla Messa di Prima Comunione.
Preparare i fanciulli a celebrare con gioia e con frutto il Sacramento del Perdono e la Messa di Prima Comunione è sempre un impegno di grande responsabilità. L’Autore in questo sussidio mette a disposizione la sua collaudata esperienza di parroco, che accompagna i fanciulli della sua comunità a questi incontri fondamentali con Gesù. Per i suoi contenuti sicuri, il contesto ecclesiale, il linguaggio semplice e chiaro, i continui riferimenti biblici e liturgici, questo libretto, rivisto e ripubblicato in seconda edizione, si propone di accompagnare i fanciulli nel conoscere Gesù, affezionarli a lui e vivere nella sua amicizia.
'
WHERE id_product = '22028'
28/12/2023 08:47:27 am >> UPDATE ps_product SET
wholesale_price = '0.00',
on_sale = '0',
price = '3'
WHERE id_product = '22028'
28/12/2023 08:47:27 am >> UPDATE ps_product_shop SET
wholesale_price = '0.00',
price = '3',
id_tax_rules_group = '4',
id_category_default = '395',
id_argoment_default = '242',
id_internal_category = '4',
on_sale = '0',
on_showcase = '1',
on_offer = '00',
on_most = '00',
date_upd = NOW()
WHERE id_product = '22028'
28/12/2023 08:47:27 am >> DELETE FROM ps_specific_price WHERE id_product = '22028'
28/12/2023 08:47:27 am >> INSERT INTO ps_specific_price
( id_specific_price_rule , id_cart , id_product , id_shop , id_shop_group , id_currency , id_country , id_group , id_customer , id_product_attribute , price , from_quantity , reduction , reduction_tax , reduction_type , `from` , `to`)
VALUES
( '0' , '0' , '22028' , '1' , '0' , '0' , '0' , '0' , '0' , '0' , '-1' , '1' , '0.05' , '1' , 'percentage' , '0000-00-00' , '0000-00-00' )
28/12/2023 08:47:35 am >> INSERT INTO ps_product (
id_tax_rules_group , `date_add` , `date_upd`
) SELECT id_tax_rules_group , NOW() , NOW() FROM ps_product WHERE id_product = '22028'
28/12/2023 08:47:35 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '22029' , '1' , '' , 'nuovo-prodotto' )
28/12/2023 08:47:35 am >> INSERT INTO ps_product_shop (
id_product , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , `date_add` , `date_upd`
) SELECT '22029' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '22028'
28/12/2023 08:47:35 am >> INSERT INTO `ps_stock_available` (
id_product , id_product_attribute , id_shop , id_shop_group , quantity
) SELECT '22029' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '22028'
28/12/2023 08:48:46 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9791280736277' AND id_product != '22029' AND ean13 != ''
28/12/2023 08:48:46 am >> UPDATE ps_product SET
id_supplier = '',
reference = '',
ean13 = '9791280736277',
date_upd = NOW()
WHERE id_product = '22029'
28/12/2023 08:48:46 am >> UPDATE ps_product_lang SET
name = 'PREPARIAMOCI ALLA PRIMA CONFESSIONE - POSTER',
description = ''
WHERE id_product = '22029'
28/12/2023 08:48:46 am >> UPDATE ps_product SET
wholesale_price = '0.00',
on_sale = '0',
price = '2'
WHERE id_product = '22029'
28/12/2023 08:48:46 am >> UPDATE ps_product_shop SET
wholesale_price = '0.00',
price = '2',
id_tax_rules_group = '4',
id_category_default = '395',
id_argoment_default = '242',
id_internal_category = '4',
on_sale = '0',
on_showcase = '1',
on_offer = '00',
on_most = '00',
date_upd = NOW()
WHERE id_product = '22029'
28/12/2023 08:48:46 am >> DELETE FROM ps_specific_price WHERE id_product = '22029'
28/12/2023 08:48:46 am >> INSERT INTO ps_specific_price
( id_specific_price_rule , id_cart , id_product , id_shop , id_shop_group , id_currency , id_country , id_group , id_customer , id_product_attribute , price , from_quantity , reduction , reduction_tax , reduction_type , `from` , `to`)
VALUES
( '0' , '0' , '22029' , '1' , '0' , '0' , '0' , '0' , '0' , '0' , '-1' , '1' , '0.05' , '1' , 'percentage' , '0000-00-00' , '0000-00-00' )
28/12/2023 08:48:49 am >> INSERT INTO ps_product (
id_tax_rules_group , `date_add` , `date_upd`
) SELECT id_tax_rules_group , NOW() , NOW() FROM ps_product WHERE id_product = '22029'
28/12/2023 08:48:49 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '22030' , '1' , '' , 'nuovo-prodotto' )
28/12/2023 08:48:49 am >> INSERT INTO ps_product_shop (
id_product , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , `date_add` , `date_upd`
) SELECT '22030' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '22029'
28/12/2023 08:48:49 am >> INSERT INTO `ps_stock_available` (
id_product , id_product_attribute , id_shop , id_shop_group , quantity
) SELECT '22030' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '22029'
28/12/2023 08:49:56 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9791280736284' AND id_product != '22030' AND ean13 != ''
28/12/2023 08:49:56 am >> UPDATE ps_product SET
id_supplier = '',
reference = '',
ean13 = '9791280736284',
date_upd = NOW()
WHERE id_product = '22030'
28/12/2023 08:49:57 am >> UPDATE ps_product_lang SET
name = 'PREPARIAMOCI ALLA PRIMA COMUNIONE - POSTER',
description = 'Poster a colori che riproduce in modo visivo i vari momenti della celebrazione della MESSA DI PRIMA COMUNIONE.
Appeso alle pareti dei luoghi dove si fa catechismo è di aiuto nella spiegazione ai ragazzi di questo sacramento.
'
WHERE id_product = '22030'
28/12/2023 08:49:57 am >> UPDATE ps_product SET
wholesale_price = '0.00',
on_sale = '0',
price = '2'
WHERE id_product = '22030'
28/12/2023 08:49:57 am >> UPDATE ps_product_shop SET
wholesale_price = '0.00',
price = '2',
id_tax_rules_group = '4',
id_category_default = '395',
id_argoment_default = '242',
id_internal_category = '4',
on_sale = '0',
on_showcase = '1',
on_offer = '00',
on_most = '00',
date_upd = NOW()
WHERE id_product = '22030'
28/12/2023 08:49:57 am >> DELETE FROM ps_specific_price WHERE id_product = '22030'
28/12/2023 08:49:57 am >> INSERT INTO ps_specific_price
( id_specific_price_rule , id_cart , id_product , id_shop , id_shop_group , id_currency , id_country , id_group , id_customer , id_product_attribute , price , from_quantity , reduction , reduction_tax , reduction_type , `from` , `to`)
VALUES
( '0' , '0' , '22030' , '1' , '0' , '0' , '0' , '0' , '0' , '0' , '-1' , '1' , '0.05' , '1' , 'percentage' , '0000-00-00' , '0000-00-00' )
28/12/2023 08:50:00 am >> INSERT INTO ps_product (
id_tax_rules_group , `date_add` , `date_upd`
) SELECT id_tax_rules_group , NOW() , NOW() FROM ps_product WHERE id_product = '22030'
28/12/2023 08:50:00 am >> INSERT INTO ps_product_lang ( id_product , id_lang , name , link_rewrite ) VALUES ( '22031' , '1' , '' , 'nuovo-prodotto' )
28/12/2023 08:50:00 am >> INSERT INTO ps_product_shop (
id_product , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , `date_add` , `date_upd`
) SELECT '22031' , id_tax_rules_group , id_shop , id_category_default , id_argoment_default , id_internal_category , NOW() , NOW() FROM ps_product_shop WHERE id_product = '22030'
28/12/2023 08:50:00 am >> INSERT INTO `ps_stock_available` (
id_product , id_product_attribute , id_shop , id_shop_group , quantity
) SELECT '22031' , id_product_attribute , id_shop , id_shop_group , '0' FROM ps_stock_available WHERE id_product = '22030'
28/12/2023 08:50:52 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9791280736277' AND id_product != '22029' AND ean13 != ''
28/12/2023 08:50:52 am >> UPDATE ps_product SET
id_supplier = '',
reference = '',
ean13 = '9791280736277',
date_upd = NOW()
WHERE id_product = '22029'
28/12/2023 08:50:52 am >> UPDATE ps_product_lang SET
name = 'PREPARIAMOCI ALLA PRIMA CONFESSIONE - POSTER',
description = 'Poster a colori che riproduce in modo visivo i vari momenti della celebrazione della PRIMA CONFESSIONE.
Appeso alle pareti dei luoghi dove si fa catechismo è di aiuto nella spiegazione ai ragazzi di questo sacramento.
'
WHERE id_product = '22029'
28/12/2023 08:50:52 am >> UPDATE ps_product SET
wholesale_price = '0.00',
on_sale = '0',
price = '2.0000'
WHERE id_product = '22029'
28/12/2023 08:50:52 am >> UPDATE ps_product_shop SET
wholesale_price = '0.00',
price = '2.0000',
id_tax_rules_group = '4',
id_category_default = '395',
id_argoment_default = '242',
id_internal_category = '4',
on_sale = '0',
on_showcase = '1',
on_offer = '00',
on_most = '00',
date_upd = NOW()
WHERE id_product = '22029'
28/12/2023 08:50:52 am >> DELETE FROM ps_specific_price WHERE id_product = '22029'
28/12/2023 08:50:52 am >> INSERT INTO ps_specific_price
( id_specific_price_rule , id_cart , id_product , id_shop , id_shop_group , id_currency , id_country , id_group , id_customer , id_product_attribute , price , from_quantity , reduction , reduction_tax , reduction_type , `from` , `to`)
VALUES
( '0' , '0' , '22029' , '1' , '0' , '0' , '0' , '0' , '0' , '0' , '-1' , '1' , '0.05' , '1' , 'percentage' , '0000-00-00' , '0000-00-00' )
28/12/2023 08:52:37 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9791280736260' AND id_product != '22031' AND ean13 != ''
28/12/2023 08:52:37 am >> UPDATE ps_product SET
id_supplier = '',
reference = '',
ean13 = '9791280736260',
date_upd = NOW()
WHERE id_product = '22031'
28/12/2023 08:52:37 am >> UPDATE ps_product_lang SET
name = 'GLI ULTIMI SARANNO PRIMI - R. LUPI',
description = 'Mediteremo le stazioni di questa Via Crucis contemplando gli ultimi, quelli che comunemente si chiamano anche “poveri cristi”: sicuramente ci ritroveremo un po’ anche noi in questi personaggi. Questa Via Crucis allora è un’occasione per pregare per queste persone, pensiamoci bene a quante ne abbiamo conosciute e a quante ne incontriamo. È un viaggio nelle “periferie” del vivere.
'
WHERE id_product = '22031'
28/12/2023 08:52:37 am >> UPDATE ps_product SET
wholesale_price = '0.00',
on_sale = '0',
price = '2.5'
WHERE id_product = '22031'
28/12/2023 08:52:37 am >> UPDATE ps_product_shop SET
wholesale_price = '0.00',
price = '2.5',
id_tax_rules_group = '4',
id_category_default = '395',
id_argoment_default = '50',
id_internal_category = '4',
on_sale = '0',
on_showcase = '0',
on_offer = '00',
on_most = '00',
date_upd = NOW()
WHERE id_product = '22031'
28/12/2023 08:52:37 am >> DELETE FROM ps_specific_price WHERE id_product = '22031'
28/12/2023 08:52:37 am >> INSERT INTO ps_specific_price
( id_specific_price_rule , id_cart , id_product , id_shop , id_shop_group , id_currency , id_country , id_group , id_customer , id_product_attribute , price , from_quantity , reduction , reduction_tax , reduction_type , `from` , `to`)
VALUES
( '0' , '0' , '22031' , '1' , '0' , '0' , '0' , '0' , '0' , '0' , '-1' , '1' , '0.05' , '1' , 'percentage' , '0000-00-00' , '0000-00-00' )
28/12/2023 08:52:49 am >> SELECT ean13 FROM ps_product WHERE ean13 = '9791280736260' AND id_product != '22031' AND ean13 != ''
28/12/2023 08:52:49 am >> UPDATE ps_product SET
id_supplier = '',
reference = '',
ean13 = '9791280736260',
date_upd = NOW()
WHERE id_product = '22031'
28/12/2023 08:52:49 am >> UPDATE ps_product_lang SET
name = 'GLI ULTIMI SARANNO PRIMI - R. LUPI',
description = 'Mediteremo le stazioni di questa Via Crucis contemplando gli ultimi, quelli che comunemente si chiamano anche “poveri cristi”: sicuramente ci ritroveremo un po’ anche noi in questi personaggi. Questa Via Crucis allora è un’occasione per pregare per queste persone, pensiamoci bene a quante ne abbiamo conosciute e a quante ne incontriamo. È un viaggio nelle “periferie” del vivere.
'
WHERE id_product = '22031'
28/12/2023 08:52:49 am >> UPDATE ps_product SET
wholesale_price = '0.00',
on_sale = '0',
price = '2.5'
WHERE id_product = '22031'
28/12/2023 08:52:49 am >> UPDATE ps_product_shop SET
wholesale_price = '0.00',
price = '2.5',
id_tax_rules_group = '4',
id_category_default = '395',
id_argoment_default = '50',
id_internal_category = '4',
on_sale = '0',
on_showcase = '1',
on_offer = '00',
on_most = '00',
date_upd = NOW()
WHERE id_product = '22031'
28/12/2023 08:52:49 am >> DELETE FROM ps_specific_price WHERE id_product = '22031'
28/12/2023 08:52:49 am >> INSERT INTO ps_specific_price
( id_specific_price_rule , id_cart , id_product , id_shop , id_shop_group , id_currency , id_country , id_group , id_customer , id_product_attribute , price , from_quantity , reduction , reduction_tax , reduction_type , `from` , `to`)
VALUES
( '0' , '0' , '22031' , '1' , '0' , '0' , '0' , '0' , '0' , '0' , '-1' , '1' , '0.05' , '1' , 'percentage' , '0000-00-00' , '0000-00-00' )
28/12/2023 09:54:21 am >> SELECT document_num FROM ps_document
WHERE document_num = '4182' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 09:54:21 am >> INSERT INTO ps_document (
id_document_type ,
document_num ,
document_date ,
document_letter ,
id_customer ,
id_supplier ,
id_address ,
address1 ,
address2 ,
note ,
price_shipping ,
id_tax_shipping_rules ,
colli ,
peso ,
porto_e_imballo ,
mezzo_consegna ,
id_payment ,
id_causal ,
price_tax_included ,
price_tax_excluded ,
date_add ,
date_upd
) VALUES (
'11' ,
'4182' ,
'2023-12-28' ,
'' ,
'0' ,
'0' ,
'0' ,
'' ,
'' ,
'' ,
'0' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'0' ,
'0' ,
'380.00' ,
'367.32' ,
NOW() ,
NOW() )
28/12/2023 09:54:21 am >> INSERT INTO ps_document_detail_backup
( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total )
SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '89715'
28/12/2023 09:54:21 am >> DELETE FROM ps_document_detail WHERE id_document = '89715'
28/12/2023 09:54:21 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89715' , '5444' , 'IO SONO CON VOI - CAT.' , '20' , '-20' , '4' ,
'5.50' , '5.5' , '0' , '5' , '104.60' )
28/12/2023 09:54:21 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89715' , '11193' , 'VENITE CON ME CAT.' , '20' , '-20' , '4' ,
'5.50' , '5.5' , '0' , '5' , '104.60' )
28/12/2023 09:54:21 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89715' , '9676' , 'SARETE MIEI TESTIMONI - CAT.' , '15' , '-15' , '4' ,
'5.50' , '5.5' , '0' , '5' , '78.45' )
28/12/2023 09:54:21 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89715' , '12819' , 'REGISTRO DEL CATECHISTA ' , '10' , '-10' , '1' ,
'1.00' , '0.81967213114754' , '22' , '5' , '9.50' )
28/12/2023 09:54:21 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89715' , '20433' , 'PARTICOLA MORREALE 38MM - PTC38S' , '5' , '-5' , '3' ,
'3.50' , '3.3653846153846' , '4' , '0' , '17.50' )
28/12/2023 09:54:21 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89715' , '18748' , 'OSTIA MAGNA 125 - OM 125' , '1' , '-1' , '3' ,
'4.50' , '4.3269230769231' , '4' , '0' , '4.50' )
28/12/2023 09:54:21 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89715' , '20429' , 'OSTIA SENZA TOSTATURA MORREALE - OS25' , '3' , '-3' , '3' ,
'2.00' , '1.9230769230769' , '4' , '0' , '6.00' )
28/12/2023 09:54:21 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89715' , '19997' , 'GESU BAMBINO CM 34 - BJ140-34E' , '1' , '-1' , '1' ,
'54.85' , '44.959016393443' , '22' , '0' , '54.85' )
28/12/2023 09:54:43 am >> SELECT document_num FROM ps_document
WHERE document_num = '322' AND id_document != '89714' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 09:54:43 am >> UPDATE ps_document SET
id_document_type = '21',
document_num = '322',
document_date = '2023-12-28',
document_letter = '',
id_customer = '479',
id_supplier = '',
id_address = '4679233',
address1 = 'VIA ORAZIO GAVIOLI 3 85100 POTENZA',
address2 = '',
note = '',
price_shipping = '0.00',
id_tax_shipping_rules = '4',
colli = '0',
peso = '0',
porto_e_imballo = '0',
mezzo_consegna = '',
id_payment = '1',
id_causal = '0',
price_tax_included = '222.70',
price_tax_excluded = '222.70',
date_upd = NOW()
WHERE id_document = '89714'
28/12/2023 09:54:43 am >> INSERT INTO ps_document_detail_backup
( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total )
SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '89714'
28/12/2023 09:54:43 am >> DELETE FROM ps_document_detail WHERE id_document = '89714'
28/12/2023 09:54:43 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89714' , '5457' , 'IO SONO CON VOI 1 PARTE' , '20' , '-20' , '4' ,
'2.8000' , '2.8' , '0' , '15' , '47.60' )
28/12/2023 09:54:43 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89714' , '11191' , 'VENITE CON ME 1 PARTE' , '20' , '-20' , '4' ,
'2.8000' , '2.8' , '0' , '15' , '47.60' )
28/12/2023 09:54:43 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89714' , '11192' , 'VENITE CON ME 2 PARTE' , '20' , '-20' , '4' ,
'2.8000' , '2.8' , '0' , '15' , '47.60' )
28/12/2023 09:54:43 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89714' , '9675' , 'SARETE MIEI TESTIMONI' , '20' , '-20' , '4' ,
'3.5000' , '3.5' , '0' , '15' , '59.50' )
28/12/2023 09:54:43 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89714' , '5446' , 'IO SONO CON VOI - GUIDA' , '1' , '-1' , '4' ,
'8.0000' , '8' , '0' , '15' , '6.80' )
28/12/2023 09:54:43 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89714' , '11183' , 'VENITE CON ME - GUIDA' , '1' , '-1' , '4' ,
'8.0000' , '8' , '0' , '15' , '6.80' )
28/12/2023 09:54:43 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89714' , '9677' , 'SARETE MIEI TESTIMONI - GUIDA' , '1' , '-1' , '4' ,
'8.0000' , '8' , '0' , '15' , '6.80' )
28/12/2023 09:55:45 am >> SELECT document_num FROM ps_document
WHERE document_num = '322' AND id_document != '89714' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 09:55:45 am >> UPDATE ps_document SET
id_document_type = '21',
document_num = '322',
document_date = '2023-12-28',
document_letter = '',
id_customer = '479',
id_supplier = '',
id_address = '4679233',
address1 = 'VIA ORAZIO GAVIOLI 3 85100 POTENZA',
address2 = '',
note = '',
price_shipping = '-2.7',
id_tax_shipping_rules = '4',
colli = '0',
peso = '0',
porto_e_imballo = '0',
mezzo_consegna = '',
id_payment = '1',
id_causal = '0',
price_tax_included = '220.00',
price_tax_excluded = '220.00',
date_upd = NOW()
WHERE id_document = '89714'
28/12/2023 09:55:45 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 = '89714'
28/12/2023 09:55:45 am >> DELETE FROM ps_document_detail WHERE id_document = '89714'
28/12/2023 09:55:45 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
( '89714' , '5457' , 'IO SONO CON VOI 1 PARTE' , '20' , '-20' , '4' ,
'2.8000' , '2.8' , '0' , '15' , '47.60' )
28/12/2023 09:55:45 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
( '89714' , '11191' , 'VENITE CON ME 1 PARTE' , '20' , '-20' , '4' ,
'2.8000' , '2.8' , '0' , '15' , '47.60' )
28/12/2023 09:55:45 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
( '89714' , '11192' , 'VENITE CON ME 2 PARTE' , '20' , '-20' , '4' ,
'2.8000' , '2.8' , '0' , '15' , '47.60' )
28/12/2023 09:55:45 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
( '89714' , '9675' , 'SARETE MIEI TESTIMONI' , '20' , '-20' , '4' ,
'3.5000' , '3.5' , '0' , '15' , '59.50' )
28/12/2023 09:55:45 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
( '89714' , '5446' , 'IO SONO CON VOI - GUIDA' , '1' , '-1' , '4' ,
'8.0000' , '8' , '0' , '15' , '6.80' )
28/12/2023 09:55:45 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
( '89714' , '11183' , 'VENITE CON ME - GUIDA' , '1' , '-1' , '4' ,
'8.0000' , '8' , '0' , '15' , '6.80' )
28/12/2023 09:55:45 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
( '89714' , '9677' , 'SARETE MIEI TESTIMONI - GUIDA' , '1' , '-1' , '4' ,
'8.0000' , '8' , '0' , '15' , '6.80' )
28/12/2023 10:06:39 am >> SELECT document_num FROM ps_document
WHERE document_num = '4183' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 10:06:39 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' ,
'4183' ,
'2023-12-28' ,
'' ,
'0' ,
'0' ,
'0' ,
'' ,
'' ,
'' ,
'0' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'0' ,
'0' ,
'16.56' ,
'16.56' ,
NOW() ,
NOW() )
28/12/2023 10:06:39 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 = '89716'
28/12/2023 10:06:39 am >> DELETE FROM ps_document_detail WHERE id_document = '89716'
28/12/2023 10:06:39 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
( '89716' , '21934' , 'TI VOGLIO BENE - PAPA FRANCESCO' , '1' , '-1' , '4' ,
'16.90' , '16.9' , '0' , '5' , '16.06' )
28/12/2023 10:06:39 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
( '89716' , '21196' , 'CALENDARIO LITURGICO 2024' , '1' , '-1' , '4' ,
'0.50' , '0.5' , '0' , '0' , '0.50' )
28/12/2023 10:18:45 am >> SELECT document_num FROM ps_document
WHERE document_num = '4184' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 10:18:45 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' ,
'4184' ,
'2023-12-28' ,
'' ,
'0' ,
'0' ,
'0' ,
'' ,
'' ,
'' ,
'0' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'0' ,
'0' ,
'69.40' ,
'56.89' ,
NOW() ,
NOW() )
28/12/2023 10:18:45 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 = '89717'
28/12/2023 10:18:45 am >> DELETE FROM ps_document_detail WHERE id_document = '89717'
28/12/2023 10:18:45 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
( '89717' , '12816' , 'LIBRO DEI DEFUNTI' , '1' , '-1' , '1' ,
'40.00' , '32.786885245902' , '22' , '10' , '36.00' )
28/12/2023 10:18:45 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
( '89717' , '1914' , 'CERA DELLA LITURGIA' , '1' , '-1' , '1' ,
'4.90' , '4.016393442623' , '22' , '0' , '4.90' )
28/12/2023 10:18:45 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
( '89717' , '18339' , 'CROCE SAN BENEDETTO - CZ10NIK - VARI COLORI' , '1' , '-1' , '1' ,
'11.00' , '9.016393442623' , '22' , '0' , '11.00' )
28/12/2023 10:18:45 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
( '89717' , '15498' , 'CROCE SAN BENEDETTO SMALTATA - CZ5NIK' , '1' , '-1' , '1' ,
'17.50' , '14.344262295082' , '22' , '0' , '17.50' )
28/12/2023 10:25:28 am >> SELECT document_num FROM ps_document
WHERE document_num = '307' AND id_document != '89320' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2023-12-04')
28/12/2023 10:25:29 am >> UPDATE ps_document SET
id_document_type = '21',
document_num = '307',
document_date = '2023-12-04',
document_letter = '',
id_customer = '4064',
id_supplier = '',
id_address = '4679209',
address1 = 'PIAZZA STEFANO FERRERI 2/B 12080 VICOFORTE',
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 = '113.24',
price_tax_excluded = '113.24',
date_upd = NOW()
WHERE id_document = '89320'
28/12/2023 10:25:29 am >> INSERT INTO ps_document_detail_backup
( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total )
SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '89320'
28/12/2023 10:25:29 am >> DELETE FROM ps_document_detail WHERE id_document = '89320'
28/12/2023 10:25:29 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89320' , '13505' , 'CELEBRIAMO IL SACRAMENTO DEL PERDONO' , '200' , '-200' , '0' ,
'0.5000' , '0.5' , '0' , '5' , '95.00' )
28/12/2023 10:25:29 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89320' , '19728' , 'MOSTRATI MADRE - V. SALVOLDI' , '1' , '-1' , '4' ,
'4.5000' , '4.5' , '0' , '5' , '4.28' )
28/12/2023 10:25:29 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89320' , '16050' , 'BELLEZZA DELLA CELEBRAZIONE EUCARISTICA ' , '1' , '-1' , '4' ,
'3.5000' , '3.5' , '0' , '5' , '3.33' )
28/12/2023 10:25:29 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89320' , '15020' , 'PREGARE OGNI GIORNO' , '1' , '-1' , '4' ,
'0.6' , '0.6' , '0' , '0' , '0.60' )
28/12/2023 10:25:29 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89320' , '16665' , 'VIA CRUCIS Dialogata per comunità parrocchiali' , '1' , '-1' , '4' ,
'1.0000' , '1' , '0' , '5' , '0.95' )
28/12/2023 10:25:29 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89320' , '18528' , 'CON GESU\' VERSO IL CALVARIO - G. VALSECCHI' , '1' , '-1' , '4' ,
'1.5000' , '1.5' , '0' , '5' , '1.43' )
28/12/2023 10:25:29 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89320' , '16667' , 'VIA CRUCIS' , '1' , '-1' , '4' ,
'3.0000' , '3' , '0' , '5' , '2.85' )
28/12/2023 10:25:29 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89320' , '16666' , 'VIA LUCIS Dialogata per comunità parrocchiali' , '1' , '-1' , '4' ,
'2.0000' , '2' , '0' , '5' , '1.90' )
28/12/2023 10:25:29 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89320' , '0' , 'CONTRASSEGNO' , '1' , '-1' , '4' ,
'2.9000' , '2.9' , '0' , '0' , '2.90' )
28/12/2023 10:37:11 am >> SELECT document_num FROM ps_document
WHERE document_num = '4185' AND id_document != '' AND id_document_type LIKE '14' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 10:37:11 am >> INSERT INTO ps_document (
id_document_type ,
document_num ,
document_date ,
document_letter ,
id_customer ,
id_supplier ,
id_address ,
address1 ,
address2 ,
note ,
price_shipping ,
id_tax_shipping_rules ,
colli ,
peso ,
porto_e_imballo ,
mezzo_consegna ,
id_payment ,
id_causal ,
price_tax_included ,
price_tax_excluded ,
date_add ,
date_upd
) VALUES (
'11' ,
'4185' ,
'2023-12-28' ,
'' ,
'0' ,
'0' ,
'0' ,
'' ,
'' ,
'' ,
'0' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'0' ,
'0' ,
'11.00' ,
'9.02' ,
NOW() ,
NOW() )
28/12/2023 10:37:11 am >> INSERT INTO ps_document_detail_backup
( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total )
SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '89718'
28/12/2023 10:37:11 am >> DELETE FROM ps_document_detail WHERE id_document = '89718'
28/12/2023 10:37:11 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89718' , '14063' , 'STELLARIO PLEX CM 10 / 12' , '1' , '-1' , '1' ,
'11.00' , '9.016393442623' , '22' , '0' , '11.00' )
28/12/2023 10:42:57 am >> SELECT document_num FROM ps_document
WHERE document_num = '4186' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 10:42:57 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' ,
'4186' ,
'2023-12-28' ,
'' ,
'0' ,
'0' ,
'0' ,
'' ,
'' ,
'' ,
'0' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'0' ,
'0' ,
'122.62' ,
'107.56' ,
NOW() ,
NOW() )
28/12/2023 10:42:57 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 = '89719'
28/12/2023 10:42:57 am >> DELETE FROM ps_document_detail WHERE id_document = '89719'
28/12/2023 10:42:57 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
( '89719' , '1350' , 'BRACCIALETTO CON CROCE - 29002 03' , '4' , '-4' , '1' ,
'3.00' , '2.4590163934426' , '22' , '0' , '12.00' )
28/12/2023 10:42:57 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
( '89719' , '19102' , 'CARBONCINI MM 40' , '2' , '-2' , '1' ,
'13.00' , '10.655737704918' , '22' , '0' , '26.00' )
28/12/2023 10:42:57 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
( '89719' , '19818' , 'INCENSO NATURALE 3A KG 1' , '1' , '-1' , '1' ,
'23.00' , '18.852459016393' , '22' , '0' , '23.00' )
28/12/2023 10:42:57 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
( '89719' , '7311' , 'OSTIA SOTTILE 74MM' , '6' , '-6' , '3' ,
'2.00' , '1.9230769230769' , '4' , '0' , '12.00' )
28/12/2023 10:42:57 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
( '89719' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '6' , '-6' , '3' ,
'3.50' , '3.3653846153846' , '4' , '0' , '21.00' )
28/12/2023 10:42:57 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
( '89719' , '12895' , 'PASSI VERSO LA CRESIMA' , '1' , '-1' , '4' ,
'7.90' , '7.9' , '0' , '5' , '7.51' )
28/12/2023 10:42:57 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
( '89719' , '13431' , 'PASSI VERSO LEUCARISTIA' , '1' , '-1' , '4' ,
'5.90' , '5.9' , '0' , '5' , '5.61' )
28/12/2023 10:42:57 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
( '89719' , '18764' , 'STELLARIO PLEX CM 18/20' , '1' , '-1' , '1' ,
'15.50' , '12.704918032787' , '22' , '0' , '15.50' )
28/12/2023 10:49:42 am >> SELECT document_num FROM ps_document
WHERE document_num = '4187' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 10:49:42 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' ,
'4187' ,
'2023-12-28' ,
'' ,
'0' ,
'0' ,
'0' ,
'' ,
'' ,
'' ,
'0' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'0' ,
'0' ,
'4.40' ,
'4.40' ,
NOW() ,
NOW() )
28/12/2023 10:49:42 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 = '89720'
28/12/2023 10:49:42 am >> DELETE FROM ps_document_detail WHERE id_document = '89720'
28/12/2023 10:49:42 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
( '89720' , '978' , 'BEATA VERGINE MARIA CHE SCIOGLIE I NODI - ALBERO GENEALOGICO' , '2' , '-2' , '4' ,
'2.20' , '2.2' , '0' , '0' , '4.40' )
28/12/2023 10:53:16 am >> SELECT document_num FROM ps_document
WHERE document_num = '118' AND id_document != '' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 10:53: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 (
'21' ,
'118' ,
'2023-12-28' ,
'' ,
'2173' ,
'0' ,
'88682004' ,
'VIA ROMA 32 67030 BARREA' ,
'' ,
'' ,
'2.9' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'6' ,
'0' ,
'37.10' ,
'37.10' ,
NOW() ,
NOW() )
28/12/2023 10:53:17 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 = '14024'
28/12/2023 10:53:17 am >> DELETE FROM ps_document_detail WHERE id_document = '14024'
28/12/2023 10:53:17 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
( '14024' , '135' , 'LIBRO AGENDA CATTOLICO 2024' , '2' , '-2' , '4' ,
'18.00' , '18' , '0' , '5' , '34.20' )
28/12/2023 11:08:20 am >> SELECT document_num FROM ps_document
WHERE document_num = '4188' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 11:08:20 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' ,
'4188' ,
'2023-12-28' ,
'' ,
'0' ,
'0' ,
'0' ,
'' ,
'' ,
'' ,
'0' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'0' ,
'0' ,
'13.80' ,
'12.12' ,
NOW() ,
NOW() )
28/12/2023 11:08:20 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 = '89721'
28/12/2023 11:08:20 am >> DELETE FROM ps_document_detail WHERE id_document = '89721'
28/12/2023 11:08:20 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
( '89721' , '20220' , 'MEDAGLIA SAN BENEDETTO CM 2 - 400/n0217' , '1' , '-1' , '1' ,
'1.30' , '1.0655737704918' , '22' , '0' , '1.30' )
28/12/2023 11:08:20 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
( '89721' , '20548' , 'MEDAGLIA SAN BENEDETTO -T18/SBB' , '5' , '-5' , '1' ,
'0.30' , '0.24590163934426' , '22' , '0' , '1.50' )
28/12/2023 11:08:20 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
( '89721' , '20067' , 'CATENINA CON MED. SAN BENEDETTO - NS047' , '1' , '-1' , '1' ,
'2.50' , '2.0491803278689' , '22' , '0' , '2.50' )
28/12/2023 11:08:20 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
( '89721' , '16130' , 'QUADRETTO EFFETTO PIETRA - SAN MICHELE- 2952/S0063' , '1' , '-1' , '1' ,
'4.00' , '3.2786885245902' , '22' , '0' , '4.00' )
28/12/2023 11:08:20 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
( '89721' , '11151' , 'LIBRI' , '3' , '-3' , '4' ,
'1.5' , '1.5' , '0' , '0' , '4.50' )
28/12/2023 11:48:58 am >> SELECT document_num FROM ps_document
WHERE document_num = '4189' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 11:48:58 am >> INSERT INTO ps_document (
id_document_type ,
document_num ,
document_date ,
document_letter ,
id_customer ,
id_supplier ,
id_address ,
address1 ,
address2 ,
note ,
price_shipping ,
id_tax_shipping_rules ,
colli ,
peso ,
porto_e_imballo ,
mezzo_consegna ,
id_payment ,
id_causal ,
price_tax_included ,
price_tax_excluded ,
date_add ,
date_upd
) VALUES (
'11' ,
'4189' ,
'2023-12-28' ,
'' ,
'0' ,
'0' ,
'0' ,
'' ,
'' ,
'' ,
'0' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'0' ,
'0' ,
'28.55' ,
'25.48' ,
NOW() ,
NOW() )
28/12/2023 11:48:58 am >> INSERT INTO ps_document_detail_backup
( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total )
SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '89722'
28/12/2023 11:48:58 am >> DELETE FROM ps_document_detail WHERE id_document = '89722'
28/12/2023 11:48:58 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89722' , '1750' , 'CARTUCCIA TRASPARENTE DIAM. 3,2 - 454' , '1' , '-1' , '1' ,
'13.00' , '10.655737704918' , '22' , '0' , '13.00' )
28/12/2023 11:48:58 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89722' , '21778' , 'SULLA TUA PAROLA - GEN/FEB 2024' , '1' , '-1' , '4' ,
'5.00' , '5' , '0' , '5' , '4.75' )
28/12/2023 11:48:58 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89722' , '18122' , 'ROCCA STOPPINO M. 100 - 469/100' , '2' , '-2' , '1' ,
'1.10' , '0.9016393442623' , '22' , '0' , '2.20' )
28/12/2023 11:48:58 am >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89722' , '16691' , 'PARTICOLE PER CELIACI 25pz' , '2' , '-2' , '3' ,
'4.30' , '4.1346153846154' , '4' , '0' , '8.60' )
28/12/2023 12:32:03 pm >> SELECT document_num FROM ps_document
WHERE document_num = '4190' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 12:32: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' ,
'4190' ,
'2023-12-28' ,
'' ,
'0' ,
'0' ,
'0' ,
'' ,
'' ,
'' ,
'0' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'0' ,
'0' ,
'50.00' ,
'40.98' ,
NOW() ,
NOW() )
28/12/2023 12:32: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 = '89723'
28/12/2023 12:32:03 pm >> DELETE FROM ps_document_detail WHERE id_document = '89723'
28/12/2023 12:32: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
( '89723' , '12582' , 'VETRO ANTIVENTO PER F. CANDELA DIAM 3,2 - 73/32' , '2' , '-2' , '1' ,
'15.00' , '12.295081967213' , '22' , '0' , '30.00' )
28/12/2023 12:32: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
( '89723' , '7553' , 'PARAFIAMMA PIREX PER CARTUCCIA 3.2 - 474/25' , '2' , '-2' , '1' ,
'10.00' , '8.1967213114754' , '22' , '0' , '20.00' )
28/12/2023 12:34:20 pm >> SELECT document_num FROM ps_document
WHERE document_num = '4191' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 12:34:20 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' ,
'4191' ,
'2023-12-28' ,
'' ,
'0' ,
'0' ,
'0' ,
'' ,
'' ,
'' ,
'0' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'0' ,
'0' ,
'280.00' ,
'229.51' ,
NOW() ,
NOW() )
28/12/2023 12:34:20 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 = '89724'
28/12/2023 12:34:20 pm >> DELETE FROM ps_document_detail WHERE id_document = '89724'
28/12/2023 12:34:20 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
( '89724' , '15893' , 'CINGOLO - CING17' , '1' , '-1' , '1' ,
'40' , '32.786885245902' , '22' , '0' , '40.00' )
28/12/2023 12:34:20 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
( '89724' , '7202' , 'ARTICOLI RELIGIOSI' , '1' , '-1' , '1' ,
'240' , '196.72131147541' , '22' , '0' , '240.00' )
28/12/2023 12:35:38 pm >> SELECT document_num FROM ps_document
WHERE document_num = '4192' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 12:35: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' ,
'4192' ,
'2023-12-28' ,
'' ,
'0' ,
'0' ,
'0' ,
'' ,
'' ,
'' ,
'0' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'0' ,
'0' ,
'7.00' ,
'5.74' ,
NOW() ,
NOW() )
28/12/2023 12:35: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 = '89725'
28/12/2023 12:35:38 pm >> DELETE FROM ps_document_detail WHERE id_document = '89725'
28/12/2023 12:35: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
( '89725' , '21860' , 'BAMBINELLO CM 10 - PKS10-C' , '1' , '-1' , '1' ,
'7.00' , '5.7377049180328' , '22' , '0' , '7.00' )
28/12/2023 12:36:03 pm >> SELECT document_num FROM ps_document
WHERE document_num = '4193' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 12:36: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' ,
'4193' ,
'2023-12-28' ,
'' ,
'0' ,
'0' ,
'0' ,
'' ,
'' ,
'' ,
'0' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'0' ,
'0' ,
'0.70' ,
'0.70' ,
NOW() ,
NOW() )
28/12/2023 12:36: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 = '89726'
28/12/2023 12:36:03 pm >> DELETE FROM ps_document_detail WHERE id_document = '89726'
28/12/2023 12:36: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
( '89726' , '4223' , 'FOGLIETTI LA DOMENICA SAN PAOLO' , '1' , '-1' , '4' ,
'0.70' , '0.7' , '0' , '0' , '0.70' )
28/12/2023 12:41:24 pm >> SELECT document_num FROM ps_document
WHERE document_num = '4194' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 12:41:24 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' ,
'4194' ,
'2023-12-28' ,
'' ,
'0' ,
'0' ,
'0' ,
'' ,
'' ,
'' ,
'0' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'0' ,
'0' ,
'10.35' ,
'8.48' ,
NOW() ,
NOW() )
28/12/2023 12:41:24 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 = '89727'
28/12/2023 12:41:24 pm >> DELETE FROM ps_document_detail WHERE id_document = '89727'
28/12/2023 12:41:24 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
( '89727' , '21691' , 'PENDENTE FF 10X11' , '1' , '-1' , '1' ,
'10.00' , '8.1967213114754' , '22' , '0' , '10.00' )
28/12/2023 12:41:24 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
( '89727' , '17006' , 'SEGNALIBRO PR' , '1' , '-1' , '1' ,
'0.35' , '0.28688524590164' , '22' , '0' , '0.35' )
28/12/2023 12:51:42 pm >> SELECT document_num FROM ps_document
WHERE document_num = '4195' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 12:51: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' ,
'4195' ,
'2023-12-28' ,
'' ,
'0' ,
'0' ,
'0' ,
'' ,
'' ,
'' ,
'0' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'0' ,
'0' ,
'9.50' ,
'9.50' ,
NOW() ,
NOW() )
28/12/2023 12:51: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 = '89728'
28/12/2023 12:51:42 pm >> DELETE FROM ps_document_detail WHERE id_document = '89728'
28/12/2023 12:51: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
( '89728' , '21526' , 'MESSALE FESTIVO 2024' , '1' , '-1' , '4' ,
'10.00' , '10' , '0' , '5' , '9.50' )
28/12/2023 12:57:13 pm >> SELECT document_num FROM ps_document
WHERE document_num = '4191' AND id_document != '89724' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 12:57:14 pm >> UPDATE ps_document SET
id_document_type = '11',
document_num = '4191',
document_date = '2023-12-28',
document_letter = '',
id_customer = '0',
id_supplier = '',
id_address = '0',
address1 = '',
address2 = '',
note = '',
price_shipping = '0.00',
id_tax_shipping_rules = '4',
colli = '0',
peso = '0',
porto_e_imballo = '0',
mezzo_consegna = '',
id_payment = '0',
id_causal = '0',
price_tax_included = '280.00',
price_tax_excluded = '229.51',
date_upd = NOW()
WHERE id_document = '89724'
28/12/2023 12:57:14 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 = '89724'
28/12/2023 12:57:14 pm >> DELETE FROM ps_document_detail WHERE id_document = '89724'
28/12/2023 12:57:14 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
( '89724' , '15893' , 'CINGOLO - CING17' , '1' , '-1' , '1' ,
'40.0000' , '32.786885245902' , '22' , '0' , '40.00' )
28/12/2023 12:57:14 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
( '89724' , '21041' , 'COMPLETO MESSA LINO RIC. A MANO - 60/1010' , '1' , '-1' , '1' ,
'240' , '196.72131147541' , '22' , '0' , '240.00' )
28/12/2023 03:09:19 pm >> SELECT document_num FROM ps_document
WHERE document_num = '4196' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 03:09:19 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' ,
'4196' ,
'2023-12-28' ,
'' ,
'0' ,
'0' ,
'0' ,
'' ,
'' ,
'' ,
'0' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'0' ,
'0' ,
'27.30' ,
'22.88' ,
NOW() ,
NOW() )
28/12/2023 03:09:19 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 = '89729'
28/12/2023 03:09:19 pm >> DELETE FROM ps_document_detail WHERE id_document = '89729'
28/12/2023 03:09:19 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
( '89729' , '4223' , 'FOGLIETTI LA DOMENICA SAN PAOLO' , '4' , '-4' , '4' ,
'0.70' , '0.7' , '0' , '0' , '2.80' )
28/12/2023 03:09:19 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
( '89729' , '15387' , 'VESTINA BATTESIMALE ' , '5' , '-5' , '1' ,
'3.00' , '2.4590163934426' , '22' , '0' , '15.00' )
28/12/2023 03:09:19 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
( '89729' , '791' , 'ASSISI IN BUSTA BATTESIMO - 20X270 - BAAS' , '5' , '-5' , '1' ,
'1.40' , '1.1475409836066' , '22' , '0' , '7.00' )
28/12/2023 03:09:19 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
( '89729' , '7924' , 'PERGAMENE - BATTESIMO MOD. A' , '5' , '-5' , '1' ,
'0.50' , '0.40983606557377' , '22' , '0' , '2.50' )
28/12/2023 03:20:22 pm >> SELECT document_num FROM ps_document
WHERE document_num = '3446' AND id_document != '88715' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-11-03')
28/12/2023 03:20:22 pm >> UPDATE ps_document SET
id_document_type = '11',
document_num = '3446',
document_date = '2023-11-03',
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 = '207.00',
price_tax_excluded = '199.43',
date_upd = NOW()
WHERE id_document = '88715'
28/12/2023 03:20:22 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 = '88715'
28/12/2023 03:20:22 pm >> DELETE FROM ps_document_detail WHERE id_document = '88715'
28/12/2023 03:20:22 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
( '88715' , '7735' , 'PATENA OTTONE - DIAM. 14 - 900' , '1' , '-1' , '1' ,
'42.0000' , '34.426229508197' , '22' , '0' , '42.00' )
28/12/2023 03:20:22 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
( '88715' , '11151' , 'LIBRI' , '1' , '-1' , '4' ,
'91.78' , '91.78' , '0' , '0' , '91.78' )
28/12/2023 03:20:23 pm >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '88715' , '9676' , 'SARETE MIEI TESTIMONI - CAT.' , '14' , '-14' , '4' ,
'5.50' , '5.5' , '0' , '5' , '73.22' )
28/12/2023 03:40:23 pm >> SELECT document_num FROM ps_document
WHERE document_num = '4100' AND id_document != '89621' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-21')
28/12/2023 03:40:23 pm >> UPDATE ps_document SET
id_document_type = '11',
document_num = '4100',
document_date = '2023-12-21',
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 = '119.76',
price_tax_excluded = '103.08',
date_upd = NOW()
WHERE id_document = '89621'
28/12/2023 03:40:23 pm >> INSERT INTO ps_document_detail_backup
( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total )
SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '89621'
28/12/2023 03:40:23 pm >> DELETE FROM ps_document_detail WHERE id_document = '89621'
28/12/2023 03:40:23 pm >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89621' , '18339' , 'CROCE SAN BENEDETTO -CZ10NIK - VARI COLORI' , '1' , '-1' , '1' ,
'11.0000' , '9.016393442623' , '22' , '0' , '11.00' )
28/12/2023 03:40:23 pm >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89621' , '15498' , 'CROCE SAN BENEDETTO SMALTATA - CZ5NIK' , '4' , '-4' , '1' ,
'17.5000' , '14.344262295082' , '22' , '0' , '70.00' )
28/12/2023 03:40:23 pm >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89621' , '17160' , 'CARBONCINI ROSSI - CARRO' , '1' , '-1' , '1' ,
'10.00' , '8.1967213114754' , '22' , '0' , '10.00' )
28/12/2023 03:40:23 pm >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89621' , '21513' , 'COMPENDIO DELLA DOTTRINA SOCIALE DELLA CHIESA' , '1' , '-1' , '4' ,
'15.0000' , '15' , '0' , '5' , '14.25' )
28/12/2023 03:40:23 pm >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89621' , '21926' , 'STORIA DI NATALE' , '1' , '-1' , '4' ,
'7.9000' , '7.9' , '0' , '5' , '7.51' )
28/12/2023 03:40:23 pm >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89621' , '16163' , 'PARTICOLE DOMUS - PAN DI CENA' , '2' , '-2' , '3' ,
'3.5000' , '3.3653846153846' , '4' , '0' , '7.00' )
28/12/2023 04:14:16 pm >> SELECT document_num FROM ps_document
WHERE document_num = '4197' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 04:14: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 (
'11' ,
'4197' ,
'2023-12-28' ,
'' ,
'0' ,
'0' ,
'0' ,
'' ,
'' ,
'' ,
'0' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'0' ,
'0' ,
'53.00' ,
'43.44' ,
NOW() ,
NOW() )
28/12/2023 04:14: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 = '89730'
28/12/2023 04:14:16 pm >> DELETE FROM ps_document_detail WHERE id_document = '89730'
28/12/2023 04:14: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
( '89730' , '21785' , 'SACRO CUORE CM 30 - 616' , '1' , '-1' , '1' ,
'53.00' , '43.44262295082' , '22' , '0' , '53.00' )
28/12/2023 04:23:18 pm >> SELECT document_num FROM ps_document
WHERE document_num = '4198' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 04:23:18 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' ,
'4198' ,
'2023-12-28' ,
'' ,
'0' ,
'0' ,
'0' ,
'' ,
'' ,
'' ,
'0' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'0' ,
'0' ,
'47.50' ,
'47.50' ,
NOW() ,
NOW() )
28/12/2023 04:23: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 = '89731'
28/12/2023 04:23:18 pm >> DELETE FROM ps_document_detail WHERE id_document = '89731'
28/12/2023 04:23: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
( '89731' , '21778' , 'SULLA TUA PAROLA - GEN/FEB 2024' , '10' , '-10' , '4' ,
'5.00' , '5' , '0' , '5' , '47.50' )
28/12/2023 04:31:21 pm >> SELECT document_num FROM ps_document
WHERE document_num = '4199' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 04:31: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' ,
'4199' ,
'2023-12-28' ,
'' ,
'0' ,
'0' ,
'0' ,
'' ,
'' ,
'' ,
'0' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'0' ,
'0' ,
'35.00' ,
'28.69' ,
NOW() ,
NOW() )
28/12/2023 04:31: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 = '89732'
28/12/2023 04:31:21 pm >> DELETE FROM ps_document_detail WHERE id_document = '89732'
28/12/2023 04:31: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
( '89732' , '13549' , 'COLLANINA ARGENTATA ALBERO DELLA VITA - 1984/J97' , '10' , '-10' , '1' ,
'3.5' , '2.8688524590164' , '22' , '0' , '35.00' )
28/12/2023 04:46:23 pm >> SELECT document_num FROM ps_document
WHERE document_num = '4200' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 04:46:23 pm >> INSERT INTO ps_document (
id_document_type ,
document_num ,
document_date ,
document_letter ,
id_customer ,
id_supplier ,
id_address ,
address1 ,
address2 ,
note ,
price_shipping ,
id_tax_shipping_rules ,
colli ,
peso ,
porto_e_imballo ,
mezzo_consegna ,
id_payment ,
id_causal ,
price_tax_included ,
price_tax_excluded ,
date_add ,
date_upd
) VALUES (
'11' ,
'4200' ,
'2023-12-28' ,
'' ,
'0' ,
'0' ,
'0' ,
'' ,
'' ,
'' ,
'0' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'0' ,
'0' ,
'100.00' ,
'81.97' ,
NOW() ,
NOW() )
28/12/2023 04:46:23 pm >> INSERT INTO ps_document_detail_backup
( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total )
SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '89733'
28/12/2023 04:46:23 pm >> DELETE FROM ps_document_detail WHERE id_document = '89733'
28/12/2023 04:46:23 pm >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89733' , '18885' , 'BAMBINELLO CM 23 - PB9942' , '4' , '-4' , '1' ,
'15.00' , '12.295081967213' , '22' , '0' , '60.00' )
28/12/2023 04:46:23 pm >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89733' , '17570' , 'BAMBINELLO IN RESINA - PB5452' , '1' , '-1' , '1' ,
'20' , '16.393442622951' , '22' , '0' , '20.00' )
28/12/2023 04:46:23 pm >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89733' , '20002' , 'GESU BAMBINO DORATO CM 20 - BJ146-20D' , '1' , '-1' , '1' ,
'20' , '16.393442622951' , '22' , '0' , '20.00' )
28/12/2023 04:53:16 pm >> SELECT document_num FROM ps_document
WHERE document_num = '4201' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 04:53: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 (
'11' ,
'4201' ,
'2023-12-28' ,
'' ,
'0' ,
'0' ,
'0' ,
'' ,
'' ,
'' ,
'0' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'0' ,
'0' ,
'9.50' ,
'9.50' ,
NOW() ,
NOW() )
28/12/2023 04:53: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 = '89734'
28/12/2023 04:53:16 pm >> DELETE FROM ps_document_detail WHERE id_document = '89734'
28/12/2023 04:53: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
( '89734' , '21778' , 'SULLA TUA PAROLA - GEN/FEB 2024' , '1' , '-1' , '4' ,
'5.00' , '5' , '0' , '5' , '4.75' )
28/12/2023 04:53: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
( '89734' , '22023' , 'SULLA TUA PAROLA - MAR/APR 2024 - 521' , '1' , '-1' , '4' ,
'5.00' , '5' , '0' , '5' , '4.75' )
28/12/2023 05:03:44 pm >> SELECT document_num FROM ps_document
WHERE document_num = '4137' AND id_document != '89666' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-22')
28/12/2023 05:03:44 pm >> UPDATE ps_document SET
id_document_type = '11',
document_num = '4137',
document_date = '2023-12-22',
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 = '45.00',
price_tax_excluded = '36.89',
date_upd = NOW()
WHERE id_document = '89666'
28/12/2023 05:03: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 = '89666'
28/12/2023 05:03:44 pm >> DELETE FROM ps_document_detail WHERE id_document = '89666'
28/12/2023 05:03: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
( '89666' , '17570' , 'BAMBINELLO IN RESINA - PB5452' , '1' , '-1' , '1' ,
'16' , '13.114754098361' , '22' , '0' , '16.00' )
28/12/2023 05:03: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
( '89666' , '17563' , 'PRESEPE TERRACOTTA - P288' , '1' , '-1' , '1' ,
'29.0000' , '23.770491803279' , '22' , '0' , '29.00' )
28/12/2023 05:07:05 pm >> SELECT document_num FROM ps_document
WHERE document_num = '3617' AND id_document != '88976' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-11-15')
28/12/2023 05:07:05 pm >> UPDATE ps_document SET
id_document_type = '11',
document_num = '3617',
document_date = '2023-11-15',
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 = '65.00',
date_upd = NOW()
WHERE id_document = '88976'
28/12/2023 05:07:05 pm >> INSERT INTO ps_document_detail_backup
( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total )
SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '88976'
28/12/2023 05:07:05 pm >> DELETE FROM ps_document_detail WHERE id_document = '88976'
28/12/2023 05:07:05 pm >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '88976' , '21655' , 'BENEDIZIONALE N. E. ' , '1' , '-1' , '4' ,
'40.0000' , '40' , '0' , '5' , '38.00' )
28/12/2023 05:07:05 pm >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '88976' , '21778' , 'SULLA TUA PAROLA - GEN/FEB 2024' , '6' , '-6' , '4' ,
'4.5' , '4.5' , '0' , '0' , '27.00' )
28/12/2023 05:27:02 pm >> SELECT document_num FROM ps_document
WHERE document_num = '105/A' AND id_document != '88242' AND id_document_type LIKE '2%' AND YEAR(document_date) = YEAR('2023-10-12')
28/12/2023 05:27:02 pm >> UPDATE ps_document SET
id_document_type = '24',
document_num = '105/A',
document_date = '2023-10-12',
document_letter = 'A',
id_customer = '1203',
id_supplier = '',
id_address = '4669427',
address1 = 'P.ZZA MUNICIPIO 83020 S. AGATA IRPINA-SOLOFRA',
address2 = '',
note = 'ACCONTO € 50',
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 = '181.05',
price_tax_excluded = '160.50',
date_upd = NOW()
WHERE id_document = '88242'
28/12/2023 05:27:02 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 = '88242'
28/12/2023 05:27:02 pm >> DELETE FROM ps_document_detail WHERE id_document = '88242'
28/12/2023 05:27:02 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
( '88242' , '20428' , 'OSTIA TAGLIO CHIUSO 72MM - OTC25' , '10' , '-10' , '3' ,
'2.0000' , '1.9230769230769' , '4' , '0' , '20.00' )
28/12/2023 05:27:02 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
( '88242' , '20433' , 'PARTICOLA MORREALE 38MM - PTC38S' , '10' , '-10' , '3' ,
'3.5000' , '3.3653846153846' , '4' , '0' , '35.00' )
28/12/2023 05:27:02 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
( '88242' , '21627' , 'AVVENTO E NATALE 2023' , '1' , '-1' , '4' ,
'2.9000' , '2.9' , '0' , '0' , '2.90' )
28/12/2023 05:27:02 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
( '88242' , '20245' , 'FORMELLA CROCIFISSO 25X30' , '1' , '-1' , '1' ,
'59.0000' , '48.360655737705' , '22' , '0' , '59.00' )
28/12/2023 05:27:02 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
( '88242' , '18284' , 'SEI NATO ORIGINALE - C. ACUTIS' , '1' , '-1' , '4' ,
'10.0000' , '10' , '0' , '5' , '9.50' )
28/12/2023 05:27:02 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
( '88242' , '20690' , 'CARLO ACUTIS APOSTOLO DEI MILLENNIALS - V. RIZZO' , '1' , '-1' , '4' ,
'12.0000' , '12' , '0' , '5' , '11.40' )
28/12/2023 05:27:02 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
( '88242' , '8855' , 'REGISTRO DEL CATECHISTA' , '7' , '-7' , '1' ,
'0.7500' , '0.61475409836066' , '22' , '0' , '5.25' )
28/12/2023 05:27:02 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
( '88242' , '12814' , 'LIBRO DEI BATTEZZATI' , '1' , '-1' , '1' ,
'40.00' , '32.786885245902' , '22' , '5' , '38.00' )
28/12/2023 05:51:10 pm >> INSERT INTO ps_document (
id_document_type ,
document_num ,
document_date ,
document_letter ,
id_customer ,
id_supplier ,
id_address ,
address1 ,
address2 ,
note ,
price_shipping ,
id_tax_shipping_rules ,
colli ,
peso ,
porto_e_imballo ,
mezzo_consegna ,
id_payment ,
id_causal ,
price_tax_included ,
price_tax_excluded ,
date_add ,
date_upd
) VALUES (
'32' ,
'2023010002559' ,
'2023-12-28' ,
'' ,
'0' ,
'107' ,
'4669100' ,
'VIA DEI CASTANI, 116 00172 ROMA' ,
'' ,
'' ,
'12' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'12' ,
'0' ,
'200.50' ,
'200.50' ,
NOW() ,
NOW() )
28/12/2023 05:51:10 pm >> INSERT INTO ps_document_detail_backup
( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total )
SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '89735'
28/12/2023 05:51:10 pm >> DELETE FROM ps_document_detail WHERE id_document = '89735'
28/12/2023 05:51:10 pm >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89735' , '21760' , 'QUANDO LAMORE E PER SEMPRE - B. BAFFETTI' , '10' , '0' , '4' ,
'9.0000' , '9' , '0' , '35' , '58.50' )
28/12/2023 05:51:10 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21760' AND id_supplier = '107'
28/12/2023 05:51:10 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21760' , '107' , '1' )
28/12/2023 05:51: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
( '89735' , '21467' , 'ADOLESCENTI INAFFERRABILI - BOTTA / LONARDO' , '1' , '0' , '4' ,
'15.0000' , '15' , '0' , '35' , '9.75' )
28/12/2023 05:51:11 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21467' AND id_supplier = '107'
28/12/2023 05:51:11 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21467' , '107' , '1' )
28/12/2023 05:51: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
( '89735' , '21621' , 'CALENDARIO FRATE INDOVINO 2024' , '5' , '0' , '4' ,
'5.0000' , '5' , '0' , '35' , '16.25' )
28/12/2023 05:51:11 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21621' AND id_supplier = '107'
28/12/2023 05:51:11 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21621' , '107' , '1' )
28/12/2023 05:51: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
( '89735' , '22022' , 'ADAMO DOVE SEI? R. COLIZZI' , '1' , '0' , '4' ,
'10.0000' , '10' , '0' , '35' , '6.50' )
28/12/2023 05:51:11 pm >> DELETE FROM ps_product_supplier WHERE id_product = '22022' AND id_supplier = '107'
28/12/2023 05:51:11 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '22022' , '107' , '1' )
28/12/2023 05:51: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
( '89735' , '21847' , 'UNDICESIMO: SALVA LA TESTA! - P. PELLEGRINO' , '50' , '0' , '4' ,
'3.0000' , '3' , '0' , '35' , '97.50' )
28/12/2023 05:51:11 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21847' AND id_supplier = '107'
28/12/2023 05:51:11 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21847' , '107' , '1' )
28/12/2023 05:54:33 pm >> INSERT INTO ps_document (
id_document_type ,
document_num ,
document_date ,
document_letter ,
id_customer ,
id_supplier ,
id_address ,
address1 ,
address2 ,
note ,
price_shipping ,
id_tax_shipping_rules ,
colli ,
peso ,
porto_e_imballo ,
mezzo_consegna ,
id_payment ,
id_causal ,
price_tax_included ,
price_tax_excluded ,
date_add ,
date_upd
) VALUES (
'32' ,
'2023010002559' ,
'2023-12-28' ,
'' ,
'0' ,
'107' ,
'4669100' ,
'VIA DEI CASTANI, 116 00172 ROMA' ,
'' ,
'' ,
'12' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'12' ,
'0' ,
'200.50' ,
'200.50' ,
NOW() ,
NOW() )
28/12/2023 05:54:33 pm >> INSERT INTO ps_document_detail_backup
( id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total )
SELECT id_document , id_product , name , qt , qt_mov , price_tax_included , price_tax_excluded , tax , id_tax_rules_group , discount , price_total FROM ps_document_detail WHERE id_document = '89736'
28/12/2023 05:54:33 pm >> DELETE FROM ps_document_detail WHERE id_document = '89736'
28/12/2023 05:54:33 pm >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89736' , '21760' , 'QUANDO LAMORE E PER SEMPRE - B. BAFFETTI' , '10' , '0' , '4' ,
'9.0000' , '9' , '0' , '35' , '58.50' )
28/12/2023 05:54:33 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21760' AND id_supplier = '107'
28/12/2023 05:54:33 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21760' , '107' , '1' )
28/12/2023 05:54:33 pm >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89736' , '21467' , 'ADOLESCENTI INAFFERRABILI - BOTTA / LONARDO' , '1' , '0' , '4' ,
'15.0000' , '15' , '0' , '35' , '9.75' )
28/12/2023 05:54:33 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21467' AND id_supplier = '107'
28/12/2023 05:54:33 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21467' , '107' , '1' )
28/12/2023 05:54:33 pm >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89736' , '21621' , 'CALENDARIO FRATE INDOVINO 2024' , '5' , '0' , '4' ,
'5.0000' , '5' , '0' , '35' , '16.25' )
28/12/2023 05:54:33 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21621' AND id_supplier = '107'
28/12/2023 05:54:33 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21621' , '107' , '1' )
28/12/2023 05:54:33 pm >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89736' , '22022' , 'ADAMO DOVE SEI? R. COLIZZI' , '1' , '0' , '4' ,
'10.0000' , '10' , '0' , '35' , '6.50' )
28/12/2023 05:54:33 pm >> DELETE FROM ps_product_supplier WHERE id_product = '22022' AND id_supplier = '107'
28/12/2023 05:54:33 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '22022' , '107' , '1' )
28/12/2023 05:54:33 pm >> INSERT INTO ps_document_detail
( id_document , id_product , name , qt , qt_mov , id_tax_rules_group ,
price_tax_included , price_tax_excluded , tax , discount , price_total )
VALUES
( '89736' , '21847' , 'UNDICESIMO: SALVA LA TESTA! - P. PELLEGRINO' , '50' , '0' , '4' ,
'3.0000' , '3' , '0' , '35' , '97.50' )
28/12/2023 05:54:33 pm >> DELETE FROM ps_product_supplier WHERE id_product = '21847' AND id_supplier = '107'
28/12/2023 05:54:33 pm >> INSERT INTO ps_product_supplier ( id_product , id_supplier , id_currency ) VALUES ( '21847' , '107' , '1' )
28/12/2023 06:13:21 pm >> SELECT document_num FROM ps_document
WHERE document_num = '119' AND id_document != '' AND id_document_type LIKE '21' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 06:13: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 (
'21' ,
'119' ,
'2023-12-28' ,
'' ,
'7068' ,
'0' ,
'149355626' ,
'VIA G. IERVOLINO 115 80040 POGGIO MARINO' ,
'' ,
'' ,
'0' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'1' ,
'0' ,
'30.00' ,
'30.00' ,
NOW() ,
NOW() )
28/12/2023 06:13: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 = '14025'
28/12/2023 06:13:21 pm >> DELETE FROM ps_document_detail WHERE id_document = '14025'
28/12/2023 06:13: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
( '14025' , '58' , 'SCATOLA FIGURINE AMICO GESÙ - 60 BUSTINE' , '1' , '-1' , '4' ,
'30.00' , '30' , '0' , '' , '30.00' )
28/12/2023 06:13:40 pm >> SELECT document_num FROM ps_document
WHERE document_num = '4202' AND id_document != '' AND id_document_type LIKE '11' AND YEAR(document_date) = YEAR('2023-12-28')
28/12/2023 06:13: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' ,
'4202' ,
'2023-12-28' ,
'' ,
'0' ,
'0' ,
'0' ,
'' ,
'' ,
'' ,
'0' ,
'4' ,
'0' ,
'0' ,
'0' ,
'' ,
'0' ,
'0' ,
'12.00' ,
'12.00' ,
NOW() ,
NOW() )
28/12/2023 06:13: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 = '89737'
28/12/2023 06:13:40 pm >> DELETE FROM ps_document_detail WHERE id_document = '89737'
28/12/2023 06:13: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
( '89737' , '14287' , 'CIBO E BEVANDA DI SALVEZZA - M. MONETTI' , '1' , '-1' , '4' ,
'12.00' , '12' , '0' , '0' , '12.00' )
28/12/2023 06:51:24 pm >> SELECT ean13 FROM ps_product WHERE ean13 = '9788894762600' AND id_product != '21892' AND ean13 != ''
28/12/2023 06:51:24 pm >> UPDATE ps_product SET
id_supplier = '7',
reference = '13/4',
ean13 = '9788894762600',
date_upd = NOW()
WHERE id_product = '21892'
28/12/2023 06:51:24 pm >> UPDATE ps_product_lang SET
name = 'MANGIATOIA GREMBO DELL\'AMORE DI DIO - P. STANCARI',
description = ''
WHERE id_product = '21892'
28/12/2023 06:51:24 pm >> UPDATE ps_product SET
wholesale_price = '4.23',
on_sale = '0',
price = '6.5000'
WHERE id_product = '21892'
28/12/2023 06:51:24 pm >> UPDATE ps_product_shop SET
wholesale_price = '4.23',
price = '6.5000',
id_tax_rules_group = '4',
id_category_default = '527',
id_argoment_default = '39',
id_internal_category = '7',
on_sale = '0',
on_showcase = '0',
on_offer = '00',
on_most = '00',
date_upd = NOW()
WHERE id_product = '21892'
28/12/2023 06:51:24 pm >> DELETE FROM ps_specific_price WHERE id_product = '21892'