Jump to content

Move Service from package X to Package Y


Blesta Addons

Recommended Posts

We want to talk about a experience of migrating services from package X to package Y .

Normally blesta allow admin to change package service via upgrade/downgrade in edit service, but this action is restricted to :

 - The package Source/destination should has the same Module .
 - the package group should has enabled "Allow Upgrades/Downgrades between Packages within this Group" .

without this two condition you can't move/migrate service to any other package, and in blesta v4 is more complicated with the new restricted mode that disallow change package's module if the package used by a service either active or canceled, this behavior has load a lot of request from our client to allow them change package module from module x to module y, and specially for client that are moving from other billing system, as the import manager assign service that hasn't a matched module in blesta to universal module, then they are stuck in universal module without any solution, we inspired the idea from the core plugin "reassign pricing", we have tweaked the plugin to allow not only change pricing_id and module_row_id , we have added support to update the package group id and the service fields to match the new module service fields, it took from us a lot of time and work to make it workable and supporting all modules via a simple config file. this plugin was tested and we was  able to migrate service from package to package .

the only issue we have is that we should do this for every service, no mass change possible due to some limitations and service fields issue for new module.

we will release the plugin freely soon .

Link to comment
Share on other sites

Do you remap service field data for all services that get a module change? It's one of the reasons we don't allow it currently, because it could potentially create issues with those services. I agree something needs to be done though, so looking forward to seeing what you're working on! :blesta: 

Link to comment
Share on other sites

Just now, Paul said:

Do you remap service field data for all services that get a module change? It's one of the reasons we don't allow it currently, because it could potentially create issues with those services.

yes we remap all the service i have attached a screenshot, this sample to migrate from virtualizor to proxmox  .

Change_Package.png

 

 

Link to comment
Share on other sites

Just now, Blesta Addons said:

yes we remap all the service i have attached a screenshot, this sample to migrate from virtualizor to proxmox  .

Change_Package.png

 

 

Ah, very nice! So when you change it for a specific service, you can enter the new details for the new service fields.

Link to comment
Share on other sites

Just now, Paul said:

Ah, very nice! So when you change it for a specific service, you can enter the new details for the new service fields.

Yes, the first idea was to create a map file for very module, but it was very complicated to match every field with source/destination module, as some module hs unique field and others has multiple ....ect , so finnaly we have opted for this solution to be sure the change service will not give any issue in the future .

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...