Restricting creation of new records using forms personalization

Hi,
I have a requirement for which I have to restrict he user from creating a record in the Supplier Master form if the suppliier type is 'Affiliate Supplier'.
I have done the following setups
Seq     10
Description Restricting user from creating Affiliate records
Level     Function
Enabled Yes
Condition:
Trigger Event     WHEN-VALIDATE-RECORD
Trigger object     VNDR
Condition "${item.VNDR.VENDOR_TYPE_DISP_MIR.value} is NOT NULL
and
${item.VNDR.VENDOR_TYPE_DISP_MIR.value} LIKE 'Affiliate%'
Processing Mode BOTH
Context     
Level     User
Value User Name
Action Sequence     1
Type          Message
Action Description     Saving Affiliate record
Language          ALL
Message Type     Show
Message Text     You Cannot Create Affiliate records Here
Action Sequence     2
Type          Builtin
Action Description     Stop Proceesing
Language          ALL
Action Enabled     Yes
Builtin Type     RAISE FORM_TRIGGER_FAILURE;
Thi is working good on one instance but when I moved it to another instance
when I query the form and try to navigate to the bank accounts tab of the form which is based on a differnt block i.e VNDR_USES block, this trigger fires there also and stops the processing.
Any suggestions on this would be higly appriciated.
Thanks in Advance.

Is this oracle apps? There's other forums for that where you're more likely to get an answer.
Here, perhaps?
Personalization

Similar Messages

  • Creating a new field in a standard form using Forms Personalization

    Gurus,
    Has anyone done this? If so, could you please provide steps involved or point me to a good tutorial
    I need to add user name to a standard transaction-based form. I want to make sure this can be done through personalization.
    Thanks,
    Scott
    P.S. I give points for helpful or correct answers
    Edited by: sreese on Oct 17, 2011 1:24 PM

    Pl post details of OS, database and EBS versions.
    I do not believe you can add new fields to seeded forms using forms personalization.
    MOS Doc 420518.1 - Limitations of Forms Personalization
    BTW, points are meaningless :-)
    HTH
    Srini

  • How to create a new check box using form personalization.

    Hi Frs,
    I have a requirement to create a new check box in AP form using form personalization.
    Pls help me in achieving this.
    Note: we have to use only form personalization not custom.pll.
    Thanks
    Rajesh

    Pl see ML Doc 420518.1(Limitations of Forms Personalization) for a list of things you cannot do with personalization - among them is creating new form objects such as checkboxes.
    HTH
    Srini

  • EA-FIN New Depreciation - How to restrict creation of 'new intervals' ?

    Hi Everyone,
    We have turned on the EA-FIN Business Function Extension and are wondering if there is a way to restrict the creation of new intervals using company codes.  We have three companies in our SAP system and want only one of them to be able to create new intervals.  Is there a standard way to do this or only be development?  All ideas are welcome!
    So far we tried to search if there is an Authority Object, which could be used to apply this restriction with no luck.  Could it be done using Validations?
    Thanks in advance,
    Erne

    why would you want this? intervals are just a technical item...  so long as the numbers are correct and the calculation is logical to follow, why would you care?
    you can probably achieve this by:
    1 - immediately blocking every asset record so that no other postings can be made
    2 - not allowing any time-dependent changes to occur. this might be possible via authorization or you could remove the time intervals button via a simple screen modification
    but I don't understand why this is wanted.

  • Capture who changed data using Forms Personalization & changed to what data

    Dear All,
    When the data is changed to a new data (say the price has been changed), I need to capture
    a) the original data
    b) newly changed data
    c) who changed the data
    into a newly created custom table using FORMS PERSONALIZATION.
    How do I do using FORMS PERSONALIZATION?
    Thanks.
    Matthew

    Hey guys, I did it.... and it does work. Here is what I did.
    I created a table to capture the required data.
    CREATE TABLE XYKA_PRICE_CHANGE_DTLS
    LIST_LINE_ID NUMBER,
    PRODUCT_ID VARCHAR2(240),
    PRODUCT_ATTR_VAL_DISP VARCHAR2(4000),
    NEW_PRICE NUMBER,
    DIV_NAME VARCHAR2(240),
    PRICE_CHANGED_BY VARCHAR2(6),
    PRICE_CHANGED_TIME DATE,
    OLD_PRICE     NUMBER
    Create two procedures which needs to enter data into this XYKA_PRICE_CHANGE_DTLS table. We will pass values from FORMS PERSONALIZATION by calling this
    procedure in the ACTION tab.
    CREATE OR REPLACE procedure PRICE_CHANGE_DETAILS(price IN number,updated_by IN varchar2,disp IN varchar2,prod_id IN varchar2,line_id IN number,head_id in number,old_price in number) AS
    v_name varchar2(240);
    BEGIN
    select name into v_name from qp_secu_list_headers_v where list_header_id = head_id;
    insert into XYKA_PRICE_CHANGE_DTLS(NEW_PRICE, PRICE_CHANGED_BY,ITEM_NUMBER,PRICE_CHANGED_TIME,PRODUCT_ID,LIST_LINE_ID,PRICE_LIST_NAME,OLD_PRICE) values (price,updated_by,disp,sysdate,prod_id,line_id,v_name,old_price);
    COMMIT;
    END;
    CREATE OR REPLACE procedure APPS.PRICE_CHANGE_DTLS(price IN number,updated_by IN varchar2,disp IN varchar2,prod_id IN varchar2,line_id IN number,head_id in number,old_price in number) AS
    V_PRICE_CHANGED_TIME date;
    V_PRODUCT_ID varchar2(240);
    V_LIST_LINE_ID number;
    V_count number := 0;
    BEGIN
    select count(*) into v_count from XYKA_PRICE_CHANGE_DTLS
    WHERE LIST_LINE_ID = line_id AND PRODUCT_ID = prod_id AND NEW_PRICE = price;
    if nvl(v_count,0) = 0 THEN
    PRICE_CHANGE_DETAILS(price,updated_by,disp,prod_id,line_id,head_id,old_price);
    else
    null;
    end if;
    END;
    In fact, I want to capture the current price and the changed price in pricing which is OPERAND field in qp_list_lines_v table (OM MANAGER > PRICING > PRICE
    LISTS > PRICE LIST SETUP)
    In the FORM PERSONALIZATION, enter the seq and the description
    Seq          1
    Description     GLOBAL_VARIABLE
    Level          Function
         In the CONDITION tab
              Trigger Event          WHEN-NEW-ITEM-INSTANCE
              Trigger Object          LIST_LINES.OPERAND
              Processing Mode     Not in Enter-Query Mode
              Level               Site
    In the ACTION tab
              Seq          1
              Type          Property
              Description     Operand Value
              Language     All
              Object Type     Global Variable
              Target Object     XX_EXIST_OPERAND_VALUE
              PropertyName     VALUE
              Value          ${item.list_lines.operand.value}
              Seq          2
              Type          Property
              Description     USER
              Language     All
              Object Type     Global Variable
              Target Object     XX_USER_ID
              PropertyName     VALUE
              Value          =fnd_global.user_id
    Seq          2
    Description     CONDITION & PASSING PARAMETER
    Level          Function
         In the CONDITION tab
              Trigger Event     WHEN-VALIDATE-RECORD
              Trigger Object     LIST_LINES
              Condition     ${item.list_lines.operand.value} <>${global.XX_EXIST_OPERAND_VALUE.value}
              Processing Mode     Not in Enter-Query Mode
              Level               Site
    In the ACTION tab
              Seq          1
              Type          Builtin
              Description     PASSING_VALUE
              Language     All
              Builtin Type     Exceute a Procedure
              Argument     ='begin PRICE_CHANGE_DTLS('''||${item.list_lines.operand.value}||''','''||${global.XX_USER_ID.value}
    ||''','''||${item.list_lines.product_attr_val_disp.value}||''','''||${item.list_lines.product_id.value}
    ||''','''||${item.list_lines.list_line_id.value}
    ||''','''||${item.list_lines.list_header_id.value}||''','''||${global.XX_EXIST_OPERAND_VALUE.value}
    ||''');end'
    Click APPLY NOW button. Save it and the close this FORMS PERSONALIZATION. Go back to the navigation and then click on the module. Try changing the price.
    Your current and the newly changed price along with who changed it, time etc will be inserted into XYKA_PRICE_CHANGE_DTLS table.
    Edited by: e-brain on Sep 14, 2009 11:21 AM
    Edited by: e-brain

  • How can we disable Block Level Trigge using Form Personalization

    Hi,
    I want to disable block level trigger(WHEN-NEW-RECORD-INSTANCE) using forms personalization at responsibility level.
    Can any one please give me the answer.
    it's urgent
    Thanks and Regards,
    Dhana

    No, Firefox is user choice rules over the "wants" of individual websites as far as disabling contextual menus and the keyboard commands.
    Placing a transparent image over the image will keep the less technical user from saving the main image. If they do try to save it all they'll get is the transparent image overlay.

  • Problem with a primary key when creating a new record in Forms

    My table has a field - MDD_KEY - that is a primary key. It is updated from a sequence with a before-insert database trigger. I know this works properly as the primary key was accurately populated when I inserted 1433 records.
    In Forms 6, I have a form based on that table. I have set the mdd_key as a hidden field because I assume it will be entered by the before-insert trigger. However, when I enter data into the table, and then try to save it, I get a FRM-40202: Field must be entered. - followed by - FRM-40222: Disabled item MDD_KEY failed validation.
    If I set DATA Required to no, when I try to save I get an FRM-40600: Record has already been inserted - but no such record exists in the database. I know this record is unique and does NOT exist because I deliberately made it up.
    In the property palatte, the attributes of the field are:
    DATA Data Type Number
    Required Yes
    DATABASE Database Item Yes
    Primary Key Yes
    Query Only No
    Query Allowed Yes
    Query Length 0
    Insert Allowed Yes
    Update Allowed Yes
    Update Only if Null No
    Lock Record No
    I assume that my problem is that with a new record, the form wants to see the MDD_KEY populated before it saves - but that isn't going to happen until the before insert trigger fires in the database. I assume I have to populate that field within forms, but how do I do that without messing up the database trigger/sequence? I will have to load more data directly into the database - so I need the database trigger in place.
    I have not used primary keys before so I am more than a little bit confused about how and when it should be populated when a new record is created in Forms.
    Any help would be appreciated as I cannot enter new data into my form (works well with existing data).
    Thanks
    Glenn

    hi
    if u have any problem using seq then try that statemetn ur block level in ur form
    PRE-INSERT trigger
    select nvl(max(nvl(srno,0)),0)+1 into :srno from tablename;
    Rizwan

  • Call Another Form using Forms Personalization

    Hi All,
    I have created a Custom form using TEMPLATE.fmb and created functions in Apps and assigned to Responsibility etc and it all works OK.
    Now, I need to call this Custom form from another seeded(PO form) Via Tools -> Menu.
    using Forms personalization I can get the Menu Entry and Actions to execute the Form successfully from the PO Form.
    BUT, I need it to automatically query records in my CUSTOM form based on my current PO_HEADER_ID value on my PO Form.
    How can I do it ?
    Do I need to modify my Block and add some parameters and then pass a value via Personalization ?
    Please help !
    Thanks
    Shankar

    Duplicate thread (please post only once).
    calling Custom Form from Another Form
    calling Custom Form from Another Form
    Thanks,
    Hussein

  • Sum of the fields in SO form using Forms personalization

    In sales order form, Once we enter the item and qty in a line . The qty entered should be multiplied by volume of an item avaiable in mtl_system_items_b and should be displayed in the line level DFF(attribute14). Thus we get the line level Volume
    Once n number of lines are entered in SO form . The sum of line level volume should be displayed in the header level DFF(attribute14.
    I am able to get the Line level volume using global variable.
    Could any one please let me know is it possible to get the sum of line level volume in the header DFF using forms personalization.

    My requirment is to get the "Line level volume" information in line level DFF and "order level volume" information in header level DFF of a Sales Order form.
    line level volume = unit_volume*quantity
    Order level Volume = sum of n number of line level volumes = line level volume of line 1.1 + line level volume of line 1.2 + line level volume of line 1.3 ......
    For Example consider an item 2E00001010 item. The volume of this item is mentioned in the physical attributes of an item. we can get the volume of this item from unit_volume in mtl_system_items_b . say for example the unit_volume of this item is 20 litres.consider another item 2X000X101 and unit_volume is 15 litres.
    Now in sales order in line 1.1 i have entered an item 2E00001010 and quantity as 10. In line 1.2 i have entered an item 2X000X101 and quantity as 10 and saved the sales order.
    1.1 line level volume = 20*10 = 200
    1.2 line level volume = 15*10 = 150
    Order level volume = 200 + 150 = 350
    So as according to the requirement in
    1.1 line level DFF(LINE.ATTRIBUTE14) 200 should be displayed .
    1.2 line level DFF(LINE.ATTRIBUTE14) 150 should be displayed.
    In header level DFF(order.attribute14) 350 should be displayed.
    By using below forms personalization i am able to get the Line level Volume information displayed in Line level DFF(Line.attribute14)
    seq 10
    description : Line Level Volume
    Trigger event : when-New-Item-Instance
    Trigger Object : Line.Ordered_quantity
    Level : Site
    Action Seq: 10
    Type: Property
    Object Type: Global Variable
    Target Object: XX_VOL
    Property Name : Value
    Value = =SELECT to_char(nvl(Unit_volume,0)) from mtl_system_items_b where segment1 =:line.ordered_item_dsp and organization_id = 89
    Action Seq: 20
    Type: Property
    Object Type:Item
    Target Object: LINE.ATTRIBUTE14
    Property Name: Value
    Value = =to_number(:global.XX_VOL)*:line.ordered_quantity
    I would be glad if any one could let me know how to get the Order level volume and get displayed in the Header level DFF(order.attribute14) using forms personalization.

  • How to create a new record using a custom method?

    Hi I want to create Jdev 11 a new record using the contructor following in the footsteps of http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtAnchor.CACCIJAG/vtTopicFile.adfdevguide%7Cweb_adv~htm/.
    My problem is the following.
    Messages for this page are listed below.
    Error
    JBO-29000: Unexpected exception caught: javax.ejb.EJBException, msg=java.lang.IllegalArgumentException: Object: null is not a known entity type.; nested exception is: java.lang.IllegalArgumentException: Object: null is not a known entity type.
    Error
    java.lang.IllegalArgumentException: Object: null is not a known entity type.; nested exception is: java.lang.IllegalArgumentException: Object: null is not a known entity type.
    Error
    Object: null is not a known entity type.
    Someone can help me?
    Cristian.

    Hello Frank, this tutorial make it and was successful but, what I am trying to do is add a new record in the table departments. The steps undertaken are suguientes
    drag over page the contructor department, with a submit, this will drag on the button, the method presistencia, set binding action with "$ (bindings.Departments.result)", and when running the application gives me the error
    Nov 2, 2007 10:06:22 PM oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage
    WARNING: ADFc: JBO-29000: Unexpected exception caught: javax.ejb.EJBException, msg=java.lang.IllegalArgumentException: Object: null is not a known entity type.; nested exception is: java.lang.IllegalArgumentException: Object: null is not a known entity type.
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: javax.ejb.EJBException, msg=java.lang.IllegalArgumentException: Object: null is not a known entity type.; nested exception is: java.lang.IllegalArgumentException: Object: null is not a known entity type.
    I need to know if what I am doing is right, because I followed the steps of the tutorials and it is not functioning the insertion of a new record.
    Thank you thank you.

  • How to calculate sum of quantities of same item in po release using form personalization?

    I am doing one form personalization in which an item can be entered multiple times in with different released quantity and need by date.
    I want to calculate the sum of release quantity of items.
    How I can achieve this using form personalization?
    Thanks
    Sunny

    Hi Gayatri,
    I'm not too sure why this isn't working as the logic seems correct.
    Here's another way to do this:
    1) Create another formula and place this on the Details Section:
    whileprintingrecords;
    numbervar x;
    if onfirstrecord then
    x := {Field_to_summarize}
    else if {ExcisePur.ItemCode} <> Previous({ExcisePur.ItemCode}) And {ExcisePur.Batchnum} <> Previous({ExcisePur.Batchnum}) then
    x := x + {Field_to_summarize};
    2) Create another formula and place this on the Report Footer:
    whileprintingrecords;
    numbervar x;
    -Abhilash

  • How to capture OK / Cancel Button response of warning type message in EBS D2K form using Form personalization

    Hi Experts
    We are working on one requirement in which on a standard D2K EBS form based on the response of a warning message we need to perform certain actions using Form Personalization.
    The problem is that we are not able to capture response of OK and Cancel buttons of the warning.
    If any one has come across such scenario, I would request to please share your valuable suggestions. 2898414
    Thank You
    Regards
    Mirza Tanzeel

    Figured out myself that this is mot possible using Form Personalization.
    Only option possible is to try implementing by modifying custom.pll
    Thanks
    Mirza Tanzeel

  • How to use form personalization to lunch concurrent program

    Hi,
    Now I am using the form personalization to lunch a concurrent program with global variables.But how to post the global variables to the program parameters.
    Thanks and best regards
    Fang
    Edited by: 895910 on Dec 25, 2011 7:54 PM

    Hi,
    I have defined global variables using form personalization. But how should i launch a SRS Form to submit a request and pass the variables as parameters. What should the syntax be.
    Thanks and best regards,
    Fang

  • How to Call a form using forms personalization ?

    Hi All,
    We have a requirement where we need call a form when we tab out of a field from one form. How can we call a from using forms personalization ??
    Can anyone state the steps or point to any metalink note.
    Regards

    Hi,
    Please check whether following link help you:
    http://oracleapps88.blogspot.com/2011/06/calling-another-form-parameters.html
    Regards,

  • Overriding implementation class property using forms personalization

    Hi,
    Is it possible to set the implementation class property of a button using forms personalization ? Am looking to change the look and feel with out having to modify the Form itself.
    Is this possible?
    Thanks!

    questions to Personalization are best asked in the ebs-forum
    General EBS Discussion

Maybe you are looking for

  • New Check box in Preferences - what does it do?

    In Preferences, under Advanced, there is a new button under "Look for remote speakers..." This button is "Allow iTunes control from Remote Speakers" - what does this do? I can find no documentation. Sounds intriguing. Thanks, Bruce

  • Swf object/embed issue in IE5.2 on Mac

    I have embedded a flash swf file inside a table. It displays and is positioned just fine across most platforms/browsers EXCEPT for on a Mac in IE 5.2 and it's driving me insane. In IE5.2 on a Mac, the flash movie plays OK, but it is not positioned in

  • Mov to animated gif

    hi, i'm really confused by this. i do not want to dish out 94€ for Camtasia for Mac, i'm really guessing there has got to be an automator/applescript/terminal/anything method of taking a screen-recorded .mov  and turning it into an animated gif. but

  • Showing the pages on the left side

    When I open my adobe file, the pages on the left side (where the bookmarks are) are NOT showing.  How do I get them to show please?  Thank you.

  • Using System.exit(0) in executeScript

    When using System.exit(0) in executeScript within a process, it shuts down JBoss. This happens both in LC ES2.5 and ADEP  10.0.1.20111108.1.309370 I would expect that System.exit(0) simply ends the script and returns control to the process. Am I miss