@Atomic
public static void createDEAStandaloneGratuityPostingRule(StandaloneInstallmentBean bean,
DegreeCurricularPlan degreeCurricularPlan) {
check(AcademicPredicates.MANAGE_PAYMENTS);
DegreeCurricularPlanServiceAgreementTemplate dcpSAT = degreeCurricularPlan.getServiceAgreementTemplate();
if (dcpSAT != null) {
YearMonthDay startDate = bean.getStartDate();
LocalDate startLocalDate = new LocalDate(startDate.getYear(), startDate.getMonthOfYear(), startDate.getDayOfMonth());
BigDecimal ectsForYear = bean.getEctsForYear();