How to write a OR condition in two different fields in Query Range

How to write a OR condition in two different fields Query Range

Hello Sathees

like this
select sum(Qty) from InventTrans where InventTrans.ItemId == InventItemGroupItem.ItemId &&
(InventTrans.StatusReceipt == StatusReceipt::Purchased || InventTrans.StatusIssue == StatusIssue::Deducted
||InventTrans.StatusIssue == StatusIssue::OnOrder || InventTrans.StatusIssue == StatusIssue::Sold)

Hi PushpendraSingh ,
Thank You For Your Reply but I want

How to write OR Condition use in Query range…,

like Query addrange is work on AND condition

how to write OR ?..,

See this documentation,
msdn.microsoft.com/…/aa893981.aspx