Peter CCH
1/11/2006 12:00:00 PM
Sorry, it suppose to be OR condition, not AND.
select _custInvoiceJour
where _custInvoiceJour.RefNum != RefNum::SalesOrder ||
_custInvoiceJour.SalesType == SalesType::Journal
"Peter CCH" wrote:
> If I would like to use Query object to achieve result that will be the same
> as the following, how should I code it? Is that possible with Query object?
>
> select _custInvoiceJour
> where _custInvoiceJour.RefNum != RefNum::SalesOrder &&
> _custInvoiceJour.SalesType == SalesType::Journal
>
> Thanks.
>