Running a post codeunit from company A to company B
sabzam
Member Posts: 1,149
Dear All,
is it possible in some way or another to run the a codeunit in company B from company A. For example whenever I click post batch in the Sales Invoices in Company A automatically even the sales invocies in company B are posted.
is it possible in some way or another to run the a codeunit in company B from company A. For example whenever I click post batch in the Sales Invoices in Company A automatically even the sales invocies in company B are posted.
0
Comments
-
Check out the topics on Intercompany Posting. You'll want to use the CHANGECOMPANY function.0
-
CHANGECOMPANY is not your answer for posting, it's just too much code. You will need to develop something more robust than that.0
-
I got a requirement for something similar to that line...
A report needs to be generated for each company after its office hours.
If there are 10 companies, using Job scheduler it will take up 10 use licenses if CHANGECOMPANY cannot be used as each company will need to be opened to run the report.
The current workaround is to schedule a downtime to backup the database to another location & generate the reports from the backup, which is not the way to go...
Any suggestions?NAV - Norton Anti Virus
ERP Consultant (not just Navision) & Navision challenger0 -
reading data from other companies is fine. It's writing and running business logic that does not work.0
-
Some of the reports included statements or invoices which are not pure reads
NAV - Norton Anti Virus
ERP Consultant (not just Navision) & Navision challenger0 -
There's a thing in the download section that allows you to run one instance of NAS for multiple companies. I don't know how it works, but I remember people being very positive about it.
Like Rashed said, reading data using CHANGECOMPANY is not a problem, processing data using CHANGECOMPANY is possible but the more stuff you need to do the more difficult it becomes.0 -
0
-
What if there's no NAS?NAV - Norton Anti Virus
ERP Consultant (not just Navision) & Navision challenger0 -
you get a free license for NAS, so there is always NAS.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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 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


