Link to home
Start Free TrialLog in
Avatar of mhas01
mhas01Flag for Costa Rica

asked on

How to obtain value_from and value_from_meaning from oracle canned applications' query

Hey experts.

I hope you are doing great.

I am working in an oracle forms builder's form, QPXPRMLS.fmb to be more specific. There are several queries (views) involved in this form. There is a canvas called QUALIFIER_FIXED, which shows several columns. I intend to leverage these queries for creating a report of the price modifiers existing in the database, but whe it comes to showing the QUALIFIER_CONTEXT, QUALIFIER_ATTRIBUTE, VALUE_FROM as well as the VALUE_FROM_MEANING, I have no clue where those values come from, as they are related to some LOV. I hope you can provide me with an easy query to extract these values from the tables they are stored.

I have resolved the part for the HEADERS, the MODIFIER LINES, the PRICE_BREAK attributes and so far, I have this query for the QUALIFIERS:

SELECT qualifier_grouping_no "Grouping Number", qualifier_context "Qualifier Context"
from qp_qualifiers_v where list_header_id = 8225 order by qualifier_grouping_no ;  (8225 is just hardcoded for testing purposes)

For example, the query is returning the qualifier context as shown in the embedded image, but I need it to be Modifier List instead of MODLIST. I assume this is extracted from somewhere in the database, and wouldn't want to have to hardcode it.

Please ask for any clarification as required.

User generated image
I also know how to obtain the value_from and the value_from_meaning but it is returning me values like QUALIFIERATTRIBUTE4, QUALIFIERATTRIBUTE2. I hope you can provide me a query to translate these values into more readable data.

Thank you very much in advance for your attention and interest.
ASKER CERTIFIED SOLUTION
Avatar of flow01
flow01
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mhas01

ASKER

Regarding your suggestion on MODLIST, what I mean is that in the form where it is captured it actually says MODIFIER LIST, but in the view that I am querying it says MODLIST, so what I want is to know where to pull the MODIFIER LIST value from. By the way, MODLIST and CUSTOMER are only example codes, since there are lots of other codes, I want to find the relationship between these codes and the actual value.

On the other side, actually I know that QP_QUALIFIERS_V is a VIEW, but the base tables don't expose this value either. I think it is based in a relationship stated in the form somehow, and that is actually why I am asking this question.

Searching in the form I was not able to successfully find this value, and that is other reason why I asked in this forum. Don't get me wrong please, I really appreciate your question but it has not leaded me to the resolution. Thank you anyway. Please don't hesitate to reply back if my comments make any sense or not, to clarify. I really appreciate it.
Avatar of mhas01

ASKER

Other consideration, this form is part of the E-business suite of ORACLE, and also part of the ADVANCED PRICING module, so it you are familiar with this module, it might be easier. Thanks.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial