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.
thanks

Try 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

Similar Messages

  • Need help in creating value set

    hi frs,
    i have created report with parameter status and registerd in apps.
    i need create valuet set like having values like below
    approve,
    cacel,
    pending,
    close,
    all
    all should contain values like approve,cacel,pending,close
    how to create value set of this type.
    help pls.
    regards
    rajesh

    Hi,
    For my Report i need to pass 2 parameters 1.From Period 2.To Period
    I created value set what ever u telling like and parameter window i given low high.
    This is because data is in varchar.
    I tryed in some other way using $flex$ am getting error while attaching.
    can you pls help me i need urgent.
    If u need any more information i will send u...
    Thanks in Advance.
    Regards,
    Leelakrishna.G

  • 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.

  • 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
    Scott

    All 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

  • 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 one dependent n another

    Hi,
    I want to create 2 custom value sets XX_PARTY_NUMBER and XX_CUSTOMER_NUMBER
    When i select the value for Party_number from XX_PARTY_NUMBER,
    the corresponding customer_number should populate from XX_CUSTOMER_NUMBER
    This is what i tried
    1ST VALUE SET
    VALUE_SET_NAME -- XX_PARTY_NUMBER
    APPLICATION ---RECEIVABLES
    TABLE HZ_PARTIES
    VALUE-- PARTY_NUMBER
    MEANING PARTY_NAME
    ID-- PARTY_ID
    WHERE_CLAUSE -- ORDER BY PARTY_ID ASC
    2ND VALUE SET
    VALUE_SET_NAME
    XX_CUSTOMER_NUMBER
    APPLICATION -- RECEIVABLES
    TABLE --- RA_CUSTOMERS
    VALUE -- CUSTOMER_NAME
    MEANING -- CUSTOMER_NUMBER
    ID ---
    WHERE_CLAUSE-- PARTY_ID IN :$FLEX$.XX_PARTY_NUMBER
    I'm not getting it correctly.
    Can you help me?

    Try 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

  • Issue with the value set

    Hi friends,
    am trying to do a percentage calculation from two value sets
    like
    select round((to_number(:$FLEX$.PROP_BONUS)*100)/(12*to_number(:$FLEX$.XX_SAL)),2) FROM DUAL
    this is giving me error ...
    those two are number data type value sets.. and am using this in self service pages
    the error says like this
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: select fnd_number.number_to_canonical(round((to_number(:$FLEX$.PROP_BONUS)*100)/(12*to_number(:$FLEX$.XX_SAL)),2)) FLEX_VALUE
    , to_char(round((to_number(:$FLEX$.PROP_BONUS)*100)/(12*to_number(:$FLEX$.XX_SAL)),2)) FLEX_DISPLAY
    from DUAL
    where (1 = 1)
    and 'Y' = 'Y'
    and nvl(fnd_date.canonical_to_date(:1), trunc(SysDate))
    between nvl(trunc(to_date(null)), nvl(fnd_date.canonical_to_date(:2), trunc(SysDate)))
    and nvl(trunc(to_date(null)), nvl(fnd_date.canonical_to_date(:3), trunc(SysDate)))
    and to_char(round((to_number(:$FLEX$.PROP_BONUS)*100)/(12*to_number(:$FLEX$.XX_SAL)),2)) like :L1
    order by FLEX_DISPLAY
    java.sql.SQLException: ORA-00911: invalid character
    can some one suggest me a solution please

    Please see if (Unable To Use $FLEX$ In Table Name Field While Creating Value Set [ID 1071197.1]) and (Compilation Error ORA-00911 Occurred After Adding To Descriptive Flexfield [ID 445246.1]) help.
    Thanks,
    Hussein

  • Pre Calculated value sets

    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
    Prasad

    Hi 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

  • Table Value Set.

    Hi All,
    1)
    I created a Table type value set for concurrent program.
    and i want a add one more value to value set, for that im using union clause in Where/order by Field..
    ex code:
    Where/order by:
    where 1=1
    union
    select 'ALL' name from per_all_positions;
    here name is alias. In lov it is not showing any value.
    2) For this i created a custom view .
    ex code:
    create or replace view XXCS_POPUP_VAL_V as
    (select 'ALL' fsm from per_all_positions
    union
    select name fsm from per_all_positions)
    order by fsm
    I created value set based on custom view , but it is not showing 'ALL' in LOV.
    I want include 'ALL' value in LOV.
    How can i achieve this..
    Thanx in advance..

    I'm not sure how come first one with union in where clause is working for you.
    Check the link ORA-00907 Missing Right Parenthesis in Value Set
    Also I'm not sure why you want to select entire table just to add 'ALL'.
    Try the followingCREATE OR REPLACE VIEW xxcs_popup_val_v AS
    SELECT 'ALL' fsm FROM dual
    UNION
    SELECT name fsm FROM per_all_positions;No need of order by when you are using union, as you want to order on first column.
    What is the ID and value column you have selected in the Value Set?
    By
    Vamsi

  • Value Set whose Data come from customize table with distinct record

    Dear All,
    I am new in Oracle EBS, currently i am creating value set whose data come from customize table which have 40 duplicate record in which distinct column return 27 record .
    Table XX_ROUND_SET
    Columns (Transactions_id,set_record)
    Total Record (40)
    Distinct Record (Set_Record --> 27)
    I just want to show only 27 record in it.
    Thanks
    Rehan

    Hi Rehan,
    PL.IGNORE MY EARLIER UPDATE AND TREAT THIS UPDATE AS YOUR SOLUTION.
    Method 1
    Create the VIEW based on DISTINCT values; use the VIEW for creates the VALUESET.
    Method 2
    Paste the QUERY in TABLE field with alias name, and give the column name (with alias name).
    (in your case )
    TABLE NAME : ( select distinct transactions_id, set_record from XX_ROUND_SET ) Y
    VALUE : Y.transactions_id
    HTH
    Sanjay

  • Value Set Definition pay_us_states

    I need unique values for state_abbrev
    I created value set with validation type as table. I gave table name as pay_us_states meaning I gave as distinct state_abbrev. I got below error
    ORA-00936: missing expression
    select distinct state_abbrev VALUE from pay_us_states where rownum=1 and distinct state_abbrev is NULL
    how to get distinct rows from table?

    When defining a value set, you need to provide the table name and the column names in the drop down lists of the "define value set" form. The only free form entry is the WHERE clause. Take a look at the definition of seeded value set PAY_US_STATE_CODES. You will need to remove the ROWNUM qualifier.
    HTH
    Srini

  • Compile value set manually....

    Hi guys,
    I m inserting value set details in the FND_VALUE_SET tables using procedure.
    Now, for creating value set out ot these values, need to compile it using concurrent process.
    Please let me know if anybody knows exact con current process name to compile value set. I searched and founded these names : FDFCMPA,FDFCMPD,FDFCMPK,FDFCHY.
    Those are basically for compile key, descriptive flex fields....I m looking for compiling value set....
    any details will be greatly appreciated...
    Thanks in advance....

    Also, any suggestions to submit the progarm ""Compile value set hierarchies" manually will be greatly appreciated.You can use CONCSUB to submit the concurrent program from the OS -- How To Submit A Concurrent Request Using CONCSUB Syntax [ID 457519.1
    Thanks,
    Hussein                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • 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

  • Creating 2 custome dependent value sets for party_number and customer_numbe

    Hi,
    I want to create 2 custom value sets XX_PARTY_NUMBER and XX_CUSTOMER_NUMBER
    When i select the value for Party_number from XX_PARTY_NUMBER,
    the corresponding customer_number should populate from XX_CUSTOMER_NUMBER
    This is what i tried
    1ST VALUE SET
    VALUE_SET_NAME -- XX_PARTY_NUMBER
    APPLICATION ---RECEIVABLES
    TABLE HZ_PARTIES
    VALUE-- PARTY_NUMBER
    MEANING PARTY_NAME
    ID-- PARTY_ID
    WHERE_CLAUSE -- ORDER BY PARTY_ID ASC
    2ND VALUE SET
    VALUE_SET_NAME
    XX_CUSTOMER_NUMBER
    APPLICATION -- RECEIVABLES
    TABLE --- RA_CUSTOMERS
    VALUE -- CUSTOMER_NAME
    MEANING -- CUSTOMER_NUMBER
    ID ---
    WHERE_CLAUSE-- PARTY_ID IN :$FLEX$.XX_PARTY_NUMBER
    I'm not getting it correctly.
    Can you help me?

    Hello Friends,
    I am new to Oracle Apps,i am finding difficult in writing the query to get the following details -
    Customer Name,
    Customer Number,
    Bill_to_address,
    Ship_to_address
    Kindly share if you have any query related to this.
    Thanks In Advance!
    Ramya Nomula

  • 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

Maybe you are looking for

  • How do I delete "You can't open the application Adobe Reader Updater Helper because PowerPC..."

    How do I delete "You can't open the application Adobe Reader Updater Helper because PowerPC applications are no longer supported." I have Mac w/ Lion and this message pops-up constantly. I would like to stop it from poping up? Any suggestions?

  • Acrobat Pro doesn't recognize CS4 Creative Suite serial #

    I've installed the CS4 creative suite and now acrobat doesn't recognize the serial #. All other apps are fine and working properly. Also running 10.4.11 OS. Any suggestions would be great, so thanks in advance. Tim

  • Smart Folder Help

    I have a folder for a specific project I'm working on and I want to create a smart folder that I can add to my sidebar that will list only files within that project folder that have been opened within the past week. How would I do this? Whenever I tr

  • Regarding extracting the images of the signatures from the signed pdf

    We are using a TOPAZ sig pad Model: T-LBK750SE-BHSB-R to sign pdf documents using acrobat plugin. The PDF has  more than one signature field to sign. All this happens in a web application that uses Javascript to submit the pdf. We also have a require

  • Restore songs from phone to library

    I have an Iphone 4S and have recently had to do a clean install on the computer that held my itunes After the install I was able to recapture about 1/3 of the songs that I had in the library. My phone has 755 songs as compared to the librarys current