Hello Payman,
Thanks for your time.
I have used the below code to open the record hyperlink
Parameters!CRM_URL.Value & "?ID={"&Fields!contractid.Value.ToString()&"}&LogicalName=contract
The issue seems to in local instance. When I moved to production it is working fine.
The only difference is in my local instance did not install the roll up 1 but in the production we have installed the roll up for the on premise CRM.
I am not sure because of this roll up or any other reason.
Regards,
Priya.