Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.0-b1
    • Component/s: Staff Interface
    • Labels:
      None

      Description

      When deleting a client (Clients::delete), this action should occur within a database transaction via listeners to the Clients.delete event and delete all stored records related to the client, including:

      • clients (done in the Clients model, which triggers the rest of these to be called)
      • client_account (done in the ClientAccount handler)
      • accounts_cc (remove from offsite if necessary) (done in the AccountsCc handler)
      • accounts_ach (remove from offsite if necessary) (done in the AccountsAch handler)
      • client_notes (done in the ClientNotes handler)
      • client_packages (done in the ClientPackages handler)
      • client_settings (done in the ClientSettings handler)
      • client_values (done in the ClientValues handler)
      • contacts (done in the Contacts handler)
      • contact_numbers (done in the Contacts handler)
      • contact_permissions (done in the Contacts handler)
      • invoices (done in the Invoices handler)
      • invoices_recur (done in the InvoicesRecur handler)
      • invoices_recur_created (done in the InvoicesRecur handler)
      • invoice_delivery (done in the Invoices handler)
      • invoice_lines (done in the Invoices handler)
      • invoice_line_taxes (done in the Invoices handler)
      • invoice_meta (done in the Invoices handler)
      • invoice_recur_delivery (done in the InvoicesRecur handler)
      • invoice_recur_lines (done in the InvoicesRecur handler)
      • invoice_recur_values (done in the InvoicesRecur handler)
      • invoice_values (done in the Invoices handler)
      • log_client_settings (requires CORE-2679 / CORE-2692) (done in the LogClientSettings handler)
      • log_contacts (done in the LogContacts handler)
      • log_emails (done in the LogEmails handler)
      • log_services (done in the Services handler)
      • log_transactions (done in the Transactions handler)
      • log_users (done in the LogUsers handler)
      • services (done in the Services handler)
      • service_changes (done in the Services handler)
      • service_fields (done in the Services handler)
      • service_invoices (done in the Services handler)
      • service_options (done in the Services handler)
      • transactions (done in the Transactions handler)
      • transactions_applied (done in the Transactions handler)
      • users (done in the Clients and Contacts handlers)
      • user_otps (done in the Clients and Contacts handlers)
      1. Add a new event "Users.delete" to perform user deletion dependencies

      Note:

      1. The log_* tables may be ignored in favor of normal log rotation policies
      2. The data should be deleted by calling the appropriate delete actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.

        Issue Links

          Activity

          tyson Tyson Phillips (Inactive) created issue -
          tyson Tyson Phillips (Inactive) made changes -
          Field Original Value New Value
          Component/s Staff Interface [ 10000 ]
          tyson Tyson Phillips (Inactive) made changes -
          Description When deleting a client (Clients::delete), this action should occur within a database transaction and delete all stored records related to the client, including:
          * clients
          * client_accounts
          * accounts_cc (remove from offsite if necessary)
          * accounts_ach (remove from offsite if necessary)
          * client_notes
          * client_packages
          * client_settings
          * client_values
          * contacts
          * contact
          * contact_numbers
          * contact_permissions
          * invoices
          * invoices_recur
          * invoices_recur_created
          * invoice_delivery
          * invoice_lines
          * invoice_line_taxes
          * invoice_meta
          * invoice_recur_delivery
          * invoice_recur_lines
          * invoice_recur_values
          * invoice_values
          * log_contacts
          * log_emails
          * log_services
          * log_transactions
          * log_users
          * services
          * service_changes
          * service_fields
          * service_invoices
          * service_options
          * transactions
          * transactions_applied
          * users
          * user_otps

          Note:
          # The _log_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          When deleting a client (Clients::delete), this action should occur within a database transaction and delete all stored records related to the client, including:
          * clients
          * client_accounts
          * accounts_cc (remove from offsite if necessary)
          * accounts_ach (remove from offsite if necessary)
          * client_notes
          * client_packages
          * client_settings
          * client_values
          * contacts
          * contact
          * contact_numbers
          * contact_permissions
          * invoices
          * invoices_recur
          * invoices_recur_created
          * invoice_delivery
          * invoice_lines
          * invoice_line_taxes
          * invoice_meta
          * invoice_recur_delivery
          * invoice_recur_lines
          * invoice_recur_values
          * invoice_values
          * log_contacts
          * log_emails
          * log_services
          * log_transactions
          * log_users
          * services
          * service_changes
          * service_fields
          * service_invoices
          * service_options
          * transactions
          * transactions_applied
          * users
          * user_otps

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          tyson Tyson Phillips (Inactive) made changes -
          Assignee Tyson Phillips [ tyson ]
          Automated transition triggered when Tyson Phillips (Inactive) created a branch in Stash -
          Status Open [ 1 ] In Progress [ 3 ]
          tyson Tyson Phillips (Inactive) made changes -
          Description When deleting a client (Clients::delete), this action should occur within a database transaction and delete all stored records related to the client, including:
          * clients
          * client_accounts
          * accounts_cc (remove from offsite if necessary)
          * accounts_ach (remove from offsite if necessary)
          * client_notes
          * client_packages
          * client_settings
          * client_values
          * contacts
          * contact
          * contact_numbers
          * contact_permissions
          * invoices
          * invoices_recur
          * invoices_recur_created
          * invoice_delivery
          * invoice_lines
          * invoice_line_taxes
          * invoice_meta
          * invoice_recur_delivery
          * invoice_recur_lines
          * invoice_recur_values
          * invoice_values
          * log_contacts
          * log_emails
          * log_services
          * log_transactions
          * log_users
          * services
          * service_changes
          * service_fields
          * service_invoices
          * service_options
          * transactions
          * transactions_applied
          * users
          * user_otps

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          When deleting a client (Clients::delete), this action should occur within a database transaction and delete all stored records related to the client, including:
          * clients
          * client_account
          * accounts_cc (remove from offsite if necessary)
          * accounts_ach (remove from offsite if necessary)
          * client_notes
          * client_packages
          * client_settings
          * client_values
          * contacts
          * contact
          * contact_numbers
          * contact_permissions
          * invoices
          * invoices_recur
          * invoices_recur_created
          * invoice_delivery
          * invoice_lines
          * invoice_line_taxes
          * invoice_meta
          * invoice_recur_delivery
          * invoice_recur_lines
          * invoice_recur_values
          * invoice_values
          * log_contacts
          * log_emails
          * log_services
          * log_transactions
          * log_users
          * services
          * service_changes
          * service_fields
          * service_invoices
          * service_options
          * transactions
          * transactions_applied
          * users
          * user_otps

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          tyson Tyson Phillips (Inactive) made changes -
          Description When deleting a client (Clients::delete), this action should occur within a database transaction and delete all stored records related to the client, including:
          * clients
          * client_account
          * accounts_cc (remove from offsite if necessary)
          * accounts_ach (remove from offsite if necessary)
          * client_notes
          * client_packages
          * client_settings
          * client_values
          * contacts
          * contact
          * contact_numbers
          * contact_permissions
          * invoices
          * invoices_recur
          * invoices_recur_created
          * invoice_delivery
          * invoice_lines
          * invoice_line_taxes
          * invoice_meta
          * invoice_recur_delivery
          * invoice_recur_lines
          * invoice_recur_values
          * invoice_values
          * log_contacts
          * log_emails
          * log_services
          * log_transactions
          * log_users
          * services
          * service_changes
          * service_fields
          * service_invoices
          * service_options
          * transactions
          * transactions_applied
          * users
          * user_otps

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          When deleting a client (Clients::delete), this action should occur within a database transaction and delete all stored records related to the client, including:
          * clients
          * client_account
          * accounts_cc (remove from offsite if necessary)
          * accounts_ach (remove from offsite if necessary)
          * client_notes
          * client_packages
          * client_settings
          * client_values
          * contacts
          * contact_numbers
          * contact_permissions
          * invoices
          * invoices_recur
          * invoices_recur_created
          * invoice_delivery
          * invoice_lines
          * invoice_line_taxes
          * invoice_meta
          * invoice_recur_delivery
          * invoice_recur_lines
          * invoice_recur_values
          * invoice_values
          * log_contacts
          * log_emails
          * log_services
          * log_transactions
          * log_users
          * services
          * service_changes
          * service_fields
          * service_invoices
          * service_options
          * transactions
          * transactions_applied
          * users
          * user_otps

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          tyson Tyson Phillips (Inactive) made changes -
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 38 minutes [ 2280 ]
          Worklog Id 11133 [ 11133 ]
          tyson Tyson Phillips (Inactive) made changes -
          Link This issue is blocked by CORE-2701 [ CORE-2701 ]
          tyson Tyson Phillips (Inactive) made changes -
          Time Spent 38 minutes [ 2280 ] 2 hours, 19 minutes [ 8340 ]
          Worklog Id 11136 [ 11136 ]
          tyson Tyson Phillips (Inactive) made changes -
          Description When deleting a client (Clients::delete), this action should occur within a database transaction and delete all stored records related to the client, including:
          * clients
          * client_account
          * accounts_cc (remove from offsite if necessary)
          * accounts_ach (remove from offsite if necessary)
          * client_notes
          * client_packages
          * client_settings
          * client_values
          * contacts
          * contact_numbers
          * contact_permissions
          * invoices
          * invoices_recur
          * invoices_recur_created
          * invoice_delivery
          * invoice_lines
          * invoice_line_taxes
          * invoice_meta
          * invoice_recur_delivery
          * invoice_recur_lines
          * invoice_recur_values
          * invoice_values
          * log_contacts
          * log_emails
          * log_services
          * log_transactions
          * log_users
          * services
          * service_changes
          * service_fields
          * service_invoices
          * service_options
          * transactions
          * transactions_applied
          * users
          * user_otps

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          When deleting a client (Clients::delete), this action should occur -within a database transaction- via listeners to the Clients.delete event and delete all stored records related to the client, including:
          * clients
          * client_account
          * accounts_cc (remove from offsite if necessary)
          * accounts_ach (remove from offsite if necessary)
          * client_notes
          * client_packages
          * client_settings
          * client_values
          * contacts
          * contact_numbers
          * contact_permissions
          * invoices
          * invoices_recur
          * invoices_recur_created
          * invoice_delivery
          * invoice_lines
          * invoice_line_taxes
          * invoice_meta
          * invoice_recur_delivery
          * invoice_recur_lines
          * invoice_recur_values
          * invoice_values
          * log_contacts
          * log_emails
          * log_services
          * log_transactions
          * log_users
          * services
          * service_changes
          * service_fields
          * service_invoices
          * service_options
          * transactions
          * transactions_applied
          * users
          * user_otps

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          tyson Tyson Phillips (Inactive) made changes -
          Description When deleting a client (Clients::delete), this action should occur -within a database transaction- via listeners to the Clients.delete event and delete all stored records related to the client, including:
          * clients
          * client_account
          * accounts_cc (remove from offsite if necessary)
          * accounts_ach (remove from offsite if necessary)
          * client_notes
          * client_packages
          * client_settings
          * client_values
          * contacts
          * contact_numbers
          * contact_permissions
          * invoices
          * invoices_recur
          * invoices_recur_created
          * invoice_delivery
          * invoice_lines
          * invoice_line_taxes
          * invoice_meta
          * invoice_recur_delivery
          * invoice_recur_lines
          * invoice_recur_values
          * invoice_values
          * log_contacts
          * log_emails
          * log_services
          * log_transactions
          * log_users
          * services
          * service_changes
          * service_fields
          * service_invoices
          * service_options
          * transactions
          * transactions_applied
          * users
          * user_otps

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          When deleting a client (Clients::delete), this action should occur -within a database transaction- via listeners to the Clients.delete event and delete all stored records related to the client, including:
          * clients (done in the Clients model, which triggers the rest of these to be called)
          * client_account (done in the *Clients handler*, but also performed by the *AccountsCc* and *AccountsAch* handler by extension)
          * accounts_cc (remove from offsite if necessary) (done in the *AccountsCc* handler)
          * accounts_ach (remove from offsite if necessary) (done in the AccountsAch* handler)
          * client_notes (done in the *ClientNotes* handler)
          * client_packages (done in the *ClientPackages* handler)
          * client_settings (done in the *ClientSettings* handler)
          * client_values (done in the *ClientValues* handler)
          * contacts (done in the *Contacts* handler)
          * contact_numbers (done in the *Contacts* handler)
          * contact_permissions (done in the *Contacts* handler)
          * invoices (done in the *Invoices handler*)
          * invoices_recur (done in the *InvoicesRecur handler*)
          * invoices_recur_created (done in the *InvoicesRecur handler*)
          * invoice_delivery (done in the *Invoices handler*)
          * invoice_lines (done in the *Invoices handler*)
          * invoice_line_taxes (done in the *Invoices handler*)
          * invoice_meta (done in the *Invoices handler*)
          * invoice_recur_delivery (done in the *InvoicesRecur handler*)
          * invoice_recur_lines (done in the *InvoicesRecur handler*)
          * invoice_recur_values (done in the *InvoicesRecur handler*)
          * invoice_values (done in the *Invoices handler*)
          * log_contacts
          * log_emails
          * log_services
          * log_transactions
          * log_users
          * services
          * service_changes
          * service_fields
          * service_invoices
          * service_options
          * transactions
          * transactions_applied
          * users
          * user_otps

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          tyson Tyson Phillips (Inactive) made changes -
          Description When deleting a client (Clients::delete), this action should occur -within a database transaction- via listeners to the Clients.delete event and delete all stored records related to the client, including:
          * clients (done in the Clients model, which triggers the rest of these to be called)
          * client_account (done in the *Clients handler*, but also performed by the *AccountsCc* and *AccountsAch* handler by extension)
          * accounts_cc (remove from offsite if necessary) (done in the *AccountsCc* handler)
          * accounts_ach (remove from offsite if necessary) (done in the AccountsAch* handler)
          * client_notes (done in the *ClientNotes* handler)
          * client_packages (done in the *ClientPackages* handler)
          * client_settings (done in the *ClientSettings* handler)
          * client_values (done in the *ClientValues* handler)
          * contacts (done in the *Contacts* handler)
          * contact_numbers (done in the *Contacts* handler)
          * contact_permissions (done in the *Contacts* handler)
          * invoices (done in the *Invoices handler*)
          * invoices_recur (done in the *InvoicesRecur handler*)
          * invoices_recur_created (done in the *InvoicesRecur handler*)
          * invoice_delivery (done in the *Invoices handler*)
          * invoice_lines (done in the *Invoices handler*)
          * invoice_line_taxes (done in the *Invoices handler*)
          * invoice_meta (done in the *Invoices handler*)
          * invoice_recur_delivery (done in the *InvoicesRecur handler*)
          * invoice_recur_lines (done in the *InvoicesRecur handler*)
          * invoice_recur_values (done in the *InvoicesRecur handler*)
          * invoice_values (done in the *Invoices handler*)
          * log_contacts
          * log_emails
          * log_services
          * log_transactions
          * log_users
          * services
          * service_changes
          * service_fields
          * service_invoices
          * service_options
          * transactions
          * transactions_applied
          * users
          * user_otps

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          When deleting a client (Clients::delete), this action should occur -within a database transaction- via listeners to the Clients.delete event and delete all stored records related to the client, including:
          * clients (done in the Clients model, which triggers the rest of these to be called)
          * client_account (done in the *Clients handler*, but also performed by the *AccountsCc* and *AccountsAch* handler by extension)
          * accounts_cc (remove from offsite if necessary) (done in the *AccountsCc* handler)
          * accounts_ach (remove from offsite if necessary) (done in the AccountsAch* handler)
          * client_notes (done in the *ClientNotes* handler)
          * client_packages (done in the *ClientPackages* handler)
          * client_settings (done in the *ClientSettings* handler)
          * client_values (done in the *ClientValues* handler)
          * contacts (done in the *Contacts* handler)
          * contact_numbers (done in the *Contacts* handler)
          * contact_permissions (done in the *Contacts* handler)
          * invoices (done in the *Invoices handler*)
          * invoices_recur (done in the *InvoicesRecur* handler)
          * invoices_recur_created (done in the *InvoicesRecur* handler)
          * invoice_delivery (done in the *Invoices* handler)
          * invoice_lines (done in the *Invoices* handler)
          * invoice_line_taxes (done in the *Invoices* handler)
          * invoice_meta (done in the *Invoices* handler)
          * invoice_recur_delivery (done in the *InvoicesRecur* handler)
          * invoice_recur_lines (done in the *InvoicesRecur* handler)
          * invoice_recur_values (done in the *InvoicesRecur* handler)
          * invoice_values (done in the *Invoices handler)
          * log_contacts
          * log_emails
          * log_services
          * log_transactions
          * log_users
          * services
          * service_changes
          * service_fields
          * service_invoices
          * service_options
          * transactions
          * transactions_applied
          * users
          * user_otps

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          tyson Tyson Phillips (Inactive) made changes -
          Description When deleting a client (Clients::delete), this action should occur -within a database transaction- via listeners to the Clients.delete event and delete all stored records related to the client, including:
          * clients (done in the Clients model, which triggers the rest of these to be called)
          * client_account (done in the *Clients handler*, but also performed by the *AccountsCc* and *AccountsAch* handler by extension)
          * accounts_cc (remove from offsite if necessary) (done in the *AccountsCc* handler)
          * accounts_ach (remove from offsite if necessary) (done in the AccountsAch* handler)
          * client_notes (done in the *ClientNotes* handler)
          * client_packages (done in the *ClientPackages* handler)
          * client_settings (done in the *ClientSettings* handler)
          * client_values (done in the *ClientValues* handler)
          * contacts (done in the *Contacts* handler)
          * contact_numbers (done in the *Contacts* handler)
          * contact_permissions (done in the *Contacts* handler)
          * invoices (done in the *Invoices handler*)
          * invoices_recur (done in the *InvoicesRecur* handler)
          * invoices_recur_created (done in the *InvoicesRecur* handler)
          * invoice_delivery (done in the *Invoices* handler)
          * invoice_lines (done in the *Invoices* handler)
          * invoice_line_taxes (done in the *Invoices* handler)
          * invoice_meta (done in the *Invoices* handler)
          * invoice_recur_delivery (done in the *InvoicesRecur* handler)
          * invoice_recur_lines (done in the *InvoicesRecur* handler)
          * invoice_recur_values (done in the *InvoicesRecur* handler)
          * invoice_values (done in the *Invoices handler)
          * log_contacts
          * log_emails
          * log_services
          * log_transactions
          * log_users
          * services
          * service_changes
          * service_fields
          * service_invoices
          * service_options
          * transactions
          * transactions_applied
          * users
          * user_otps

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          When deleting a client (Clients::delete), this action should occur -within a database transaction- via listeners to the Clients.delete event and delete all stored records related to the client, including:
          * clients (done in the Clients model, which triggers the rest of these to be called)
          * client_account (done in the *Clients handler*, but also performed by the *AccountsCc* and *AccountsAch* handler by extension)
          * accounts_cc (remove from offsite if necessary) (done in the *AccountsCc* handler)
          * accounts_ach (remove from offsite if necessary) (done in the AccountsAch* handler)
          * client_notes (done in the *ClientNotes* handler)
          * client_packages (done in the *ClientPackages* handler)
          * client_settings (done in the *ClientSettings* handler)
          * client_values (done in the *ClientValues* handler)
          * contacts (done in the *Contacts* handler)
          * contact_numbers (done in the *Contacts* handler)
          * contact_permissions (done in the *Contacts* handler)
          * invoices (done in the *Invoices handler*)
          * invoices_recur (done in the *InvoicesRecur* handler)
          * invoices_recur_created (done in the *InvoicesRecur* handler)
          * invoice_delivery (done in the *Invoices* handler)
          * invoice_lines (done in the *Invoices* handler)
          * invoice_line_taxes (done in the *Invoices* handler)
          * invoice_meta (done in the *Invoices* handler)
          * invoice_recur_delivery (done in the *InvoicesRecur* handler)
          * invoice_recur_lines (done in the *InvoicesRecur* handler)
          * invoice_recur_values (done in the *InvoicesRecur* handler)
          * invoice_values (done in the *Invoices* handler)
          * log_contacts
          * log_emails
          * log_services
          * log_transactions
          * log_users
          * services
          * service_changes
          * service_fields
          * service_invoices
          * service_options
          * transactions
          * transactions_applied
          * users
          * user_otps

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          tyson Tyson Phillips (Inactive) made changes -
          Time Spent 2 hours, 19 minutes [ 8340 ] 5 hours, 31 minutes [ 19860 ]
          Worklog Id 11176 [ 11176 ]
          tyson Tyson Phillips (Inactive) made changes -
          Description When deleting a client (Clients::delete), this action should occur -within a database transaction- via listeners to the Clients.delete event and delete all stored records related to the client, including:
          * clients (done in the Clients model, which triggers the rest of these to be called)
          * client_account (done in the *Clients handler*, but also performed by the *AccountsCc* and *AccountsAch* handler by extension)
          * accounts_cc (remove from offsite if necessary) (done in the *AccountsCc* handler)
          * accounts_ach (remove from offsite if necessary) (done in the AccountsAch* handler)
          * client_notes (done in the *ClientNotes* handler)
          * client_packages (done in the *ClientPackages* handler)
          * client_settings (done in the *ClientSettings* handler)
          * client_values (done in the *ClientValues* handler)
          * contacts (done in the *Contacts* handler)
          * contact_numbers (done in the *Contacts* handler)
          * contact_permissions (done in the *Contacts* handler)
          * invoices (done in the *Invoices handler*)
          * invoices_recur (done in the *InvoicesRecur* handler)
          * invoices_recur_created (done in the *InvoicesRecur* handler)
          * invoice_delivery (done in the *Invoices* handler)
          * invoice_lines (done in the *Invoices* handler)
          * invoice_line_taxes (done in the *Invoices* handler)
          * invoice_meta (done in the *Invoices* handler)
          * invoice_recur_delivery (done in the *InvoicesRecur* handler)
          * invoice_recur_lines (done in the *InvoicesRecur* handler)
          * invoice_recur_values (done in the *InvoicesRecur* handler)
          * invoice_values (done in the *Invoices* handler)
          * log_contacts
          * log_emails
          * log_services
          * log_transactions
          * log_users
          * services
          * service_changes
          * service_fields
          * service_invoices
          * service_options
          * transactions
          * transactions_applied
          * users
          * user_otps

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          When deleting a client (Clients::delete), this action should occur -within a database transaction- via listeners to the Clients.delete event and delete all stored records related to the client, including:
          * clients (done in the Clients model, which triggers the rest of these to be called)
          * client_account (done in the *Clients handler*, but also performed by the *AccountsCc* and *AccountsAch* handler by extension)
          * accounts_cc (remove from offsite if necessary) (done in the *AccountsCc* handler)
          * accounts_ach (remove from offsite if necessary) (done in the AccountsAch* handler)
          * client_notes (done in the *ClientNotes* handler)
          * client_packages (done in the *ClientPackages* handler)
          * client_settings (done in the *ClientSettings* handler)
          * client_values (done in the *ClientValues* handler)
          * contacts (done in the *Contacts* handler)
          * contact_numbers (done in the *Contacts* handler)
          * contact_permissions (done in the *Contacts* handler)
          * invoices (done in the *Invoices handler*)
          * invoices_recur (done in the *InvoicesRecur* handler)
          * invoices_recur_created (done in the *InvoicesRecur* handler)
          * invoice_delivery (done in the *Invoices* handler)
          * invoice_lines (done in the *Invoices* handler)
          * invoice_line_taxes (done in the *Invoices* handler)
          * invoice_meta (done in the *Invoices* handler)
          * invoice_recur_delivery (done in the *InvoicesRecur* handler)
          * invoice_recur_lines (done in the *InvoicesRecur* handler)
          * invoice_recur_values (done in the *InvoicesRecur* handler)
          * invoice_values (done in the *Invoices* handler)
          * log_client_settings (requires CORE-2679 / CORE-2692)
          * log_contacts (done in the *Contacts* handler)
          * log_emails (done in the *Emails* handler)
          * log_services (done in the *Services* handler)
          * log_transactions (done in the *Transactions* handler)
          * log_users
          * services (done in the *Services* handler)
          * service_changes
          * service_fields (done in the *Services* handler)
          * service_invoices
          * service_options
          * transactions (done in the *Transactions* handler)
          * transactions_applied (done in the *Transactions* handler)
          * users
          * user_otps

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          tyson Tyson Phillips (Inactive) made changes -
          Description When deleting a client (Clients::delete), this action should occur -within a database transaction- via listeners to the Clients.delete event and delete all stored records related to the client, including:
          * clients (done in the Clients model, which triggers the rest of these to be called)
          * client_account (done in the *Clients handler*, but also performed by the *AccountsCc* and *AccountsAch* handler by extension)
          * accounts_cc (remove from offsite if necessary) (done in the *AccountsCc* handler)
          * accounts_ach (remove from offsite if necessary) (done in the AccountsAch* handler)
          * client_notes (done in the *ClientNotes* handler)
          * client_packages (done in the *ClientPackages* handler)
          * client_settings (done in the *ClientSettings* handler)
          * client_values (done in the *ClientValues* handler)
          * contacts (done in the *Contacts* handler)
          * contact_numbers (done in the *Contacts* handler)
          * contact_permissions (done in the *Contacts* handler)
          * invoices (done in the *Invoices handler*)
          * invoices_recur (done in the *InvoicesRecur* handler)
          * invoices_recur_created (done in the *InvoicesRecur* handler)
          * invoice_delivery (done in the *Invoices* handler)
          * invoice_lines (done in the *Invoices* handler)
          * invoice_line_taxes (done in the *Invoices* handler)
          * invoice_meta (done in the *Invoices* handler)
          * invoice_recur_delivery (done in the *InvoicesRecur* handler)
          * invoice_recur_lines (done in the *InvoicesRecur* handler)
          * invoice_recur_values (done in the *InvoicesRecur* handler)
          * invoice_values (done in the *Invoices* handler)
          * log_client_settings (requires CORE-2679 / CORE-2692)
          * log_contacts (done in the *Contacts* handler)
          * log_emails (done in the *Emails* handler)
          * log_services (done in the *Services* handler)
          * log_transactions (done in the *Transactions* handler)
          * log_users
          * services (done in the *Services* handler)
          * service_changes
          * service_fields (done in the *Services* handler)
          * service_invoices
          * service_options
          * transactions (done in the *Transactions* handler)
          * transactions_applied (done in the *Transactions* handler)
          * users
          * user_otps

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          When deleting a client (Clients::delete), this action should occur -within a database transaction- via listeners to the Clients.delete event and delete all stored records related to the client, including:
          * clients (done in the Clients model, which triggers the rest of these to be called)
          * client_account (done in the *Clients handler*, but also performed by the *AccountsCc* and *AccountsAch* handler by extension)
          * accounts_cc (remove from offsite if necessary) (done in the *AccountsCc* handler)
          * accounts_ach (remove from offsite if necessary) (done in the AccountsAch* handler)
          * client_notes (done in the *ClientNotes* handler)
          * client_packages (done in the *ClientPackages* handler)
          * client_settings (done in the *ClientSettings* handler)
          * client_values (done in the *ClientValues* handler)
          * contacts (done in the *Contacts* handler)
          * contact_numbers (done in the *Contacts* handler)
          * contact_permissions (done in the *Contacts* handler)
          * invoices (done in the *Invoices handler*)
          * invoices_recur (done in the *InvoicesRecur* handler)
          * invoices_recur_created (done in the *InvoicesRecur* handler)
          * invoice_delivery (done in the *Invoices* handler)
          * invoice_lines (done in the *Invoices* handler)
          * invoice_line_taxes (done in the *Invoices* handler)
          * invoice_meta (done in the *Invoices* handler)
          * invoice_recur_delivery (done in the *InvoicesRecur* handler)
          * invoice_recur_lines (done in the *InvoicesRecur* handler)
          * invoice_recur_values (done in the *InvoicesRecur* handler)
          * invoice_values (done in the *Invoices* handler)
          * log_client_settings (requires CORE-2679 / CORE-2692)
          * log_contacts (done in the *Contacts* handler)
          * log_emails (done in the *Emails* handler)
          * log_services (done in the *Services* handler)
          * log_transactions (done in the *Transactions* handler)
          * log_users (done in the *Users* handler)
          * services (done in the *Services* handler)
          * service_changes
          * service_fields (done in the *Services* handler)
          * service_invoices
          * service_options
          * transactions (done in the *Transactions* handler)
          * transactions_applied (done in the *Transactions* handler)
          * users (done in the *Users* handler)
          * user_otps (done in the *Users* handler)

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          tyson Tyson Phillips (Inactive) made changes -
          Time Spent 5 hours, 31 minutes [ 19860 ] 1 day, 6 minutes [ 29160 ]
          Worklog Id 11180 [ 11180 ]
          tyson Tyson Phillips (Inactive) made changes -
          Description When deleting a client (Clients::delete), this action should occur -within a database transaction- via listeners to the Clients.delete event and delete all stored records related to the client, including:
          * clients (done in the Clients model, which triggers the rest of these to be called)
          * client_account (done in the *Clients handler*, but also performed by the *AccountsCc* and *AccountsAch* handler by extension)
          * accounts_cc (remove from offsite if necessary) (done in the *AccountsCc* handler)
          * accounts_ach (remove from offsite if necessary) (done in the AccountsAch* handler)
          * client_notes (done in the *ClientNotes* handler)
          * client_packages (done in the *ClientPackages* handler)
          * client_settings (done in the *ClientSettings* handler)
          * client_values (done in the *ClientValues* handler)
          * contacts (done in the *Contacts* handler)
          * contact_numbers (done in the *Contacts* handler)
          * contact_permissions (done in the *Contacts* handler)
          * invoices (done in the *Invoices handler*)
          * invoices_recur (done in the *InvoicesRecur* handler)
          * invoices_recur_created (done in the *InvoicesRecur* handler)
          * invoice_delivery (done in the *Invoices* handler)
          * invoice_lines (done in the *Invoices* handler)
          * invoice_line_taxes (done in the *Invoices* handler)
          * invoice_meta (done in the *Invoices* handler)
          * invoice_recur_delivery (done in the *InvoicesRecur* handler)
          * invoice_recur_lines (done in the *InvoicesRecur* handler)
          * invoice_recur_values (done in the *InvoicesRecur* handler)
          * invoice_values (done in the *Invoices* handler)
          * log_client_settings (requires CORE-2679 / CORE-2692)
          * log_contacts (done in the *Contacts* handler)
          * log_emails (done in the *Emails* handler)
          * log_services (done in the *Services* handler)
          * log_transactions (done in the *Transactions* handler)
          * log_users (done in the *Users* handler)
          * services (done in the *Services* handler)
          * service_changes
          * service_fields (done in the *Services* handler)
          * service_invoices
          * service_options
          * transactions (done in the *Transactions* handler)
          * transactions_applied (done in the *Transactions* handler)
          * users (done in the *Users* handler)
          * user_otps (done in the *Users* handler)

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          When deleting a client (Clients::delete), this action should occur -within a database transaction- via listeners to the Clients.delete event and delete all stored records related to the client, including:
          * clients (done in the Clients model, which triggers the rest of these to be called)
          * client_account (done in the *Clients handler*, but also performed by the *AccountsCc* and *AccountsAch* handler by extension)
          * accounts_cc (remove from offsite if necessary) (done in the *AccountsCc* handler)
          * accounts_ach (remove from offsite if necessary) (done in the AccountsAch* handler)
          * client_notes (done in the *ClientNotes* handler)
          * client_packages (done in the *ClientPackages* handler)
          * client_settings (done in the *ClientSettings* handler)
          * client_values (done in the *ClientValues* handler)
          * contacts (done in the *Contacts* handler)
          * contact_numbers (done in the *Contacts* handler)
          * contact_permissions (done in the *Contacts* handler)
          * invoices (done in the *Invoices handler*)
          * invoices_recur (done in the *InvoicesRecur* handler)
          * invoices_recur_created (done in the *InvoicesRecur* handler)
          * invoice_delivery (done in the *Invoices* handler)
          * invoice_lines (done in the *Invoices* handler)
          * invoice_line_taxes (done in the *Invoices* handler)
          * invoice_meta (done in the *Invoices* handler)
          * invoice_recur_delivery (done in the *InvoicesRecur* handler)
          * invoice_recur_lines (done in the *InvoicesRecur* handler)
          * invoice_recur_values (done in the *InvoicesRecur* handler)
          * invoice_values (done in the *Invoices* handler)
          * log_client_settings (requires CORE-2679 / CORE-2692)
          * log_contacts (done in the *Contacts* handler)
          * log_emails (done in the *Emails* handler)
          * log_services (done in the *Services* handler)
          * log_transactions (done in the *Transactions* handler)
          * log_users (done in the *Users* handler)
          * services (done in the *Services* handler)
          * service_changes (done in the *Services* handler)
          * service_fields (done in the *Services* handler)
          * service_invoices (done in the *Services* handler)
          * service_options (done in the *Services* handler)
          * transactions (done in the *Transactions* handler)
          * transactions_applied (done in the *Transactions* handler)
          * users (done in the *Users* handler)
          * user_otps (done in the *Users* handler)

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          tyson Tyson Phillips (Inactive) made changes -
          Description When deleting a client (Clients::delete), this action should occur -within a database transaction- via listeners to the Clients.delete event and delete all stored records related to the client, including:
          * clients (done in the Clients model, which triggers the rest of these to be called)
          * client_account (done in the *Clients handler*, but also performed by the *AccountsCc* and *AccountsAch* handler by extension)
          * accounts_cc (remove from offsite if necessary) (done in the *AccountsCc* handler)
          * accounts_ach (remove from offsite if necessary) (done in the AccountsAch* handler)
          * client_notes (done in the *ClientNotes* handler)
          * client_packages (done in the *ClientPackages* handler)
          * client_settings (done in the *ClientSettings* handler)
          * client_values (done in the *ClientValues* handler)
          * contacts (done in the *Contacts* handler)
          * contact_numbers (done in the *Contacts* handler)
          * contact_permissions (done in the *Contacts* handler)
          * invoices (done in the *Invoices handler*)
          * invoices_recur (done in the *InvoicesRecur* handler)
          * invoices_recur_created (done in the *InvoicesRecur* handler)
          * invoice_delivery (done in the *Invoices* handler)
          * invoice_lines (done in the *Invoices* handler)
          * invoice_line_taxes (done in the *Invoices* handler)
          * invoice_meta (done in the *Invoices* handler)
          * invoice_recur_delivery (done in the *InvoicesRecur* handler)
          * invoice_recur_lines (done in the *InvoicesRecur* handler)
          * invoice_recur_values (done in the *InvoicesRecur* handler)
          * invoice_values (done in the *Invoices* handler)
          * log_client_settings (requires CORE-2679 / CORE-2692)
          * log_contacts (done in the *Contacts* handler)
          * log_emails (done in the *Emails* handler)
          * log_services (done in the *Services* handler)
          * log_transactions (done in the *Transactions* handler)
          * log_users (done in the *Users* handler)
          * services (done in the *Services* handler)
          * service_changes (done in the *Services* handler)
          * service_fields (done in the *Services* handler)
          * service_invoices (done in the *Services* handler)
          * service_options (done in the *Services* handler)
          * transactions (done in the *Transactions* handler)
          * transactions_applied (done in the *Transactions* handler)
          * users (done in the *Users* handler)
          * user_otps (done in the *Users* handler)

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          When deleting a client (Clients::delete), this action should occur -within a database transaction- via listeners to the Clients.delete event and delete all stored records related to the client, including:
          * clients (done in the Clients model, which triggers the rest of these to be called)
          * client_account (done in the *Clients handler*, but also performed by the *AccountsCc* and *AccountsAch* handler by extension)
          * accounts_cc (remove from offsite if necessary) (done in the *AccountsCc* handler)
          * accounts_ach (remove from offsite if necessary) (done in the *AccountsAch* handler)
          * client_notes (done in the *ClientNotes* handler)
          * client_packages (done in the *ClientPackages* handler)
          * client_settings (done in the *ClientSettings* handler)
          * client_values (done in the *ClientValues* handler)
          * contacts (done in the *Contacts* handler)
          * contact_numbers (done in the *Contacts* handler)
          * contact_permissions (done in the *Contacts* handler)
          * invoices (done in the *Invoices handler*)
          * invoices_recur (done in the *InvoicesRecur* handler)
          * invoices_recur_created (done in the *InvoicesRecur* handler)
          * invoice_delivery (done in the *Invoices* handler)
          * invoice_lines (done in the *Invoices* handler)
          * invoice_line_taxes (done in the *Invoices* handler)
          * invoice_meta (done in the *Invoices* handler)
          * invoice_recur_delivery (done in the *InvoicesRecur* handler)
          * invoice_recur_lines (done in the *InvoicesRecur* handler)
          * invoice_recur_values (done in the *InvoicesRecur* handler)
          * invoice_values (done in the *Invoices* handler)
          * log_client_settings (requires CORE-2679 / CORE-2692)
          * log_contacts (done in the *Contacts* handler)
          * log_emails (done in the *Emails* handler)
          * log_services (done in the *Services* handler)
          * log_transactions (done in the *Transactions* handler)
          * log_users (done in the *Users* handler)
          * services (done in the *Services* handler)
          * service_changes (done in the *Services* handler)
          * service_fields (done in the *Services* handler)
          * service_invoices (done in the *Services* handler)
          * service_options (done in the *Services* handler)
          * transactions (done in the *Transactions* handler)
          * transactions_applied (done in the *Transactions* handler)
          * users (done in the *Users* handler)
          * user_otps (done in the *Users* handler)

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          tyson Tyson Phillips (Inactive) made changes -
          Description When deleting a client (Clients::delete), this action should occur -within a database transaction- via listeners to the Clients.delete event and delete all stored records related to the client, including:
          * clients (done in the Clients model, which triggers the rest of these to be called)
          * client_account (done in the *Clients handler*, but also performed by the *AccountsCc* and *AccountsAch* handler by extension)
          * accounts_cc (remove from offsite if necessary) (done in the *AccountsCc* handler)
          * accounts_ach (remove from offsite if necessary) (done in the *AccountsAch* handler)
          * client_notes (done in the *ClientNotes* handler)
          * client_packages (done in the *ClientPackages* handler)
          * client_settings (done in the *ClientSettings* handler)
          * client_values (done in the *ClientValues* handler)
          * contacts (done in the *Contacts* handler)
          * contact_numbers (done in the *Contacts* handler)
          * contact_permissions (done in the *Contacts* handler)
          * invoices (done in the *Invoices handler*)
          * invoices_recur (done in the *InvoicesRecur* handler)
          * invoices_recur_created (done in the *InvoicesRecur* handler)
          * invoice_delivery (done in the *Invoices* handler)
          * invoice_lines (done in the *Invoices* handler)
          * invoice_line_taxes (done in the *Invoices* handler)
          * invoice_meta (done in the *Invoices* handler)
          * invoice_recur_delivery (done in the *InvoicesRecur* handler)
          * invoice_recur_lines (done in the *InvoicesRecur* handler)
          * invoice_recur_values (done in the *InvoicesRecur* handler)
          * invoice_values (done in the *Invoices* handler)
          * log_client_settings (requires CORE-2679 / CORE-2692)
          * log_contacts (done in the *Contacts* handler)
          * log_emails (done in the *Emails* handler)
          * log_services (done in the *Services* handler)
          * log_transactions (done in the *Transactions* handler)
          * log_users (done in the *Users* handler)
          * services (done in the *Services* handler)
          * service_changes (done in the *Services* handler)
          * service_fields (done in the *Services* handler)
          * service_invoices (done in the *Services* handler)
          * service_options (done in the *Services* handler)
          * transactions (done in the *Transactions* handler)
          * transactions_applied (done in the *Transactions* handler)
          * users (done in the *Users* handler)
          * user_otps (done in the *Users* handler)

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          When deleting a client (Clients::delete), this action should occur -within a database transaction- via listeners to the Clients.delete event and delete all stored records related to the client, including:
          * clients (done in the Clients model, which triggers the rest of these to be called)
          * client_account (done in the *AccountsCc* and *AccountsAch* handlers)
          * accounts_cc (remove from offsite if necessary) (done in the *AccountsCc* handler)
          * accounts_ach (remove from offsite if necessary) (done in the *AccountsAch* handler)
          * client_notes (done in the *ClientNotes* handler)
          * client_packages (done in the *ClientPackages* handler)
          * client_settings (done in the *ClientSettings* handler)
          * client_values (done in the *ClientValues* handler)
          * contacts (done in the *Contacts* handler)
          * contact_numbers (done in the *Contacts* handler)
          * contact_permissions (done in the *Contacts* handler)
          * invoices (done in the *Invoices handler*)
          * invoices_recur (done in the *InvoicesRecur* handler)
          * invoices_recur_created (done in the *InvoicesRecur* handler)
          * invoice_delivery (done in the *Invoices* handler)
          * invoice_lines (done in the *Invoices* handler)
          * invoice_line_taxes (done in the *Invoices* handler)
          * invoice_meta (done in the *Invoices* handler)
          * invoice_recur_delivery (done in the *InvoicesRecur* handler)
          * invoice_recur_lines (done in the *InvoicesRecur* handler)
          * invoice_recur_values (done in the *InvoicesRecur* handler)
          * invoice_values (done in the *Invoices* handler)
          * log_client_settings (requires CORE-2679 / CORE-2692)
          * log_contacts (done in the *Contacts* handler)
          * log_emails (done in the *Emails* handler)
          * log_services (done in the *Services* handler)
          * log_transactions (done in the *Transactions* handler)
          * log_users (done in the *Users* handler)
          * services (done in the *Services* handler)
          * service_changes (done in the *Services* handler)
          * service_fields (done in the *Services* handler)
          * service_invoices (done in the *Services* handler)
          * service_options (done in the *Services* handler)
          * transactions (done in the *Transactions* handler)
          * transactions_applied (done in the *Transactions* handler)
          * users (done in the *Users* handler)
          * user_otps (done in the *Users* handler)

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          tyson Tyson Phillips (Inactive) made changes -
          Description When deleting a client (Clients::delete), this action should occur -within a database transaction- via listeners to the Clients.delete event and delete all stored records related to the client, including:
          * clients (done in the Clients model, which triggers the rest of these to be called)
          * client_account (done in the *AccountsCc* and *AccountsAch* handlers)
          * accounts_cc (remove from offsite if necessary) (done in the *AccountsCc* handler)
          * accounts_ach (remove from offsite if necessary) (done in the *AccountsAch* handler)
          * client_notes (done in the *ClientNotes* handler)
          * client_packages (done in the *ClientPackages* handler)
          * client_settings (done in the *ClientSettings* handler)
          * client_values (done in the *ClientValues* handler)
          * contacts (done in the *Contacts* handler)
          * contact_numbers (done in the *Contacts* handler)
          * contact_permissions (done in the *Contacts* handler)
          * invoices (done in the *Invoices handler*)
          * invoices_recur (done in the *InvoicesRecur* handler)
          * invoices_recur_created (done in the *InvoicesRecur* handler)
          * invoice_delivery (done in the *Invoices* handler)
          * invoice_lines (done in the *Invoices* handler)
          * invoice_line_taxes (done in the *Invoices* handler)
          * invoice_meta (done in the *Invoices* handler)
          * invoice_recur_delivery (done in the *InvoicesRecur* handler)
          * invoice_recur_lines (done in the *InvoicesRecur* handler)
          * invoice_recur_values (done in the *InvoicesRecur* handler)
          * invoice_values (done in the *Invoices* handler)
          * log_client_settings (requires CORE-2679 / CORE-2692)
          * log_contacts (done in the *Contacts* handler)
          * log_emails (done in the *Emails* handler)
          * log_services (done in the *Services* handler)
          * log_transactions (done in the *Transactions* handler)
          * log_users (done in the *Users* handler)
          * services (done in the *Services* handler)
          * service_changes (done in the *Services* handler)
          * service_fields (done in the *Services* handler)
          * service_invoices (done in the *Services* handler)
          * service_options (done in the *Services* handler)
          * transactions (done in the *Transactions* handler)
          * transactions_applied (done in the *Transactions* handler)
          * users (done in the *Users* handler)
          * user_otps (done in the *Users* handler)

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          When deleting a client (Clients::delete), this action should occur -within a database transaction- via listeners to the Clients.delete event and delete all stored records related to the client, including:
          * clients (done in the Clients model, which triggers the rest of these to be called)
          * client_account (done in the *AccountsCc* and *AccountsAch* handlers)
          * accounts_cc (remove from offsite if necessary) (done in the *AccountsCc* handler)
          * accounts_ach (remove from offsite if necessary) (done in the *AccountsAch* handler)
          * client_notes (done in the *ClientNotes* handler)
          * client_packages (done in the *ClientPackages* handler)
          * client_settings (done in the *ClientSettings* handler)
          * client_values (done in the *ClientValues* handler)
          * contacts (done in the *Contacts* handler)
          * contact_numbers (done in the *Contacts* handler)
          * contact_permissions (done in the *Contacts* handler)
          * invoices (done in the *Invoices handler*)
          * invoices_recur (done in the *InvoicesRecur* handler)
          * invoices_recur_created (done in the *InvoicesRecur* handler)
          * invoice_delivery (done in the *Invoices* handler)
          * invoice_lines (done in the *Invoices* handler)
          * invoice_line_taxes (done in the *Invoices* handler)
          * invoice_meta (done in the *Invoices* handler)
          * invoice_recur_delivery (done in the *InvoicesRecur* handler)
          * invoice_recur_lines (done in the *InvoicesRecur* handler)
          * invoice_recur_values (done in the *InvoicesRecur* handler)
          * invoice_values (done in the *Invoices* handler)
          * log_client_settings (requires CORE-2679 / CORE-2692)
          * log_contacts (done in the *Contacts* handler)
          * log_emails (done in the *Emails* handler)
          * log_services (done in the *Services* handler)
          * log_transactions (done in the *Transactions* handler)
          * log_users (done in the *Users* handler)
          * services (done in the *Services* handler)
          * service_changes (done in the *Services* handler)
          * service_fields (done in the *Services* handler)
          * service_invoices (done in the *Services* handler)
          * service_options (done in the *Services* handler)
          * transactions (done in the *Transactions* handler)
          * transactions_applied (done in the *Transactions* handler)
          * users (done in the *Users* handler)
          * user_otps (done in the *Users* handler)

          # Add a new event "Users.delete" to perform user deletion dependencies

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          tyson Tyson Phillips (Inactive) made changes -
          Description When deleting a client (Clients::delete), this action should occur -within a database transaction- via listeners to the Clients.delete event and delete all stored records related to the client, including:
          * clients (done in the Clients model, which triggers the rest of these to be called)
          * client_account (done in the *AccountsCc* and *AccountsAch* handlers)
          * accounts_cc (remove from offsite if necessary) (done in the *AccountsCc* handler)
          * accounts_ach (remove from offsite if necessary) (done in the *AccountsAch* handler)
          * client_notes (done in the *ClientNotes* handler)
          * client_packages (done in the *ClientPackages* handler)
          * client_settings (done in the *ClientSettings* handler)
          * client_values (done in the *ClientValues* handler)
          * contacts (done in the *Contacts* handler)
          * contact_numbers (done in the *Contacts* handler)
          * contact_permissions (done in the *Contacts* handler)
          * invoices (done in the *Invoices handler*)
          * invoices_recur (done in the *InvoicesRecur* handler)
          * invoices_recur_created (done in the *InvoicesRecur* handler)
          * invoice_delivery (done in the *Invoices* handler)
          * invoice_lines (done in the *Invoices* handler)
          * invoice_line_taxes (done in the *Invoices* handler)
          * invoice_meta (done in the *Invoices* handler)
          * invoice_recur_delivery (done in the *InvoicesRecur* handler)
          * invoice_recur_lines (done in the *InvoicesRecur* handler)
          * invoice_recur_values (done in the *InvoicesRecur* handler)
          * invoice_values (done in the *Invoices* handler)
          * log_client_settings (requires CORE-2679 / CORE-2692)
          * log_contacts (done in the *Contacts* handler)
          * log_emails (done in the *Emails* handler)
          * log_services (done in the *Services* handler)
          * log_transactions (done in the *Transactions* handler)
          * log_users (done in the *Users* handler)
          * services (done in the *Services* handler)
          * service_changes (done in the *Services* handler)
          * service_fields (done in the *Services* handler)
          * service_invoices (done in the *Services* handler)
          * service_options (done in the *Services* handler)
          * transactions (done in the *Transactions* handler)
          * transactions_applied (done in the *Transactions* handler)
          * users (done in the *Users* handler)
          * user_otps (done in the *Users* handler)

          # Add a new event "Users.delete" to perform user deletion dependencies

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          When deleting a client (Clients::delete), this action should occur -within a database transaction- via listeners to the Clients.delete event and delete all stored records related to the client, including:
          * clients (done in the Clients model, which triggers the rest of these to be called)
          * client_account (done in the *ClientAccount* handler)
          * accounts_cc (remove from offsite if necessary) (done in the *AccountsCc* handler)
          * accounts_ach (remove from offsite if necessary) (done in the *AccountsAch* handler)
          * client_notes (done in the *ClientNotes* handler)
          * client_packages (done in the *ClientPackages* handler)
          * client_settings (done in the *ClientSettings* handler)
          * client_values (done in the *ClientValues* handler)
          * contacts (done in the *Contacts* handler)
          * contact_numbers (done in the *Contacts* handler)
          * contact_permissions (done in the *Contacts* handler)
          * invoices (done in the *Invoices* handler)
          * invoices_recur (done in the *InvoicesRecur* handler)
          * invoices_recur_created (done in the *InvoicesRecur* handler)
          * invoice_delivery (done in the *Invoices* handler)
          * invoice_lines (done in the *Invoices* handler)
          * invoice_line_taxes (done in the *Invoices* handler)
          * invoice_meta (done in the *Invoices* handler)
          * invoice_recur_delivery (done in the *InvoicesRecur* handler)
          * invoice_recur_lines (done in the *InvoicesRecur* handler)
          * invoice_recur_values (done in the *InvoicesRecur* handler)
          * invoice_values (done in the *Invoices* handler)
          * log_client_settings (requires CORE-2679 / CORE-2692)
          * log_contacts (done in the *LogContacts* handler)
          * log_emails (done in the *LogEmails* handler)
          * log_services (done in the *Services* handler)
          * log_transactions (done in the *Transactions* handler)
          * log_users (done in the *LogUsers* handler)
          * services (done in the *Services* handler)
          * service_changes (done in the *Services* handler)
          * service_fields (done in the *Services* handler)
          * service_invoices (done in the *Services* handler)
          * service_options (done in the *Services* handler)
          * transactions (done in the *Transactions* handler)
          * transactions_applied (done in the *Transactions* handler)
          * users (done in the *Clients* and *Contacts* handlers)
          * user_otps (done in the *Clients* and *Contacts* handlers)

          # Add a new event "Users.delete" to perform user deletion dependencies

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          tyson Tyson Phillips (Inactive) made changes -
          Time Spent 1 day, 6 minutes [ 29160 ] 1 day, 3 hours, 13 minutes [ 40380 ]
          Worklog Id 11183 [ 11183 ]
          tyson Tyson Phillips (Inactive) made changes -
          Description When deleting a client (Clients::delete), this action should occur -within a database transaction- via listeners to the Clients.delete event and delete all stored records related to the client, including:
          * clients (done in the Clients model, which triggers the rest of these to be called)
          * client_account (done in the *ClientAccount* handler)
          * accounts_cc (remove from offsite if necessary) (done in the *AccountsCc* handler)
          * accounts_ach (remove from offsite if necessary) (done in the *AccountsAch* handler)
          * client_notes (done in the *ClientNotes* handler)
          * client_packages (done in the *ClientPackages* handler)
          * client_settings (done in the *ClientSettings* handler)
          * client_values (done in the *ClientValues* handler)
          * contacts (done in the *Contacts* handler)
          * contact_numbers (done in the *Contacts* handler)
          * contact_permissions (done in the *Contacts* handler)
          * invoices (done in the *Invoices* handler)
          * invoices_recur (done in the *InvoicesRecur* handler)
          * invoices_recur_created (done in the *InvoicesRecur* handler)
          * invoice_delivery (done in the *Invoices* handler)
          * invoice_lines (done in the *Invoices* handler)
          * invoice_line_taxes (done in the *Invoices* handler)
          * invoice_meta (done in the *Invoices* handler)
          * invoice_recur_delivery (done in the *InvoicesRecur* handler)
          * invoice_recur_lines (done in the *InvoicesRecur* handler)
          * invoice_recur_values (done in the *InvoicesRecur* handler)
          * invoice_values (done in the *Invoices* handler)
          * log_client_settings (requires CORE-2679 / CORE-2692)
          * log_contacts (done in the *LogContacts* handler)
          * log_emails (done in the *LogEmails* handler)
          * log_services (done in the *Services* handler)
          * log_transactions (done in the *Transactions* handler)
          * log_users (done in the *LogUsers* handler)
          * services (done in the *Services* handler)
          * service_changes (done in the *Services* handler)
          * service_fields (done in the *Services* handler)
          * service_invoices (done in the *Services* handler)
          * service_options (done in the *Services* handler)
          * transactions (done in the *Transactions* handler)
          * transactions_applied (done in the *Transactions* handler)
          * users (done in the *Clients* and *Contacts* handlers)
          * user_otps (done in the *Clients* and *Contacts* handlers)

          # Add a new event "Users.delete" to perform user deletion dependencies

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          When deleting a client (Clients::delete), this action should occur -within a database transaction- via listeners to the Clients.delete event and delete all stored records related to the client, including:
          * clients (done in the Clients model, which triggers the rest of these to be called)
          * client_account (done in the *ClientAccount* handler)
          * accounts_cc (remove from offsite if necessary) (done in the *AccountsCc* handler)
          * accounts_ach (remove from offsite if necessary) (done in the *AccountsAch* handler)
          * client_notes (done in the *ClientNotes* handler)
          * client_packages (done in the *ClientPackages* handler)
          * client_settings (done in the *ClientSettings* handler)
          * client_values (done in the *ClientValues* handler)
          * contacts (done in the *Contacts* handler)
          * contact_numbers (done in the *Contacts* handler)
          * contact_permissions (done in the *Contacts* handler)
          * invoices (done in the *Invoices* handler)
          * invoices_recur (done in the *InvoicesRecur* handler)
          * invoices_recur_created (done in the *InvoicesRecur* handler)
          * invoice_delivery (done in the *Invoices* handler)
          * invoice_lines (done in the *Invoices* handler)
          * invoice_line_taxes (done in the *Invoices* handler)
          * invoice_meta (done in the *Invoices* handler)
          * invoice_recur_delivery (done in the *InvoicesRecur* handler)
          * invoice_recur_lines (done in the *InvoicesRecur* handler)
          * invoice_recur_values (done in the *InvoicesRecur* handler)
          * invoice_values (done in the *Invoices* handler)
          * log_client_settings (requires CORE-2679 / CORE-2692) (done in the *LogClientSettings* handler)
          * log_contacts (done in the *LogContacts* handler)
          * log_emails (done in the *LogEmails* handler)
          * log_services (done in the *Services* handler)
          * log_transactions (done in the *Transactions* handler)
          * log_users (done in the *LogUsers* handler)
          * services (done in the *Services* handler)
          * service_changes (done in the *Services* handler)
          * service_fields (done in the *Services* handler)
          * service_invoices (done in the *Services* handler)
          * service_options (done in the *Services* handler)
          * transactions (done in the *Transactions* handler)
          * transactions_applied (done in the *Transactions* handler)
          * users (done in the *Clients* and *Contacts* handlers)
          * user_otps (done in the *Clients* and *Contacts* handlers)

          # Add a new event "Users.delete" to perform user deletion dependencies

          Note:
          # The _log\_*_ tables may be ignored in favor of normal log rotation policies
          # The data should be deleted by calling the appropriate _delete_ actions of existing models. This will ensure all of the appropriate referenced data is deleted without knowledge of their existing data stores. It will also invoke any appropriate event handlers for those particular actions.
          Automated transition triggered when Tyson Phillips (Inactive) created pull request #448 in Stash -
          Status In Progress [ 3 ] In Review [ 5 ]
          Resolution Fixed [ 1 ]
          jonathan Jonathan Reissmueller made changes -
          Time Spent 1 day, 3 hours, 13 minutes [ 40380 ] 1 day, 5 hours, 7 minutes [ 47220 ]
          Worklog Id 11189 [ 11189 ]
          tyson Tyson Phillips (Inactive) made changes -
          Time Spent 1 day, 5 hours, 7 minutes [ 47220 ] 1 day, 5 hours, 21 minutes [ 48060 ]
          Worklog Id 11191 [ 11191 ]
          Automated transition triggered when Tyson Phillips (Inactive) merged pull request #448 in Stash -
          Status In Review [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              tyson Tyson Phillips (Inactive)
              Reporter:
              tyson Tyson Phillips (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Jun/18

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 5 hours, 21 minutes
                1d 5h 21m

                  Agile