Template fix: Account number

Description

[Changed from a bug; see scenarios in the "expected results" section]

Overview: Template account number field should be populated with values from the Vendor, if a vendor is assigned and the vendor record has accounts

Steps to Reproduce:

  1. Log into FOLIO-snapshot as diku_admin

  2. Go to Organizations

  3. Edit a Vendor to have 2 accounts

  4. Go to Settings/Orders/Templates

  5. Create a new template or edit an existing template

  6. Go to the Account field in the Vendor accordion

Expected Results:

  1. If a vendor is assigned in the template, and accounts are in the vendor record, the Account field should display the accounts associated with that vendor, but only allow 1 to be selected :check_mark:

  2. If a vendor is assigned in the template, and account numbers are NOT available in the vendor record, the Account field should be a free-text field :check_mark:

  3. If a vendor is NOT assigned in the template, the Account field should be a free-text field :check_mark:

Actual Results: The template Account field is always free-text, and does not relate to any account that may exist in the template's associated vendor record

NOTE Once corrected, please use the template to create a POL and confirm that the template account is showing in the POL :check_mark:

See attached screenshot

Environment

None

Potential Workaround

None

Attachments

1
  • 13 Sep 2019, 06:14 AM

Checklist

hide

TestRail: Results

Activity

Show:

Ann-Marie BreauxOctober 31, 2019 at 7:48 AM
Edited

Hi tested on folio-snapshot with vendors that have no account, 1 account, and more than 1 account. All look good and act properly in the template and in the POL. Closing this ticket. Thank you!

Andrei ShumskiOctober 29, 2019 at 6:01 AM
Edited

Tested on folio-testing. Account number field on template and POL forms is TextField or SelectField depends on the selected vendor

Ann-Marie BreauxSeptember 17, 2019 at 1:46 PM

and I changed the title to reflect both Template and PO Line fixes

Aliaksei ChumakouSeptember 17, 2019 at 8:46 AM

thanks, we just needed your confirmation to change logic in both places and it affects the pointing.

Dennis BridgesSeptember 16, 2019 at 3:14 PM

It is actually ideal if both the line and template can behave this way. I've made some small changes to the description and if there are specific technical issues involved here we could discuss them in tomorrows grooming.

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Story Points

Sprint

Development Team

Thunderjet

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created September 13, 2019 at 6:10 AM
Updated December 6, 2019 at 7:43 AM
Resolved October 31, 2019 at 7:48 AM
TestRail: Cases
TestRail: Runs

Flag notifications