Trigger events are notvalidated the lov  form personalization or custom.pll

Hi all,
The trigger events are not validated the LOV in forms personalization or custom.pll
any one help me
Regards,
M.Soundrapandian
Edited by: user588510 on Dec 15, 2008 9:27 PM

i have checked with the new item instance and now i have given
In the message text when i have given this query it is displaying me with blank message box when there are no records which i dont want.and also saving it when i click ok .where should i modify my query so it displays message only when there are more than 3 records but should not save
trigger event : when new item instance
trigger object :repairs.lot_number
condition : :SR.ACCOUNT_NUMBER IS NOT NULL
AND :REPAIRS.SERIAL_NUMBER IS NOT NULL
Message text :
=SELECT 'There are a total of '||COUNT (*)||' Previously Repaired Records' "A" FROM CSD_REPAIRS CR, CS_INCIDENTS_ALL_B CS, CSD_PRODUCT_TRANSACTIONS CP
WHERE (
SELECT COUNT(*)
FROM CSD_REPAIRS CR, CS_INCIDENTS_ALL_B CS, CSD_PRODUCT_TRANSACTIONS CP
WHERE CR.REPAIR_LINE_ID = CP.REPAIR_LINE_ID
AND CR.INCIDENT_ID = CS.INCIDENT_ID
AND CS.ACCOUNT_ID = :SR.ACCOUNT_NUMBER
AND CP.prod_txn_status = 'RECEIVED'
AND CR.STATUS = 'Closed'
AND CP.SOURCE_SERIAL_NUMBER = :REPAIRS.SERIAL_NUMBER)>=3
Edited by: user10755387 on Aug 5, 2009 11:31 PM

Similar Messages

  • Forms Personalization or custom.pll

    I need to make the 'One Time' check box default to yes for the supplier window when I login through a custom responsibility One Time Supplier !
    either by forms personalization or custom.pll
    Can any one advise me ?

    Ok.
    I’m on EBS 11.5.10.2 R3
    I’m not sure if it will work for a different version
    1.Open the Suppliers and the Forms Personalization windows.
    2. Seq=1, Description: Activate One_Time flag
    3.Level = Function
    Condition:
    Trigger Event = WHEN-NEW-RECORD-INSTANCE
    Trigger Object = VNDR
    Condition = :SYSTEM.RECORD_STATUS = 'NEW'
    Actions
    Seq=1, Type = Property
    Description = One Time
    Object Type = Item
    Target Object = VNDR.ONE_TIME_FLAG_MIR
    Property Name = VALUE
    Value= Y
    4.In the Context area enter the responsibility you want to be affected by this personalization.
    5.Save your work and close all windows. Using the responsibility on 4, open the suppliers window again, go to the Classification tab and see if it is checked.
    Hope this helps
    Octavio

  • When I'm previewing my iDVD, the pictures are all of the edited ones - which is what I want - but after I burn the DVD, all the pictures are in the unedited form!! What the heck?!! How do I fix this problem? I've never experienced this before!!

    When I'm previewing my iDVD, the pictures are all of the edited ones - which is what I want - but after I burn the DVD, all the pictures are in the unedited form!! What the heck?!! How do I fix this problem? I've never experienced this before!!

    Hi
    Try in iDVD
    • Save as a DiskImage
    • Play this by use of DVD-player tool
    Still OK or problems ?
    If OK - Burn it by use of
    • Apple Disk Util tool - or -
    • Roxio Toast™ (if You got this - I love it)
    Yours Bengt W

  • Iphone and Ical on mac do not sync anymore. All my events are in the iphone calendar! How do I backup iphone calendar, and how do I fix the syncronizing problem?

    After getting iCloud the iCal on my mac does not sync with my iPhone calendar. All of my calendar notes are in my iPhone (while the mac's Ical remains empty) so I need to backup the iphone version. How?
    Itunes says that "your calendars are being syncronized with iphone using icloud" - but the mac's ical does not show any of the new events I have added on my iphone.
    I would like to install the new update on my iphone, but I am afraid to do it without knowing that I will be able to restore my iphone calendar. I have made calendar events for many years to come, I and will not risk losing them!
    I have been looking for tips online, but the solutions usually suggest that I backup the ical on the mac and start fresh using this version. In other words overwrite iphone calendar with the ical from the mac. Which is not an option. What can I do?

    Moments in Photos are the new Events, i.e. groupings of photos sorted by date taken.
    When the iPhoto Library was first migrated to Photos there was a folder created in the sidebar titled iPhoto Events and all migrated iPhoto Events (which are now Moments) are represented by an album in that folder. To open the sidebar if it's not already open use the Option+Command+S key combination.
    There's a way to simulate events in Photos.
    When new photos are imported into the Photos library go to the Last Import smart album, select all the photos and use the File ➙ New Album menu option or use the key combination Command+N.  Name it as desired.  It will appear just above the iPhoto Events folder where you can drag it into the iPhoto Events folder
    When you click on the iPhoto Events folder you'll get a simulated iPhoto Events window.
    The downside to the simulation is that the Albums/Events can only be sorted automatically by Title. But they can also be sorted manually, either in the sidebar or in the folder's window at the right.
    Ask Apple for more sorting options in Photos via https://www.apple.com/feedback/photos.html.

  • In iTunes the Photo events are not the events in iphoto

    Since loaading the latest version on iTunes (10.7) the iPhoto events are not name as they appear in iPhoto and sone categories are just a date with not photo in that event... sone of the date are repeated several times... unsure of what is causing the events categories to mess up... The othe iPhoto categories are correct as for names and albums...
    What can I do to rectify the situation?

    Currently the only way to share your photos a) in the order you want, and b) with the titles you supply is to export them as jpegs, then re-import them, then share. Not exactly elegant (Apple - Are you listening?)

  • How to call trigger event when the checkbox is checked using custom.pll

    Hi,
    In recipt form i have one checkbox.when i check the box the popup should be open.
    how to check the check box is checked or not.
    any one help.me.
    Regards,
    M.Soundrapandian.

    You can probably do this easier using forms personalization - pl see ML Doc 279034.1 for details
    HTH
    Srini

  • Form Personalization: Calling custom form

    Hi Folks,
    I need to call a custom form from a seeded form using "Tools" menu and also need to pass parameter.
    Here I was able to achieve this using "SPECIAL 1" from personalization, but the problem here is I was not able to pass parameter from seeded form to my custom form. version of EBS is R12
    Would be vey greatful if someone could help me on same.
    Thanks,
    gvk
    Edited by: gvk on Mar 13, 2011 11:53 PM

    You can pass the parameter only if the called form accepts a parameter.
    If it does, you define a global variable and use it on the called form.
    The following link gives a great example of passing vendor_id.
    http://it.toolbox.com/blogs/apps-traction-blog/how-to-create-a-zoom-using-oracle-form-personalization-12081
    Hope this answers your question,
    Sandeep Gandhi

  • How do i fix the "web form must capture customer name and email address" error?

    Hi all,
    I have a webform that is submitting securely to the bc servers. I get the response:
    {"SystemMessage": { "success": False, "message": "ERROR: An error occurred. Your web form must capture customer name and email address. Please fix this issue and re-insert your web form on your web page." }}
    I have verified that the "FirstName","LastName","EmailAddress" are actually gettting sent with their corresponding values. I can't seem to figure out why i keep getting this error. Can someone please lend a helping hand?!? Thanks guys... here's my code:
    var rAction = 'https://site.worldsecuresystems.com/FormProcessv2.aspx?WebFormID=85886&OID={module_oid}&OTYPE={module_otype}&EID={module_eid}&CID={module_cid}&CC={module_urlcountryc ode}&Referrer={module_siteurl,true,true}&JSON=1';
    var rData = 'FirstName='+escape(fName.val())+'&LastName='+escape(lName.val())+'&EmailAddress='+escape (email.val())+'&Username='+escape(username.val())+'&Password='+escape(passwd.val())+'&Pass wordConfirm='+escape(passwd2.val())+'&BillingAddress='+escape(baddress.val())+'&BillingCit y='+escape(bcity.val())+'&BillingState='+escape(bstate.val())+'&BillingZip='+escape(bzip.v al())+'&PaymentMethodType='+escape(paymentMethodType)+'&CardName='+escape(cName.val())+'&C ardNumber='+escape(cNum.val())+'&CardExpiryMonth='+escape(expMonth)+'&CardExpiryYear='+esc ape(expYear)+'&CardType='+escape(cType)+'&CardCCV='+escape(ccv.val())
    $.ajax({
    type: 'POST',
    url: rAction,
    data: rData,
    success: function(msg){
    console.log('success');
    $('#result').html(msg);
    error: function(msg){
    console.log('error');
    $('#result').html(msg);

    Ok -- after testing this out a little on my own I think it must have to do with not properly serialzing the data you are passing in the ajax function.  In the example I linked to earlier they are just serialzing the form data and it works because it converts the data in the form's input fields to URL encoded notation.
    If you aren't using an actual form on your site to mimick the example I linked to then when building your "rData" string instead of using the "escape" function for each of the parameter values, you should be using the "encodeURIComponent" function instead which instead of escaping characters will convert it to URL encoded notation.  That's probably your issue. Here's more about encodeURIComponent(): http://www.w3schools.com/jsref/jsref_encodeURIComponent.asp
    Try this with the rData variable instead:
    var rData = 'FirstName='+encodeURIComponent(fName.val())+'&LastName='+encodeURIComponent(lName.val()) +'&EmailAddress='+encodeURIComponent(email.val())+'&Username='+encodeURIComponent(username .val())+'&Password='+encodeURIComponent(passwd.val())+'&PasswordConfirm='+encodeURICompone nt(passwd2.val())+'&BillingAddress='+encodeURIComponent(baddress.val())+'&BillingCity='+en codeURIComponent(bcity.val())+'&BillingState='+encodeURIComponent(bstate.val())+'&BillingZ ip='+encodeURIComponent(bzip.val())+'&PaymentMethodType='+encodeURIComponent(paymentMethod Type)+'&CardName='+encodeURIComponent(cName.val())+'&CardNumber='+encodeURIComponent(cNum. val())+'&CardExpiryMonth='+encodeURIComponent(expMonth)+'&CardExpiryYear='+encodeURICompon ent(expYear)+'&CardType='+encodeURIComponent(cType)+'&CardCCV='+encodeURIComponent(ccv.val ())

  • FRM-40815: Form Error, using CUSTOM.pll

    Hello,
    I am trying to customize WIP Lot Transactions Oracle Standard Form using CUSTOM.pll.
    Upon navigating to one of the 3 blocks in the form(RESULTING_LOT), I am getting following error message:
    "FRM-40815: Variable GLOBAL.CLRREC_NOVALIDATE does not exist"
    This global variable is not used in CUSTOM.pll at all. But is initialized and used in the standard form only.
    When custom code is turned off, there is no error message.
    Please advise.
    Thanks,
    Krishna.

    Hi,
    Thanks for the response.
    I have created a custom profile and attached it users and Profile value has the organization names.I want the User A with Org1 value in the profile to see all the GL Batches which is created by any other user who belongs to only Org1. Say another user User B with Org2 as the profile value should not see any GL batches created by any other user in the GL Journal Form belonging to other Org's.I'm able to restrict the batches using the below query using the personalizations in the Record Group for the Batch Name.But if the user doesnt give any search criteria and then selects Find then the main form displays all the batches. Hence I want to overide the Data Block where to display accordingly.
    select a.name from gl_je_batches a
    where 1=1
    and a.created_by in (select b.user_id from
    fnd_user b,
    fnd_profile_option_values c,
    fnd_profile_options d
    where c.profile_option_id =d.profile_option_id
    AND c.level_value = b.user_id
    AND profile_option_name='KAP_USER_ORGANIZATION'
    AND c.profile_option_value =(select profile_option_value
    from fnd_profile_option_values e
    where e.level_value =fnd_profile.value('USER_ID')
    and profile_option_id=d.profile_option_id)
    Thanks,
    Ashwini.

  • Commit/save the data after copy in custom.pll

    Hi All,
    In custom.pll added code to populate data based on other fields. Its copying successfully, but not able to save the record to database.
    when user goes to field, form is asking for update, correction.
    Can some one please tell me how to commit data to database once it is copied?.
    what built in should be use to commit data after copying?.
    Thanks to all in advance...

    Hi Asif,
    Thanks for the reply, that didn't help me.
    fields which populated are into key flexfield segments, how to save the key flexfield, this is a TAB.
    I am not able to find any where on this. In form I have a block1 based on data in fields in this block1, key flexfield in a tab should be populated, here we are successful by copy built in function.
    Next is how to save keyflex data in TAB after populating.
    can someone help me please...

  • Can we change the Record Group Type through Custom.pll

    Hello All,
    I have a small requirement on Changing the Record Group Dynamically.
    Can i set the Record group type to 'Query' from 'Static'. i.e Can i change the Record group type dynamically through custom.pll. I know that we can dynamically change the Record group query.
    Please help me its a bit urgent.
    Thanks inadvance,
    Amarnadh Js

    you can control your record group runtime without create any recordgroup at design time..
    1.static group
    declare
       rg_name         VARCHAR2 (40)  := 'Global_Rgp_Menu';     --global record group name for menu use
       rg_id           recordgroup;                                            --global record group id
       gc_id           groupcolumn;                                     --global record group coulmn id
       errcode         NUMBER;                                                             --error code
       grp_row         PLS_INTEGER    := 0;                             --global record group row count
    begin
      rg_id := FIND_GROUP (rg_name);
       IF NOT ID_NULL (rg_id)
       THEN
          DELETE_GROUP_ROW (rg_id, all_rows);
       ELSE
          rg_id := CREATE_GROUP (rg_name, global_scope);
          gc_id := ADD_GROUP_COLUMN (rg_id, 'menu_item', char_column, 100);
          gc_id := ADD_GROUP_COLUMN (rg_id, 'p_type', char_column, 100);
          gc_id := ADD_GROUP_COLUMN (rg_id, 'p_no', char_column, 100);    
       END IF;
      grp_row := 0;
      for 1 in 1..10 loop
           grp_row := grp_row + 1;
          ADD_GROUP_ROW (rg_id, grp_row);
          SET_GROUP_CHAR_CELL (rg_name || '.menu_item', grp_row, 'menu' || to_char(i) );
          /*type*/
          SET_GROUP_CHAR_CELL (rg_name || '.p_type', grp_row,  'type' || to_char(i) );
          /*program_no */
          SET_GROUP_CHAR_CELL (rg_name || '.p_no', grp_row,  'programno' || to_char(i) ); 
      end loop;
    end;
    2. query group
    declare
       FACT_SQL VARCHAR2(500) :=NULL;
       rg_name1       VARCHAR2(40) := 'Global_Rgp_fact';
       rg_id1   RecordGroup;
       Error_Flag number:=0;
       group_error exception;
    begin
       rg_id1 := Find_Group( rg_name1 ); IF NOT Id_Null(rg_id1) THEN Delete_Group( rg_id1 ); END IF;     
       FACT_SQL := ' SELECT *   FROM MYFACTORY  ' ;      
       rg_id1 := Create_Group_From_Query( rg_name1,FACT_SQL ,global_scope);
        Error_Flag := POPULATE_GROUP(rg_id1);
        IF Error_Flag <>0 THEN     
               error_msg:='Error while populating factory group';   
               raise group_error;
        END IF; 
    exception
      when group_error then
         message(error_msg);
        raise;
    end;Edited by: nolemlin on 2010/3/23 上午 7:50

  • All day events are given the time 00:00 when syncing with iPod.

    I recently switched from syncing with a Palm m515 to syncing my calendars and contacts with an iPod. The first time I synced, all the untimed (all day) events in my iCal became timed events, with the time set at 00:00. Is there anything I can do to remove the time from these?

    A short update.
    I tried going back to 7.1.1. but that didn't help at all. The only variable that changed (from the time when things were alright to the time of the trouble) was the expiration of the SRS WOW DEMO. Removing the plugin didn't help at all.
    Mac OS X 10.4.9 was reinstalled and my system is back to normal now.

  • Form personalization - new custom function - how to pass parameters?

    Hi,
    My requirement is to call a custom mod pl/sql program (html page) from purchasing when the "approve" button is pressed. I have it working, but don't know how to pass parameters to my function.
    I have my function defined and registered. In the definition under "Web HTML" tab, I have my pl/sql procedure call under "HTML Call". Where do the parameters go?
    On the customization of form POXPOEPO, I am using Builtin - Launch a function. I want to pass the po_header_id, so under "Parameters", I did "Insert Item Value" of :PO_HEADERS.PO_HEADER_ID
    My custom HMTL page is popping up, but the parameter is not being passed. Is there something in the Function Definition where I can define the incoming paramaters?
    Thanks.
    Paul

    Post your question in below forum:
    General EBS Discussion
    -Anand

  • 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

  • Using Custom.pll on AP Invoices form goes into error in 11.5.10.1

    Hi All,
    I am trying to do some customization on APXINWKB (Invoices form) using CUSTOM.pll. But whenever i am trying to open the form after adding the code in CUSTOM.pll i am getting the following error:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.GL_EURO_USER_RATE_API", line 173
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "APPS.GL_CURRENCY_API", line 327
    ORA-01403: no data found
    FRM-40735: WHEN-NEW-ITEM-INSTANCE trigger raised unhandled exception ORA-06502.
    I am trying to display a a small message in the new form instance of the above form thru CUSTOM.pll, nothing more than that!!. If i remove the coding, the form is working perfectly. My oracle apps version is 11.5.10.1
    Can any body help me??
    Raj

    Hi Helios,
    Thank you for the update, actually the problem is solved.
    The issue is : Whenever i am trying to show a message in that form using either form personalization or CUSTOM.pll, it is giving the error, if i do any thing else like 'changing the default where clause etc', it is not giving any error. The problem is only with message. Actually my requirement is changing the where clause, which is happening with out any problem. I dropped the idea of showing the message any way.
    This problem is strange. Any ways, i am raising an SR with Oracle.
    Raj

Maybe you are looking for