Jump to content

Deletion upon Termination?


UncommonTrend

Recommended Posts

Hi,

 

I was in my system today and a thought came about: is there a way to delete a package from a customer's product/service list upon the termination of his or her service through automation? I feel like keeping a service item that's been terminated as a part of my clients' service/product list is a bit pointless.

 

Would love your guys' help on this.

 

Thanks,

Ry

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi,

There is not currently an option for this as standard, but I don't imagine it would be too difficult to customise.

 

The AfterModuleTerminate action hook point could trigger some code to search and delete the record from the database after it's been terminated:

 

http://docs.whmcs.com/Hooks:AfterModuleTerminate'>http://docs.whmcs.com/Hooks:AfterModuleTerminate

http://docs.whmcs.com/Hooks

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated