projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
556e722
)
add service replacement script, RT#40031
author
Ivan Kohler
<ivan@freeside.biz>
Tue, 2 Feb 2016 23:16:22 +0000
(15:16 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Tue, 2 Feb 2016 23:16:22 +0000
(15:16 -0800)
bin/svc.replace
patch
|
blob
|
history
diff --git
a/bin/svc.replace
b/bin/svc.replace
index
1d2513a
..
ad9cc43
100644
(file)
--- 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;
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
}
my $error = $svc_x->replace;
warn "$error\n" if $error
}