Can I change the event WHEN-VALIDATE-ITEM in Custom.pll??

Hi I have a requirement where to change the Format to 'EXCEL' which is by default 'PDF' for a particular Concurrent Program.
I am making the chanages in CUSTOM.pll Package Body...
Here's my approach:
In the Procedure Event:
var1 varchar2(255);
var2 varchar2(50);
if (event_name='WHEN-VALIDATE-ITEM' ) then
if (form_name='FNDRSRN' and block_name='WORK_ORDER') then
var1 := name_in('WORK_ORDER.USER_CONCURRENT_PROGRAM_NAME');
if var1='ACCOUNT PAYABLE REPORT' then
var2 := 'EXCEL';
copy(var2,'TEMPLATES.FORMAT');
else
var2 := 'PDF';
copy(var2,'TEMPLATES.FORMAT');
end if;
end if;
end if;
Please need anyones concerete help to justify my approach
Regards
Saugata

Did you ever get this done ? I need to do the same thing and don't want to change the form

Similar Messages

  • WHEN-VALIDATE-ITEM in custom.pll

    Hi All,
    I have a requirement
    In PO form when item is selected, the price should be populated from a custom table.
    I tried populating price at WHEN-VALIDATE-ITEM of item, but it seems that custom.pll does not capture WHEN-VALIDATE-ITEM.
    Is there any way I can achieve my requirement.
    Thanks and Regards
    Prajesh

    If you do not have a quote, then it might a little harder.
    What kind of data is present in your custom table?
    Can you create/maintain quotes based on the data and then use the quotes for creating standard PO?
    Hope this helps
    Sandeep Gandhi
    Independent Consultant

  • LINE_SUM_FOLDER_ITEMS_ITEM.ASSET_BOOK: EVENT='WHEN-VALIDATE-ITEM

    Hi,
    after setting up the financials, while entering an invoice, whenever i try to enter a line the system gives me the following error;
    Invalid argument to LINE_SUM_FOLDER_ITEMS_ITEM.ASSET_BOOK: EVENT='WHEN-VALIDATE-ITEM'
    FRM-40735: WHEN-VALIDATE-ITEM trigger raised unhandled exception ORA-20002.
    I found the document [ID 1312124.1] at metalink that says to recompile the invalid objects, which i did but the issue remains the same. Any one with some other solution?
    Regards,

    Hi
    We have just had the same problem on our internal instances after an upgrade to 12.1.3.
    We found the problem was a new library that hadn't been compiled correctly.
    Check your versions of $AU_TOP/resource/APXINLIN.pll and $AU_TOP/resource/APXINLIN.plx. These should be the same at:
    $Header APXINLIN.pld 120.158.12010000.95 2010/05/14 11:19:33 asansari ship $
    To check the versions use the commands:
    adident Header $AU_TOP/resource/APXINLIN.pll
    and
    adident Header $AU_TOP/resource/APXINLIN.plx
    If they are different then thats probably the issue.
    I tried to recompile all AP form files via adadmin but this didn't fix the issue (for some reason this library isn't recompiled) so I ended up having to recompile manually. From within the $AU_TOP/resource directory:
    frmcmp APXINLIN.pll apps/<apps password> module_type=LIBRARY compile_all=yes
    NB if you are on Unix then you need to have $DISPLAY pointing to a valid X-Windows server for the frmcmp command to work.
    Hope this helps
    Robin
    Edited by: user12618472 on 04-May-2012 05:13

  • How can i change the effect  when i hide the windows?

    how can i change the effect when i hide the windows?

    System Preferences>Dock>Minimize Using>Select one of the two choices.

  • Can you change the Bitrate when you use the "Compressor" High Quality...?

    I am having problems with the amount of video in DVD SP and I think I need to lower the bitrate when I compress out of FCP. Can you change the Bitrate when you use the "Compressor" High Quality setting?
    Thanks,
    Stone

    Can you change the Bitrate when you use the "Compressor" High Quality setting?
    Yes. Duplicate the preset, then customize it all you want.
    -DH

  • Why I can not change the display when I turn the Ipad from horizontal to vertical position ?

    Please help to give me the guide line to solve the problem in my Ipad
    I can not change the display when I move the ipad from horizontal position to vertical position

    Have you got a lock symbol at the top of the screen next to the battery indicator ? If so, then depending on what you've got Settings > General > Use Side Switch To set to (mute or rotation lock), then you can lock rotation either by the switch on the right hand side of the iPad, or via the taskbar : double-click the home button; slide from the left; and it's the icon; press home again to exit the taskbar. The function that isn't on the side switch is set via the taskbar instead : http://support.apple.com/kb/HT4085
    If there is no lock symbol then try a reset and see if rotates after the iPad has restarted : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • I can't change the volume when I have earphones plugged in.  any ideas?

    I can't change the volume when I have earphones plugged in.  any ideas?

    Hello Pamela,
    What happens when you try to change the volume with the headphones plugged in?  Anything?  Does this happen with every pair of headphones you try?
    Maybe try resetting the Nano.
    http://support.apple.com/kb/ht1320
    B-rock

  • Can not change the control level of item attribute "Inventory Asset Value"

    I can not change the control level of the item attribute "Inventory Asset Value" from Master Level to Org Level. It's show me the message "FRM-40200: Field is protected against update".
    Version is below:
    Oracle Application: 10.7SC
    Form: INVIDCTL 6.0.26

    I did a trace when I chage the control level. the SQL is below:
    SELECT COUNT(*)
    FROM CST_ITEM_COSTS CHILD
    , CST_ITEM_COSTS MASTER
    WHERE MASTER.INVENTORY_ITEM_ID = CHILD.INVENTORY_ITEM_ID (+)
    AND MASTER.COST_TYPE_ID = 1
    AND CHILD.COST_TYPE_ID (+) = 1
    AND NVL(MASTER.ITEM_COST,0) != NVL(CHILD.ITEM_COST (+) ,DECODE(MASTER.ITEM_COST, NULL ,0,-99999))
    AND MASTER.ORGANIZATION_ID IN (SELECT MASTER_ORGANIZATION_ID
    FROM MTL_PARAMETERS
    WHERE ORGANIZATION_ID != MASTER_ORGANIZATION_ID )
    AND CHILD.ORGANIZATION_ID IN (SELECT ORGANIZATION_ID
    FROM MTL_PARAMETERS
    WHERE MASTER_ORGANIZATION_ID = MASTER.ORGANIZATION_ID )

  • Bug(?) with iCal - Can not change the event time

    Hello all,
    First of all, let me preface my question by admitting that I'm new to the Mac world, transitioning from MS environment. So please, be a bit patient
    Now, on to my problem:
    I have created events in iCal and I can not change the time for any event. The time that's always displayed is 15:54! I have checked the time zone setting to on/off to se if it makes a difference, but to no avail. I have also gone into preferences and under the General Tab, the Day starts at and the Day ends at: show three (3) selections; Noon, 15:54, Midnight !!???
    I have changed the Show hours at a time, to see if that makes a difference, but it does not.
    To add to the above mystery, I have created events with my mobile SonyEricsson K850i, with the correct time(s), date, etc., synchronized with iCal and the time changed to 15:54!!
    This is a new MacBook Pro, with the latest patches! For some reason the iCal applet does not allow any changes to the time.
    Any suggestions/help will be greatly appreciated.

    Hi
    I am having the exact same problem you discussed and was wondering whether you ever found a solution.
    Cheers,
    Anna

  • Can I change the tablespaces when I make a Migration??????

    I have to do a migration from OWB 9.0.4 and Oracle 9.2.0.6 to OWB 10.1.0.4 and Oracle 10.2.0.1. I have a New Server.
    I have done a Partial Export/Import.
    Then as explain the OWB Installation Manual on Chapter 3 “Update to OWB 10.1 and Migrating Data” I follow the Migration...
    But I have a Doubt!!!!! In some places the manual say: YOU HAVE TO CREATE THE SAME TABLESPACES.
    For example:
    *) “Pre-create the tablespaces in your Oracle Database 10g environment to exactly match the tablespaces in your prior version of Oracle Database”
    *) “Whenever an upgrade instruction in this chapter requires creating a Warehouse Builder user, create the user with he identical schema name and default tablespaces as its prior counterpart in Warehouse Builder 9.0.4.x or 9.2.x”
    *) “In your Oracle Database 10g database instance, connect as the SYS user and create the new Warehouse Builder Design Repository user with the same name, the same default data tablespace, and the same temporary tablespace as your old Design Repository”
    *) Make sure the names and tablespaces you specify for your new Runtime Repository and Runtime Access user match the the names and tablespaces from your previous Oracle Database instance. Both default and temporary tablespaces must match the previous version.
    *) Make sure to assign to each new schema the same name, the same default data tablespace, and the same temporary tablespace as in the previous version of your Warehouse Builder Target Schemas.
    Why is it????????
    I NEED TO CHANGE AND REORGANIZATE THE TABLESPACE NAMES IN THE NEW SERVER.
    Can I change the Target Schemas/Sources Schemas/Design Repository Schema/Runtime Repository Schema tablespaces when I Migrate??????

    Can't think of an easy way to do thie.
    You could import by table - all tables in ts1, then change the users default tablespace, to ts2 etc.
    Bit long-winded.
    You could also pre-create the tables in the schema using the indexfile option on imp(port).
    do imp...indexfile=impexp.sql
    This creates a file (impexp.sql) with the table, index and constraints creation syntax.
    You need to edit this to get the table creation sql, then change the tablespaces for each of the tables to the ones you want.
    You run this to create the empty tables, then when you import, use ignore=y.
    Bob

  • How can I change the event display in an APEX 4.2 calendar?

    Colleagues:  The APEX calendar feature is pretty neat, but of course there's a feature I'd like to use but can't find how/where to change it.  In other calendaring apps (e.g., Thunderbird) when an event is logged, like tomorrow's staff meeting, the time is blocked out vertically for the length of the event.  So for example: if staff is from 2pm-4pm, both 2-3 and 3-4 are colorized so a quick visual will show what times during the day are not available.
    The APEX calendar will show a colored bar for the start time of the event, but not a blocked-out vertical for the entire event.  Make sense?  Any way I can change the calendar/event view to accommodate this?
    Thanks for your help.
    Broc Norman II
    Sr DBA
    GIT / Hillsboro Manufacturing Site

    use - Region Plugin - SkillBuilders Calendar which is useful to display event as your requirement
    Try this.
    Pars.

  • How can I change the font when creating an e-mail in Outlook's web-mail mode?

    I am new to Firefox. When I go to a web-mail server, I can click on sending a new message. While there, I cannot find any way to change the font, font size, or color of the text. All of these options were available in a toolbar at the top of the message window when I am using Internet Explorer 9 or IE8. I have looked through all of the help files provided by Firefox, and found nothing about changing fonts, etc.
    Thanks for trying to help

    Hi Jaime,
    Are you saying, you are getting junk characters in the email attachment? Then pls check the following. Since you want to send Japanese fonts, please pass language 'J' in both  objpack-obj_langu = '3' & doc_chng-obj_langu  = '3' instead of '3' please replace it with 'J'.
    Another thing which you may have to check is the SCOT device type. As I understand from my basis colleague, this may also affect your attachment fonts since the emails are sent through SCOT. Go to transaction SCOT-> Settings-> Device types for format conversion. Check whether wrong device type is defined for Japanese there. Hope this helps
    Regards,
    Gokul

  • Can you change the factor on each item in the same pricelist!

    In the pricelists, if you go in them you'll see it shows the item code, item description then base price, factor and then the price. But can you make that factor different for each item in the same pricelist? In the database it stores the factor for each item.
    Any answer is appreciated.

    First-of-all you should know that you are not supposed to override SAP Business One data in the database through SQL...
    In the application the factor column is read-only in case it is displayed.
    This indicates that the factor is not expected to be different per item. Instead, if you change the item price, the "Manual" flag gets automatically checked.
    I.e. either you use the factor for the price list for the item as well - or you specify a manual price.
    These are the scenarios expected by the applications logic.
    If you change that (violating the rules not to use SQL for writes), you do that at your own risk and risk unexpected behavior.

  • Can I change the tablespace when importing a schema

    I need to import a schema in a different tablespace other than the original.
    When I importing the .dmp the tables are created in the tablespace where they from.
    I don't want it, I need that the tables use the new tablespace.

    Can't think of an easy way to do thie.
    You could import by table - all tables in ts1, then change the users default tablespace, to ts2 etc.
    Bit long-winded.
    You could also pre-create the tables in the schema using the indexfile option on imp(port).
    do imp...indexfile=impexp.sql
    This creates a file (impexp.sql) with the table, index and constraints creation syntax.
    You need to edit this to get the table creation sql, then change the tablespaces for each of the tables to the ones you want.
    You run this to create the empty tables, then when you import, use ignore=y.
    Bob

  • How can I change the event registration layout for registration information entry fields?

    Hello,
    I want to change the arrangement of the event registration entry fields.  For example I want t arrange them into 2 columns and add some comment to them.  The template editor doesn't allow to select a specific field.  Who can help?

    Hello
    As far as I know you cannot edit registrations data. What you can do it to contact Toshiba and explain the situation.
    For contact use follow mail address: [email protected]
    You must contact Toshiba in your country. Contact details can be found at http://eu.computers.toshiba-europe.com/innovation/contact_toshiba.jsp
    Good luck!
    Message was edited by: ADMIN

Maybe you are looking for