Question about Single Instance CodeUnit
tompynation
Member Posts: 398
Hi,
Suppose you created a singleinstance CU: 50000, CopyData
This CodeUnit contains 2 Methods, CopyA & CopyB
Then you create 2 new singleinstance CU: 50001, 50002
CU 50001 just calls the CopyA method from CodeUnit 50000
AND
CU 50002 calls the CopyB method from CodeUnit 50000
When you now Run CodeUnit 50001 in Company A,
and Run CodeUnit 50002 in Company B,
Will these two codeunits (50001,50002) then be running in the 2 different companies or will this not work cause
CodeUnit 50000 is an SingleInstance also?
Suppose you created a singleinstance CU: 50000, CopyData
This CodeUnit contains 2 Methods, CopyA & CopyB
Then you create 2 new singleinstance CU: 50001, 50002
CU 50001 just calls the CopyA method from CodeUnit 50000
AND
CU 50002 calls the CopyB method from CodeUnit 50000
When you now Run CodeUnit 50001 in Company A,
and Run CodeUnit 50002 in Company B,
Will these two codeunits (50001,50002) then be running in the 2 different companies or will this not work cause
CodeUnit 50000 is an SingleInstance also?
0
Comments
-
Singleinstance = single instance for the one client instance, not system-wide
one client instance = one company
if you want to transfer data between companies, you cannot do it through singleinstance codeunits.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
