Shortcut Dimension Values as FlowFilter in a FlowField

fve
Member Posts: 28
Hello,
In the Customer table (T18), I would like to add some additional filters to the CalcFormula of the field "Outstanding Amount".
For a management-report, I need the Outstanding Order Total, based on two additional filters: "Shortcut Dimension Value 4" and "Shortcut Dimension Value 5".
Problem is, that these fields are not physically present in Table 37 (Sales Line) on which the Flowfield "Outstanding Amount" is based.
However, in the Order Form, you can see the values for the Shortcut Dimensions if you are using the "Show Columns functionality". There, all Shortcut Dimension Values are listed.
Is there some way to use the same technique to add these values to the CalcFormula of the field "Outstanding Amount" or do I need to add these fields physically to Table 37 (Sales Line)?
In the Customer table (T18), I would like to add some additional filters to the CalcFormula of the field "Outstanding Amount".
For a management-report, I need the Outstanding Order Total, based on two additional filters: "Shortcut Dimension Value 4" and "Shortcut Dimension Value 5".
Problem is, that these fields are not physically present in Table 37 (Sales Line) on which the Flowfield "Outstanding Amount" is based.
However, in the Order Form, you can see the values for the Shortcut Dimensions if you are using the "Show Columns functionality". There, all Shortcut Dimension Values are listed.
Is there some way to use the same technique to add these values to the CalcFormula of the field "Outstanding Amount" or do I need to add these fields physically to Table 37 (Sales Line)?
0
Comments
-
No, it is not possible.0
-
I was afraid I would get this answer. #-o
That means I'll have to add these values to the Sales Line Table.
How can I keep these values updated?
Does anyone have some kind of advice on how to approach this?
(First time I get to work with Dimensions ](*,) )0 -
one way is to whe ever salesline dimensions are being assigned automatically or manually, modify the sales line with new dimension values.
for example, when you try to enter the sales line details, u select type, No. thata when the dimensions are assigned, try to add code to bring those dimension values into salesline. also when you manually modify the dimension, modify the salesline. Just like th eGlobal dimensions doLR0 -
Well I would suggest not to try turn shortcut dimension into global ones - that's a hard nut to crack.
Let's go with a more specified approach.
Are these dimensions coming from Items or Customers?
1)Then add new fields to the Items or Customer, also a subtable to choose the value, and into onvalidate code to insert/modify/delete them into the Default Dimensions table as well. This will also make entering dimensions easier on the Item/Customer.
2) add two new fields to sales line table and code to sales line table, no. -onvalidate that if the type is an item, validate these fields from the item. or if they are from the customer, add it to oninsert and look up from the header.
If they are entered manually on the order, then do 2) and and add code to these 2 new fields onvalidate to insert/modify/update the document dimension table as well0
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