FlowField - CalcFormula - Not Equal To Logic

leikelman
Member Posts: 31
I am trying to create a second FlowField on the Item table which is exactly the same as the Inventory (Field No. 68) field except it will not sum posted returns in the item ledger table.
So the logic would be "Sum everything in the Item Ledger table where the Location Code IS NOT RETURNS). RETURNS is a location we created for returns.
Is there any way of creating this flowfield?
Thank you,
Leo
So the logic would be "Sum everything in the Item Ledger table where the Location Code IS NOT RETURNS). RETURNS is a location we created for returns.
Is there any way of creating this flowfield?
Thank you,
Leo
0
Comments
-
I will suggest to use flowfilter in the form instead of creating new field.0
-
But is it possible to create a field? Because this column will be used in multiple forms/reports and would be easier if I could just make it a field.0
-
But if for any reason you will decide to rename your locations, or even have one more, than you again modify this field.
Then it is better to create some function which will calculate what you want and display on your form like in any statistic form (sales or puchase document).0 -
Well the other problem is I don't have the developers license so I can't modify the table functions. Either way, if I add a function, I'll need to modify the function if I decide to add a new "RETURNS" location, so I am still making adjustments somewhere.
What the real question here is, is it possible for me to use "NOT EQUAL TO" logic in the CalcFormula field?1 -
Yes, <>RETURNS, but from my point of view it is not a good solution. You've better ask company which suports you regarding NAV0
-
If I try putting a <> in the CalcFormula then it tells me "An '=' is missing".0
-
What i can think of the situation is:
Create a boolean field in the location table name it "Return Location". Put a check mark on the location which you named 'RETURNS'.
It will not create any problem in calcFormula and will also resolve the issue if you want to change the return location to some other locationThanks,
Ritesh K Singh0 -
create a flowfield and flowfilter. Set the location equal to flowfilter in the flowfield. On the form set the flowfilter "<>Return Location"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