Uploaded image for project: 'mod-invoice-storage'
  1. mod-invoice-storage
  2. MODINVOSTO-12

Implement GET /voucher-storage/voucher-number

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.0.0
    • Labels:
      None
    • Template:
    • Sprint:
      ACQ Sprint 63
    • Story Points:
      1
    • Development Team:
      Thunderjet

      Description

      Overview:
      We need to generate sequential voucher numbers.

      Pertains to this field in the acquisitions interface fields document:

      Approach

      • Create a sequence in the tenantAPI (when the module is enabled for a tenant) - start at 0 (can be changed later on via another API)
      • Return the next value in the sequence when the GET /voucher-storage/voucher-number endpoint is called.

      See the API Listing document for details

      NOTE: contrary to earlier discussions, the voucher-number is not required to be unique.

      Acceptance Criteria:

      • RAML and module descriptor are updated
      • The sequence is created by the tenantAPI
      • The API is implemented as described above
      • Unit tests are updated

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                cmcnally Craig McNally
                Reporter:
                cmcnally Craig McNally
                Tester Assignee:
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases