on 2024 Feb 15 1:01 PM
Dear all,
I made a UDF in the item master data to register BBD on products. Now I want to set an alert 2 months before the expiration date. SAP Business One
Who can help me?
Regards Mark Oenema
Hi Mark,
That should not be too difficult.
A few questions:
Regards,
Johan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @MarkOenema,
"if date will arrive in 2 months"
I am not entirely sure what you mean with this. Could you please explain in other words, or even in dutch perhaps?
Regards,
Johan
Hi @MarkOenema,
Please try this query for the alert:
SELECT i.ItemCode, i.ItemName, i.U_BestByDate
FROM OITM i
WHERE DATEDIFF(day, cast(floor(cast(GETDATE() as float)) as datetime), i.U_BestByDate) = 20
You will have to replace U_BestByDate (both in the first and last line) with the actual name of your UDF.
Regards,
Johan
User | Count |
---|---|
73 | |
10 | |
8 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.