If(1=1,ClearCollect(varWOWOInfoDetails,Filter('Work Orders Work Order Info Details','Work Order ID' = DashBoardGallery_1.Selected.ID));ClearCollect(varWOSP,Filter('Work Orders Spare Parts','Work Order ID' = DashBoardGallery_1.Selected.ID));ForAll(varWOSP As wosp,Collect(varWOSPWOSPAPP,Filter('Work Order Spare Parts Work Order Spare Part Approvals','Work Order Spare Part ID' = wosp.ID)));IfError(RemoveIf('Work Orders',ID = DashBoardGallery_1.Selected.ID),Notify("Can not delete work order",NotificationType.Error),ForAll(varWOWOInfoDetails As wowo,RemoveIf('Work Orders Work Order Info Details',ID=wowo.ID);RemoveIf('Work Orders Info Details',ID=wowo.'Work Order Info Detail ID'));ForAll(varWOWOInfoDetails As wowo,RemoveIf('Work Orders Info Details',ID=wowo.'Work Order Info Detail ID');RemoveIf('Work Orders Work Order Info Details',ID=wowo.ID););
ForAll(varWOWOInfoDetails As wowo,
RemoveIf('Work Orders Work Order Info Details',ID=wowo.ID);
RemoveIf('Work Orders Info Details',ID=wowo.'Work Order Info Detail ID')
);
ForAll(varWOWOInfoDetails As wowo,
RemoveIf('Work Orders Info Details',ID=wowo.'Work Order Info Detail ID');
RemoveIf('Work Orders Work Order Info Details',ID=wowo.ID);
);
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.