Joined: 09 Jun 2008
Online Status: Offline
Posts: 10
Topic: Select Formula Posted: 08 Jul 2008 at 8:31am
The logic to my selection is:
If the item_id is stockable use Last sales Date if the item is nonstock then use > OH Qty for selection. First of all is this possible? and second when i run this selection it gives me the whole database all items i only want items that fall in those requirements, i tried doing a else statement to no avail.
if({p21_item_location_view.stockable} = "Y" and {p21_item_location_view.last_sale_date} < Date (2008, 01 ,07 )) or ({p21_item_location_view.stockable} = "N" and {p21_item_location_view.qty_on_hand} > 0 and {p21_item_location_view.delete_flag} = "N")
Should use or or else maybe there is a better way to write this im not sure i am still a novice to writing formulas.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum