PHRETS icon indicating copy to clipboard operation
PHRETS copied to clipboard

ReplyCode 20203

Open Screek1 opened this issue 2 years ago • 0 comments

Hello, my query look as $results = $this->rets->Search('Property', 'RD_1', "*", ['Limit' => null, 'Select' => 'L_ListingID,L_UpdateDate']); but me need select only active listings, I try this query $results = $this->rets->Search('Property', 'RD_1', "L_Status=Active", ['Limit' => null, 'Select' => 'L_ListingID,L_UpdateDate']); and I receive this error

PHRETS\Exceptions\RETSException: Could not parse DMQL2 Query: Lookup StatDetail defines no lookup type with value: 'Active' at or near position 11. [...(L_Status= !-->Active)),((] in /Volumes/Code/estateblock/vendor/troydavisson/phrets/src/Session.php:437 

How can I get listing by status?

Screek1 avatar Apr 25 '22 20:04 Screek1