Uploaded image for project: 'mod-invoice'
  1. mod-invoice
  2. MODINVOICE-139

Create PUT /voucher/vouchers/<id>

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • 3.1.0
    • None
    • ACQ Sprint 83
    • 2
    • Thunderjet

    Description

      Overview

      We need to be able to edit a few parts of the voucher after it's been generated. The fields that should be editable are:

      voucher.dispersementNumber
      voucher.dispersementDate
      voucher.dispersementAmount
      voucher.voucherNumber

      Attempting to edit any other fields should result in an appropriate error.

      NOTE: protected fields logic can be borrowed from mod-orders

      Acceptance Criteria

      • API is defined and implemented (RAML/ModDesc/Code)
      • Validation of which fields are edited is performed
      • Appropriate error message are used when there are attempts to modify fields which are "off limits"
      • Unit tests are updated
      • API tests are updated

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Andrei_Makaranka Andrei Makaranka
                cmcnally Craig McNally
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases