Creating Customers in Multiple Companies

chiptesandeep
Member Posts: 12
If we create a customer in one Company, Need to create same Customer in all Companies with defined no. series.
Ex: Database having companies A , B , C .
IF we create a customer in Company A with No. CA-0001 ,
then automatically in B & C companies customer master should insert with CB-0001 & CC-0001.
Ex: Database having companies A , B , C .
IF we create a customer in Company A with No. CA-0001 ,
then automatically in B & C companies customer master should insert with CB-0001 & CC-0001.
Sandeep Chepte
0
Comments
-
Is there a question?David Singleton0
-
is there any possibility to create same customer in Multiple companies with defined no. series as per company .. ?Sandeep Chepte0
-
There is a virtual table 2000000006 company , use this table to go to each company and then use changecompany function to change company. For example,
IF company.findset then
repeat
customer.changecompany(company.name);
until company.next = 0;
But remember this changes company only for customer table , not for other tables. So if onvalidate trigger in customet table fields calls other tables , those tables will refer to data in original company. So better to use web service to sync data between companies. Or simply , use dataport to export data from one company and import to other.0 -
Create MASTER company as another layer of security. This company use for some roles with the permissions MODIFY,INSERT,DELETE. You still can access this data from other companies but in READ only.
[Inappropriate language removed by Administrator]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