}
final PostingRule existingPostingRule = serviceAgreementTemplate.findPostingRuleByEventTypeAndDate(eventType, when);
if (existingPostingRule != null) {
existingPostingRule.deactivate(when);
}
}
@Atomic
static public void createDFAGratuityPostingRule(final CreateDFAGratuityPostingRuleBean bean) {