Uploaded image for project: 'mod-invoice-storage'
  1. mod-invoice-storage
  2. MODINVOSTO-119

Cancel invoice : Update voucher and transaction schema with new fields

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.2.0
    • Labels:
      None
    • Template:
      Thunderjet/Firebird Back-end Story Template
    • Sprint:
      ACQ Sprint 118
    • Story Points:
      1
    • Development Team:
      Thunderjet

      Description

      Purpose/Overview:
      In order to support invoice cancel operation we back-end need to update schemas of voucher and transaction.

      Requirements/Scope:

      1. Transaction should be able to mark as "Voided"
      2. Voucher can be cancelled

      Approach:
      1. Add new boolean field into mod-finance/schemas/transaction.json

          "invoiceCancelled": {
            "description": "Indicates that related invoice was cancelled",
            "type": "boolean",
            "default": false
          },
      

      2. Add new status "Cancelled" for voucher into mod-invoice-storage/schemas/voucher.json

          "status": {
            "description": "Status of the voucher",
            "type": "string",
            "enum": [
              "Awaiting payment",
              "Paid",
              "Cancelled"
            ]
          },
      

      Acceptance criteria:

      • Schema updated
      • Sub-modules updated

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Andrei_Makaranka Andrei Makaranka
                Reporter:
                Andrei_Makaranka Andrei Makaranka
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases