query help [message #607967] |
Fri, 14 February 2014 00:07 |
|
mist598
Messages: 1195 Registered: February 2013 Location: Hyderabad
|
Senior Member |
|
|
Hi all,
Check the item whether it is in both organization or not and active . I want a query on this please help
|
|
|
|
Re: query help [message #607972 is a reply to message #607969] |
Fri, 14 February 2014 00:31 |
|
Michel Cadot
Messages: 68643 Registered: March 2007 Location: Nanterre, France, http://...
|
Senior Member Account Moderator |
|
|
Define "available".
If it only means "exists" then this is a basic SQL for someone that has posted more than 500 messages (but maybe not for someone that does not understand that "query help" is a silly title in a SQL forum).
[Updated on: Fri, 14 February 2014 00:33] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Re: query help [message #607996 is a reply to message #607994] |
Fri, 14 February 2014 01:48 |
|
Michel Cadot
Messages: 68643 Registered: March 2007 Location: Nanterre, France, http://...
|
Senior Member Account Moderator |
|
|
So:
inventory_item_status_code = 'Active'
OR inventory_item_status_code = 'Inactive'
is always true.
Note that some parentheses are missing in your query.
|
|
|