Uploaded image for project: 'mod-orders-storage'
  1. mod-orders-storage
  2. MODORDSTOR-122

Ability to specify start of poNumber sequence

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Draft (View Workflow)
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Template:
    • Development Team:
      Thunderjet

      Description

      Overview

      Once an order is imported, the user is concerned about what number the sequence will resume with given the digit maximum is 16.

      Approach

      • Create an API that allows the start of the sequence to be determined and set. This is similar to the "voucher-number" API in mod-invoice-storage.
        • GET /orders/po-number/start - get the start of the sequence
        • POST /orders/po-number/start/<value> - set the start of the sequence
        • The sequence_number schema can be reused here.

      Acceptance criteria

      • The poNumber sequence start value can be retrieved and set.
      • Resume sequence from highest number imported in.
      • Allow user to set starting number for sequence

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dennisbridges Dennis Bridges
                Reporter:
                cmcnally Craig McNally
                Tester Assignee:
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    TestRail: Runs

                      TestRail: Cases