<fetch xmlns:generator="Mmmtl.SQL4CDS">
<entity name="rc_location">
<attribute name="rc_name" alias="UnitNumber" />
<attribute name="rc_locationid" />
<attribute name="rc_propertyactualopendate" alias="PropertyActualOpenDate" />
<attribute name="rc_propertyclosedate" alias="PropertyCloseDate" />
<attribute name="statuscode" />
<attribute name="ext_tempclosed" />
<attribute name="ext_reopen" />
<attribute name="ext_uta" alias="UTA" />
<attribute name="ext_licenseagreementexpiration" alias="LicenseAgreementExpiration" />
<attribute name="ext_licensetype" alias="LicenseType" />
<attribute name="ext_cooprate" />
<attribute name="ext_divisionlkp" />
<attribute name="frm_brandid" />
<attribute name="rc_dmaid" />
<filter>
<condition attribute="statecode" operator="eq" value="0" />
</filter>
<order attribute="rc_name" descending="true" />
</entity>
</fetch>