Filter with multiple sentences

Feb 7, 2015 at 3:48 PM
Hi,
I am new to Odata SDK for PHP.
I trying to obtain a specific customer from exposed service:
<url>/FINCUSTFACTSHEET/CustomerCollection
In order to select specific customer that service needs a filter with two sentences:
CompanyCode (mandatory) and CustomerNo.

For example: CompanyCode eq '27Z001' and CustomerNo '271410886423'. The service URL is the following:
<url>/FINCUSTFACTSHEET/CustomerCollection?$filter=(CompanyCode+eq+'Z001'+and+CustomerNo+eq+'1410886423')
But, the service seems to ignore the CustomerNo sentence, and return all customer for Z001 company.

That is the correct way to build the filter?

Thank you.