Function To Retrieve Other Element Values From A List By Providing The Primary Key Of The List.
(Doc ID 2750923.1)
Last updated on FEBRUARY 09, 2021
Applies to:
Oracle Utilities Testing Accelerator - Version 6.0.0.2.0 and laterInformation in this document applies to any platform.
Goal
A function is needed to retrieve other element values from a list by providing the primary key of the list regardless of the index position of the list.
The required function has to verify that if we provided resourceTypeId as parameter, we should also be able to verify it's boStatus and commoditySize.
The requested function is almost the same as getElementValue and getElementValueByIndex but instead of getting only one element for each function call, we need to retrieve other pertinent values from the list.
One example test scenario is the search results details would be passed to the next component call.
Another is when adding Invoice line, you have to get pertinent PO line details (such as Quantity, Unit Price, Tax Rate Schedule, Taxing State and etc. from a PO line) and save them to a variable to be added as Invoice Line's corresponding details.
If we have a function that could get all the other element values from our PO Line read call and save those values to variables to be used as Invoice Line details it would be a very helpful function.
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
References |