Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Acquisition : rollover process #2904

Closed
4 tasks
PascalRepond opened this issue May 12, 2022 · 1 comment
Closed
4 tasks

Acquisition : rollover process #2904

PascalRepond opened this issue May 12, 2022 · 1 comment
Labels
client request Issue reported by production libraries f: acquisitions Related to the acquisition module new feature Suggestion of an entirely new feature user story A complex feature or enhancement that needs to be functionnally described as a user story v1.14.0

Comments

@PascalRepond
Copy link
Contributor

PascalRepond commented May 12, 2022

User story

As a system librarian, I want to do a rollover in the acquisition module each year, in order to recreate my account structure and move open orders to a new fiscal year.

Global concept

  • Each library has a set of configurations editable for the next rollover (how to duplicate accounts, etc.)
  • The rollover is done in one step for a whole organisation, because currently the active fiscal year (budget) is defined on the organisation level (for now).
  • The rollover is launched and monitored manually (for now).

Acceptance criteria

Detailed spec: https://ncloud.rero.ch/index.php/s/BgqpRYiZNgJA4ar

  1. You give the organisation pid
    1. If it doesn’t exist: interruption with a message
  2. It verifies if the next fiscal year exist
    1. If yes: it verifies if it is active
      1. If no: it activates it
    2. If no:
      1. it automatically creates it with status active OR interruption with a message “Please create the next fiscal year and make it active”
  3. It verifies if there are accounts in the active fiscal (org.current_budget) of the organisation
    1. If no: interruption with a message
  4. It duplicates the accounts (see transfer spec in section 5.1)
  5. It duplicates the orders (see transfer spec in section 5.2)
  6. It duplicates the order lines (see transfer spec in section 5.2)
  7. It changes the current budget on the organisation

Tasks

@PascalRepond PascalRepond added new feature Suggestion of an entirely new feature f: acquisitions Related to the acquisition module client request Issue reported by production libraries user story A complex feature or enhancement that needs to be functionnally described as a user story Epic labels May 12, 2022
@PascalRepond PascalRepond removed the Epic label Jun 13, 2022
@github-actions
Copy link

This issue is stale because it has been open 6 months with no activity.

@github-actions github-actions bot added the stale Stale or no longer relevant label Dec 11, 2022
@PascalRepond PascalRepond removed the stale Stale or no longer relevant label Dec 12, 2022
@PascalRepond PascalRepond reopened this Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client request Issue reported by production libraries f: acquisitions Related to the acquisition module new feature Suggestion of an entirely new feature user story A complex feature or enhancement that needs to be functionnally described as a user story v1.14.0
Projects
None yet
Development

No branches or pull requests

1 participant