Error when validating

is it possible to put in the when-validate-item trigger a method to catch a specific error ie i am getting the FRM-50016 error when validating. This is fine and is expected but I want to display this information to the user as a message or so so do i put in the when-validate-item trigger:
if error 50016 then
end if
or something along those lines?
Thanks.

You can use an Annonymous Block in your When-Validate-Item (WVI) trigger, which will allow you to handle any Exceptions that occur within the annonymous block. Unless you need specific logic to occur as a result of the exception, typically, you would handle the exception in the On-Error trigger. For example:
/* WVI */
BEGIN
   ... Trigger logic here ...
EXCEPTION
   WHEN OTHERS THEN
       IF Error_Code = 50016 THEN
           ... Exception Specific Logic here ...
       END IF;
END;Personally, I prefer to keep this type of Exception Handling in the On-Error trigger.
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.
Edited by: CraigB on Nov 10, 2010 9:57 AM

Similar Messages

  • Error occurred in deployment step 'Install app for SharePoint': There were errors when validating the App manifest.

    Hi everyone,
    I `m getting error message like this  "Error occurred in deployment step 'Install app for SharePoint': There were errors when validating the App manifest.". when i try to debug the application with "Start Action"="Internet Explorer".This
    application  is  an apps for office application with Oauth with Office 365
    Any help in this regard is greatly appreciated 
    Thanks!!
    Santosh Sutar

    Thanks Fei for your time.
    >>>I would suggest that you create a new project and set it start action with 'Internet Explorer'
    to see whether this issue could be reproduced.  If no, we can compare the difference between the two menifest files.
    As per your suggestion above ,With new project,I can debug with with start action "Internet Explorer" and I
    could not see much difference between the manifest files.
    Please find below my manifest file for the reference .
    <?xml version="1.0" encoding="UTF-8"?>
    <!--Created:cb85b80c-f585-40ff-8bfc-12ff4d0e34a9-->
    <OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="TaskPaneApp">
      <Id>084cd6cd-2908-44d1-a5cf-4fa029aec211</Id>
      <Version>1.0.0.0</Version>
      <ProviderName>[Provider name]</ProviderName>
      <DefaultLocale>en-US</DefaultLocale>
      <DisplayName DefaultValue="Office 365 MVC" />
      <Description DefaultValue="Office 365 MVC"/>
      <AppDomains>
        <AppDomain>https://login.microsoftonline.com</AppDomain>
      </AppDomains>
      <Hosts>
        <Host Name="Document" />
        <Host Name="Workbook" />
      </Hosts>
      <DefaultSettings>
        <SourceLocation DefaultValue="~remoteAppUrl/Home/Index/" />
      </DefaultSettings>
      <Permissions>ReadWriteDocument</Permissions>
    </OfficeApp>
    Please suggest on this.
    Thanks !!
    Santosh Sutar

  • 'Install App for SharePoint' There were errors when validating the App Package

    Hello,
    When testing with an app, I tried to add an
    app event receiver before learning that remote event receiver are not allowed with
    Sharepoint-hosted app. So I reseted the Handle app installed and
    Web Project properties of my project and tried to redeploy and this error occurred :
    'Install App for SharePoint' There were errors when validating the App Package
    Something other than the project's properties have been modified but I don't know what.

    I think the best way to figure real reason out is to look at ULS logs.
    This is example, what I had:
    Unexpected        App Packaging: CreatePackage: Unexpected exception: There were errors when validating the App package: There were errors when validating the App Package. Other warnings / errors associated with this
    exception:  The current version of SharePoint is less than the SharePointMinVersion specified in the app manifest. CurrentVersion='15.0.4693.1000', SharePointMinVersion='16.0.0.0'.

  • Made an error when validating giftcard can I try again ?

    Made an error in validating itunes gift card screen said the card was redemmed but to inaccurate email address therefore couldn't be verified.can I re redeem card or get money credited to new account ?

    Try here >  Mac App Store: "An unknown error occurred (100)" when purchasing

  • Windows 7 64-bit 0xC004E003 error when validating registration code

    I am the original owner (2010-03-31) of an ASUS K0IJ laptop that came with Windows 7 64-bit pre-installed.
    Windows 7 has run properly for almost exactly two years.  As of this afternoon, I suddenly began receiving "This copy of Windows is not genuine" errors.  Yes, errors  — I am the original and legitimate owner of this computer and
    its OEM disc.  I also ran the registration process when I first purchased the computer.
    Running WindowsActivationUpdate.exe did not correct this problem.
    In Computer —> Properties —> Windows Activation, the "Supply a Different Activation Key" tool will not accept the original OEM license key that has worked for two years. 
    If instead I try using the other W7 serial number I have for this computer, I receive the aforementioned 0xC004E003 error.  Moreover, the process does not offer me any other working options such as phone registration: I instead get caught in a "site
    loop" where I am referred around and around in a circle to the same set of three or so unhelpful pages.
    The MGAdiag.exe tool returned the following:
    ------ Begin MGAdiag.exe output ------
    Diagnostic Report (1.9.0027.0):
    Windows Validation Data-->
    Validation Code: 50
    Cached Online Validation Code: 0x0
    Windows Product Key: *****-*****-2QWT6-HCQXJ-9YQTR
    Windows Product Key Hash: PVjSC5x6njvqunmbCY3lOD7rYDo=
    Windows Product ID: 00359-OEM-8992687-00007
    Windows Product ID Type: 2
    Windows License Type: OEM SLP
    Windows OS version: 6.1.7601.2.00010300.1.0.003
    ID: {843BC42F-FD4C-41D8-9D79-5D7C36808118}(1)
    Is Admin: Yes
    TestCab: 0x0
    LegitcheckControl ActiveX: N/A, hr = 0x80070002
    Signed By: N/A, hr = 0x80070002
    Product Name: Windows 7 Home Premium
    Architecture: 0x00000009
    Build lab: 7601.win7sp1_gdr.130104-1431
    TTS Error:
    Validation Diagnostic:
    Resolution Status: N/A
    ------ Begin MGAdiag.exe output ------
    At the risk of stating the obvious, I'm not only frustrated, I'm angry. I am the original owner of this computer which I purchased from a legitimate dealer, and the computer is running the instance of Windows 7 64-bit that came with it.
    Why is Microsoft subjecting me  to this insult and aggravation?
    Sincerely,
    sfosparky

    Are you reading the activation key correctly? Did you call Microsoft or Asus and ask them about the problem. You can also set the laptop back to factory specs (But will lose everything you put on it after you bought it) and it should self activate. I'd be
    on the phone to Asus and if that doesn't help call Microsoft.
    Found the following on the internet.
    The problem appears to be in the Licensing Store - please try the following.....
    Recreate the Licensing Store with the correct data.
    1)Go to the SYSTEM32 folder on the C drive
    2)C:/Windows/System32
    3) Find the file CMD.exe
    4) Right-Click on CMD.exe and select 'Run as Administrator'
    5) Type: net stop slsvc (it may ask you if you are sure, select yes)
    6) Type: cd %windir%\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareLicensing
    7) Type: rename tokens.dat tokens.bar
    8) Type: cd %windir%\system32
    9) Type: net start slsvc
    10) Type: cscript slmgr.vbs -rilc (It may take a long time for this to complete, please be patient)
    11) Restart your computer twice. 
    You may be asked to enter your COA Key and/or Activate. – if asked for the Key, use the one on your COA sticker on the machine’s case

  • Schema validation error when validating dom tree in memory

    Hello folks,
    I have the following problem:
    I construct a xml-file via the DOM API and before writing to file, I want to validate the DOM tree against a existing schema file.
    But I always receive following error:
    In line 0 of buffer:
    LSX-00006: No default namespace for "conf_file"
    Validation failed, error 6
    Here's what the xml file looks like:
    <conf_file xmlns="http://www.sun.com/gridware/configuration_file_format" >
    <conf_version>0</conf_version>
    <conf_entry>
    <param>test</param>
    <value>0</value>
    </conf_entry>
    </conf_file>
    The curious thing about that is, when first writing the DOM tree to file via printStream() and then validating the written xml file againstr the schema everything works fine.
    Do you know what I doing wrong ?
    Thanks ...
    Harti

    It is a bug.

  • Spry css ERROR when validating

    These are the errors I got when attempting to validate my
    spry css - does anyone know how i fix them.
    Cheers Kylie
    56 .AccordionPanelTab Property -moz-user-select
    doesn&apos;t exist : none
    57 .AccordionPanelTab Property -khtml-user-select
    doesn&apos;t exist : none

    I have to say as someone new to web-design, I really don't understand why this won't validate..
    I mean, I get the technical side of it - that mozilla and linux require additional or different coding to appear and act the way it's intended to. But why even have validation then? Why have codes that specify one complete set of rules - when every browser acts, behaves, and appears differently? If w3 standards are to be obeyed, then why are non-compliant browsers still used?
    For example, when create a .css - that stylesheet should define the style in all browsers. I shouldn't, in my opinion anyway, need various hacks to compensate for specific instances. That's what standards are (supposed to be) for! To eliminate the need for special and extreme instances!
    It seems to me (again, a newbie to all of this - so I don't want anyone to think I'm challenging them, just seeking answers), that either the browsers that refuse to comply to the same set of standards should be slowly weeded out by those of us who refuse to use them for their negligence, or that w3 standards should be completely ignored for their inability to represent all browsers.
    or maybe everyone just needs some time to catch up? I'd love your opinion on this, Mr. Powers.

  • Sdo error when validating exterior polygon

    All, I'm getting an error and I can't see my problem...Any ideas?? Thanx in advance,
    Here is my corner coordinates (I can't use the rectangle object..Don't ask why...It will confuse you)
    NELON NELAT SWLON SWLAT
    97 90 -2 61
    I format the corners by swapping the lat/longs
    UL = SWLON,NELAT (-2, 90)
    LL = SWLON, SWLAT (-2,61)
    LR = NELON, SWLAT (97,61)
    UR = NELON, NELAT (97,90)
    and then I close the polygon with point 1 (-2,90)
    I format the elem_info_array as
    starting offset = 1 (beginning offset of the first coordinate (it is not 0 indexed)
    sdo_etype = 1003 (defined as an exterior polygon ring that must be specified in counterclockwise order)
    sdo_interpretation = 1 (simple polygon whose vertices are connected by strait line segments)
    However, when I validate the geometry I get:
    ORA-13356: adjacent points in a geometry are redundant
    SDO_GEOMETRY(2003, 8307, NULL
    , SDO_ELEM_INFO_ARRAY(1, 1003, 1)
    , SDO_ORDINATE_ARRAY(-2, 90, -2, 61, 97, 61, 97, 90, -2, 90))
    I think it thinks that the pairing is
    -2, ?
    90,-2
    61,97
    61,97
    90,-2
    90, ?
    Here is the user_sdo_geom_metadata entry: (2 dimensional...right?)
    INSERT INTO USER_SDO_GEOM_METADATA
    VALUES ('geomtable'
    ,'geometryobj'
    ,MDSYS.SDO_DIM_ARRAY(MDSYS.SDO_DIM_ELEMENT('X', -180.0, 180.0, 0.00005)
    ,MDSYS.SDO_DIM_ELEMENT('Y', -90.0, 90.0, 0.00005))
    ,8307);

    You are working in longditude/latitude. The last two points in your set are:
    LON, LAT (97,90)
    LON, LAT (-2,90)
    Both of these are at 90 degrees north, ie the north pole. They are the same point, so the validation routine's message is correct.

  • Error when "Validating dic"

    When i got to build a DVD gets to validating disc then ejects the disc saying "Could not erase disc" even though its a brand new BLANK disc any ideas.?

    Similar problem with Encore2.
    Use Samsung 'Pleomax' 4X DVD-RW
    Burner LG GSA-H22LBB
    IF DVD-RW is NOT blank burner ejects the disc saying "Could not erase disc"
    Formatting DVD-RW Disk in a PANASONIC DVD Recorder/Player first enables Encore2 to burn project to it (NO error message(s))
    THIS IS NOT A PROBLEM IN ENCORE 1.5, the DVD-RW is erased and re-burned.

  • Xi 3.1 SP3 fp3.2 : Syntax error when validating row restriction

    Hi all,
    we currently migrating from Xi R2 to Xi 3.1 sp3 fp 3.2
    The database is sql server 2005
    I have a universe with a row restriction.
    Here is the syntax :
    ISNULL(COMMERCIAUXREF_ACC.Ptf_TopComPriv,1)=1
    COMMERCIAUXREF_ACC is an alias to the table dbo.VW_COMMERCIAUXREF_ACC
    In XiR2, when i create the restriction, i check the syntax --> OK
    So I :
    - import the universe on Xi 3.1 SP3 fp3.2
    - open the universe with designer
    - open the restriction
    - check the restriction --> Syntax error
    I've made no change between the original universe on Xi R2 and the one on Xi 3.1 sp3
    I've errors in designer log file
    I've made 2 tests :
    - The first one with oledb connector (changes made in oledb.sbo file)
    Error log :
    DBD:[Microsoft OLE DB Provider for SQL Server] : Invalid object name 'COMMERCIAUXREF_ACC'.
    BOUnvRowsTab::Parse CS Error - Syntax is Wrong
    - The second one with sql 2005 native client (changes made in oledb.sbo file), same issue,
    Error log:
    DBD:[Microsoft SQL Native Client] : Invalid object name 'COMMERCIAUXREF_ACC'.
    BOUnvRowsTab::Parse CS Error - Syntax is Wrong
    Thx

    I solved the problem.
    The cause would be: Multiple Designer versions installed on the client machine.
    You should uninstall all the existing multiple versions(Ex: XI Release2, XI3.0, XI3.1) of Business Objects Designer.
    Re-install the latest upgraded version of designer in use, as that on server machine.
    Cheers
    Giuseppe De Vitis

  • Error when validating an Application in Hyperion Planning

    To all,
    While validating an Application, we are recieving an error message. This is an existing application that has been in service for some time. We are having the same werro message on a new application, so it is a system issue, versus an application issue. Has anyone seen this type of error message before.
    =====================================================================
    Trace: com.hyperion.awb.web.appmanager.Service.validate(Service.java:128)
    com.hyperion.awb.web.appmanager.Action.validate(Action.java:231)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    Exception org.apache.axis.AxisFault rethrown
    Server stack trace:
    at Hyperion.DimensionServer.Validations.PlanningApplicationValidation.CheckRename(Int32 lastDeployedTxnID, TransactionHistoryRecord txnRecord, Dictionary`2 dimClassLookup, Dictionary`2 renamedMembers, Library& snapShot)
    at Hyperion.DimensionServer.Validations.PlanningApplicationValidation.<>c__DisplayClassd.<CheckForRenames>b__b(TransactionHistoryRecord txnRecord)
    at Hyperion.DimensionServer.DAO.TransactionManagerDAO.<>c__DisplayClass8.<CheckForRenames>b__7(DALDatasetCommand command)
    at Hyperion.DataAccessLayerCore.DataAccessLayer.ExecLoadSQL(String SQL, Action`1 onSetParams, Action`1 onRead, DatabaseContext context)
    at Hyperion.DataAccessLayerCore.DataAccessLayer.ExecLoadSQL(String SQL, Action`1 onSetParams, Action`1 onRead)
    at Hyperion.DimensionServer.DAO.TransactionManagerDAO.CheckForRenames(Int32 libraryID, Int32 masterApplicationID, Int32 applicationID, Int32 startTransactionID, Int32 endTransactionID, Action`1 action)
    at Hyperion.DimensionServer.Validations.PlanningApplicationValidation.CheckForRenames(String[] dimensionClasses)
    at Hyperion.DimensionServer.Validations.PlanningApplicationValidation.InternalValidate()
    at Hyperion.DimensionServer.Validations.ApplicationValidation.Validate(Application app)
    at Hyperion.DimensionServer.Proxies.ApplicationsProxy.Validate(ApplicationLocator locator)
    at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
    at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
    Exception rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    at Hyperion.DimensionServer.Interface.IApplications.Validate(ApplicationLocator locator)
    at Hyperion.DimensionServer.WebServices.Applications.Validate(ApplicationLocator locator)
    We are trying to trouble shoot this issue, and are at a loss as to where to look. We have restarted the server, and the services; with no success. I am able to access Hyperion, and perform queries; bit we can not update the application in regards to adding accounts, etc.
    Thank you in advance for your help.
    Sincerely,
    Jeff Vercher

    you haven't specified enough information to enable anyone to assist you.
    e.g. version of HFM? Are you creating in the HFM windows client (win32) or the web interface ? Did you go through all the configuration steps of registering the HFM with Shared Services in the first place? What domain, username and password are you using to log on ? Is the Shared Services running and can you see any empty projects in the Shared Services User Management Console? Which project name were you going to create the application in ?
    you are unlikely to get an answer via the forums unless you specify your problem in greater detail.
    if you have paid for maintenance for HFM product with Oracle Support, I would recommend you contact Oracle Support.

  • Error When Validating Tabs

    Hi there, I've inserted a spry tabbed panel into my page.
    I've inserted all the content and when I validated the page I got
    the following message: "The tag "li" doesn't have an attribute:
    "tabindex" in currently active versions. [XHTML 1.0 transitional]
    Not quite sure what I did wrong. Any suggestions?

    We us tabindex on some elements to make the widgets more
    accessible. As you have found, it is not valid but common browsers
    support it.
    If validating is more important to you, remove the tabindex
    attributes from the widgets.
    If you it is more important to have people able to use the
    keyboard to navigate the widget, leave them in.
    The Spry team made a choice to add them by default, knowing
    the conflict exists.
    Hope this helps.
    Donald Booth
    Adobe Spry Team

  • Error when validating css

    5
    Value Error : padding only 0 can be a length. You must put a unit after your number : 10 10
    Here is line 5: padding: 10;
    Does anyone know what i have to do to validate this line?
    Thanks

    The validator is looking for a unit such as em or px. For example, try:
          padding: 10px;
    HTH!

  • Recieving Error connecting to Planning server when validating BusinessRule.

    Hi,
    I am recieving an error when validating business rules.
    Internal error connecting with given connection information. Get details for more information.
    When I click on Get Detail I see the below information.
    Details:Error connecting to Planning server xxxxxx.
    Details:Exception occurred. Please check your log file for details.
    I do have one more issue I cannot access Applications through Web. Recieving the following error Unsuccessful Logon Check Log for details.
    Hyperion Planning Version is 9.2.
    Please help.
    Thanks.
    Edited by: user8887080 on Aug 18, 2010 1:39 PM

    I recommend logging into My Oracle Support and having a read of doc id - 763345.1
    It goes through different options for resolving business rules issues.
    Though you will need to be able to log into your planning applications first, make sure all your connection information is correc e.g. the connection details to the relational databases.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error when applying a XSLT transformation: No valid XSLT pro

    Dear All,
    I am getting following error when opening the "General Supplier Data" from Pre-Select Supplier.
    Error Message: "Error message: Error when applying a XSLT transformation: No valid XSLT program supplied"
    I have already read the related threads on SDN and checked the SAP Note 883896 and others. Even tried running the program UXS_DEL_NAVIGATION_NODE and UXS_ADD_MISSING_XSLT_NAME. But not able to solve the issue.
    Kindly Help.
    Regards,
    Sagar

    Hi Masa,
    Thanks for reply. I have checked this note. As note suggests, S_DEVELOP auth object is assigned to the user. and it has value *.
    Do I need to check anything else?
    Regards,
    Sagar

Maybe you are looking for

  • How to set target to Play button on begining DVD

    Man you dont use this program for a few months and you gotta take a course on it all over again. Ive completely forgotten how to set the PLAY button to activate at the beginning of the DVD. As in I was burning several DVDs and I tested them on my com

  • Present final report at the end of the form.

    We are working on a performance evaluation form. There´s a part of it where we specify performance factors, the qualification is from 1 to 5. If the qualification is between 1 & 2.9, it needs a developement plan. I would need two things, first if the

  • Iphoto would not import movies from Iphone 4 - ANYBODY ELSE HAS ISSUES?

    Hello, Yes Iphone 4 is so sexy. I have reception issues too unfortunatly , only where reception is weak anyway, but yes it happens... also iphoto would not import most of the times the iphone 4 videos? any suggestions why and how to fix it ? Many thx

  • Highlighting JList Items

    Hello Could anybody let me how to change the color of Few Items of JList. I know how to change the foreground color of an item which is selected. But, I need to show few items of JList in different color. Thanks in advance

  • Server include file throwing error

    http://www.sdmconsultingllc.com/philosophy/manage-digital-media-solution.html Original HTML: </tr>   <tr>     <td bgcolor="#000033"><!--#include file="../includes/bottom-links.php" --> </td>   </tr> </table> Final Source on URL Above </tr>   <tr>