public PaymentCodeType getPaymentCodeType() {
PostingRule postingRule =
getAdministrativeOffice().getServiceAgreementTemplate().findPostingRuleByEventTypeAndDate(getEventType(),
getWhenOccured());
return postingRule.calculatePaymentCodeTypeFromEvent(this, getWhenOccured(), false);
}
@Override
public LabelFormatter getDescriptionForEntryType(EntryType entryType) {
return new LabelFormatter().appendLabel(entryType.name(), LabelFormatter.ENUMERATION_RESOURCES);