Personalized Community is here!
Quickly customize your community to find the content you seek.
Latest TechTalk Videos
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2021 Release Wave 2Discover the latest updates and new features releasing from October 2021 through March 2022.
2021 release wave 2 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
How to delete multiple lines in the form grid.
Standard form - Credit card transaction (Form name - TrbPbsMainDataLines) -> delete button property is set to "No"
I have added the button in the form Action pane and set the button multiselect property to "Yes" and wrote the code in "On Clicked" event handler.
But it is getting deleted only for the single selected records not for for the multiple records.
[FormControlEventHandler(formControlStr(TrvPbsMainDataLines, Delete), FormControlEventType::Clicked)]
public static void Delete_OnClicked(FormControl sender, FormControlEventArgs e)
TrvPBSMaindata callerRec = sender.formRun().dataSource(1).cursor();
while select trvpbsmaindata where trvpbsmaindata.CCTransUniqueID == callerRec.CCTransUniqueID
Thank you Ergün Şahin
Business Applications communities