how to copy records from one company to another company using configuration worksheet without excel

yoheswaranyoheswaran Member Posts: 13
Hi everyone i need to know how to copy records from one company to another company in business central


thanks in advance.

Answers

  • JJMcJJMc Member Posts: 61
    You need to make a peace of program to go throught the records you want to copy and copy them to another record using record.changecompany(companyname) before in the record you want to copy to.

    For example:

    CustomerTo.ChangeCompany('My Company');
    if customerFrom.findset(false) then begin
    repeat
    CustomerTo.init();
    CustomerTo := CustomerFrom;
    CustomerT.Insert();
    until CustomerFrom.next() = 0;
    end;
  • yoheswaranyoheswaran Member Posts: 13
    it is possible by importing records from one company and exporting that records into another company without program
Sign In or Register to comment.