Dynamics CRM 365 error in FetchXML report: The expected parameter has not been supplied for the repo

%3CLINGO-SUB%20id%3D%22lingo-sub-1069366%22%20slang%3D%22en-US%22%3EDynamics%20CRM%20365%20error%20in%20FetchXML%20report%3A%20The%20expected%20parameter%20has%20not%20been%20supplied%20for%20the%20repo%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1069366%22%20slang%3D%22en-US%22%3E%3CP%20class%3D%22%22%3EHello%20Partners%2C%3C%2FP%3E%3CP%3EI%20have%20created%20a%20FetchXMl%20report%20using%20BIDS%20and%20Visual%20Studio%202015.%3C%2FP%3E%3CP%3EDue%20to%20the%20scope%20of%20the%20report%2C%2015%20entities%20have%20been%20used%20to%20pull%20all%20the%20required%20information.%26nbsp%3B%3C%2FP%3E%3CP%3EOwing%20to%20the%20limitation%20in%20Linked%20Entities%2C%20I%20have%20created%20two%20FetchXML%2C%20grouping%20together%20all%20the%20related%20entities.%20The%20two%20main%20entities%20are%20Opportunites%20and%20Quotes.%3C%2FP%3E%3CP%3EThe%20report%20works%20perfectly%20fine%20when%20all%20the%20linked%20entities%20contain%20at%20least%20one%20record.%20From%20the%20CRM%20forms%2C%20there%20are%20fields%20from%20a%20particular%20entity%20which%20are%20not%20mandatory%20field.%3C%2FP%3E%3CP%3EFor%20instance%2C%20in%20the%20Competitors%20entity%2C%20the%20user%20may%20or%20may%20not%20enter%20a%20value%20for%20the%20Name%20field.%20Also%2C%20in%20the%20Payment%20Terms%2C%20the%20fields%20are%20not%20mandatory%20so%20the%20user%20may%20leave%20it%20blank.%3C%2FP%3E%3CP%3EWhen%20there%20is%20no%20record%20in%20any%20of%20the%20Competitors%20or%20Payment%20Terms%20entity%2C%20I%20get%20the%20error%20stated%20in%20the%20subject%20line.%3C%2FP%3E%3CP%3EMy%20question%20is%3A%20Is%20it%20possible%20to%20trap%20the%20error%20in%20the%20report%2C%20like%20if%20there%20is%20no%20record%20id%20found%20for%20any%20of%20the%20linked%20entities%20then%20the%20error%20will%20be%20bypassed%20and%20the%20report%20will%20still%20display%3F%3C%2FP%3E%3CP%3EThe%20report%20has%20already%20been%20deployed%20to%20Production%20and%20most%20users%20are%20already%20using%20it%20and%20they%20get%20the%20error%20when%20they%20did%20not%20enter%20any%20value%20for%20the%20Competitor.%3C%2FP%3E%3CP%3EPlease%20help!!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EMaverick2368%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Hello Partners,

I have created a FetchXMl report using BIDS and Visual Studio 2015.

Due to the scope of the report, 15 entities have been used to pull all the required information. 

Owing to the limitation in Linked Entities, I have created two FetchXML, grouping together all the related entities. The two main entities are Opportunites and Quotes.

The report works perfectly fine when all the linked entities contain at least one record. From the CRM forms, there are fields from a particular entity which are not mandatory field.

For instance, in the Competitors entity, the user may or may not enter a value for the Name field. Also, in the Payment Terms, the fields are not mandatory so the user may leave it blank.

When there is no record in any of the Competitors or Payment Terms entity, I get the error stated in the subject line.

My question is: Is it possible to trap the error in the report, like if there is no record id found for any of the linked entities then the error will be bypassed and the report will still display?

The report has already been deployed to Production and most users are already using it and they get the error when they did not enter any value for the Competitor.

Please help!!

 

Regards,

Maverick2368

0 Replies