How "Date Filter" field in Customer table works?

selece28
Member Posts: 316
Hi All,
My client wants me to check on customers with overdue balance. They want a reports that print out customers with overdue balance
I know we can do this easily by SETRANGE("Date Filter", 0D, CurrentDate)
Then CALCFIELDS("BALANCE DUE")
Then I just filter the BALANCE DUE fields on Customer table to get the Customer with Balance Due.
But i'm curious bout the DATE FILTER field in Customer table. I check its just a FlowFilter without any codes in the C/AL.
Maybe this is a stupid question, but can anyone explain me how this field works? And how can i see whats the value of this field?
Thanks in advance,
My client wants me to check on customers with overdue balance. They want a reports that print out customers with overdue balance
I know we can do this easily by SETRANGE("Date Filter", 0D, CurrentDate)
Then CALCFIELDS("BALANCE DUE")
Then I just filter the BALANCE DUE fields on Customer table to get the Customer with Balance Due.
But i'm curious bout the DATE FILTER field in Customer table. I check its just a FlowFilter without any codes in the C/AL.
Maybe this is a stupid question, but can anyone explain me how this field works? And how can i see whats the value of this field?
Thanks in advance,
______________
Regards,
Steven
Regards,
Steven
0
Comments
-
This is just the "flowfilter" principle. In fact a way to make a flowfield more dynamical, and less static.
Usually a flowfield is a total of a certain column in a certain table. But sometimes you want to change that total, because you only want to total a small selection of all the records ... an that's where flowfilters comes into place.
You define a field, make it a flowfilter, and use this field in the calcformula of your flowfield. The, indeed, if you filter on that flowfilter, the flowfield is influenced by it ... and only shows you the total of that selection ... .
Hope this is a bit clear. I can always reference you to the DEV I course for a better explanation... .0 -
Thanks your explanation help me understand.
I already know a little 'bout FlowField but for FlowFilter i dont have any experince.
Could you tell me wheres the FlowField for Date Filter in Customer table?
I try to find it but not found it yet
Thanks Waldo______________
Regards,
Steven0 -
Yes i know field 55 is a FlowFilter
But When i do SETRANGE("Date Filter", 0D, Current Date)
This means i set Date Filter range from 0D until Current Date right?
My question is where Date Filter gets its value? Coz it seems that i cant find the value in Customer Card.
Thanks______________
Regards,
Steven0 -
personally I would Use the Customer Ledger Entries. Any balance due doesn't actually mean OVERDUE. It depends on the customer's terms. Maybe all their customers have the same terms, I don't know.
But if you filter on your report any entries that are:
1. open
2. Current Date >= Due Date
then total the "Remaining Amount"0 -
OK, thanks Savatage, now i know the other method to SUM the Overdue Balance.
But WaldoIt does not get a value.
Ranging (filtering) the date filter (flowfilter) is the way to influence your flowfields, not by setting values, but by ranging a flowfilterfield.
A flowfilter-field never gets a value.
It makes me confuse :-k
Can u explain more, coz i'm lost. I thought a Flowfilter is filled by value from FlowField then get filtered (SetRange).
Then if its like u'r explanation, what's the FlowField for Date Filter field?
Maybe my question is a stupid question, forgive me, but could u explain more coz i'm new and i want to learn more bout this.
Thanks in advance,______________
Regards,
Steven0 -
selece28 wrote:Then if its like u'r explanation, what's the FlowField for Date Filter field?
Maybe my question is a stupid question, forgive me, but could u explain more coz i'm new and i want to learn more bout this.
Thanks in advance,
There are no stupid questions, only stupid answers.
There could be more then one flowfield that is using only one flowfilter (e.g. data filter). So, if you filter the field "date filter", then it could be that the totals of numerous flowfields are affected (depends if they have "date filter" in their calcformula).
E.g.
Customer table:
there is a flowfilter: Date Filter
If you look at flowfield "Net Change" (field 60), go to CalcFormula, and then to Table Filter: you see the Date Filter flowfilter (forth line)
If you go to flowfield "Balance Due" (field 66), got to CalcFormula, and then to Table Filter: you see the Date Filter flowfilter even two times!0 -
Ow yes this is what i mean Waldo, thanks
So if i Ranging(Filtering) the Date Filter flowfilter, then all flowfield with Date Filter in their calcformula will triggered and count the value. Is this right?
Thanks______________
Regards,
Steven0 -
create a new form. place "Customer" in the sourcetable property of it. place a tablebox onto it. add no.,name,date filter and some amount fields. filter "date filter" field in the OnOpenform trigger.save and run the form.see the values in the date filter column.by using shift+f7 shortcut, change date filter....hope this helps you understand.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions