isSILIAdditionAllowed
@AccessLevel(value=EXTERNAL)
@Implementable
boolean isSILIAdditionAllowed(ServiceInvoice serviceInvoice,
curam.cpm.facade.struct.ServiceInvoiceDetails serviceInvoiceDetails)
throws curam.util.exception.InformationalException,
curam.util.exception.AppException
Determines if a new service invoice line item can added to a service
invoice.
The default implementation checks the status of a service invoice and
determines if a new service invoice line item can added to it. It returns
true if the service invoice line item is in 'Open' or 'In progress' state.
- Parameters:
serviceInvoice
- The service invoice details.
serviceInvoiceDetails
- The service invoice details and the derived
status.
- Returns:
- The indicator stating if the creation of new service invoice line
item can be allowed.
- Throws:
curam.util.exception.InformationalException
curam.util.exception.AppException
- Business Object Read:
ServiceInvoiceLineItem, ServiceAuthorizationLineItem |