It looks like you're new here. Sign in or register to get started.
IF GETRANGEMIN("Posting Date") <> 0D THEN SETRANGE("Posting Date",CALCDATE('-1D',GETRANGEMIN("Posting Date")),GETRANGEMAX("Posting Date")); Message("Item Ledger Entry".GETFILTER("Item Ledger Entry"."Posting Date"));
'<-1D>'
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
"Item Ledger Entry".SETRANGE(FilterDate,CALCDATE('-1D',FilterDate),FilterDate);
If i understood your requirement correctly and if you want to get the Previous date within your posting date filter range then try the below code
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
else your code will not be multilanguage enabled...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.