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

Invoicing schema changes

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      ACQ Sprint 86
    • Story Points:
      1
    • Development Team:
      Thunderjet

      Description

      Overview

      We need to add a few fields to the invoice, adjustment, and batch voucher schemas:

      • adjustment.exportToAccounting
        • boolean
        • required
        • default: false
      • invoice.exchangeRate
        • number
        • optional
        • no default
      • invoice.enclosureNeeded
        • boolean
        • default false
      • batched_voucher.enclosureNeeded
        • boolean
        • default false
      • batched_voucher.folioInvoiceNo
        • string
        • required
        • no default

      See the wiki for additional details.

      NOTE: While not a default in the schema, the exchange rate will be 1 for invoices with the same currency as the system currency. This will be handled by mod-invoice and is part of a separate story.

      Data Migration

      • assign the default if not present to all existing adjustments and for invoice.enclosureNeeded
      • no data migration scripts are needed for exchangeRate. The user can add an exchangeRate manually after upgrade if desired.

      Acceptance Criteria

      • schemas and examples are updated
      • acq-models submodule is updated in mod-invoice
      • update sampled data as needed.
      • update API tests as needed (batch vouchers)

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Andrei_Makaranka Andrei Makaranka
                Reporter:
                cmcnally Craig McNally
                Tester Assignee:
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases