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

Implement GET /voucher-storage/voucher-number

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 1.0.0
    • None
    • ACQ Sprint 63
    • 1
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases