RT#18361 Delay package from billing until services are provisioned [v3 backport]
[freeside.git] / FS / FS / pkg_svc.pm
index f79bb5e..fa82ec0 100644 (file)
@@ -52,6 +52,8 @@ definition includes
 
 =item hidden - 'Y' to hide this service on invoices, null otherwise.
 
+=item provision_hold - 'Y' to release package hold when all services marked with this are provisioned
+
 =back
 
 =head1 METHODS
@@ -112,6 +114,7 @@ sub check {
     || $self->ut_number('svcpart')
     || $self->ut_number('quantity')
     || $self->ut_enum('hidden', [ '', 'Y' ] )
+    || $self->ut_flag('provision_hold')
   ;
   return $error if $error;