Data of all companies in a report

fjgarcia
Member Posts: 3
Hi and sorry for my english.
I want to show the report 112 for all companies. Well I have something like this:
1.- Customer Table have the DataPerCompany = No
2.- In the report 112 only use the DataItem Customer.
I try to change company with command Customer.ChangeCompany(Company.Name) but, it doesn't work.
I try too, to filter the "Global Dimension 1" that contains Departament Code and it's used for the companies, but it doesn't work too.
Thanks in advance
I want to show the report 112 for all companies. Well I have something like this:
1.- Customer Table have the DataPerCompany = No
2.- In the report 112 only use the DataItem Customer.
I try to change company with command Customer.ChangeCompany(Company.Name) but, it doesn't work.
I try too, to filter the "Global Dimension 1" that contains Departament Code and it's used for the companies, but it doesn't work too.
Thanks in advance
0
Comments
-
I don't show a report 112 in my database, so your question is not making sense. Also: you say the Customer table is NOT data per company. Then you want to change companies. Why do this? CHANGECOMPANY only works for one table at a time. You can't change companies and expect all related data to also change company, if that's what you're trying to do.0
-
I do this because the user can filter by the company wants to show that company even if not in it.
Well that is the case, the report uses the DataItem Customer (which, in the table has the property DataPerCompany = no). This DataItem is filtered by global dimension 1 which is code department (company), besides just CalcFields to calculate various fields such as "sales (LCY)" in Customer table. The problem comes when running, because if we run from Company A to see Company B, this is not the same records shows us that if we run from the company B to see company B.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
- 321 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