Messaging using CUSTOM.pll

Hello,
I have registered a message named 'HAC_ASN_PO_ALERT' with the message type 'Note'. I have generated the message and am using the CUSTOM.pll to show the message when a specific event occurs. I am using the code below to call the message.
FND_MESSAGE.SET_NAME('HAC','HAC_ASN_PO_ALERT');
FND_MESSAGE.SET_TOKEN('ASN_STRING',x_asn_string);
FND_MESSAGE.ERROR;
This works just fine, the message displays when I want it to, but it shows with the error bell as an error message. I wanted to display the message as a note with the note icon. I have looked at the FND_MESSAGE package and there is not a procedure called NOTE. I tried SHOW, but I got an error. Can anyone please help me to get this message to display correctly?
Thank you,
Mike

I am facing the same issues in R12.. Any solution for this.
Thanks in Advance.
Chetan

Similar Messages

  • 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

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

  • Setting Default values for field using custom.pll

    Hi All,
    I have an rquirement to set the default values on Meterial Tranasction screen for some condition
    I tried it in both ways via Form Personalization and using custom.pll
    i m using the following code in custom.pll
    form_name      varchar2(30):= name_in('system.current_form');
    block_name varchar2(30):= name_in('system.cursor_block');
    trx_type           varchar2(30);
    subinv                varchar2(30);
    begin
    if form_name='WIPTXMAT' and block_name ='MTL_TRX_LINE' then
    if event_name ='WHEN-VALIDATE-RECORD' then
         trx_type:=name_in('WIPTXMAT.TRANSACTION_TYPE');
    if trx_type ='WIP Return' THEN
         copy(10,'MTL_TRX_LINE.TRANSACTION_QUANTITY');
              copy(10,'MTL_TRX_LINE.NUMBER_OF_LOTS_ENTERED');
              sinv:=trim(name_in('MTL_TRX_LINE.SUBINVENTORY_CODE'));
              if sinv is null then
                   copy(subinv,'MTL_TRX_LINE.SUBINVENTORY_CODE');
                   copy(fr_locator,'MTL_TRX_LINE.LOCATOR');
                   FND_MESSAGE.SET_STRING(sinv);
                   FND_MESSAGE.SHOW;
              end if;
         end if;
    end if;
    end if;
    end event;
    Problem is that default values are getting set but not for all rows . if there are 4 records then values are set for only first 2 rows and if there are 2 rows then defaults are set for 1st row only.
    Same behaviour happens when i do it via form personalization
    i couldn't understand the behaviour of WHILE-VALIDATE-RECORD event..
    Please provide some suggestion on it. its really urgent.
    Thanks in Advance
    Renu

    Works Now...

  • How to add New Menu Bar using Custom.pll

    Hi All,
    I have developed a form based on the Oracle Apps form.For standard form i have to add one more menu bar in tools menu using custom.pll,i'm using 11.5.8 version.
    So can any one help me in thi regards as i'm new to this custom.pll,How can we add that New menu bar item and how can we open the custom.pll
    where we have to write the code and all the stuff.Which we have to use like wise.
    If any one is having the code on the regarding u can please pass me.
    Help me in this as it is urget to the client.
    Regards
    Siva

    Hi Donny thanks for ur reply,
    As i was new to the Custom.pll,i have opened the custom.pll throught Form Builder.I have found the packages of the Custom.pll,I have to add new Special Menu to it.If u have code can u please give me simple example.
    If I press that Menu I have to open New Form that i have Customized.And also to get values into that form.
    Can u please help me in this give me simple Example.In Which trigger i have to write the code and all the stuff....
    Bit urget
    If any one is having coding can pls send me to my mail id :[email protected]
    Regards
    Siva

  • Add additional to LOV using CUSTOM.pll

    Form: CSIMEDIT
    Block: CSI_T_PARTY_ACCOUNTS
    Field: BILL_TO_ADDRESS
    The LOV ACCOUNT_BILL_TO from the field BILL_TO_ADDRESS only has 2 columns but I need to add 2 more columns. How can I do it in Custom.pll?
    The first column is site_use_id, the second column is party_address. Currently, I concatenated the third column 'status' with party_address, the LOV show both information. However, after I picked the address and saved it, I got an error message when I click on the LOV button again due to the party_address query only contains party_address and it is different from the LOV list which is containing the part_address and status. It failed the validation.
    I also tried to use another LOV 'SERIAL_NUM' that has 5 columns. Then set property:
    lov_id := FIND_LOV('SERIAL_NUM');
    rg_id := FIND_GROUP(rg_name);
    SET_LOV_PROPERTY(lov_id, group_name, rg_name);
    -- set Title --
    Set_Lov_Property(lov_id, TITLE, 'Bill To Address' ) ;
    -- set column properties --
    set_lov_column_property(lov_id,2,TITLE,'Bill To');
    set_lov_column_property(lov_id,2,WIDTH,25);
    set_lov_column_property(lov_id,3,TITLE,'Status');
    set_lov_column_property(lov_id,3,WIDTH,5);
    -- hide other columns --
    set_lov_column_property(lov_id,1,WIDTH,0);
    set_lov_column_property(lov_id,4,WIDTH,0);
    set_lov_column_property(lov_id,5,WIDTH,0);
    But I got error message: FRM-41826: Cannot replace group;columns don't match LOV.
    Please help!
    Thanks.

    Hi Donny thanks for ur reply,
    As i was new to the Custom.pll,i have opened the custom.pll throught Form Builder.I have found the packages of the Custom.pll,I have to add new Special Menu to it.If u have code can u please give me simple example.
    If I press that Menu I have to open New Form that i have Customized.And also to get values into that form.
    Can u please help me in this give me simple Example.In Which trigger i have to write the code and all the stuff....
    Bit urget
    If any one is having coding can pls send me to my mail id :[email protected]
    Regards
    Siva

  • Att Partners: Please log messages using customer ID

    Hello All SAP Business One Partners,
    In order to bring additional transparency to our reporting systems and to ensure compliance we will being in 2012 Q2 to send notifications where a message is logged to SAP Business One Support using the Partner ID instead of the correct original Customer ID, the message itself will be processed as normal and only a notification will be sent. While there will be certain exceptions based on component etc., we would ask that all messages originate from a valid Customer ID. The component SBO-SDK* will be exlcuded as it is expected many of these issues will arise from ISV reporting an issue based on their own Add-On development.
    If you must open a message using a Partner ID, please include in the message text a brief explanation for why the Customer ID cannot be used. Beginning in Q3 we will no longer process these messages and will be returned requesting a new message using correct ID.
    We appreciate your cooperation in this matter. If you have any questions, please do not hesitate to contact us via the normal support channels.
    Regards,
    Paul Finneran
    SAP Business One Product Support

    I was experiencing a similar issue to what you're describing. Here is what I found may have been the cause and solution to my problem.
    I use KeePassX to manage my personal passwords for my various online accounts. It seems that when I was using the shortcut to copy the password of the selected entry in the list of entries, it would then paste an extra one or two characters into that field specifically. I finally tried opening the entry for editting, viewing the password, and copying the password directly from the editting area. When I pasted that into the password field, it pasted a character or two less (I noticed because the dots in the field were less than what I had just entered incorrectly).
    It seemed to work for me once I copied it using alternate methods.
    I hope this helps someone else!
    Message was edited by: tinifni -- May not be exact issue you were describing.

  • Showing Error MEssage using Custom Component

    Hi,
    I have built the custom component to validate the File Size and File Extension.
    I.e user should be able to check in the document if size is less than 5MB and file extension is one of "Pdf", "doc", "tiff", "png".
    Here whenever the validation files i am throwing the exception "File Size Exeeds the Limit or Invalid file Type".
    I am able to get the custom component working as per the validation. And it is alsi logging the error in the Log file.
    But i need to show the error message when the user cllick on the check in button in UCM page.
    As of now it shows some generic error saying "Unable to execute service CHECKIN_NEW_SUB and function validateStandard.
    The error was caused by an internally generated issue. The error has been logged"
    Any help on this is highly appreciated.
    Regards,
    Rakshitha Shetty.

    Hi,
    You could throw a ServiceException in your filter with the message you want to display.
    Romain.

  • 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

  • FRM-40734: Internal PL/SQL error by using delete_group in CUSTOM.pll

    Hi,
    I am dynamically changing an LOV using CUSTOM.pll and it is working fine initially when i enter the form. If I change one field, it needs to be changed again. For this I am using delete_group and again create_group_from_query. Here delete_group is throwing an error FRM-40734: Internal PL/SQL error.
    Please help me on this.
    Thanks In Advance,
    Hima

    can you post us your code?

  • How to close a custom form from CUSTOM.pll

    Dear Friends,
    We need your help on the following issue related to Oracle Apps Forms.
    We have a requirement to show a popup message (message should remain open and user should be able to continue working in the order entry form. User use this message as a reference while entering order details) when user enters a customer name or number in the order entry form . This is similar to the Stock Availability form which gets opened automatically when control enters into Order Entry Lines form, where the stock availability form remains open while entering line details.
    To fullfil the requirement, we have designed a custom form with a single text field in which the message text (some customer information) will be shown.
    We are using custom.pll to call this custom form (thru FND_FUNCTION.EXECUTE) when the control leaves customer number field. User could leave this custom form open and continue with entering order details. Till this point we could achieve what we want. i.e. we could show the popup message in the custom form after user enters a customer number.
    The problem is, after the custom form is opened, when we enter a new order for different customer, we need to close the custom form (which is opened for the previous customer) if the customer is not qualified.
    we could not achieve this. We tried using CLOSE_FORM, CLOSE_WINDOW, but did not help.
    Any body have any suggestions on achieving this... Basically, we need your help to know how we can close the custom form from CUSTOM.pll.
    Thanks,
    Uma

    I thing you haven't any (supported) option to close a form via custom.pll.
    For a long time, we have search a solution for the same problem without any result.

  • Need Help on Custom.pll

    hi all,
    Pl tell me how is it possible to disable the Save functionality in the Forms Using Custom.pll. My requirement is to see that the SAVE functionality should not happen when the user uses CTRL-S from the keyboard.
    I am able to disable the SAVE button from the Menu but I want to do the same for CTRL-S keyboard action.
    Is there any property that can be used at the forms level from custom.pll to disable the commit action.
    Thanks in advance.
    Thanks & Regards
    Sanjiv Chawan

    Why wouldn't you post in the proper forum, i.e the Forms forum

  • Custom.pll library?

    Hi guys,
    How can I use custom.pll library to checking those newly add records on screen? Here is the example:
    1) There are 2 records on screen from interface in Purchase Order Form
    2) User manual add 1 record in Purchase Order Form
    3) When use save the record, I want to do some checking for those record added by user manually (should be no. 3 lines in this case)
    How can I perform this checking in custom.pll library?
    Best Regards,
    Amy

    General EBS Discussion
    in above forum are the EBS gurus, which maybe know faster a solution for your EBS-Forms-Questions

  • Custom.pll to set block to read only

    Hi all,
    I want to use custom.pll to make the item revisions
    form read-only for certain responsibilities in 11.5.9.
    What is the best property to set to accomplish this?
    Alterable_plus looks like a good candidate...
    Thanks,
    Scott

    Actually, it looks like alterable_plus works at the item level - is there a property I can set for the block?
    Thanks,
    Scott

  • Fetching IP Address of Local system in CUSTOM.pll

    Hello All,
    We have a requirement as per which we have to fetch the IP address of Client machine. I am using below query to fetch the IP address. Whenever I run the below query into TOAD, I get the IP addresss of my system. However, when I use the same query in CUSTOM.pll, it is fetching the IP address of application server.
    ---------------- Select Query -----------------------
    SELECT sys_context('userenv','ip_address')
    INTO l_ip_address
    FROM dual;
    How do I get IP address of my system while using CUSTOM.pll. Any pointers on this is highly appreciated and reply back to me on email id [email protected]
    Thanks & Regards,
    Abhishek Tiwari

    Hi user;
    Please check http://newgendba.blogspot.com/2009/04/how-to-get-client-ip-address-for.html
    I hope, It would gives u some light
    Regard
    Helios

Maybe you are looking for

  • H2 devide implicit and explicit created indexes by dictionary views?

    For migrating amounts of data it is useful to drop and recreate indexes and referencing constaints. A implicit created index by defining a primary/unique key constraint will be dropped implicitly by dropping the before mentioned constraint. Creating

  • Getting error in  custom ContentCategorizer component

    Hi All, I have created a custom component and it contains custom_searchml_to_scc.xsl. Then I am trying to map this xsl file in Content Categorizer admininistration -> Filetype Map FILETYPE: doc RULESET: Default CONVERTER: SearchML STYLESHEET: {Intrad

  • In MAC OS, does PSE9 duplicate your photos on import?

    I'm moving from PC to MacBook Pro and just learned that iPhoto duplicates your images when you import into iPhoto? Does PSE9 do that or does it just create a catalog and not make duplicates of your photos on your hard drive?

  • No Sound Rear/Side in g

    HeyI'm using a Soundblaster Audigy 2 ZS with 7. channel speakers. I can get sound from the side and rear speakers via cmss upmixing, but when trying to use true surround sound (as supported by bioshock), no sound comes from the side or rear speakers

  • Cannot Administer DAS as orcladmin, After Changing Default Subscriber

    OK, I dared to create a different DIT. I even created a new orcladmin account under my new DIT. I even made him a member of the DAS Admin Group under my new DIT. I log into DAS and go to the config page. I change my values to point to my new DIT. I r