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

Implement GET /voucher-storage/voucher-number/start

    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 64
    • Story Points:
      1
    • Development Team:
      Thunderjet

      Description

      Overview:
      The voucher-number sequence start value must be configurable by the tenant. In order to facilitate this we need to provide a way to get the current start value of this sequence, e.g. so we can display it in the UI invoice/voucher settings area.

      In order to get the current start value of the voucher-number sequence we need an API which returns that information.

      E.g.
      SELECT * FROM <sequence name>;

      or better yet:
      SELECT start_value FROM <sequence name>;

      The sequenceNumber schema can be reused to return the value.

      Acceptance Criteria:

      • the start value of the voucher-number sequence is returned
      • 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