Package org.fenixedu.academic.domain.accounting.events

Examples of org.fenixedu.academic.domain.accounting.events.AccountingEventsManager


        switch (studentCurricularPlan.getDegree().getDegreeType()) {

        case BOLONHA_ADVANCED_FORMATION_DIPLOMA:

            final AccountingEventsManager accountingEventsManager = new AccountingEventsManager();
            final ExecutionYear executionYearToCreateEvents =
                    executionYear != null ? executionYear : ExecutionYear.readCurrentExecutionYear();

            accountingEventsManager.createGratuityEvent(studentCurricularPlan, executionYearToCreateEvents, false);

            new DfaRegistrationEvent(administrativeOffice, person, studentCurricularPlan.getRegistration());

            accountingEventsManager.createInsuranceEvent(studentCurricularPlan, executionYearToCreateEvents, false);

            break;
        default:
            break;
View Full Code Here


        }
        return res;
    }

    public void createGratuityEvent(final StudentCurricularPlan studentCurricularPlan, final ExecutionYear executionYear) {
        final AccountingEventsManager manager = new AccountingEventsManager();
        final InvocationResult result = manager.createGratuityEvent(studentCurricularPlan, executionYear);

        if (!result.isSuccess()) {
            throw new DomainExceptionWithInvocationResult(result);
        }
    }
View Full Code Here

TOP

Related Classes of org.fenixedu.academic.domain.accounting.events.AccountingEventsManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.