summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-02-02 15:16:19 -0800
committerIvan Kohler <ivan@freeside.biz>2016-02-02 15:16:19 -0800
commit78f6e0e286fe6ff2d4712af9e81be1a974586d30 (patch)
tree2f08511af3defe3660805d5575bfb263d85eff4d /bin
parent725b65c280dd45a78d60e0a7fe1c445c658e2b14 (diff)
add service replacement script, RT#40031
Diffstat (limited to 'bin')
-rw-r--r--bin/svc.replace1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/svc.replace b/bin/svc.replace
index 1d2513a33..ad9cc43a2 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
}