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

Unable to create new Purchase Order with PO Line

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Labels:
    • Template:
    • Sprint:
      ACQ Sprint 55, ACQ Sprint 56
    • Story Points:
      1
    • Development Team:
      Thunderjet

      Description

      Unable to create new Purchase Order with PO Line

      How to reproduce:

      • send POST request with the following body
      {
       "notes":[],
       "order_type":"One-Time",
       "vendor":"4b05321a-3eb7-4dd4-8f1d-d6766c0e210c",
       "workflow_status":"Open",
       "po_lines":[
         {
          "cost":{"currency":"USD","list_price":"1","quantity_physical":"1"},
          "vendor_detail":{"instructions":""},
          "po_line_number":"12345-1",
          "acquisition_method":"Gift",
          "order_format":"Physical Resource",
          "title":"14 cows for America"
         }
       ]
      }
      

      It returns an error

      {
        "errors" : [ {
          "message" : "{\"errors\":[{\"message\":\"may not be null\",\"type\":\"1\",\"code\":\"-1\",\"parameters\":[{\"key\":\"source\",\"value\":\"null\"}]}]}",
          "parameters" : [ ]
        } ]
      }
      

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                cmcnally Craig McNally
                Reporter:
                Andrei Shumski2 Andrei Shumski
                Tester Assignee:
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases