Uploaded image for project: 'ui-data-import'
  1. ui-data-import
  2. UIDATIMP-1134

Add UI validation for some Invoice field mapping profile fields

    XMLWordPrintable

Details

    • Folijet Sprint 138, Folijet Sprint 139
    • 3
    • Folijet
    • Morning Glory (R2 2022)

    Description

      See problem in comment and testing video. Set this back to In progress

      Overview: An EDIFACT field mapping screen should have some basic validation for fields that are filled in from dropdown lists (but not usually from EDIFACT or MARC fields), so that the user does not accidentally key in data without quotation marks.
      NOTES

      • This is not trying to validate all of the EDIFACT-filled fields, since that validation would be more complex than MARC or quotation mark validation. I'm intentionally leaving out fund and expense class, since they may be harvested from the incoming EIDFACT invoice line
      • This is different from the validation done on several required fields in the Invoice field mapping screen. That validation only confirms something is in the field, but does not analyze the data that was entered into the field.

      Scenarios:

      1. Scenario 1
        • Given the Settings/Field mapping Create/Edit screen for Invoices
        • When a user types a value into the following fields instead of selecting it from the dropdown list
          • Acquisitions units
          • Bill to name
          • Batch group
          • Invoice adjustment Pro rate
          • Invoice adjustment Relation to total
          • Payment method
          • Currency
          • Invoice line adjustment Relation to total
        • Then ensure that the typed value has quotation marks around it
        • Or else when a user tries to save the record
          • Outline the field in red and
          • Under the field, display the error message: Please correct the syntax to continue
        • See the attached UIDATIMP-1134 Quotation Marks.png as an example
      2. Scenario 2
        • Given the Settings/Field mapping Create/Edit screen for Invoices
        • When a user types a value into the following fields instead of selecting it from the dropdown list
          • Acquisitions units
          • Bill to name
          • Batch group
          • Invoice adjustment Pro rate
          • Invoice adjustment Relation to total
          • Payment method
          • Currency (the dropdown list shows the currency name and 3-letter code; the mapping should only show the 3 letter code, all caps, in quotation marks; for example US Dollar (USD) in the dropdown list would show in the mapping field as "USD")
          • Invoice line adjustment Relation to total
        • Then ensure that the value matches a value from the tenant's validation (dropdown) list
        • Or else when a user tries to save the record
          • Outline the field in red and
          • Under the field, display the error message: Please correct the syntax to continue
        • See the attached UIDATIMP-1134 Value.png as an example

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Mariia_Aloshyna Mariia Aloshyna
                abreaux Ann-Marie Breaux
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases