Posts

Showing posts from October, 2023

Records to include in SSRS Report With UI Builder class

Image
 Hi Viewers, Records to include Tab will not shown in the SSRS report if the report is generated along with the UI Builder class. If you want Record to include a tab in Report. Please create a query and add it to the DP class. And enable dynamic filters to Yes in report dataset properties. Create a query. Add it to the DP class in the attribute. Restore or add to the data set in the report. change dynamic filters to Yes. Note: If you restore the dataset in the existing report. then sometimes you may get the ' the count of parameters not matched ' error while the report is deployed. In that case, create a new design and try again.

Multi select lookup in UI Builder class in D365F&O through x++ code.

 Hi Viewers, Below is the code sample for Multi-select lookup in the SSRS report by UI builder class. In this example, I am using  UI builder class - ItemListUIBuilder Contact class - ItemListContract DP class - ItemListDP In the contract class add a list-type parameter, as shown below. Contract class must decorated with attributes as shown below. give the ULBuilder class name to SysOperationContractProcessingAttribute [ DataContractAttribute,     SysOperationContractProcessingAttribute(classStr(ItemListUIBuilder))] class ItemListContract {   List                        ItemIDList;   [   DataMemberAttribute,         AifCollectionTypeAttribute("Item Id", Types::String)      ]     public List parmItemIdList(List _ItemIDList = ItemIDList)     {       ItemIDList = _ItemIDList;       return ItemIDLis...