Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3116

Re: How to show a pop up notification upon registering new Sales Orders?

$
0
0

Dear Waseem

 

Create an alert with following query, this will pop up an alert to a concern person to whom this alert will be assigned, as I have also used document time, so the pop up will only show all open Sales Orders which are create in last 5 min, hope this works for you,

 

SELECT T0.[DocNum], convert(varchar(10),T0.[DocDate],101), T0.[CardCode], T0.[CardName], T0.[NumAtCard]

FROM ORDR T0

WHERE convert(varchar(10),T0.[DocDate],101) = convert(varchar(10),getdate(),101)

and  T0.[DocStatus] = 'O' and T0.DocTime >= convert(int,concat(left(convert(varchar(5),getdate(),108),2),Right(convert(varchar(5),getdate(),108),2)))-5


Viewing all articles
Browse latest Browse all 3116

Trending Articles