Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Insert Record from One company to Another Company

(0) ShareShare
ReportReport
Posted on by 1,707
Hi Community,
 
I want to insert records from one company to another company. For that, I have created a custom table & Page to store data and I have also created an action button. After Clicking on this Button Data is separated According to their Type. [For example, if line type is order, it will go into Sales Order page & similarly quote goes into the sales quote page]
 
I Have 2 companies. so if the line type is order and the customer type is 'XYZ', the sales order should be inserted into the /xyz/ company's sales order page. Similarly, if the line type is Quote and the customer type is 'abc', the sales quote should be inserted into /abc/ Company's sales quote page.
 
 
Thank You.
 
  • Inkey Solutions Profile Picture
    Inkey Solutions 1,707 on at
    Insert Record from One company to Another Company
    Thank You @YUN ZHU for your Suggestion.
     
    I have tried it & It also works as the selected record can be copied from one company to another but I want to copy all the records into another company based on certain conditions which I have included in the following code, and those records should be automatically inserted into the sales header table.
     
     
    Thank You
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 74,115 Super User 2024 Season 2 on at
    Insert Record from One company to Another Company
    Hi, hope the following helps as well.
     
    Thanks.
    ZHU
  • Suggested answer
    NAV_with_Narang Profile Picture
    NAV_with_Narang 2,236 Super User 2024 Season 1 on at
    Insert Record from One company to Another Company
    Please use CHANGECOMPANY function to transfer data to another company
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans