on 02-18-2013 4:22 PM
I am in the middle of creating the Business Rule QM_EPR_01C1_01_Q which is about monitoring materials by expiration date.
What I would like to achieve is to be able to filter on products that are or will be expired in a few months time (field shelf life expiration date). BRF sounds like the logical solution
Any idea what syntax formula I need to setup to fulfil this requirement?
See attachment (syntax formula)
Thanks!
Anyone?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Paul for your information.
Does anyone know how to a get negative result for a date comparison between the current date and the expiration date? When I enter the formula
DT_DURATION_DIFF_INT_DAYS ( DT_GET_CURRENT_DATE ( ) , BR50012301_00000006 )
in which BR50012301_00000006 stands for Shelf Life expiration date I will always get a positive result, no matter if the product has expired or not.
For example if today it would be 15th March and the expire date of product A is 30 March and product B was 10 March (expired) I will get the the result of 15 days for product A and 5 days for product B. Both positive values. However I would like to retrieve a negative number for product B in order to set a proper deficiency filter. See attachment
Thanks in advance
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.