Horizon Online Support
2.3 Alerts
Example of Alerts:
Example 1
Display Last Order Date
SQL Query:
select max (taxpoint_date) from entry e where entry_type = 'SORD' and e.trader_id =:trader_id
Message:
Last Order Date {}
Example 2
Display traders total paper sales value in the last 12 months
SQL Query:
select sum (d.total_goods) from entry e
join detail d on e.entry_id = d.entry_id
join product p on d.product_id = p.product_id
where e.entry_type = 'SINV' and e.age <= 11 and p.range_id = 10
Message:
Paper Sales Value £{}.
Back To Horizon > Customer Relationship Management