UpdateContext({SpinnerShow: true});
//Refresh(MyFieldService);
ClearCollect(
Col_FieldServices,
Sort(
Filter(
MyFieldService,
(
(
T_Supervisor.Checked
And
(
Technician_Lead.Email = F_LTechnician.Selected.Mail Or
Len(F_LTechnician.Selected.DisplayName) = 0
)
) Or
Technician_Lead.Email = My_User.mail
) And
(
(
Service_closed And
CB_SReport_closed.Checked
) Or
!CB_SReport_closed.Checked
) And
(
Customer = F_Customer.Selected.Value Or
Len(F_Customer.Selected.Value) = 0
) And
(
EquipmentNo = F_EquipNo.Selected.Value Or
Len(F_EquipNo.Selected.Value) = 0
) And
(
to <= DP_Max.SelectedDate Or
Len(DP_Max.SelectedDate) = 0
) And
(
from >= DP_Min.SelectedDate Or
Len(DP_Min.SelectedDate) = 0
) And
(
SAP_Managed Or
!CB_SAP.Checked
)
),
from,
SortOrder.Descending
)
);
UpdateContext({SpinnerShow: false});
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.