Vo extension in responsibility level

Hi All,
one standard page is showing in two responsibities,i want to extend vo to write one new where condition in query of vo.but this new where condition sholud applicable for only first responsibility,it will not effect to second reponsibility.
how to do this?please any body help me on this.
Karthik

If you want to change the whereClause for two different then go for Controller Extension at Responsibility level.
http://oracleanil.blogspot.com/2010/09/controller-extension-r12-oaf.html
Thanks
--Anil
http://oracleanil.blogspot.com/

Similar Messages

  • Modify view object at responsibility level

    Hello,
    One of our business requirements is to change the drop-down values for several list of values based on the responsibility the user is logged in with. For example when creating a new application, the LOV 'Country' needs to list certain countries under the responsibility A and other countries under the responsibility B.
    In order to accomodate this requirement, I have created an extension to the VO oracle.apps.igs.utilities.server.countriesVO that can be found on the create application page. I have tried two different approaches:
    Approach 1:
    I have modified the SQL code and used the import utility jpximport to enable the substitution and everything works fine EXCEPT that the substitution is done at the site level, not the responsibility level. There are no options to enable the substitution at the responsibility level.
    I tried changing the MDS repository. After initial substitution, the query
    BEGIN jdr_utils.printDocument('/oracle/apps/igs/utilities/server/customizations/site/0/CountriesVO'); END;
    returns the XML for personalization (substitution). I deleted that entry using
    BEGIN jdr_utils.deleteDocument('/oracle/apps/igs/utilities/server/customizations/site/0/CountriesVO'); END;
    and used the import utility to import the XML at the responsibility level. the query
    BEGIN jdr_utils.printDocument('/oracle/apps/igs/utilities/server/customizations/responsibility/23331/CountriesVO'); END;
    returns the correct XML but the extension doesnt appear on the screen.
    Do you know what I am missing and if it is possible to enable substitutions at the responsibility level (not site level) at all?
    Approach 2:
    I am still implementing the View Object extension but I am modifying the SQL code to handle the responsibility:
    Original SQL Code:
    SELECT territory_short_name,territory_code
    FROM fnd_territories_vl
    Updated SQL Code:
    SELECT territory_short_name,territory_code
    FROM fnd_territories_vl
    WHERE fnd_global.resp_name <> 'A' OR fnd_global.resp_name IS NULL
    UNION ALL
    SELECT description as territory_short_name,territory_code
    FROM fnd_territories_vl
    WHERE fnd_global.resp_name = 'B'
    ORDER BY 1
    I used the import utility jpximport to enable the substitution and everything works fine EXCEPT that the View Object gets cached and the SQL statement is only executed the first time the object is called. If I clear the cache and I log in using the responsibility A then the countries are correctly displayed. If I login using the responsibility B then the countries for responsibility A are displayed. Same occurs if I clear the cache, login using responsibility B first then switch to responsibility A. Countries for responsibility B are always displayed.
    We need to find a way for the SQL to be re-executed every time this object is called. This object should not be cached. Is that possible at all?
    Thank you for your help
    Benoit

    Substitution of VO & AM will can be done only at site level. However controller extension can be personalized/substituted at any level, which includes responsibility level also.
    Thanks,
    --Anil
    http://oracleanil.blogspot.com/

  • Defaulting Expense Template on Responsibility Level

    Hi All,
    I am trying to use personalization to default expense templates at the responsibility level in iExpense, but it doesn't seem to be working. I typed the expense template name in the Initial Value field of the messageChoice item for Expense Template, but this does not default to the appropriate template even after apache is bounced. The expense template defaults to the original expense template that was there and does not default to the new template that we added. I've tried this at the site and responsibility levels but neither seem to work.
    Is there a way of doing this through personalization or does it require extension?
    Thank you.

    Hi,
    Actually Defaulting on OA Framework also has a Hierarchy.
    Hierarchy is:
    Highest level Level 1 : Default(or initial value) values through Controller
    Level 2 : Default(or initial value) values through Personalizations.
    level 3 : Default(or initial value) values through initial value property at design time.
    level 4 : Default(or initial value) values through View Object
    Lowest level Level 5 : Default(or initial value) values through Entity Object create method.
    Refer to this link : http://oracle.anilpassi.com/defaults-in-oa-framework-concepts-and-practical-approach-2.html
    In your case i think the Default is done through Controller thats why it is not getting overridden through personalizations.
    In this case you need to extend the controller.
    Thanks,
    Gaurav

  • Extending View Object at Responsibility level.

    Hi All,
    Is it possible to extend view object at responsibility level?
    Please tell me steps for extending view object at responsibility level/function level.
    Thanks in advance.
    Laukik Pachanekar

    Substitution of VO & AM will can be done only at site level. However controller extension can be personalized/substituted at any level, which includes responsibility level also.
    Thanks,
    --Anil
    http://oracleanil.blogspot.com/

  • Not able to get the profile value set at Responsibility level

    Hi,
    I had set the value of a custom profile at Responsibility level and in CO i used the
    following code,
    String rLocation = pageContext.getProfile("XXTMG_PR_SCP_LOCATION");
    The above call returns NULL. But if i set the value of the profile at Site Level then the above code returns the correct value of the profile. I bounced the apache after the profile option was changed but no avail.
    I even tried using getOADBTransaction().getSpecificProfile() in the AM (which was
    called from CO) as below but could not get the value of the profile,
    Number lRespID = new Number(getOADBTransaction().getResponsibilityId());
    String retLoc1 = getOADBTransaction().getSpecificProfile("XXTMG_PR_SCP_LOCATION","","",
    lRespID.toString());
    Could any of you please let me know whether i have missed something in the code which results in not getting the correct value for the profile at the Responsibility level.
    Thanks, Suresh.

    Instead of passing null for the other parameters in call to getSpecificProfile, can you please set these params and try ?
    Also, please note that if a value is defined at site level, then even if a value is present at the resp level, the value at site will be returned when you use getProfile method.
    Thanks
    Tapash

  • Make all the forms at a user level or responsibility level to be read only

    Hi,
    Please suggest me to make all the forms at a user level or responsibility level to be read only. So that when a particular user logs in, he gets all the form in read only mode or at a particular responsibility all the forms are read only so that we can attach this responsibility to the user for the same purpose.
    Any ideas will be highly appreciated.

    check this blog,
    http://www.oracleappshub.com/11i/oracleapps-responsibility-vs-sap-functions/
    Re: How to change OM responsibility as read-only in oracle applications 11i
    read only responsibility-user

  • Defaulting Cost accounting distribution line at Responsibility level

    Hi Project Accounting Experts,
    I have now rephrased the query:
    PRC: Distribute Usage and Miscellaneous Costs need to default one of the segment values based on the responsibility that created the misc transaction for the expenditiure batch
    Below is the Auto accounting rule created and assigned to the Misc Trx for All Misc Transactions as Function transaction:
    select decode(upper(ttt.service_type_code),'IGJ',
    fnd_profile.value( 'IJ_BiZ')) from
    pa_projects_all JT,
    pa_project_types_all ttt
    where ttt.project_type = JT.project_type
    and JT.project_id = :1
    The profile option ' J_BiZ'(created for GL module) and is meant to default a segment value for Miscellaneous Expenditure transactions at responsibility level. but rather profile ' J_BiZ' defaults at the site level . Why?.
    I need the segment value to default based on the Profile option at Responsibility level for the miscellaneous tranasaction created via that responsibility.
    Does anyone has an idea?
    Edited by: 198196 on 02-Jan-2013 08:11

    Hi Parakala,
    Maintain Cost centre at each Organization unit at infotype 1008.
    at PR05 it will pick by default.
    Let me know if you need more information.
    with regards,
    Gopala

  • How to read responsibility level profile in forms personalization r12.1.3

    All, I have one custom profile option at responsibility level. I am wondering if I can read that value in WHERE CLAUSE of a WHEN_VALIDATE_RECORD trigger?
    I am trying to access responsibility level profile option using "${ps.up_prior_gl_period_allow.VALUE}". But, it doesn't seem to work.
    However, I am able to read site level profile option using "${ps.up_prior_gl_period_allow.VALUE}".
    Please help.

    Have you tried using fnd_profile.get_specific()?

  • VO substitution at Responsibility level

    Substitution is always at site level. Is there any way to set it at Responsibility/Function level? Any pointers on this?
    Thanks in advance
    Murari

    Substitution of VO & AM will always be at site level.
    You will notice that, once substituted, Oracle creates a personalized document at site level for VO.
    On the other hand, a controller can be personalized/substituted at any level, which includes responsibility level.
    Thanks,
    Anil Passi
    http://oracle.anilpassi.com
    Message was edited by:
    user547923

  • How to migrate 'responsibility' level personalizations?

    Hi all,
    We have done a set of personalizations at responsibility level in our UAT instance.
    We have no problem migrating the 'site' level personalization. We use the 'Functional Administrator' -> Import/Export utility.
    But, We find that the responsibility level personalizations are stored under a folder hierarchy as below:
    Eg:
    Responsibility: XXRecruitment Manager
    Responsibilty Key: XXRECRUIT_MAN
    Responsibility ID: 50977
    Personalization is exported in this folder:
    /oracle/apps/per/irc/vacancy/webui/customizations/responsibility/50977/RectrDetsRN
    It is stored under a folder '50977' corresponding to the responsibility id of the responsibility that we personalized.
    Our problem is, the responsibility id's and responsibility key's are different in UAT and production instances:
    Responsibility: XXRecruitment Manager 01
    Responsibilty Key: XXRECRUIT_MAN_01
    Responsibility ID: 50900
    Now, how to migrate such personaliations? Our client have personalized atleast 25 pages at various responsibilty levels. Please suggest a suitable way to migrate these personalizations.
    thanks in advance,
    Hem

    Hem,
    We had the similar discussion in past once, but I guess the user didn't update the final results. As far as I think, 'Functional Administrator' -> Import/Export utility should be handling this scenario.
    Did you try it atleast on one such responsibility level personalization?
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Personalization at Responsibility Level

    Hi ,
    I am trying to personalize the display of "Worklist Notification" in Home page based on the responsibility of the user logged in . I have choosen the reqd. responsibility in the responsibility context chooser and did personalize the "Stack Layout: Notifications Worklist Function" at responsibility level. Everytime I login the context of the responsibility changes and my personalization does not work . If I manually go and change the responsibility context to the responsibility I want I am able to see the "Worklist Notification" list .
    I would like to know if there is way I could make sure that the responsibility context does not change everytime a user logs in . Any replies will be greatly appreciated .
    Thanks,
    Chandu

    Hi,
    Sorry my mistake, if your responsibility is not the context it cannot pick up the XX_WORKLIST Permission from your Menu. You must use Functional Administrator Grants instead,
    Try this:
    delete your XX_WORKLIST function from the menu and from the system
    1) Functional Administrator > Permissions
    Create new permission:
    XX_WORKLIST
    2) Functional Administrator > Permission Sets
    Create new permission set:
    XX_WORKLIST_PS
    - add the XX_WORKLIST permission
    3) Functional Administrator > Create Grant
    Name: XX_WORKLIST_GRANT
    Grantee Type: Group of Users
    Grantee: 'Your Responsibility' (e.g. System Administrator - FND_RESP|SYSADMIN|SYSTEM_ADMINISTRATOR|STANDARD)
    Operating Unit: leave blank
    Responsibility: leave blank
    NEXT
    Permission Set: XX_WORKLIST_PS
    SAVE
    - you will have now granted the XX_WORKLIST permission to any user with 'System Administrator'
    4) Functional Administrator > Core Services > Caching Framework > Global Configuration > Clear Cache
    Clear the Cache
    Personalise your worklist (e.g. Row Layout: Home Content Row) at Site level with SPEL:
    ${oa.FunctionSecurity.XX_WORKLIST}
    I have tested this in my 11.5.10 environment and it worked. All users with 'System Administrator' see the worklist, all others do not.
    Regards,
    Mike

  • IBE: Items Per Page for Display profile at Responsibility level

    Hi,
    we would like to have different number of items per page for different sites. We thought we would achieve it by setting profile "IBE: Items Per Page for Display" at the responsibility level and have unique responsibilities to access different sites.
    However, I saw that by default profile "IBE: Items Per Page for Display" is not visible at the responsibility level. Can I alter it to be visible at responsibility level in the profile definition and then set it at the responsibility level?
    Kindly help.
    Regards
    Harsha.

    I tried to change at SERV level and still the profile never gets updated. Kindly help.

  • Profile option update at responsibility level from backend

    Hi,
    I referred few online and oracle support document to update the profile option from backend. I was able to change the profile option at site level, but when I am trying to update the profile at responsibility ( or any level such as user etc), I am unable to do so. Though the script says that profile option has been updated, it doesn't show up when I check on frontend.
    EBS 11.5.10.2
    DB 11.2.0.1
    The script which I use to change profile at site level is this:-
    DECLARE
    stat boolean;
    BEGIN
    dbms_output.disable;
    dbms_output.enable(100000);
    stat := FND_PROFILE.SAVE('SITENAME', 'ABDVLP', 'SITE');
    IF stat THEN
    dbms_output.put_line( 'Stat = TRUE - profile updated' );
    ELSE
    dbms_output.put_line( 'Stat = FALSE - profile NOT updated' );
    END IF;
    commit;
    END;
    I tweaked the above script to include the responsibility level change, but its not changing. Both the below scripts are not making any changes.
    SCRIPT - 1
    DECLARE
    stat boolean;
    BEGIN
    dbms_output.disable;
    dbms_output.enable(100000);
    stat := FND_PROFILE.SAVE('ICX_DISCOVERER_LAUNCHER', 'http://nalinoes01.abd.ad.acco.com:8003/discwb4/html/discolaunch.htm?Connect=[APPS_SECURE]', 'RESP',51889,671);
    IF stat THEN
    dbms_output.put_line( 'Stat = TRUE - profile updated' );
    ELSE
    dbms_output.put_line( 'Stat = FALSE - profile NOT updated' );
    END IF;
    commit;
    END;
    Note: I found the responsibility id from the below query
    SELECT responsibility_id  ,application_id
         FROM fnd_responsibility_tl
        WHERE responsibility_name = 'DIRECT CA IBE CUSTOMER';
    ===============================================================================
    SCRIPT-2
    DECLARE
       stat           BOOLEAN;
       resp_id        NUMBER;
       appl_id        NUMBER;
       resp_appl_id   NUMBER;
    BEGIN
       DBMS_OUTPUT.DISABLE;
       DBMS_OUTPUT.ENABLE (100000);
       -- Set the Profile Option value at responsibility level
       SELECT responsibility_id, application_id
         INTO resp_id, resp_appl_id
         FROM fnd_responsibility_tl
        WHERE responsibility_name = 'DIRECT CA IBE CUSTOMER';
       stat :=
          fnd_profile.SAVE
             (x_name                        => 'ICX_DISCOVERER_LAUNCHER',   -- Profile name you are setting
              x_value                       => 'http://nalinoes01.abd.ad.acco.com:8003/discwb4/html/discolaunch.htm?Connect=[APPS_SECURE]',   -- Profile value you are setting
              x_level_name                  => 'RESP',   -- Level that you're setting at: 'SITE','APPL','RESP','USER', etc.
              x_level_value                 => resp_id,   -- Default NULL Level value that you are setting at, e.g. user id for 'USER' level. X_LEVEL_VALUE is not used at site level.
              x_level_value_app_id          => resp_appl_id,   -- Default NULL. Used for 'RESP' and 'SERVRESP' level; Resp Application_Id.
              x_level_value2                => NULL   -- 2nd Level value that you are setting at.  This is for the 'SERVRESP' hierarchy.
       IF stat
       THEN
          DBMS_OUTPUT.put_line ('Stat = TRUE - profile updated');
       ELSE
          DBMS_OUTPUT.put_line ('Stat = FALSE - profile NOT updated');
       END IF;
       COMMIT;
    END;

    I tried to change at SERV level and still the profile never gets updated. Kindly help.

  • Responsibility level exclusions

    I have the following SQL
    SELECT DISTINCT u.user_name, rtl.responsibility_name, ff.function_name,
                    ffl.user_function_name
               FROM fnd_compiled_menu_functions cmf,
                    fnd_form_functions ff,
                    fnd_form_functions_tl ffl,
                    fnd_responsibility r,
                    fnd_responsibility_tl rtl,
                    fnd_user_resp_groups urg,
                    fnd_user u
              WHERE cmf.function_id = ff.function_id
                AND r.menu_id = cmf.menu_id
                AND urg.responsibility_id = r.responsibility_id
                AND rtl.responsibility_id = r.responsibility_id
                AND cmf.grant_flag = 'Y'
                AND r.application_id = urg.responsibility_application_id
                AND u.user_id = urg.user_id
    --and ff.function_id=19438
               AND ff.function_name IN ('ALR_ALRALERT', 'ASO_DEFAULT_RULES') -- Add the required functions here
                AND ff.function_id = ffl.function_id
                AND rtl.responsibility_name NOT IN (
                       SELECT fnd_responsibility_vl.responsibility_name
                         FROM fnd_resp_functions, fnd_responsibility_vl
                        WHERE action_id = 1678
                          AND fnd_responsibility_vl.responsibility_id =
                                              fnd_resp_functions.responsibility_id)
           ORDER BY u.user_name
    However, I am told it is possible at responsibility level to "exclude" menu or functions. If so how can I check which responsibilities have excluded menus or functions at responsibility level? Or how can you list all responsibilities and their excluded functions/menus?

    The concept is discussed here:
    Defining a Responsibility (User, System Administrator, and Flexfields Help)
    "A responsibility may optionally have function and menu exclusion rules associated with it to restrict the application functionality enabled for that responsibility. See: Overview of Function Security."
    I need to see which responsibilities have which menu and function exclusions please. An SQL to achieve this would be great

  • How to make personalaization at responsibility level

    Hi All,
    I Apologized, I have posted same thread in other place also so plz ignore that post.
    I have number of responsibilities for internet procurement responsibility like  internet procurement - 1200 , internet procurement - 1300 , internet procurement - 1250 , internet procurement - 1350 ,and so on...
    Now I want add a link on the checkout : requisition information page only for some responsibilities.How can I do this?
    When I am try to create a new item from personalization and want to select level then it only showing Site level and not others like responsibility level..
    Thnaks,

    1)Create Link Item on site level in  requisition information page by personalization.
    2)Go to internet procurement - 1200(Responsibility) -->requisition information page(Page).
    3)Click on Personalize link of requisition information page.
    4)Check newly created Link Field. Click on Yellow Pencil Icon in Personalize column.
    5)Set Render Property False at Responsibility Level.
    6)Click on Apply Button
    Do Same For other responsibilities
    Thanks,
    Dilip

Maybe you are looking for