Update FiscalYear schema

Description

Overview

Update the FiscalYear schema according to the wiki

  • Add "acqUnitIds"

  • Rename "startDate" -> "periodStart"

  • Rename "endDate" -> "periodEnd"

  • Add "currency"

  • Add "metadata"

  • Unique index on "code"

Acceptance Criteria

  • schemas and examples are updated

  • sample data is updated

  • unit tests are updated

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Craig McNallySeptember 4, 2019 at 2:13 PM

Verified on folio-testing:

Required Fields

Happy Path

GET by Id/Query

DELETE

Piotr KalashukSeptember 3, 2019 at 7:30 AM

Verified on folio snapshot environment

Set up environment variables

Create user which has permissions to work only with /finance-storage/fiscal-years endpoints

  1. Create user

    Response

  2. Add credentials

    Response

  3. Set-up permissions

    Response

  4. Login

    Response

Verify fiscal yaer APIs

  1. Create new fiscal year

    Response

  2. Get created fiscal year by id

    Response

  3. Search for created fiscal year by query

    Response

  4. Update fiscal year adding acqUnitIds and currency

    Response

  5. Search for created fiscal year by query

  6. Attempt to update fiscal year removing all optional properties and one required e.g. name

    Response

  7. Attempt to update fiscal year removing all required properties and leaving only optional

    Response

  8. Attempt to create new fiscal year with existing code

    Response

Delete created records

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Story Points

Sprint

Development Team

Thunderjet

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created August 15, 2019 at 1:50 AM
Updated January 16, 2025 at 3:13 PM
Resolved September 4, 2019 at 2:13 PM
TestRail: Cases
TestRail: Runs