Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
ACQ Sprint 104
-
3
-
Thunderjet
Description
Purpose/Overview:
In order to support UIF-171 - Execute fiscal year rollover
Requirements/Scope:
- Budgets and encumbrances need to be rollovered if API triggered.
Approach:
Prerequisites :
- SQL procedure "budget_encumbrances_rollover.sql" created
- API which invoke rollover defined
Steps:
1. All budget for the selected ledger and rollover options must be closed (BudgetStatus.CLOSED) in scope of one transaction. 2. If budged closed logic successfully finished then invoke procedure "budget_encumbrances_rollover.sql" else finish rollover with error : *ledger_fiscal_year_rollover_status.budgets_rollover_status = ERROR_CLOSE_PREV_BUDGETS* *ledger_fiscal_year_rollover_status.overall_rollover_status = ERROR* 3. Rollover orders will be run from code by invoking API from orders
Notes:
You can use PostgresClient.execute method to execute an anonymous PgPL/SQL block like this
DO $$ begin execute my_stored_function(param1, paramn); end; $$ LANGUAGE plpgsql;
Acceptance criteria:
- Logic added
- API tests created (smoke tests)
- Unit tests created
TestRail: Results
Attachments
Issue Links
- defines
-
UXPROD-772 Rollover Encumbrances into the next Fiscal Year
-
- Closed
-
- has to be done after
-
MODFISTO-163 Define storage API for the ledger fiscal year rollover
-
- Closed
-
-
MODFISTO-164 Define model and schema of the fiscal year rollover for Ledger
-
- Closed
-
-
MODFISTO-174 Define model and schema for the progress of the ledger fiscal year rollover
-
- Closed
-
-
MODFISTO-175 Define model and schema for the errors of the ledger fiscal year rollover
-
- Closed
-
-
MODFISTO-181 Move allocated logic from trigger to java code
-
- Closed
-
- has to be done before
-
UIF-171 Execute fiscal year rollover
-
- Closed
-
-
UIF-175 Close all current budgets when executing fiscal year rollover
-
- Closed
-
- is blocked by
-
MODORDSTOR-211 Cannot enable module for tenant if uuid-ossp extension installed
-
- Closed
-
- mentioned in
-
Page Loading...