Create a value set
I want to create a new value set as "ASS_ATTRIBUTE2" that is dependent on the value set that was defined earlier for attribute "ASS_ATTRIBUTE1" but the new value set("ASS_ATTRIBUTE2") should be enabled or disabled based on the selection condition mentioned in the first value set that is (Yes/No) in the first attribute "ASS_ATTRIBUTE1".
How can i achieve this?
Hi,
Use the $FLEX$.VALUE_SET_NAME clause in the table validated value set.
Regards,
SN
Similar Messages
-
How to create a value sets for concurrent program?
Hi Friends,
I am creating a concurrent program with a parameter period...
In the value set for the parameter period, I am using the following query :
---where application_id = 101
and set_of_books_id = :$PROFILES$.gl_set_of_bks_id
and closing_status IN ( 'O', 'F', 'C')
order by period_year, period_num' ----
In my cursor, i have a condition 'where set_of_books_id = ' ---
How can I pass the above set of books id into the cursor ?? it is not working when I am defining another parameter as Book and passing that value to the cursor....
I need that period parameter to return all the periods for the set of books where we are running the concurrent request from...I also need to get the set of books id for my cursor...
Hope I am making sense...All that I am trying is to have period parameter and also a SOB id in cursor condition...
Rgds,Hi Vamsi /Nitin,
Let me explain the whole thing now.....
My plsql procedure is ......
CREATE OR REPLACE procedure GL_INT(
perrbuff out varchar2,
pretcode out varchar2,
pbook in varchar2,
pperiod in varchar2
) is
cursor cur1 (p_sdate in date, p_edate in date )is
select distinct group_id groupid,
user_je_source_name source
from gl_interface
where accounting_date >= p_sdate
and accounting_date <= p_edate
and set_of_books_id = pbook;
cursor cur2 is
select distinct start_date sdate,
end_date edate, period_name period
from gl_period_statuses
where period_name = pperiod
and set_of_books_id = pbook
and application_id = 101;
i cur1%rowtype;
j cur2%rowtype;
begin
open cur2;
fnd_file.put_line(fnd_file.output,'PERIOD'||'----'||'GROUPID'||
'----'|| 'SOURCE');
loop
fetch cur2 into J;
exit when cur2%notfound;
open cur1(J.sdate,J.edate);
loop
fetch cur1 into I;
exit when cur1%notfound;
fnd_file.put_line(fnd_file.output, J.period||'----'||I.groupid||'----'||
I.source);
end loop;
end loop;
Close cur1;
close cur2;
Exception when others then dbms_output.put_line(SQLERRM);
end;
==================================================================================================
For SOB value set, I have passed the default value as vamsi suggested ($profiles$.gl_set_of_bks_id)....
For period value set, I have entered query as ..where application_id = 101
and set_of_books_id = :$PROFILES$.gl_set_of_bks_id
and closing_status IN ( 'O', 'F', 'C')
order by period_year, period_num...................
It still doesn't work....I don't know how to derive those Periods based on the SOBs and at the same time pass SOB id into the cursors...
Please help...
Rgds,
Murali -
API to create value set with attribute values ?
Hi
I was hoping someone might be able to help with this question.
I am creating a series of value set values using fnd_flex_val_api.create_independent_vset_value and fnd_flex_val_api.create_dependent_vset_value as part of a migration.
These APIs do not allow you to pass in attribute column values.
How can you create a value set value which has attribute values populated ? Is there another API does anyone know ?
Thanks a lot
ScottAll APIs are listed in Oracle Integration Repository
http://irep.oracle.com/index.html
API User Notes - HTML Format [ID 236937.1]
R12.0.[3-4] : Oracle Install Base Api / Open Interface Setup Test [ID 427566.1]
Oracle Trading Community Architecture API User Notes, June 2003 [ID 241320.1]
Technical Uses of Customer Interface and TCA-API [ID 269121.1]
Pelase also check below:
Api's in EBS
Re: Api's in EBS
http://sairamgoudmalla.blogspot.com/2009/05/script-to-find-oracle-apis-for-any.html
API
Fixed Asset API
List of API
Re: List of APIs
Oracle Common Application Components API Reference Guide
download.oracle.com/docs/cd/B25284_01/current/acrobat/jta115api.pdf
List of APIs and open interface R12
Re: List of APIs and open interface R12
Regard
Helios -
Create Value Set of Table Type
Hi,
Could you provide me a sample program for creating a value Set of Table type.
Thanks
Tim.Hi,
I was able to create value set (table type) from the System Administrator and attached the value set to the Inventory Kanban DFF Form.
I'm having issue here, value set is created on Custom Table which has data as below :
EX:- Custom table has Item_Num: 101 , Lot_Num: Lot_1 & Item_Num: 102 , Lot_Num: Lot_2
When I go into DFF form in Inventory for item_Num: 101 it should only allow to enter Lot_1 but it is accepting Lot_2 also.
I must be missing some where clause in the value set setup.
Any suggestions?
R12 Version.
Thanks
Tim. -
Creating value set and restricting values based on operaing unit retrieved
I am creating a value set to retrieve inventory org's from org_organization_definitions table. I want to restrict the values based on the operating unit i retrieve from profile options.
How do i write it as a syntax while creating the value set at front end?
can you help me?Hi Ivruksha,
Thank you for your reply! Here are more details:
We display the accounting flex for each segment in an ADF application we create. We query Fnd_Flex_Values_Vl to find the possible segment values for each segment. The customer has a use case, in EBS, there are two operating units A and B. Both A and B use the same independent flex value set for a key flex field but they display different segment values based on the given operating unit. We need to replicate this behavior in our form to be able to filter the segment values based on the operating unit.
We set the MOAC policy context to a single org so it will only show data from the specified org id. But for segment lookup, it still returns the same list of segment values for both operating units.
- Beibei
Edited by: user11179792 on Dec 4, 2012 7:32 AM
Edited by: user11179792 on Dec 4, 2012 7:34 AM
Edited by: user11179792 on Dec 4, 2012 7:36 AM -
Creating Value set ..
Hi,
Am on Apps 12.1.3
DB 11gR1
Please any help me two create depndevcy value set.
Suppoose in value set a - dispalys no of inventory Organization,
in b it should display sub inventories under that Organization,
in c - Items in that sub inventories
in d-vendors for those items ..
Org : i can get org_organization_definitions the same?
any one please give me query to achieve the same.
thanksTry changing the where clause in the second value set:
WHERE_CLAUSE-- PARTY_ID = :$FLEX$.XX_PARTY_NUMBER
other than that i dont see any issues.
Thanks,
raj -
can any body tell me how to get the distinct values for a table valueset
from GL_CODE_COMBINATIONS table i want to get the distinct values of SEGMENT2 so any body tell me how to create a table value set for this its very very urgent.
Regards,
Azeez
[email protected]Hi
When u create table value sets
Table columns-----------
Value-
Meaning
-ID------------distinct(id) from that table
it will work fine let me know if u ned anything.
Rakesh -
Value sets and Report Parameters
Hi
these are my requirements
i have developed report using scott where the
parametes are
dname
empinfo
(1)If i select Department 1o then
in parameter empinfo should display the value only from department 10
(2) i have created a value set for report parameters empinfo
it only shows two columns like EMPNO AND eNAME AND THERE only two column space to be shows
how could i make columns to be displayed in addition to ename and empno
RegardHi KittyCat101,
If I understand correctly, you want to use a parameter to filter Status field that starts with “Is” or “Can” or “Fi”. If in this scenario, we can refer to the following steps to achieve your goal:
Modify the available values for @Status parameter to “Is”, “Can” and “Fi”.
Right-click the tablix or dataset to open the properties dialog box.
Select Filter in the left pane, then add a filter like below to filter Status field:
Expression: =Fields!Status.Value like (Parameters!Status.Value & "*") Type: Boolean
Operator: =
Value: true
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How to set the where clause of a value set on the basis of a form field
I am using a DFF(Descriptive FlexField), which needs to display the value of a certain column(say columnA) on the basis of the value of another column(say columnB).
So i have created a value set which points to the table which has both these columns, and the DFF uses this value set. However, the problem is that I have not put any where clause in the value set, because of which i cannot handle the exact fetch returns more than one rows error.
The query has to be as follows:
select ColumnA from tbl where ColumnB = [ a form value ];
What I want to know is how can i get the value of a certain field of a certain block of the form in the above query.
Edited by: 981615 on Jan 14, 2013 12:48 AM
Edited by: 981615 on Jan 14, 2013 12:48 AMJust have a look over these two statements if it solves your problem
one time where clause
Set_Block_Property('BLOCK_NAME',ONETIME_WHERE,your form item);
dynamic where clause
set_block_property('BLOCK_NAME'default_where, your form itme)
you can where clause at run time from any procedure or some triggers -
Hi BW Experts,
I have two Queries i.e Q1 and Q2. In Q1 i have a condition and if i execute the first Query the result set should be used as input to second Query.
For that i have created a value set under reporting agent i set all the parameters. In the characteristic column i have specified the technical name of the Infoobject and in the Query column i specified technical name of the query.
Save and activated successfully but description for infoobject was not displayed.
What might be the reason ?
Could any one help me in this.
Regards
PrasadHi Srinivas,
Using Reporting Agent i created Value Set. Before going to save and activate the process i have filled the parameters tab with infoobject technical name and query technical name.
Once after activation it has not displayed the description for Info object. But for query it has been displayed the description and it has displayed the technical name of the cube and description tooo.
At the bottom of the screen it has displayed Value set technical name and table name.
Regards
Prasad -
How to change table value set using FND_LOAD
Hi ,
I need to change my existing " table valueset " tablename .
As i know we cont change it from front end if it is created once. but i am trying to create same value set in other instance and uploading it using FND_LOAD .
Is it Possible ?
IF yes please guide ?
I feel greate if any one helps me.
Regards ,
Azam.Hi,
You could use FNDLOAD to download the values, and edit the ldt file before uploading it back using FNDLOAD.
Search My Oracle Support for "FNDLOAD afffload.lct", you should get couple of hits which should be helpful.
Note: 252853.1 - 11i AOL : How to Load Value Set Values When Using Fndload To Load A Concurrent Program
Note: 274528.1 - How To Download Single Context Using FNDLOAD For Descriptive Flexfield
Regards,
Hussein -
Values Set does not appear in Input Element Entry (Com. and benefits)
Hi all
I have created one values set, but it does not shown, wenn i selecting this values set in Element Entry. Pls. give me some advices.
ThanksHi JIGAR BHATT,
Please have a look at below SPRO paths and verify it...
IMG menu path
SPRO->Financial Accounting->Financial Accounting Global Setting->Tax on Sales/Purchase->Basic Setting->Define Tax Juridiction
SPRO->Materials Management->Logistics Invoice Verification->Incoming Invoice->Maintain Default Values for Tax Codes.
Also have a look on Documentation which is available at the above path of SPRO
And also ask to BASIS and Functional Consultant if they can help you out for it.
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7 -
Value Set error msg when opening sales order Form
Hi
I created a value Set(where the values are populated at run time based on a view) which is attached to DFF (column eg Attribute13),The Value set would get value populated only if any sales order lines are cancelled, as the value of Attribute13 on cancelled line would be inserted to new Order Line.
The Problem is when ever the Sales order Form is opened it throws the error message
"Value XX For the FlexField Segment dosent not exists in the valueset (Valueset name)" as the oe_order_lines_all.attribute13 has value and the value set has null, it matches it and throw the above error.
Could you guys give any suggestion how to avoid it, or is there any workarould , Thanks
ThanksThis tells me that the same attribute is used for something else and there is a value in that the column that is not your table which you are validating against. Or the value you are setting is not in that table.
About the context: If the same attribute is used under a different context AND if that context gets set when you open the sales order AND if the validation type is different under that context for attribute13, you will get this error.
Thanks
Nagamohan -
I have created three value sets and this one is to extract the contact from the id the value set gets sent.
SELECT PARTY.PARTY_NAME, DECODE(ACCT_ROLE.STATUS,'A','Active','I','Inactive')||' '||PARTY.PERSON_LAST_NAME||' '||PARTY.PERSON_FIRST_NAME,
ACCT_ROLE.CUST_ACCOUNT_ROLE_ID
FROM HZ_CUST_ACCOUNT_ROLES ACCT_ROLE, HZ_PARTIES PARTY, HZ_RELATIONSHIPS REL
WHERE 1=1
AND ACCT_ROLE.PARTY_ID = REL.PARTY_ID
AND ACCT_ROLE.ROLE_TYPE = 'CONTACT'
AND REL.SUBJECT_ID = PARTY.PARTY_ID
AND PARTY.PARTY_TYPE = 'PERSON'
AND :$FLEX$MISAR_HZ_PARTIES = ACCT_ROLE.CUST_ACCOUNT_ID(+)
ORDER BY PARTY.STATUS,PARTY.PERSON_LAST_NAME||','||PARTY.PERSON_FIRST_NAME
When I reference the value set through a standard custom form through a descriptive flexfield I get the following error message:
APP-FND-01242: Cannot read value from field $FLEX$MISAR_HZ_PARTIES
Cause: The field $FLEX$MISAR_HZ_PARTIES could not be located or read.
Action: This error is normally the result of an incorrectly-entered field name string in a trigger, or a field string that does not uniquely specify a field in your form. Correct your trigger logic to precisely specify a valid field.
I've checked all the other value sets by running the SQL through SQL*Plus and they work fine.
There is no id to send to this value set but it shouldn't fail.
Any ideas why this error is coming up?The issue is usually caused by descriptive flexfield validation logic referencing a <block_name>.<field_name> combination that does not exist in the form.
The setup causes the issue because the flexfield is unable to pass validation. Either disable the problematic descriptive flexfield or remove all references in the descriptive flexfield validation logic to the invalid <block_name>.<field_name> combination.
Solution
-- To disable the descriptive flexfield, please execute the following steps::
1. Go into the System Administrator responsibility
2. Navigate to Application > Flexfields > Discrete
3. Query for the problematic descriptive flexfield. See Note 1016241.102, for guidance in identifying the flexfield.
4. Clear the 'Freeze Flexfield Definition'Note 1016241.102, for guidance in identifying the flexfield.
4. Clear the 'Freeze Flexfield Definition' checkbox.
5. Disable any Global Data Element segments.
6. Disable any context-sensitive (non-global) structures.
7. Check the 'Freeze Flexfield Definition' checkbox.
8. Save the changes.
9. Retest the issue.
10. Migrate the solution as appropriate to other environments. -
Hi experts,
pre-calculated value sets can improve query performance, if yes pls send me if there is any document to create precalculated value set.
points will assing.
regards
manojHi,
check the below link.
http://help.sap.com/saphelp_nw04/helpdata/en/84/00783b3af21f5ee10000000a11402f/content.htm
hope it helps...
regards,
raju
Maybe you are looking for
-
How can I transfer files from one person to another using iClouds?
Good day to everyone. Prior to migrating to iCloud I enjoyed the use of iDisk that allowed me to perform the file share service with ease. I cannot find my way to doing the same with iCloud, can anyone help me? Regards Mphathi
-
I need help with a few things.... 1.) My ipod touch (5th gen) was doing what i believe was an ios7 update when i stopped it becuz it was taking forever. After that the screen just said connect to itunes. I've looked up how to fix it and i know it wou
-
Optimum app not working in Mac OSX 10.8
I just downloaded the Optimum app which uses Sliverlight. It does not open or let me log in. Whenever i open the Optimum app for streaming live tv it just opens up on a blank screen. When I quit it I get this error message: I have installed latest ve
-
HT1657 can I watch a rented movie on apple tv that was purchased on my phone
Can I watch a rented movie on apple tv that was purchased on my phone
-
Failed to initialize the application 'soa-infra' for SOA suite 11g
Hello experts! Having followed the steps in http://www.packtpub.com/article/installation-configuration-oracle-soa-suite-11g-1, upon starting the cmd scripts, I received among others the following error message: <BEA-149205> <Failed to initialize the