Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, PowerApps, Microsoft Flow, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates to Dynamics 365Release overview guides and videos Release Plan | Early Access Availability
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
When i call the report i get above error
MyRec is Record Datatype with SubItem Item
MyRec.RESET; MyRec.SETRANGE("No.","No."); IF MyRec.FINDFIRST THEN REPORT.RUN(795, TRUE, TRUE, MyRec);
Your report must have the same data type Item in it.
Then what changes should i made to the below line so thar Report 795 should run . I want to pass only 1 item.
In Report 795 there is Global Variable on request page ItemNoFilter related to table Item. So I want that No should be passed to this variable so that report should run.
REPORT.RUN(795, TRUE, TRUE, MyRec);
you can try this way
Item.SETRANGE("No.", 'INSERT HERE THE ITEM CODE YOU NEED TO FILTER');
IF Item.FINDFIRST THEN
Item is a global variable on table Item
AdjustCostItemEntries is a global variable on report 795
Because the report 795 does not take Item variable as parameter.
Use the InitializeRequest as Andrea said.
Can u pls guide how the below line's work.
The CLEAR(AdjustCostItemEntries) will clear any variables in that report.
The AdjustCostItemEntries.InitializeRequest(ItemNoFilter,ItemCategoryFilter) use the Item No filter and Item Category filter to filter the items.
Business Applications communities