Company Copy using the Wizard

Created by John Vainikka, Modified on Tue, 13 May at 4:12 PM by John Vainikka

This is a paid service that we provide for some customers. It is not officially supported by Viewpoint.

Step 1: Backup the Viewpoint Database

Run a full backup from SSMS.

Step 2: Activate the Company Copy Wizard

Ensure the user you are logging in as is db_owner on the Viewpoint database.

To enable access to the Company Copy Wizard, run the following SQL command:


UPDATE vDDUP SET UserAccountTypeID = 7 WHERE VPUserName = SUSER_NAME()

Note: Make sure to revert the UserAccountTypeID back to its original value (usually 0) once the company copy process is complete.

Step 3: Perform the Company Copy

  1. Open Viewpoint Administration > Programs > Company Copy Wizard.

  2. Click "Turn off Ability to Login".

  3. Click Next.

  4. Click Next again. When prompted about not creating a backup, click OK.

  5. Set Source Company to the template company.

  6. Set Destination Company to the next available number.

  7. Click "Set Up Company".

  8. Enter the company name in the Description field

  9. Under the "Additional Info" tab in HQ Company Setup:

    • Place your cursor in AR Customer and press F5.

    • Set up the group using the same number as the destination company.

    • Description should match the company name.

    • All group assignments should match the company number.

    • Save the record and close.

  10. Click Next.

  11. Click "Add all Static".

  12. Click Copy.

  13. When prompted to "Add available dependent tables", click Yes.

  14. Do 30 pushups ?

  15. Click Finish. The ability to login will be restored.

Step 4: Set Up Data Security

  1. In VA Security Groups, create a security group for the new company in VA Security Groups
  2. Run the following script to configure data security. Be sure to set the @company and @securitygroup variables appropriately.
DECLARE @company TINYINT = <new co #>,            @securitygroup INT = <new security group>,         @fromcompany INT = <from co #>,         @fromgroup INT = <from security group> INSERT INTO vDDDS (Datatype, Qualifier, Instance, SecurityGroup) SELECT Datatype, Qualifier, Instance, @securitygroup AS SecurityGroup FROM vDDDS WHERE Qualifier = @fromcompany AND Instance = @fromcompany AND SecurityGroup=@fromgroup

Step 5: Deactivate the Company Copy Wizard

To disable access to the Company Copy Wizard, run the following SQL command:


UPDATE vDDUP SET UserAccountTypeID = 0 WHERE VPUserName = SUSER_NAME()

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article