Discussions
Activity
Best Of...
Sign In
·
Register
Home
›
NAV Three Tier
Howdy, Stranger!
It looks like you're new here. Sign in or register to get started.
Sign In
Register
Quick Links
Categories
Recent Discussions
Activity
Best Of...
Unanswered
Categories
All Categories
73
General
73
Announcements
66.5K
Microsoft Dynamics NAV
18.5K
NAV Three Tier
38.4K
NAV/Navision Classic Client
3.6K
Navision Attain
2.4K
Navision Financials
115
Navision DOS
854
Navision e-Commerce
1K
NAV Tips & Tricks
772
NAV Dutch speaking only
615
NAV Courses, Exams & Certification
2K
Microsoft Dynamics-Other
1.5K
Dynamics AX
264
Dynamics CRM
109
Dynamics GP
10
Dynamics SL
1.5K
Other
992
SQL General
385
SQL Performance
33
SQL Tips & Tricks
34
Design Patterns (General & Best Practices)
Architectural Patterns
10
Design Patterns
5
Implementation Patterns
53
3rd Party Products, Services & Events
1.7K
General
1.1K
General Chat
1.6K
Website
79
Testing
1.2K
Download section
23
How Tos section
259
Feedback
12
NAV TechDays 2013 Sessions
13
NAV TechDays 2012 Sessions
Options
How to copy a newly created item record to another company
Harikiran
Member
Posts:
39
2017-01-19
in
NAV Three Tier
Hi guys
I want to create a new record in the item table. This newly created item record should be also copied to few selected companies.
How to achieve this. Suggestions plz.
Harikiran BM | ERP Specialist
0
Answers
Options
RockWithNAV
Member
Posts:
1,139
2017-01-19
Did you checked this
https://msdn.microsoft.com/en-us/library/jj128096(v=nav.90).aspx
Thanks
Blog -
rockwithnav.wordpress.com/
Twitter -
https://twitter.com/RockwithNav
Facebook -
https://facebook.com/rockwithnav/
0
Options
Harikiran
Member
Posts:
39
2017-01-19
I want to achieve it through code
Harikiran BM | ERP Specialist
0
Options
RockWithNAV
Member
Posts:
1,139
2017-01-19
OK See the below link and then afterwards the next link.
https://msdn.microsoft.com/en-us/library/dd338929.aspx
https://community.dynamics.com/nav/f/34/t/165862
Thanks
Blog -
rockwithnav.wordpress.com/
Twitter -
https://twitter.com/RockwithNav
Facebook -
https://facebook.com/rockwithnav/
0
Options
Andwian
Member
Posts:
627
2017-01-19
CHANGECOMPANY just like in Intercompany module.
Regards,
Andwian
0
Options
zohaibu95@hotmail.com
Member
Posts:
223
2017-01-20
To change a company using code do
RecVar.CHANGECOMPANY('Company Name');
RecVar.INIT;
RecVar.SomeField := Something;
RecVar.INIT;
where RecVar is the Variable of type record.
Hope this helps
Best Regards
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.
1
Sign In
or
Register
to comment.
Answers
https://msdn.microsoft.com/en-us/library/jj128096(v=nav.90).aspx
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/
https://msdn.microsoft.com/en-us/library/dd338929.aspx
https://community.dynamics.com/nav/f/34/t/165862
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/
Andwian
RecVar.CHANGECOMPANY('Company Name');
RecVar.INIT;
RecVar.SomeField := Something;
RecVar.INIT;
where RecVar is the Variable of type record.
Hope this helps
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.