What is "FND : Diagnostics %"  profile option used for ?

What is "FND : Diagnostics %" profile option used for ?
How is it different from "FND : Debug%" profiles ?

I guess my above update was misleading (Sorry for that) .. Please find below more details about (FND: Diagnostics) and (FND: Debug Log Enabled):
Both profile options are used to configure logging, the difference between them is (FND: Debug Log Enabled) is a database profile option used to configure logging while (FND: Diagnostics) is used to configure logging to screen.
Logging to screen provides:
- The ability to enable logging on a per HTTP request or per HTTP session basis.
- Dynamic configuration which does not require restarting any servers or changing any log profiles.
- A convenient lightweight mechanism to diagnose performance issues. Each message is timestamped to the millisecond.
If Logging to Screen is enabled, then the Java log messages generated for a particular HTTP Request-Response are buffered in memory and appended to the end of the generated HTML page.
This feature does not affect any existing configurations of file or database logging. File or database logging continues to behave per the configured middle tier log properties and/or log profile values.
Note that this mechanism currently provides only Java layer messages. Regular file or database logging should be used if messages from other layers (e.g., PL/SQL) are needed.
In brief ..
FND: Diagnostics (Self-Service) --> To see this, Login as that user and navigate to self-service, Click the Diagnostics link in the upper right corner
- Default = “No”
- Recommendation = “No”
- Requires APPS password to use Examine function
- Usually set to “Yes” during development

Similar Messages

  • "FND: Diagnostics" profile option is disabled

    Hi,
    When I choose the system administration responsibility and click on JSP class information under Diagnostics, I get a message "FND: Diagnostics" profile option is disabled. What should I do to avoid this message and see the ouput.
    Thanks.

    Hi All,
    Thanks much for your help. The FND:Diagnostics setting at site level did help. The other levels are disabled. I actually did not bounce apache. After enabling FND:Diagnostics at site level, logged out and logged in again and this helped.
    Thanks.

  • Page Erroring if Fnd:Diagnostics profile is not set...

    Hi,
    When I run the OAF page and click on Apply the page was erroring as the Fnd:Diagnostics profile was not set I could not see the reasons for error. So I enabled the Fnd:Diagnostics profile at the responsibility level and when I openeed the page and clicked on apply, now the page is not erroring out. Is there any connection between this profile with the pages erroring out? Note: I am using pageContext.writeDiagnostics to log the comments....
    Thanks,
    Srikanth

    Hi,
    I am facing the similar issue
    but in my development instance it is working fine when i click on Yes or No button in my Dialog page,
    the issue arises when i try it out in my TEST instance or in SUPPORT instance,
    how can this work fine in one instance and fail in the others.
    The code in my PFR:
    String action = pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM);
    String parrowid = pageContext.getParameter("paramRowid");
    OAApplicationModule am=(OAApplicationModule)pageContext.getApplicationModule(webBean);
    if ("deleterecord".equals(action))
    OAViewObject vo = (OAViewObject)am.findViewObject("HyperionNPIEOVO1");
    OAException dmsg=new OAException(" Do you wish to delete the Record? Please Confirm ");
    OADialogPage dpage=new OADialogPage(OAException.CONFIRMATION,dmsg,null,"","");
    dpage.setOkButtonLabel("Yes");
    dpage.setNoButtonLabel("No");
    dpage.setOkButtonToPost(true);
    dpage.setNoButtonToPost(true);
    dpage.setOkButtonItemName("DeleteYes");
    dpage.setPostToCallingPage(true);
    java.util.Hashtable ht=new java.util.Hashtable(1);
    ht.put("rowid",parrowid);
    ht.put("action",action);
    dpage.setFormParameters(ht);
    pageContext.redirectToDialogPage(dpage);
    if(pageContext.getParameter("DeleteYes")!=null)
    System.out.println("In Dialog");
    String s2=pageContext.getParameter("rowid");
    String s1=pageContext.getParameter("action");
    Serializable paramDel[] = {s1, s2};
    am.invokeMethod("deleteMethod",paramDel);
    plzzz provide me your valuable suggestions on this.
    Thanks in Advance,
    Afzal.
    Edited by: Afzal on Sep 20, 2011 9:28 PM

  • What brands and type can I use for my iMac 20" internal Hard Drive?

    what brands and type can I use for my iMac 20" aluminium internal Hard Drive?
    can I use WD caviar black?
    is it too hot?

    If you are replacing the drive because the existing one is faulty, that's one thing. If you just want more space, you should take advantage of having a decently fast and relatively small capacity drive in there now (instead of a huge drive). Get an external FireWire drive and off-load most of your user data there. Make your internal drive dedicated to mostly your OS and app files, with plenty of free space. That setup will make your iMac run more efficiently. I won't go into more detail, because I'm not answered your specific question... You can post back with any questions, if interested...
    To answer your questions...
    You should be able to use any SATA 3.5-inch drive internally, but you should probably keep it at or under 1TB. The main concerns are power usage and heat dissipation. A drive like the WD Caviar Green would be ideal in terms of power and heat, but they do have slower (or variable) spin rate. I have one as an external drive (750GB) and it is amazingly quiet and cool. If I had to replace the internal drive because the current drive failed, I'd put it inside. I'll trade a bit of pure performance for the efficiency (including low noise), and these drives are more advanced with higher data density and larger cache, so the trade-off from slower spin rate may not be so bad.
    You can check your current drive's model number (which is shown in System Profiler) to get the specs online. The stock drive in my old +Late 2006+ iMac is a 7200 RPM drive. The Caviar Black is a 7200 RPM drive, with a newer design. So if you want to use a Caviar Black in there, I think it would be OK.

  • What's the best flash to use for nighttime sports games?

    What's the best flash to use for nighttime sporting events? I have a rebel XT and I'm pushing it to its limits trying to stop the action. I've tried a speedlite 430 but it didn't have a hook up for an external battery pack and I was told I'd need the extra power. Just tried the 580ex ll on Friday but at the 1/1 setting, it didn't flash for each frame in a burst, even with the external power. I should have backed it down to 1/4 but didn't know at the time. Any thought on a really good flash for night sports? Is the 580 a good choice?

    JUst as Tim_S said. YOu will want a external battery pack. Unforatannly the 430 does not have the option to plug in a external battery pack so will want to pick up a 580 or one of the new 600 series. 
    Then you start looking at the battery packs. I recommend Quantum power packs
    http://qtm.com/index.php/products/2012-05-17-18-18-59/turbos
    5D III, 8-15L, TSE 24L, 24-105L, 85L, 70-200L, EX600 X2

  • Page erring if FND Diagnostics profile is not set

    Hi,
    I did see the old thread, but I do not have the same code issue.  Here is the part of my CO code that seems to be erring.  This is a dialog page with Yes/No button and error occurs when the Yes button is clicked.  If is set the FND Diagnostics profile, the error goes away.  Any help is greatly appreciated.
    TIA,
    Alka
    if (pageContext.getParameter("YesButton")!=null)
          //am.invokeMethod("applyBatch");
          HashMap cpParameters = new HashMap();
          String requestId = "";
          requestId = am.invokeMethod("newBatch").toString();
          String id = ""+ requestId + "";
          cpParameters.put(requestId, id); 
          //Test modifying the followint to call DCRD_OKS_MASS_UPD_VIEW_REQ
          String url="OA.jsp?akRegionCode=FNDCPREQUESTVIEWPAGE&akRegionApplicationId=0&REQUESTID=requestId";
          pageContext.setForwardURL(url
                                   ,null //not needed as we are retaining menu context
                                   ,OAWebBeanConstants.KEEP_MENU_CONTEXT
                                   ,null //not needed as we are retaining menu context
                                   ,cpParameters //pass the hashMap that contains values for all of the parameters
                                   ,true //retain AM
                                   ,OAWebBeanConstants.ADD_BREAD_CRUMB_YES
                                   ,OAWebBeanConstants.IGNORE_MESSAGES);

    public class OksBatchCO extends OAControllerImpl
      public static final String RCS_ID="$Header: https://svn.datacard.com/svn/oracle_erp/dev/trunk/dcrd/java/src/com/datacard/oracle/apps/dcrd/oksupdate/webui/OksBatchCO.java 71353 2013-10-22 14:58:23Z haycrae $";
      public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
       * Layout and page setup logic for a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
        //Check for back navigation
        if (!pageContext.isBackNavigationFired(false))
          TransactionUnitHelper.startTransactionUnit(pageContext, "OksBatchesTxn");
          if ((pageContext.getParameter("Ok") == null)  && pageContext.getParameter("Cancel") == null)
              super.processRequest(pageContext, webBean);
          OAApplicationModule am = pageContext.getApplicationModule(webBean);
          OksBatchesVOImpl batchvo = (OksBatchesVOImpl)am.findViewObject("OksBatchesVO1");
          OAHideShowHeaderBean lineHS = (OAHideShowHeaderBean) webBean.findChildRecursive("BatchLinesHSRN");
          OAHideShowHeaderBean contractHS = (OAHideShowHeaderBean) webBean.findChildRecursive("ContractDtlsHSRN");
          OAHideShowHeaderBean billHS = (OAHideShowHeaderBean) webBean.findChildRecursive("BillingPeriodsHSRN");
          OAMessageComponentLayoutBean batchDetailView = (OAMessageComponentLayoutBean) webBean.findChildRecursive("BatchDetailsViewRN");
          OAMessageComponentLayoutBean batchDetail = (OAMessageComponentLayoutBean) webBean.findChildRecursive("BatchDetailsRN");
          OAButtonBean applyButton = (OAButtonBean) webBean.findChildRecursive("ApplyBatchBtn");
          OAMessageComponentLayoutBean itemDflt = (OAMessageComponentLayoutBean) webBean.findChildRecursive("ItemDfltsRN");
          OAMessageComponentLayoutBean acctSiteDflt = (OAMessageComponentLayoutBean) webBean.findChildRecursive("AcctSiteDfltRN");
          OAMessageComponentLayoutBean acctSiteFFDflt = (OAMessageComponentLayoutBean) webBean.findChildRecursive("AcctSiteFFDfltsRN");
          OAMessageComponentLayoutBean BusPurDflt = (OAMessageComponentLayoutBean) webBean.findChildRecursive("BusPurDfltsRN");
          OASubTabLayoutBean s = (OASubTabLayoutBean)webBean.findChildRecursive("BatchLinesSTRN");
          OAMessageComponentLayoutBean contractDflt = (OAMessageComponentLayoutBean) webBean.findChildRecursive("ContractDtlsRN");
          OAAdvancedTableBean billPeriods = (OAAdvancedTableBean) webBean.findChildRecursive("BillingPeriodsRN");
          String batchId = pageContext.getParameter("batchId");
          String viewOnly = pageContext.getParameter("viewOnly");
          System.out.println("batchId is "+batchId);
          System.out.println("viewOnly is "+viewOnly);
          if(!pageContext.isFormSubmission())
            if(batchId == null || batchId.equals(""))
              Serializable[] parameters = {null};
              am.invokeMethod("createBatch", parameters);
              lineHS.setRendered(Boolean.FALSE);
              batchDetailView.setRendered(Boolean.FALSE);
              batchDetail.setRendered(Boolean.TRUE);
              contractHS.setRendered(Boolean.FALSE);
              billHS.setRendered(Boolean.FALSE);
              applyButton.setText("Next");
            else
              Serializable[] params = {batchId};
              am.invokeMethod("createBatch", params);
              lineHS.setRendered(Boolean.TRUE);
              batchDetailView.setRendered(Boolean.TRUE);
              batchDetail.setRendered(Boolean.FALSE);
              contractHS.setRendered(Boolean.TRUE);
              billHS.setRendered(Boolean.TRUE);
              Serializable[] parameters = {batchId};
              am.invokeMethod("initDetails", parameters);
              applyButton.setText("Apply");
          OksBatchesVORowImpl row = (OksBatchesVORowImpl)batchvo.first();
          if ("Y".equals(viewOnly) && batchId != null && !batchId.equals(""))
             ClientUtil.setViewOnlyRecursive(pageContext, webBean);
             row.setAttribute("NotUpdate", Boolean.FALSE);
             //Do not show update button if the batch is not updatable
             if((row.getAttribute("BatchStatus")!=null&&!row.getAttribute("BatchStatus").equals("")&&row.getAttribute("BatchStatus").equals("CANCELLED")||row.getAttribute("BatchStatus").equals("COMPLETE")))
               row.setAttribute("Update", Boolean.FALSE);
             else
             row.setAttribute("Update", Boolean.TRUE);
          else if ("N".equals(viewOnly) && batchId != null && !batchId.equals(""))
            if(row.getAttribute("BatchStatus")!=null&&!row.getAttribute("BatchStatus").equals("")&&!row.getAttribute("BatchStatus").equals("CANCELLED") && !row.getAttribute("BatchStatus").equals("COMPLETE"))
              row.setAttribute("NotUpdate", Boolean.TRUE);
              row.setAttribute("Update", Boolean.FALSE);
              if(row.getAttribute("BatchStatus")!=null&&!row.getAttribute("BatchStatus").equals("")&&!row.getAttribute("BatchStatus").equals("NEW"))
                if(row.getIbProcCount()!=null && !row.getIbProcCount().equals(new Number(0)))
                  ClientUtil.setViewOnlyRecursive(pageContext, itemDflt);
                if(row.getWrtyProcCount()!=null && !row.getWrtyProcCount().equals(new Number(0)))
                  OAMessageLovInputBean contractNumber = (OAMessageLovInputBean)webBean.findChildRecursive("ContractNumber");
                  contractNumber.setReadOnly(Boolean.TRUE);
                if((row.getOksProcCount()!=null && !row.getOksProcCount().equals(new Number(0))) || (row.getCompleteCount()!=null && !row.getCompleteCount().equals(new Number(0))))
                  ClientUtil.setViewOnlyRecursive(pageContext, contractDflt);
                  ClientUtil.setViewOnlyRecursive(pageContext, billPeriods);
                  row.setAttribute("NotUpdate", Boolean.FALSE);
                  row.setAttribute("Update", Boolean.FALSE);
                ClientUtil.setViewOnlyRecursive(pageContext, acctSiteDflt);
                ClientUtil.setViewOnlyRecursive(pageContext, acctSiteFFDflt);
                ClientUtil.setViewOnlyRecursive(pageContext, BusPurDflt);
            else
              row.setAttribute("NotUpdate", Boolean.TRUE);
              row.setAttribute("Update", Boolean.FALSE);
          else
            row.setAttribute("NotUpdate", Boolean.TRUE);
            row.setAttribute("Update", Boolean.FALSE);
          //Set Approved as default open tab
          if( !s.isSubTabClicked(pageContext))
            s.setSelectedIndex( pageContext, 0);
            Serializable[] parameters1 = {"SITES"};
            am.invokeMethod("tabDefault",parameters1);
          System.out.println("viewOnly="+viewOnly);
          OAMessageFileUploadBean uploadBean = (OAMessageFileUploadBean)webBean.findChildRecursive("SourceFileName");
          // set file name display
          OADataBoundValueViewObject displayNameBoundValue = new OADataBoundValueViewObject(uploadBean, "SourceFileName");
          uploadBean.setAttributeValue(DOWNLOAD_FILE_NAME,displayNameBoundValue);
          if (batchId != null)
            String countS = "";
            String countI = "";
            String countW = "";
            String countO = "";
            String countC = "";
            String countCc = "";
            OAViewObject linevo = (OAViewObject)am.findViewObject("OksBatchesVO1");
            if(!linevo.isExecuted())
              linevo.executeQuery();
            countS = linevo.first().getAttribute("SiteCount").toString();
            countI = linevo.first().getAttribute("IbCount").toString();
            countW = linevo.first().getAttribute("WrtyCount").toString();
            countO = linevo.first().getAttribute("OksCount").toString();
            countCc = linevo.first().getAttribute("CancelCount").toString();
            countC = linevo.first().getAttribute("CompleteCount").toString();
            OALinkBean siteLink = (OALinkBean)webBean.findChildRecursive("Sites");
            siteLink.setText("Sites ("+countS+")");
            OALinkBean ibLink = (OALinkBean)webBean.findChildRecursive("Instances");
            ibLink.setText("Instances ("+countI+")");
            OALinkBean wrtyLink = (OALinkBean)webBean.findChildRecursive("Warranties");
            wrtyLink.setText("Warranties ("+countW+")");
            OALinkBean oksLink = (OALinkBean)webBean.findChildRecursive("Contracts");
            oksLink.setText("Contracts ("+countO+")");
            OALinkBean ccLink = (OALinkBean)webBean.findChildRecursive("Cancelled");
            ccLink.setText("Cancelled ("+countCc+")");
            OALinkBean cLink = (OALinkBean)webBean.findChildRecursive("Complete");
            cLink.setText("Complete ("+countC+")");
            //Message after Apply button is clicked
            if(pageContext.getParameter("apply")!=null && pageContext.getParameter("apply").equals("Y"))
              OksBillingPeriodsVOImpl billvo = (OksBillingPeriodsVOImpl)am.findViewObject("OksBillingPeriodsVO2");
              OksBillingPeriodsVORowImpl billrow = (OksBillingPeriodsVORowImpl)billvo.last();
              if(billrow!=null)
                if(billrow.getEndDate()!=null && row.getEndDate()!=null && billrow.getEndDate().dateValue().getTime()!=row.getEndDate().dateValue().getTime())
                  OAException confirmMessage = new OAException("Billing Schedule end date does not match Contract end date.  Please make sure to fix the Billing Schedule.",OAException.WARNING);
                  pageContext.putDialogMessage(confirmMessage);
            OAAdvancedTableBean oatb = (OAAdvancedTableBean)webBean.findChildRecursive("BatchLinesRN");
            UINode uinode = oatb.getTableActions();
            ((OAWebBean)uinode).setRendered(true);
            OAAdvancedTableBean oatb1 = (OAAdvancedTableBean)webBean.findChildRecursive("BatchLinesRN1");
            UINode uinode1 = oatb1.getTableActions();
            ((OAWebBean)uinode1).setRendered(true);
            OAAdvancedTableBean oatb2 = (OAAdvancedTableBean)webBean.findChildRecursive("BatchLinesRN2");
            UINode uinode2 = oatb2.getTableActions();
            ((OAWebBean)uinode2).setRendered(true);
            OAAdvancedTableBean oatb3 = (OAAdvancedTableBean)webBean.findChildRecursive("BatchLinesRN3");
            UINode uinode3 = oatb3.getTableActions();
            ((OAWebBean)uinode3).setRendered(true);
            OAAdvancedTableBean oatb4 = (OAAdvancedTableBean)webBean.findChildRecursive("BatchLinesRN4");
            UINode uinode4 = oatb4.getTableActions();
            ((OAWebBean)uinode4).setRendered(true);
            OAAdvancedTableBean oatb5 = (OAAdvancedTableBean)webBean.findChildRecursive("BatchLinesRN5");
            UINode uinode5 = oatb5.getTableActions();
            ((OAWebBean)uinode5).setRendered(true);
        else
          if (!TransactionUnitHelper.isTransactionUnitInProgress(pageContext, "OksBatchesTxn",    true))
            OADialogPage dialogPage = new OADialogPage(NAVIGATION_ERROR);
            pageContext.redirectToDialogPage(dialogPage);
       * Procedure to handle form submissions for form elements in
       * a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
        OAApplicationModule am = pageContext.getApplicationModule(webBean);
        OksBatchesVOImpl batchvo = (OksBatchesVOImpl)am.findViewObject("OksBatchesVO1");
        Row batchrow = batchvo.getCurrentRow();
        String batchId = pageContext.getParameter("batchId");
        System.out.println();
        if (pageContext.getParameter(EVENT_PARAM).equals("applyBatch"))
          if(batchId==null||batchId.equals(""))
            //Check if file is a .csv
            String fileName = batchrow.getAttribute("SourceFileName").toString();
            System.out.println("Source File Name is "+fileName);
            if(!fileName.endsWith(".csv"))
              throw new OAException("File is not of type .csv.  Please upload the correct file.", OAException.ERROR);
            String batchNumber = batchrow.getAttribute("BatchNumber").toString();
            OAException confirmMessage = new OAException("The program Datacard Load Source File will be submitted for Batch Number "+batchNumber);
            OADialogPage dialogPage = new OADialogPage(OAException.CONFIRMATION,
                                                       confirmMessage,
                                                       null,
            String yes = "Ok";//pageContext.getMessage("AK", "FWK_TBX_T_YES", null);
            String no = "Cancel";//pageContext.getMessage("AK", "FWK_TBX_T_NO", null);
            dialogPage.setOkButtonItemName("YesButton");
            dialogPage.setNoButtonItemName("NoButton");
            dialogPage.setOkButtonToPost(true);
            dialogPage.setNoButtonToPost(true);
            dialogPage.setPostToCallingPage(true);
            dialogPage.setOkButtonLabel(yes);
            dialogPage.setNoButtonLabel(no);
            pageContext.redirectToDialogPage(dialogPage);
          else
            am.invokeMethod("applyBatch");
            pageContext.setForwardURL("OA.jsp?page=/com/datacard/oracle/apps/dcrd/oksupdate/webui/OksBatchPG&batchId="+batchId+"&viewOnly=Y&apply=Y"+"&"+OASubTabLayoutBean.OA_SELECTED_SUBTAB_IDX + "=" + 0
                                            ,null //not needed as we are retaining menu context
                                            ,OAWebBeanConstants.KEEP_MENU_CONTEXT
                                            ,null //not needed as we are retaining menu context
                                            ,null //pass the hashMap that contains values for all of the parameters
                                            ,true //retain AM
                                            ,OAWebBeanConstants.ADD_BREAD_CRUMB_YES
                                            ,OAWebBeanConstants.IGNORE_MESSAGES);
        else if (pageContext.getParameter(EVENT_PARAM).equals("cancelBatch"))
          //String debugMode="Y";
          am.invokeMethod("cancel");
          if(batchId!=null && !batchId.equals(""))
            pageContext.setForwardURL("OA.jsp?page=/com/datacard/oracle/apps/dcrd/oksupdate/webui/OksBatchPG&batchId="+batchId+"&viewOnly=Y"+"&"+OASubTabLayoutBean.OA_SELECTED_SUBTAB_IDX + "=" + 0
                                      ,null //not needed as we are retaining menu context
                                      ,OAWebBeanConstants.KEEP_MENU_CONTEXT
                                      ,null //not needed as we are retaining menu context
                                      ,null //pass the hashMap that contains values for all of the parameters
                                      ,true //retain AM
                                      ,OAWebBeanConstants.ADD_BREAD_CRUMB_YES
                                      ,OAWebBeanConstants.IGNORE_MESSAGES);
          else
            pageContext.setForwardURL("OA.jsp?page=/com/datacard/oracle/apps/dcrd/oksupdate/webui/OksBatchesSrchPG"
                                      ,null //not needed as we are retaining menu context
                                      ,OAWebBeanConstants.KEEP_MENU_CONTEXT
                                      ,null //not needed as we are retaining menu context
                                      ,null //pass the hashMap that contains values for all of the parameters
                                      ,true //retain AM
                                      ,OAWebBeanConstants.ADD_BREAD_CRUMB_YES
                                      ,OAWebBeanConstants.IGNORE_MESSAGES);
        else if (pageContext.getParameter("YesButton")!=null)
          //am.invokeMethod("applyBatch");
          HashMap cpParameters = new HashMap();
          String requestId = "";
          requestId = am.invokeMethod("newBatch").toString();
          String id = ""+ requestId + "";
          cpParameters.put(requestId, id); 
          //Test modifying the followint to call DCRD_OKS_MASS_UPD_VIEW_REQ
          String url="OA.jsp?akRegionCode=FNDCPREQUESTVIEWPAGE&akRegionApplicationId=0&REQUESTID=requestId";
          pageContext.setForwardURL(url
                                   ,null //not needed as we are retaining menu context
                                   ,OAWebBeanConstants.KEEP_MENU_CONTEXT
                                   ,null //not needed as we are retaining menu context
                                   ,cpParameters //pass the hashMap that contains values for all of the parameters
                                   ,true //retain AM
                                   ,OAWebBeanConstants.ADD_BREAD_CRUMB_YES
                                   ,OAWebBeanConstants.IGNORE_MESSAGES);
        else if (pageContext.getParameter("NoButton")!=null)
          am.invokeMethod("cancelBatch");
          pageContext.setForwardURL("OA.jsp?page=/com/datacard/oracle/apps/dcrd/oksupdate/webui/OksBatchesSrchPG"
                                          ,null //not needed as we are retaining menu context
                                          ,OAWebBeanConstants.KEEP_MENU_CONTEXT
                                          ,null //not needed as we are retaining menu context
                                          ,null //pass the hashMap that contains values for all of the parameters
                                          ,true //retain AM
                                          ,OAWebBeanConstants.ADD_BREAD_CRUMB_YES
                                          ,OAWebBeanConstants.IGNORE_MESSAGES);
        else if (pageContext.isLovEvent())
          String lovInputSourceId = pageContext.getLovInputSourceId();
          if ("AccountNumber".equals(lovInputSourceId))
            Serializable[] params = {"Account"};
            am.invokeMethod("defaultValuesFromTemplate", params);
          else if ("Period".equals(lovInputSourceId))
            String rowReference = pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
            Row currentRow = am.findRowByRef(rowReference);
            if(currentRow!=null)
              String seq = currentRow.getAttribute("SeqNum").toString();
              System.out.println("Period seq is "+seq);
              String item = "UOM";
              Serializable[] parameters = {item, seq};
              am.invokeMethod("validateUOM", parameters);
          else if("TemplateName".equals(lovInputSourceId))
            Serializable[] params = {"Template"};
            am.invokeMethod("defaultValuesFromTemplate", params);
        else if ("updateBatch".equals(pageContext.getParameter(EVENT_PARAM)))
          am.invokeMethod("cancel");
          pageContext.setForwardURL(
                                "OA.jsp?page=/com/datacard/oracle/apps/dcrd/oksupdate/webui/OksBatchPG&batchId="+batchId+"&viewOnly=N"+"&"+OASubTabLayoutBean.OA_SELECTED_SUBTAB_IDX + "=" + 0
                                , null //not needed as we are retaining menu context
                                ,OAWebBeanConstants.KEEP_MENU_CONTEXT
                                ,null //not needed as we are retaining menu context
                                ,null //pass the hashMap that contains values for all of the parameters
                                ,true //retain AM
                                ,OAWebBeanConstants.ADD_BREAD_CRUMB_NO
                                ,OAWebBeanConstants.IGNORE_MESSAGES);       
        else if ("tabSites".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
          am.invokeMethod("post");
          Serializable[] parameters = {"SITES"};
          am.invokeMethod("tabDefault",parameters);
        else if ("tabInstances".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
          am.invokeMethod("post");
          Serializable[] parameters = {"INSTANCES"};
          am.invokeMethod("tabDefault",parameters);
        else if ("tabWarranties".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
          am.invokeMethod("post");
          Serializable[] parameters = {"WRTYS"};
          am.invokeMethod("tabDefault",parameters);
        else if ("tabContracts".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
          am.invokeMethod("post");
          Serializable[] parameters = {"CONTRACTS"};
          am.invokeMethod("tabDefault",parameters);
        else if ("tabCancelled".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
          am.invokeMethod("post");
          Serializable[] parameters = {"CANCELLED"};
          am.invokeMethod("tabDefault",parameters);
        else if ("tabComplete".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
          am.invokeMethod("post");
          Serializable[] parameters = {"COMPLETE"};
          am.invokeMethod("tabDefault",parameters);
        else if ("cancelNewLine".equals(pageContext.getParameter(EVENT_PARAM)))
          am.invokeMethod("cancelLine");
          am.invokeMethod("post");
          Serializable[] parameters = {"NEW"};
          am.invokeMethod("tabDefault",parameters);
        else if ("cancelErrorLine".equals(pageContext.getParameter(EVENT_PARAM)))
          am.invokeMethod("cancelLine");
          am.invokeMethod("post");
          Serializable[] parameters = {"ERROR"};
          am.invokeMethod("tabDefault",parameters);
        else if ("cancelProcessLine".equals(pageContext.getParameter(EVENT_PARAM)))
          am.invokeMethod("cancelLine");
          am.invokeMethod("post");
          Serializable[] parameters = {"INPROCESS"};
          am.invokeMethod("tabDefault",parameters);
        else if ("addRows".equals(pageContext.getParameter(EVENT_PARAM)))
          System.out.println("In addRow");
          if(batchrow.getAttribute("ContractId")!=null)
            am.invokeMethod("addRow");
          else
            throw new OAException("Please enter a contract number before creating billing schedule.", OAException.ERROR);
        else if ("deletePeriod".equals(pageContext.getParameter(EVENT_PARAM)))
          Boolean notlast = Boolean.FALSE;
          OksBillingPeriodsVOImpl billvo = (OksBillingPeriodsVOImpl)am.findViewObject("OksBillingPeriodsVO2");
          Row rows[] = billvo.getAllRowsInRange();
          //System.out.println("total rows = "+billvo.getFetchedRowCount());
          for(int i=0; i<rows.length; i++)
            OksBillingPeriodsVORowImpl rowi = (OksBillingPeriodsVORowImpl)rows[i];
            System.out.println("SeqNum = "+rowi.getSeqNum().toString());
            if(!rowi.getSeqNum().equals(billvo.getFetchedRowCount()) && rowi.getPeriodMultiSelect()!=null&&rowi.getPeriodMultiSelect().equals("Y"))
              notlast = Boolean.TRUE;
          if(notlast)
            OAException confirmMessage = new OAException("Since deleting one of these sequences will cause a break in billing periods, all of the subsequent sequences will be deleted.  To proceed please click Ok");
            OADialogPage dialogPage = new OADialogPage(OAException.CONFIRMATION,
                                                       confirmMessage,
                                                       null,
            String yes = "Ok";//pageContext.getMessage("AK", "FWK_TBX_T_YES", null);
            String no = "Cancel";//pageContext.getMessage("AK", "FWK_TBX_T_NO", null);
            dialogPage.setOkButtonItemName("YesDelButton");
            dialogPage.setNoButtonItemName("NoDelButton");
            dialogPage.setOkButtonToPost(true);
            dialogPage.setNoButtonToPost(true);
            dialogPage.setPostToCallingPage(true);
            dialogPage.setOkButtonLabel(yes);
            dialogPage.setNoButtonLabel(no);
            pageContext.redirectToDialogPage(dialogPage);
          else
            Serializable[] params = {"Last"};
            am.invokeMethod("deletePeriod", params);
        else if (pageContext.getParameter("YesDelButton")!=null)
          Serializable[] params = {"NotLast"};
          am.invokeMethod("deletePeriod", params);
          pageContext.setForwardURL("OA.jsp?page=/com/datacard/oracle/apps/dcrd/oksupdate/webui/OksBatchPG&batchId="+batchId+"&viewOnly=N"+"&"+OASubTabLayoutBean.OA_SELECTED_SUBTAB_IDX + "=" + 0
                                    , null //not needed as we are retaining menu context
                                    ,OAWebBeanConstants.KEEP_MENU_CONTEXT
                                    ,null //not needed as we are retaining menu context
                                    ,null //pass the hashMap that contains values for all of the parameters
                                    ,true //retain AM
                                    ,OAWebBeanConstants.ADD_BREAD_CRUMB_NO
                                    ,OAWebBeanConstants.IGNORE_MESSAGES);
        else if (pageContext.getParameter("NoDelButton")!=null)
          pageContext.setForwardURL("OA.jsp?page=/com/datacard/oracle/apps/dcrd/oksupdate/webui/OksBatchPG&batchId="+batchId+"&viewOnly=N"+"&"+OASubTabLayoutBean.OA_SELECTED_SUBTAB_IDX + "=" + 0
                                    , null //not needed as we are retaining menu context
                                    ,OAWebBeanConstants.KEEP_MENU_CONTEXT
                                    ,null //not needed as we are retaining menu context
                                    ,null //pass the hashMap that contains values for all of the parameters
                                    ,true //retain AM
                                    ,OAWebBeanConstants.ADD_BREAD_CRUMB_NO
                                    ,OAWebBeanConstants.IGNORE_MESSAGES);
        else if ("levelPeriods".equals(pageContext.getParameter(EVENT_PARAM)))
          System.out.println("Passed sequence is "+pageContext.getParameter("pSeqNum"));
          String item = "LEVEL_PERIODS";
          String seq = pageContext.getParameter("pSeqNum");
          Serializable[] parameters = {item, seq};
          am.invokeMethod("validateUOM", parameters);
        else if ("uomperperiod".equals(pageContext.getParameter(EVENT_PARAM)))
          System.out.println("Passed sequence is "+pageContext.getParameter("pSeqNum"));
          String item = "UOM_PER_PERIOD";
          String seq = pageContext.getParameter("pSeqNum");
          Serializable[] parameters = {item, seq};
          am.invokeMethod("validateUOM", parameters);
        else if ("enddate".equals(pageContext.getParameter(EVENT_PARAM)))
          System.out.println("Passed sequence is "+pageContext.getParameter("pSeqNum"));
          String item = "END_DATE";
          String seq = pageContext.getParameter("pSeqNum");
          Serializable[] parameters = {item, seq};
          am.invokeMethod("validateEndDate", parameters);

  • What thrid party tools are you using for backup compression?

    I have a few SQL Server 2008 standard edition instances and I'm curious to what third party tools people are using for backup compression. I know upgrading to enterprise edition or  SQL Server 2008R2 or above will give me that compression but I do not
    have that option right now. I'm familiar with Idera, Red gate and Litespeed and I just want to know what else is out there.
    Thank you in Advance.

    There are many third party tools.
    But Why third party tools?
    SQL Server integrated Backup and restore feature is complete. For more info please see these links:
    Backup Overview (SQL Server)
    Introduction to Backup and Restore Strategies in SQL Server
    SQL
    Server Backup Best Practices
    sqldevelop.wordpress.com

  • What kind of analysis should i use for these signals?

    i'm developing a lie detection system,i have one respiratory sensor and a hand grip heart rate monitor to acuire the physiological signals from the sensors.i have attached a screenshot of the application.the top signal represents the heart beat and bottom one is respiratory signals.my question is that what analysis mwthods should i be using for these signal types?would you please care to help me on this? thank you.

    Thanks for your replies to this topic.  I just discovered the worm gear option yesterday while talking to a professor.  I think that is the route we are going to take because the DC motor won't be as expensive as a high-torque stepper or servo.  Also, I have three engineers that will be calculating the motor size based on gear reduction, spool size, cable length, and the load that we have to lift (which is about 120 lbs.).  If any of you would like to suggest a motor size, that would be great too.  I'm thinking something around 1HP should probably do it.  My goal is to stay cost-effective while making an easy apparatus.  I know that the worm gears may also be inefficient at times but it seems like the best solution for this application.  Not to mention it's not to hard for our mechanical engineers here to make the spool and bearings.  And I believe you can buy a DC motor that interfaces directly with a worm gear.  However, a follow up question is what computer hardware do I need to control the voltage of the motor so I have speed control?  Is this done through an RS232 board?  My output from the LabVIEW program will be voltages, from which device is that binary signal converted into physical voltage?  Thanks for your help so far.

  • What is the web gallery option good for...

    what is the web gallery option good for if it doesnt work on any other computer, other than mine? If i choose save "online" where do i find ftp server ? and what type of sites does this work on?

    Saving collections and I suppose web gallery (although I have neverf used it) is really just a reference to file locations on your computer.  So it will not work for any other computer that is not exactly like yours.

  • What are the transaction codes we use for LSMW in MM, SD, PP  & FI/CO gnrly

    Hi all,
    What are the transaction codes we use for LSMW in MM, SD, PP  & FI/CO generally?
    Help will be surely rewarded.
    Thanks and Regards,
    Creasy

    > What are the transaction codes we use for LSMW in MM, SD, PP  & FI/CO generally?
    General threads about LSMW in MM, SD, PP, FICO will be locked and deleted generally.
    > Help will be surely rewarded.
    &********************** Please read "the rules" if found usefull... ************************&
    Cheers,
    Julius

  • What is the logical system name used for in R/3?

    We have a R/3 server. The production client has a logical system name. What is the logical system name used for?
    Tony Tam

    Hi Tony
    Following Links will help you in understanding the concept
    http://benstudycenter.blogspot.com/2008/02/logical-system.html
    http://help.sap.com/saphelp_sm32/helpdata/en/78/217dc151ce11d189570000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_sm32/helpdata/en/78/217dc151ce11d189570000e829fbbd/frameset.htm
    thanks
    Bhudev

  • What adapter do I need to use for charging my iPad in Greece?

    what adapter do I need to use for charging my iPad in Greece?

    The iPad charger can be used in any country.
    it's rated 100V to 240V 50/60 Hz
    You only need a plug adapter to suit the wall socket.

  • What the "Local RTP Service" is used for in OWB 9.2.0?

    What the "Local RTP Service" is used for in OWB 9.2.0?

    Dmitry,
    The Runtime Platform (RTP) Service is the server-side component of Warehouse Builder that provides execution and deployment services. For example, if the RTP Service is down you will not be able to start Deployment Manager and will get the error message to that effect. RTP Service is invoked through a database job that is automatically started when the database is started and shut down when the database is shut down.
    It is also manually controllable through Start menu shortcut on Windows or start_service.sql / stop_service.sql in [OWB Home]/owb/rtp/sql
    Nikolai

  • What setting or codec do I use for Capturing HDV 1080i HDV

    What setting or codec do I use for Capturing HDV 1080i HDV

    Not enough information. The settings you use depends on exactly what format you shot and what device you're using to capture.

  • What web service & xml will be used for deleting the packged epub/pdf file from Admin Console

    What web service & xml will be used for deleting the packged epub/pdf file from Admin Console?
    I am able to delete the files from Admin console directy but not able to get which web service is calling on deleting the file from admin console:
    Mangal

    Hi Jim,
    I tired following web service and xml to delete the packaged ebook but it is giving me error instead of response:
    Web Service & XML
    http://myserver_url/admin/ManageResourceKey
    <request action="delete" auth="builtin" xmlns="http://ns.adobe.com/adept">
    <nonce>" . $nonce . "</nonce>
    <expiration>'. $expiration .'</expiration>
    <resourceKey>
    <resource>resource_id</resource>
    <resourceItem>1</resourceItem>
    </resourceKey>
    </request>
    Error Message
    <error xmlns="http://ns.adobe.com/adept"
    data="E_ADEPT_DATABASE http://myserver_url/admin/ManageResourceKey
    Cannot%20delete%20or%20update%20a%20parent%20row:%20a%20foreign%20key%20constraint%20fails %20(`adept`.`distributionrights`,%20CONSTRAINT%20`distributionrights_ibfk_2`%20FOREIGN%20K EY%20(`resourceid`)%20REFERENCES%20`resourcekey`%20(`resourceid`))"/>
    Magal Varshney

Maybe you are looking for

  • Adobe Photoshop CS5 has stopped working (Win 7, 64 bit)

    I am trying to run Photoshop CS5 on Windows 7 64bit. Everytime I open the program, I get an error saying "Adobe Photoshop CS5 has stopped working", immediately after the splash screen goes away and the main gui opens. The only option on the error is

  • Table Maintaince with Transaction SM30 with selection Screen

    Hi Friends, I have a requirement for maintance of Z table "ABC" and it need to be maintanied. This Ztable should have Ztransaction Code connecting to transaction SM30. Also this should have a selection screen with 3 fields to filter the data and only

  • Sales order FM

    Hi All, Pls tell me the FM which is used to create sales order in user-exit ? How can I commit the sales order ? Pls send me one sample program how to use it Thanks in advance

  • JTree node's margin

    Hi folks, i'd like to know if it's possible to modify the right margin (gap) that there is between a parent node and his children? In fact i want to reduce it. For example if the default gap is 50 pixels wide, i want it to be 30. thanks for your help

  • IPlanet6.1 compatibility with solaris 10

    Hi all, I need to know whether iPlanet 6.1 sp9 32 bit is compatible with solaris 10. Thanks in advance.