determineAttendanceBasedPaymentAmount
@AccessLevel(value=EXTERNAL)
@Implementable
void determineAttendanceBasedPaymentAmount(ProviderRosterLineItem providerRosterLineItem)
throws curam.util.exception.AppException,
curam.util.exception.InformationalException
Determines an attendance-based payment amount and creates a provider roster
line item transaction with the determined amount.
Implementations should supersede all existing associated provider roster
line item transactions that are 'active' and of type 'paid' and should
create new provider roster line item transactions of type 'paid' with the
details of the newly determined amount.
To determine the payment amount, the default implementation uses the unit
amount of the service authorization line item associated with this provider
roster line item, if the unit amount is fixed on the service authorization
line item. Otherwise, it uses the applicable rate for the associated
service authorization line item period (when daily attendance is present),
or the applicable rate on the associated roster end date(when daily
attendance is not present).
- Parameters:
providerRosterLineItem
- The provider roster line item details.
- Throws:
curam.util.exception.AppException
curam.util.exception.InformationalException
- Business Object Write:
ProviderRosterLineItemTransaction |