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

Honor po_number if passed in during order placement.

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 2.0.0
    • None
    • ACQ Sprint 53, ACQ Sprint 54
    • 3

    Description

      Currently mod-orders generates and assigns a po_number when orders are placed. If a value is provided, it is simply ignored and overwritten.

      That behavior should change to:

      If (po_number is provided) {
          if( isValid(po_number) ) {
              use provided po_number
          } else {
              fail order creation
          }
      } else {
          generate and assign a po_number
      }
      

      Where

      isValid(...) 
      

      verifies that the po_number is valid and unique. The latter will likely require making a call to mod-orders-storage.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases