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

Add field "VendorAddress" into batch voucher schemas

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.0.1, 5.1.0
    • Labels:
      None
    • Template:
      Thunderjet/Firebird Back-end Story Template
    • Sprint:
      ACQ Sprint 110
    • Story Points:
      1
    • Development Team:
      Thunderjet
    • Release:
      R1 2021 Bug Fix

      Description

      Purpose/Overview: Every voucher is associated with 1 organization record and currently the name appears in the voucher. We also need to output the primary address of the vendor. 

      Requirements/Scope:

      • When creating batch voucher, include the primary address of the vendor on each Batched voucher
      • Include the following fields from the primary address detail
        • Address 1
        • Address 2 
        • City
        • State/Province/Region
        • Zip/Postal code
        • Country

      Approach:

      1. Create batch_voucher_vendor_address.json

      {
        "$schema": "http://json-schema.org/draft-04/schema#",
        "description": "An address record",
        "type": "object",
        "properties": {
          "id": {
            "description": "UUID",
            "$ref": "../../common/schemas/uuid.json"
          },
          "addressLine1": {
            "description": "The first line of this address",
            "type": "string"
          },
          "addressLine2": {
            "description": "The second line of this address",
            "type": "string"
          },
          "city": {
            "description": "The city for this address",
            "type": "string"
          },
          "stateRegion": {
            "description": "The state or region for this address",
            "type": "string"
          },
          "zipCode": {
            "description": "The zip code for this address",
            "type": "string"
          },
          "country": {
            "description": "The country for this address",
            "type": "string"
          }
        },
        "additionalProperties": false
      }
      
      

       

      2. Add "VendorAddress" as persistent filed into:

      • 2.1 ramls/acq-models/mod-invoice-storage/schemas/batched_voucher.json
      • 2.2 ramls/schemas/batch_voucher.xsd

      Acceptance criteria:

      • Schema updated 
      • Sub-modules updated

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dennisbridges Dennis Bridges
                Reporter:
                Andrei_Makaranka Andrei Makaranka
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases