﻿<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='true'>
  <entity name='llp_lastclaim'>
    <attribute name='llp_claimnumber'/>
    <attribute name='createdon'/>
    <order descending='true' attribute='createdon'/>
    <filter type='and'>
      <condition attribute='llp_partnercode' value='${partnerId}' operator='eq'/>
    </filter>
  </entity>
</fetch>