Filter Flowfield Using Asterix

KARPURSHRIKANT
Member Posts: 35
I wish to add a CalcFormula on a flowfield Document No='BR*'
eg.
On customer table and Payments(LCY) flow field
CalcFormula
-Sum("Detailed Cust. Ledg. Entry"."Amount (LCY)" WHERE (Document No='BR*',Entry Type=CONST(Initial Entry),Customer No.=FIELD(No.),Initial Entry Global Dim. 1=FIELD(Global Dimension 1 Filter),Initial Entry Global Dim. 2=FIELD(Global Dimension 2 Filter),Posting Date=FIELD(Date Filter),Currency Code=FIELD(Currency Filter)))
eg.
On customer table and Payments(LCY) flow field
CalcFormula
-Sum("Detailed Cust. Ledg. Entry"."Amount (LCY)" WHERE (Document No='BR*',Entry Type=CONST(Initial Entry),Customer No.=FIELD(No.),Initial Entry Global Dim. 1=FIELD(Global Dimension 1 Filter),Initial Entry Global Dim. 2=FIELD(Global Dimension 2 Filter),Posting Date=FIELD(Date Filter),Currency Code=FIELD(Currency Filter)))
0
Comments
-
Can not do this as it works filters like in Table Relation. don't know what's logic behind it but if you want show only those entries will has to come with filter 'BR*' then do it by coding as form opening in customer balance field.0
-
Thanks Vijay,
Well Coding it in form opening will filter on the table and will have no relation with the specific field. The purpose of this is that I just want to seperate cash receipts and bank receipts where BR* Is the documents starting with bank receipts..and the column will containg the sum of only bank receipts...
Pl advice if you have any alternate soluion...
rgds,
SHrikant K.0 -
Is it not working? Are you getting an error? What's the field NOT doing? Is it pulling more that BR* docs?
Or are you getting this?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