i have the statement below that is giving me a total amount of days a product has left until it is past it's expiration day.
works great for all locations that are labeled short dated, here is the question, is also puts a '0' for the days left to exp on other location for example Quarantine locations. how can i have it just show me the days till exp on only locations that are Shortdated?
IF {PART_LOCATION.LOCATION_ID}='SHORTDATED' THEN {TRACE.EXPIRATION_DATE}-CURRENTDATE
thanks
works great for all locations that are labeled short dated, here is the question, is also puts a '0' for the days left to exp on other location for example Quarantine locations. how can i have it just show me the days till exp on only locations that are Shortdated?
IF {PART_LOCATION.LOCATION_ID}='SHORTDATED' THEN {TRACE.EXPIRATION_DATE}-CURRENTDATE
thanks