View Sales Order With CHANGECOMPANY

Jonathan2708
Member Posts: 552
Hi,
I've successfully used CHANGECOMPANY on the Item card and Customer card to view records in a sister company, but I now want to do a similar thing to view a sales order from the other company. When I try this on form 42, I get an error saying the sales order does not exist. I'm assuming there's some code or form link property that's causing this.
Has anybody successfully run a sales order form against data in another company?
Thanks
Jonathan
I've successfully used CHANGECOMPANY on the Item card and Customer card to view records in a sister company, but I now want to do a similar thing to view a sales order from the other company. When I try this on form 42, I get an error saying the sales order does not exist. I'm assuming there's some code or form link property that's causing this.
Has anybody successfully run a sales order form against data in another company?
Thanks
Jonathan
0
Comments
-
The difference is that Item and Customer card are based on single tables. Sales orders, is based on the header (T36) and the lines (T37). So if you want to use the standard form it's not possible as you can change the header table to another company but this does NOT imply that the line table is changed to the other company, so thats the reason you will get an error. If you create 2 forms one for the header and another one for the lines it's possible, but not by using a subform.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