Hi Ana,
I don't think I require a Link Entity because I am straightforward using the Modifiedon date from Quote Entity. Now Instead on using a variable I am trying to output of Lookup block directly. My Fetch XML with the condition is as follows:
<fetch distinct="false" mapping="logical" output-format="xml-platform" version="1.0">
<entity name="quote">
<attribute name="msdyn_estimatedschedule"/>
<attribute name="name"/>
<attribute name="statecode"/>
<attribute name="totalamount"/>
<attribute name="quoteid"/>
<attribute name="createdon"/>
<order descending="false" attribute="msdyn_ordertype"/>
<attribute name="totallineitemamount"/>
<attribute name="msdyn_grossmargin"/>
<attribute name="totalamount_base"/>
<attribute name="totalamountlessfreight"/>
<attribute name="totallineitemdiscountamount"/>
<attribute name="totalamountlessfreight_base"/>
<attribute name="totaldiscountamount"/>
<attribute name="totallineitemamount_base"/>
<attribute name="msdyn_estimatedbudget"/>
<attribute name="quotenumber"/>
<attribute name="modifiedon"/>
<filter type="and">
<condition attribute="modifiedon" operator="on-or-after" value="@activity('Lookup1').output.firstRow.maxDate"/>
</filter>
</entity>
</fetch>
I am still receiving the same Error.