Disable updating of DFF segment in PO form using Form Personlization

Hi All,
I have to make a dff segment in PO form non-updatable after the PO number has been generated.
I tried to do form personalisation of item PO_HEADERS.ATTRIBUTE2 making its property(update_allowed) as false.
But when I test the form, I get an error cannot set attribute of a null canvas item.
How can I make DFF segment disabled after PO Number is generated in Form
Regards
Prajesh

One approach you can try is using the custom.pll.
You can write code that makes the attribute non-updatable if the po_num is not null.
If that does not work, you can consider writing a before-update database trigger on po_headers.
In the trigger, if :old.attribute1 != :new.attribute1, then you can raise an error.
Typically, I avoid writing database triggers but if you must, this could help you achieve it.
Hope this helps,
Sandeep Gandhi

Similar Messages

  • How to enable the DFF segment in Forms

    Hello everyone,
    I want to enable the DFF segment i.e. Attribute12 when schedule_ship_date get changed. Means if schedule_ship_date changes then with reason we want to store it. In DFF segment we want to store the reason.
    The record should not save if the date changed and reason not entered.
    Please can you tell me the steps how i can enable the DFF segment in Oracle forms or how i can do it mandatory if date changes.
    Thanks

    JAK,
    Please post your question in the E-Bus Suite forum. This forum is dedicated to non E-Bus Suite Forms development. Also, you might want to include the what version of EBS you are in when you make your post. More than likely, you will need to code for this event in the Custom Library (CUSTOM.PLL), but you might be able to do this with Forms Personalization - if you are on 11.5.10 or higher. The folks in the EBS forum will be able to tell you for certain which method to use.
    Craig...

  • How to enable some DFF segments on AR Trx form for specific context only

    I have a requirement to enable 3 of many DFF segments on AR Transactions line DFF for particular context only. I am not able to figure out how to achieve it.
    When we query for an Invoice and navigate to lines DFF I want these fields to be allowed to update. Currently they appear as read-only. These are interface line attributes used across many different contexts but I need them as update allowed only for few contexts.
    I went through different forum topics and was trying to use security rules but these segments do not have the security enabled flag checked under DFF segments and when I try to check it it throws an error as to update not allowed.
    Form personalization doesn't work on DFF, so that is out too.
    Any help would be appreciated.
    Thanks.
    Shivang

    Hi,
    My requirement is a little different. We already have context and reference setup when we implemented Oracle 3 yrs back but what I need is to enable few segments / attributes inside a context that too when the invoice is queried for not when it is being created manually. The same attributes are being used by different contexts but I need to enable only for a few and not all contexts.
    Appreciate if you are able to help on this.
    Thanks.

  • [11i] Forms Perso : Updating a DFF at PO_LINES level in the PO screen

    Hello
    In the PO screen (POXPOEPO), I'd like to maintain some consistency between 3 dates fields at PO_LINE level, according to some business rules, with Forms Perso.
    2 dates fields are the standard ones, PROMISED_DATE and NEED_BY_DATE, the third one is a DFF ATTRIBUTE1
    e.g : If I modify the PROMISED_DATE, I'm using the PO_LINES.NEED_BY.NEW_ITEM_INSTANCE to modify the 2 other fields.
    With an action "Property", Object Type = "Item" and PO_LINES.NEED_BY.Value = '...' or PO_LINES.ATTRIBUTE1.Value = '...'
    It works for the NEED_BY_DATE field, it is correctly updated.
    But the DFF ATTRIBUTE1 is cleared instead of being updated ? With the same code as the NEED_BY_DATE field
    If someone has any experience in modifying DFF with Forms Perso, I would like to understand why I obtain such a behavior, and if possible have some tips about doing what I'd like to do.
    Take care,
    Xavier

    Xavier_Vlieghe wrote:
    Sorry for duplicate message, I don't know how it occurs as I just click once on "Post message" ?
    This one can be deletedOriginal post -- [12.1.2] Forms Perso : Updating a DFF at PO_LINES level in the PO screen
    Locking this thread.

  • How to update People Group KFF Segments in Assignment Form

    Hi Gurus,
    Please help me on how to update people group KFF individual segments on assignment form.
    Please provide sample code/reference.
    Thanks,
    Raghava.

    Hi Vignesh,
    I have tried the api using below code. But im getting the error like below:
    ORA-20001: FLEX-VALUE DOES NOT EXIST: N, VALUE, Teachers, N, SEGMENT, PENSION_SCHEME_ESCH, N, VALUESET, GEN_PENS_SCHEME_LOOKUP
    ORA-06512: at "APPS.HR_ASSIGNMENT_API", line 16616
    ORA-06512: at line 22
    Code:
    DECLARE
    l_people_group_id number;
    l_special_ceiling_step_id number;
    l_ovn number;
    l_soft_coding_keyflex_id number;
    l_group_name varchar2(9000);
    l_effective_start_date date;
    l_effective_end_date date;
    l_org_now_no_manager_warning boolean;
    l_other_manager_warning boolean;
    l_spp_delete_warning boolean;
    l_entries_changed_warning varchar2(9000);
    l_tax_district_changed_warning boolean;
    l_concatenated_segments varchar2(9000);
    l_gsp_post_process_warning varchar2(9000);
    BEGIN
    l_ovn:=11;
    --l_people_group_id:=966;
    l_soft_coding_keyflex_id:=null;
    l_special_ceiling_step_id:=null;
    hr_assignment_api.update_emp_asg_criteria
    (p_effective_date =>TO_DATE('08-SEP-2012')
    ,p_datetrack_update_mode =>'CORRECTION'
    ,p_validate =>FALSE
    ,p_assignment_id =>37325
    --,p_segment1 =>'Local Government Conditions (Green book)'
    --,p_segment2 =>'R'
    ,p_segment3 =>'None'
    ,p_object_version_number =>l_ovn
    ,p_special_ceiling_step_id =>l_special_ceiling_step_id
    ,p_people_group_id =>l_people_group_id
    ,p_soft_coding_keyflex_id =>l_soft_coding_keyflex_id
    ,p_group_name =>l_group_name
    ,p_effective_start_date =>l_effective_start_date
    ,p_effective_end_date =>l_effective_end_date
    ,p_org_now_no_manager_warning =>l_org_now_no_manager_warning
    ,p_other_manager_warning =>l_other_manager_warning
    ,p_spp_delete_warning =>l_spp_delete_warning
    ,p_entries_changed_warning =>l_entries_changed_warning
    ,p_tax_district_changed_warning =>l_tax_district_changed_warning
    ,p_concatenated_segments =>l_concatenated_segments
    ,p_gsp_post_process_warning =>l_gsp_post_process_warning
    END;
    Commit;
    Please help me on how to update the individual segment.
    Thanks
    Raghava

  • Disable DFF segments based on Responsibility

    Is it possible to disable certain segments of the DFF based on the Responsibility through which they are accessed?
    Suppose I have a DFF on a OA Framework Page. Now the requirement is to have certain fields as readonly/disabled if the page has been accessed using some particular responsibility. I cannot do it through OA Framework as Personalizations would not have an impact on individual segments.
    Any other suggestions are welcome
    Regards
    Sumit

    Sumit,
    You can do that using the security rules like we do for any of the flexfields. Just make to sure to enable the security for the DFF segment and value set if you have any.
    Refer to the thread http://forums.oracle.com/forums/thread.jspa?messageID=2561230&#2561230
    Thanks
    Nagamohan

  • DFF segment Issue

    Hi All,
    I have added a new attribute to existing DFF in standard forms, and that DFF is there on standard OA Page. But the newly added attribute is not visible on OA Page. pls Help
    Regards,
    Raghava

    Hello Raghav,
    How did you acheive this. I am putitng below below text in the segment list in personilization window. Below are segment display names of my DFF. But it is now reflecting in OAF page. Last 2 field i added new in DFF segments.
    Addl Info Line 1||Addl Info Line 2||TAN Number||*Addl Info Line 3||Addl Info Line 4*

  • How to disable Create Supplier Tab In Supplier Inquiry Form In Ap Res

    Hi,
    How to disable Create Supplier tab in supplier Inquiry form in AP Responsibility without effecting the supplier entry form. I did the following setups but it is disable in supplier entry form also. Please help me it is very urgent.
    1. Log into your System Administrator responsibility.
    2. Navigate to Security > Responsibility > Define
    3. Query the Payables responsibility you want to only have Inquiry access.
    4. Under Menu Exclusion area, set the following:
    Type = Function
    Name = Supplier Full Access : Buyer View (POS_HT_SP_ACCESS_FULL )
    5. Save and test this responsibility.
    Thanks in advance,
    Raju.

    I guess you have followed the steps mentioned in the note
         R12: How Can You Prevent Suppliers From Being Created in Supplier Inquiry [ID 473346.1]     
    which means that you need to have separate responsibility for the Supplier Inquiry. You cannot have Supplier Inquiry and Suppler Entry in the same responsibility,please have separate responsibilities. Please make sure you are not having inquiry and entry in the same responsibility.
    Also there are some bugs, please review the note
    R12: Still Able to Update Supplier Banking Data From Supplier Inquiry Responsibility with Excluded Function Supplier Full Access: Buyer View [ID 1089925.1]

  • Defaulting DFF Segment Value using sql statement in SSHR gives error when using parameter

    Dear All,
    i am having an issue that i am making one segment in DFF (SEGMENT3) being defaulted by using sql statement
    Select MAX(SEGMENT7) FROM PER_ANALYSIS_CRITERIA cri, PER_PERSON_ANALYSES ana where cri.Analysis_Criteria_id = ana.ANALYSIS_CRITERIA_ID and ana.PERSON_ID = :ANALYSES.PERSON_ID
    The Above Select Statement is working fine on the PUI form and getting the Default value correctly but when opening the SSHR page that contain this DFF, it  gives me the below error.
    "No field listener is registered to resolve field ANALYSES.PERSON_ID referenced by the flexfield with application short name PER and name PEA. Please contact your system administrator. "
    Any Help Please???

    Please see the following docs.
    Cannot Add Salary:No Field Listener is Registered to Resolve Field Review.assignment_id (Doc ID 558295.1)
    No Field Listener Is Registered To Resolve Field Assgt.Effective_start_date (Doc ID 889794.1)
    List of Current Enhancement Requests (ER) for Oracle EBS Self Service Human Resource (SSHR) (Doc ID 1381936.1)
    No field listener is registered to resolve field xxx.xxx referenced by the flexfield with application short name ASO... (Doc ID 1359270.1)
    Customer Form, Address Error: No field listener is registered to resolve field GLOB.FLEX_COUNTRY_CODE referenced by the flexfield with application short name AR (Doc ID 1276934.1)
    DFF issue : No Field Listener Is Registered To Resolve Field XXX Referenced By The Flexfield (Doc ID 555589.1)
    Thanks,
    Hussein

  • Show calendar in DFF segment

    I want to show standard calendar popup when i click DFF (descriptive flexfield)segment.
    Is this possible in Forms?

    DFF segment. What is that?
    If you are using E-Business Suite please ask this question in the Apps forums: http://forums.oracle.com/forums/category.jspa?categoryID=3

  • Update a DFF in per_all_assignments_f table

    Hello gurus,
    We are storing information from a legacy system in one of the assignment attributes in the per_all_assignments_f table.
    I'm aware that using an API would be the right approach to update any columns on the table.
    I'm curious to know what are the things to check (specifically user hooks) when updating a dff using a simple update statement??
    My question basically is, since I'm updating just a dff, how can I check what are the things that can be  affected by the update statement?
    Thanks

    Hi,
    Quoting the flexfield manual..
    Warning About Changing Data
    Oracle provides powerful tools you can use to insert, update, and delete information in an Oracle database. But, if you use Oracle tools like SQL*Plus or Oracle Data Browser to modify Oracle Applications data, you risk destroying the integrity of your data and you
    lose the ability to audit changes to your data. Because Oracle Applications tables are interrelated, any change you make using an
    Oracle Applications form can update many tables at once. But when you modify Oracle Applications data using anything other than Oracle Applications forms, you may change a row in one table without making corresponding changes in related tables. If your tables get out of synchronization with each other, you risk retrieving erroneous information and you risk unpredictable results throughout Oracle Applications.

  • Disable the Textfield while editing the HTML form item

    How to disable a texfield while editing the HTML form item ? It should be enabled while creating the new form entry / record.
    Yogesh

    Yogesh,
    If you 'disable' an item and submits (UPDATE) the page, then disabled item value won't get submitted. So the disabled item value will get updated with NULL or you will get any validation failures messages, if you have any.
    Better option would be, make the item read-only during Update. For the text item for which you want disable, edit that item,goto 'Read-only Conditions', here set the condition so that user can't edit it during UPDATE. Here you can use same conditions as of your 'UPDATE' button 'display conditions'
    Regards,
    Hari

  • Question relating tips for 2 DFF segments within the same group

    Hi All,
    I have a requirement where in I need to display a tip message for two of the DFF flexfield Segments within the same group. Currently we are displaying a tip for one of the DFF flexfield segment by placing it at the end of the Segment List and creating a normal tip message just below it. The shortfall of the above approach is when I add new segments to the DFF, the tip for the former segment is out of place.
    Also, I currently have a requirement to create another tip for another Segment which is part of the same DFF. Could anyone of you please suggest how both the tips for the 2 DFF segments of the same group can be shown on the same page?
    Thanks,
    Sowmya.K
    Edited by: user770244 on Nov 5, 2009 12:54 AM

    Hi experts,
    I am trying to find some solution that way:
    - Maintain field catalog (FBRC008): setting field Segment as "secondary organisational unit" and setting field parter segment as "Secondary partner unit"
    - Setting up a the reconciliation display (FBRC003) with the flag "Use Primary and Secondary org units and partner units in hierarchy display"
    But when I launch the reconciliation display, the following dump arises :
    "ITAB_ILLEGAL_COMPONENT"
    In the current ABAP program "CL_FBRC_PRESENTATION==========CP" the internal
    table "<LT_TOTAL>" was to be
    processed with "SORT".
    At the same time, a component "SEGMENT " was dynamically specified as content
    of the field "ME->MD_SECONDARY_ORGUNIT_FIELD".
    Do you have any explanation for that dump?
    Thanks!

  • How to disable Updates for adobe bridge in photoshopCS6

    I was able to grey out the adobe photoshop updates in help menu. using the preferences file under
    "C:\Program Files (x86)\Common Files\Adobe\AAMUpdaterInventory\1.0\
    But the adobe bridge which is present with in photoshop, "Help"->"update" option is not greyed out and thows error "unable to update, you do not have internet connection or you are not an system administrator". Same is the case with AAMEE configuration.
    But if I delete this preference file, then I can launch it. Here my requirement is to grey our the update option both in photoshop and bridge as this will be deployed enterprise wide. Help me out how I can do this?
    "<?xml version="1.0" encoding="UTF-8" ?><Preferences><Suppressed>1</Suppressed></Preferences>
    OS: windows 7

    Hi Venkat,
    See if this helps (as taken from Adobe helpx http://helpx.adobe.com/creative-suite/kb/disable-update-manager-administrators-cs3.html. Looks like CS3 & CS4, I know. But worth giving a shot:
      On Windows XP or Windows Vista   
          Using Regedit.exe, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe  
          Create a new key in this folder named "Updater"  
          Create a new DWORD value within this key named "Enterprise with a value of "1"
    Also, try one or both of these:
    HKLM\Software\Adobe\Updater - Create a DWORD named 'Enterprise' with value '1'.
    HKCU\Software\Adobe\Updater - Create a DWORD named 'Enterprise' with value '1'.
    HKLM - HKEY_LOCAL_MACHINE
    HKCU - HKEY_CURRENT_USER
    (I'm sure you're aware of this, but for other users who visit this thread for similar issue - this will help!)
    Let us know how it goes.
    -ST

  • Unable to default DFF segment based on selection of other field value.

    Hi Gurus,
    *I have a requirement on 'Create Work Request' page (Oracle EAM), where during creating complaint, when user selects Asset Number, based on this selection, a DFF enabled to capture Tenant Info must be populated. [For testing now, I'm writing my code in PR and not in PFR to populate some thing while page loads.]*
    I have extended my CO and tried many ways (from simple to little complex) but to no success.
    Simpler way:
    *=======*
    OAApplicationModule am = oapagecontext.getApplicationModule(oawebbean);
    OAViewObject vo = (OAViewObject)am.findViewObject("RequestDetailsVO");
    Row row = vo.first();
    row.setAttribute("Attribute1","Attribute1"); //Attribute1 is the View attribute in above VO. But this doesn't work.
    row.setAttribute("DepartmentCode","CRC MAINT"); //DepartmentCode is a view attribute as well. And this works.
    This code doesn't work.
    Understanding that, DFF segments can't be set as simple bean, I have done below:
    *===================================================*
    OADescriptiveFlexBean oadescriptiveflexbean = (OADescriptiveFlexBean)oawebbean.findIndexedChildRecursive("WorkRequestDesc");//("WorkRequestDFF_p13n");
    oadescriptiveflexbean.processFlex(oapagecontext);
    if (oadescriptiveflexbean != null){
    ContextMap contextmap = oadescriptiveflexbean.getNamedChildMap();
    if(contextmap != null){
    Enumeration enumeration = contextmap.keys(oapagecontext.getRenderingContext());
    if(enumeration != null){
    do
    if(!enumeration.hasMoreElements())
    break;
    Object obj = enumeration.nextElement();
    OAWebBean oawebbean1 = (OAWebBean)contextmap.get(oapagecontext.getRenderingContext(), obj);
    oapagecontext.getParameter("WorkRequestDesc1")
    //String str = (String)oapagecontext.getNamedDataObject("WorkRequestDesc1")
    if(oawebbean1 != null)
    if(oawebbean1 instanceof OAMessageTextInputBean)
    OAMessageTextInputBean oamessagetextinputbean = (OAMessageTextInputBean)oawebbean1;//.findIndexedChildRecursive("WorkRequestDesc1__xc_");
    //oamessagetextinputbean.setReadOnly(true);
    oamessagetextinputbean.setText("Jawad");
    } while(true);
    Now the issue with above code is, during the page load, all the segments are populated with value 'Jawad'. I want to populate only the first segment.
    More info:
    *======*
    VO: RequestDetailsVO
    DFF Regions ID: WorkRequestDesc
    Attribute1 (DFF segment1) ID: WorkRequestDesc1
    Appreciate your responses,
    Jawad

    Dear Guys,
    I found out a workaround for this case (If this helps others): :)
    *1. Create a Message Text Input type field (representing each DFF segment) and map them to View Attribute (over which DFF was created) and VO instance.*
    *2. In the extended CO, in PFR, get the handle of these created fields.*
    *3. Set the values as required.*
    Since these fields are mapped onto the same view attributes as DFF was, the data goes in fine.
    But I still am hunting for the possibility of setting a single segment.
    Thanks and Regards,
    Jawad
    Edited by: Jawad on Apr 19, 2012 3:36 AM
    Edited by: Jawad on Apr 19, 2012 3:38 AM

Maybe you are looking for

  • IC WebClient telephony toolbar doesn't work in CRM 7.0 EHP2

    Hi, I've a issue with IC webclient telephony toolbar, I comment: After upgrading SAP CRM 7.0 to SAP CRM 7.0 EHP2, the IC webclient telephony toolbar doesn't work. I have seen: 1.- When I use "Dial Pad" to call in CRM 7.0 EHP2 (the current version), t

  • Replace a character in a String array

    I have an array of strings and am trying to replace the ' character with a space. I keep getting either a cannot be applied or cannot resolve symbol error. Can anyone help? String arrayList = request.getParameter("field"); String newList = arrayList.

  • PO Amendment and approval procedure

    Hi Experts, My customer would like to have approval on PO amendment, he want an approval on changes in price and quantity. In SAP B1 before GRPO or AP Invoice anyone can do amendment in PO and all the amendment we can see through change log. To have

  • How do I get an URL to stay in the pulldown menu

    in the list that I get when i click on the inverted triangle on the right of the window?

  • MPEG-2 : Jerky playback of recorded TV shows using QuickTime

    Hi I am trying to use QuickTime to playback recorded TV shows on a new Intel Core Duo Mac Mini. The MPEG files themselves have been captured using a Hauppauge WinTV card on a Windows machine - and on this machine (and every other Windows machine), th