Template fix: Account number
Description
Environment
None
Potential Workaround
None
Attachments
1
relates to
Checklist
hideTestRail: Results
Activity
Show:

Ann-Marie BreauxOctober 31, 2019 at 7:48 AMEdited
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 AMEdited
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
Ann-Marie BreauxAnn-Marie Breaux(Deactivated)Reporter
Ann-Marie BreauxAnn-Marie Breaux(Deactivated)Tester Assignee
Ann-Marie BreauxAnn-Marie Breaux(Deactivated)Priority
P3Story Points
2Sprint
NoneDevelopment Team
ThunderjetFix versions
TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee

Reporter

Tester Assignee

Priority
Story Points
2
Sprint
None
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
[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:
Log into FOLIO-snapshot as diku_admin
Go to Organizations
Edit a Vendor to have 2 accounts
Go to Settings/Orders/Templates
Create a new template or edit an existing template
Go to the Account field in the Vendor accordion
Expected Results:
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
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
If a vendor is NOT assigned in the template, the Account field should be a free-text field
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
See attached screenshot