Uploaded image for project: 'mod-orders'
  1. mod-orders
  2. MODORDERS-334

Update purchase order number pattern

    XMLWordPrintable

Details

    • ACQ Sprint 76, ACQ Sprint 77
    • 1
    • Thunderjet

    Description

      Overview

      The currenty minimum number of digits for the PO number (5) is preventing users from migrating orders from other systems.

      Approach

      • Change the purchase_order.poNumber pattern from
        ^[a-zA-Z0-9]{5,16}${code} to 

        ^[a-zA-Z0-9]

        {1,16}${code}
        * Change the po_line.poLineNumber pattern from
        ^[a-zA-Z0-9]{5,16}-[0-9]{1,3}${code} to 
        ^[a-zA-Z0-9]{1,16}

        -[0-9]

        {1,3}

        ${code}

      Acceptance criteria

      • schemas have been updated (don't forget about the composite schemas)
      • adjust sample data so that at least one order has a shorter poNumber/polNumber

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                KVupp Kruthi Vuppala
                dennisbridges Dennis Bridges
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases