Hii There.
As per your question you need to add below code in Table & Page as per requirement.
For page..
trigger OnOpenPage()
begin
Rec.Reset();
if not Rec.Get() then begin
Rec.Init();
Rec.Insert();
end;
Rec.SetRange("Date Filter", 0D, WorkDate());
Rec.SetRange("Date Filter2", WorkDate(), WorkDate());
Rec.SetRange("User ID Filter", UserId());
end;
---
For Table.
field(2; "Invt Pick Today"; Integer)
{
AccessByPermission = TableData "Warehouse Activity Header" = R;
CalcFormula = count("Warehouse Activity Header" where(Type = filter("Invt. Pick"),"Shipment Date" = field("Date Filter")
);
Caption = 'Invt Pick Today';
Editable = false;
FieldClass = FlowField;
}
- -
as per your page not getting any filter of 'Today' string.
Try as per this.
Thank You.
Kamal Khakhkhar.