[freeside-commits] branch FREESIDE_4_BRANCH updated. 8cac4506ebadf602a905d47457b36e25cacbfbf8

Ivan ivan at 420.am
Tue Feb 2 15:16:22 PST 2016


The branch, FREESIDE_4_BRANCH has been updated
       via  8cac4506ebadf602a905d47457b36e25cacbfbf8 (commit)
      from  22f23deeb9e8158cac346b1ff5a8922780d60aef (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8cac4506ebadf602a905d47457b36e25cacbfbf8
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Feb 2 15:16:20 2016 -0800

    add service replacement script, RT#40031

diff --git a/bin/svc.replace b/bin/svc.replace
index 1d2513a..ad9cc43 100644
--- a/bin/svc.replace
+++ b/bin/svc.replace
@@ -12,6 +12,7 @@ my $svcpart = shift or die &usage;
 
 foreach my $cust_svc ( qsearch('cust_svc', { 'svcpart'=>$svcpart } ) ) {
   my $svc_x = $cust_svc->svc_x;
+  $svc_x->setfixed;
   my $error = $svc_x->replace;
   warn "$error\n" if $error
 }

-----------------------------------------------------------------------

Summary of changes:
 bin/svc.replace |    1 +
 1 file changed, 1 insertion(+)




More information about the freeside-commits mailing list