Show the value of calculated flowfield in another tablefield
vyanku
Member Posts: 791
I create a field of sales quantity in job ledger entry which is flowfield and having calcfield property as
Now I want to show that value in one report based on another table.
But I am not able to get the value of that field, as it is flowfield having sumindexfield of quantity.](*,) .
How can I get the value of that field in another table/report?
Sum("Job Ledger Entry".Quantity WHERE (Entry Type=CONST(Sale),Job No.=FIELD(Job No.),Phase Code=FIELD(Phase Code),Type=CONST(Service Item),Posting Date=FIELD(Posting Date)))
And it shows me proper value in Job ledger entry table.Now I want to show that value in one report based on another table.
But I am not able to get the value of that field, as it is flowfield having sumindexfield of quantity.](*,) .
How can I get the value of that field in another table/report?
0
Comments
-
Hi,
1. Copy the definition of flowfield to another table
or
2. in the report make a variable based on JobLedgerEntry, get desired record, and use JobLedgerEntry.calcfields("your field here");
3. in the form you can do as in 2, put the code in OnAfterGetRecord
or
4. In "another" table make new Lookup flowfield pointing to JobLedgerEntry flowfield, and in JobLedgerEntry flowfield put a mark that value is a flowfilter (will be calculated first)
Regards,
SlawekSlawek Guzek - www.yitron.co.uk
Business Central, MS SQL Server, Wherescape RED;0 -
Ehh why isnt that field on job where it belongs?0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
