Impossible to throw the Exception to the controller extended.

Hi all

I extend a controller in iProcurement. After calling super.processFormRequest, I want to throw the Exception of my custom code.

Here is the code I wrote. Everything works fine except... to display the error at the top of the page.


package xxtnt.oracle.apps.icx.por.req.webui;

Import oracle.apps.icx.por.req.webui.CheckoutSummaryCO;
Import oracle.apps.fnd.framework.webui.beans.message.OAMessageLovInputBean;
Import oracle.apps.fnd.framework.server.OADBTransaction;
Import oracle.apps.fnd.framework.webui.beans.OAWebBean;
Import oracle.apps.fnd.framework.OAApplicationModule;
Import oracle.apps.fnd.framework.webui.OAPageContext;
Import oracle.apps.ap.oie.webui.NavigationUtility;
Import oracle.jdbc.driver.OracleCallableStatement;
Import oracle.apps.fnd.framework.OAViewObject;
import com.sun.java.util.collections.ArrayList;
Import oracle.apps.fnd.framework.OAException;
import java.sql.SQLException;
import java.sql.Connection;
Import oracle.jbo.RowSet;
Import oracle.jbo.Row;
import java.sql.Types;

public class xxtntCheckoutSummaryCO extends CheckoutSummaryCO
{
private String clarityProjectId = new String("999999999");
private String productCode = new String("");
private String listOfProdCodes = new String("");
private String isClause = new String ("is");
private int noProdCodeCount = 0;
private int exceptionCount = 0;
private ArrayList peerException = new ArrayList();

' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)
{
super.processRequest (pageContext, webBean);
}

' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
{
super.processFormRequest (pageContext, webBean);
pageContext.writeDiagnostics (this, "In custom controller to process form request", 6);
String s = pageContext.getParameter ("event");
pageContext.writeDiagnostics (this, "event is:" + s, 6);
If ((NavigationUtility.isNextClicked (pageContext)) |) ("save".equals (s)) | ("goto".equals (s)) | ("submit".equals (s)))
{
pageContext.writeDiagnostics (Thi, "Next/Save/Submit button..", 6);
OAMessageLovInputBean dffMessageBean = (OAMessageLovInputBean) webBean.findChildRecursive ("ReqHeaderDFF3");
if(dffMessageBean!=null)
{
pageContext.writeDiagnostics (this, ' dffMessageBean is not Null", 6");
String msg = (String) dffMessageBean.getValue (pageContext);
if(MSG!=null)
{
pageContext.writeDiagnostics (this, "value of FDF is:" + msg, 6);
clarityProjectId = msg;
OAApplicationModule am = pageContext.getRootApplicationModule ();
OAViewObject reqLinesVO = (OAViewObject) am.findViewObject ("PoRequisitionLinesVO");
if(reqLinesVO!=null)
{
rowCount int = reqLinesVO.getFetchedRowCount ();
pageContext.writeDiagnostics (this, "line lines Total" + rowCount, 6);
All lines rSet = reqLinesVO.getRowSet ();
for (int i = 0; i < rowCount; i ++)
{
Line linesRow = rSet.getRowAtRangeIndex (i);
if(linesRow!=null)
{
String reqLineId = linesRow.getAttribute("RequisitionLineId").toString ();
pageContext.writeDiagnostics (this, "The RequisitionLineId is:" + reqLineId, 6);
lineNumber int = Integer.parseInt (linesRow.getAttribute("LineNum").toString ());
VR;
{
OADBTransaction tr = am.getOADBTransaction ();
Connection con = tr.getJdbcConnection ();
OCs OracleCallableStatement = null;
String stmt = new String("");
stmt = "BEGIN LFIN_CA_CLARITY_TRX_EXT_OP. GET_PRODUCT_CODE(:1,:2,:3,:4,:5,:6); END; « ;
Co = (OracleCallableStatement) con.prepareCall (stmt);
ocs.setString(1,clarityProjectId);
ocs.setString (2, "999999");
ocs.registerOutParameter(3,Types.VARCHAR,0,255);
ocs.registerOutParameter(4,Types.VARCHAR,0,255);
ocs.setString(5,reqLineId);
ocs.setString(6,"IPR");
pageContext.writeDiagnostics (this, "before you run the prod code is" + productCode, 6);
OCS. Execute();
productCode = ocs.getString (3) m:System.NET.SocketAddress.ToString ();
listOfProdCodes = ocs.getString (4) m:System.NET.SocketAddress.ToString ();
}
catch (SQLException e)
{
pageContext.writeDiagnostics (this, "Exception when calling the package of prod Code/Code" + e.getMessage (), 6);
}
pageContext.writeDiagnostics (Thi, "prod package after call Code is:" + productCode, 6);
If (listOfProdCodes.length () > 4)
{
isClause = 'y ';
pageContext.writeDiagnostics (Thi, "isClause =" + isClause, 6);
}
pageContext.writeDiagnostics (this, "after the list run Codes Prod is" + listOfProdCodes, 6);
If (ProductCode.Equals ("zzxxxxxzz") & & (listOfProdCodes.equals ("zzxxxxxzz")))
{
noProdCodeCount = noProdCodeCount + 1;
}
Another yew (productCode.equals ("zzxxxxxzz") & & (! listOfProdCodes.equals ("zzxxxxxzz")))
{
peerException.add (new OAException ("Line"
+ lineNumber
+" - "
+"Product code is invalid. The product code valid for project.
+ clarityProjectId
+ isClause
+ listOfProdCodes
+"\n"));
pageContext.writeDiagnostics (, "Sunrise should prod valid error codes", 6);
exceptionCount = exceptionCount + 1;
}
on the other
{
pageContext.writeDiagnostics (this,"ProdLine is equal to the Prod Code... The success of the validation. FRO... Line. "+ lineNumber, 6);
pageContext.writeDiagnostics (this, "" == > Unexpected < == "")
+"Line number"+ lineNumber
'Product code' + productCode
+ "List of product codes '+ listOfProdCodes
(6);
}
} / / closing line! = null
} / / Closed loop
} / / closing if Vo! = null
if(noProdCodeCount>0)
{
peerException.add (new OAException ("no product code has been defined for the clarity project ID" + clarityProjectId));
exceptionCount = exceptionCount + 1;
}
} / / closing projectid clarity! = null
pageContext.writeDiagnostics (this, "number of Exception is:" + exceptionCount, 6);
if(exceptionCount>0)
OAException.raiseBundledOAException (peerException);
} //Closing
}
}
}

Page: / oracle/apps/icx/por/req/webui/CheckoutSummaryPG

I commented all the code and just try to throw the exception using the throw new OAException ("Test Exception msg");
After super.processFormRequest, yet his watch no any which exception in page.

Help please..!

Thank you
Ganga Ram

Hello

Use the following syntax

pageContext.putDialogMessage (message);
pageContext.forwardImmediatelyToCurrentPage (null, true, null);

Thank you
Rakesh

Tags: Oracle Applications

Similar Questions

  • Impossible to install the controller driver Ethernet on VMware 3.01b227600

    Even as my problem there?

    HOST: Windows 7 x 64

    CLIENT: Windows 7 x 86

    VMware 3.01build - 227600

    Massage Device Manager:

    "The drivers for this device are not installed. (Code 28) »

    PS: When installed GUSET-WinXP there are on the problem, but GUETS-Win7x86 has problem.

    Check the .vmx file. What type is in the list? Search for "ethernetX.virtualDev =".

    AWo

    VCP 3 & 4

    Author @ vmwire.net

    \[:o]===\[o:]

    = You want to have this ad as a ringtone on your mobile phone? =

    = Send 'Assignment' to 911 for only $999999,99! =

  • Call a workflow of the controller extended

    Hello
    I want to call a workflow from an extended controller, I wrote the following code:
    If (return".equals (event)) {" "}
    OAApplicationModule am = pageContext.getApplicationModule (webBean);
    processReturn (pageContext, webBean, am);
    String srNo = "";
    String sql = "BEGIN xx_sr_notf_pkg.invoke_wf (: 1); END; « ;
    String status = null;
    OracleCallableStatement cs =
    (OracleCallableStatement) am.getOADBTransaction ().createCallableStatement(sql,1);

    but it seems that the second line (processReturn (pageContext, webBean, am)) does not run...

    Any suggestions?

    Thank you

    Now, how is it possible to capture the value of the ID of request to iProcurement line, or better yet the record of > my controller po_requisition_lines_all extended (xxCheckoutDistsCO)?

    In your page so check all VO has "Row ID request" as its attribute. Then you can get it by using
    vo.getCurrentRow () .getAttribute ("Attribute_name");

    Or

    Check seeded co, you can find a code that allows to get the "row ID request'

    -Anand

  • Throw an Exception

    Hello experts,

    I need to validate the user's input and if it fails then throw an exception error.

    I extended the controller, but I am not able to throw an exception because the original controller contains the following code:
    If (oapagecontext. GetParameter ("Save"). = null)
    * {oaapplicationmodule.invokeMethod ("copyPaymentTerm"); *}
    oadbtransactionimpl.Commit ();
    oapagecontext.putParameter ("confirmMessage", "AR_UPDATE_CONFIRM");
    oapagecontext.setForwardURLToCurrentPage (null, false, null, (byte) 99);
    *}*

    Then when I hit Save it transfers to the same page using the statement oapagecontext.setForwardURLToCurrentPage (null, false, null, (byte) 99), so my extended controller never runs.

    The extended controller has the following in the method of the PFR:
    ' Public Sub processFormRequest (OAPageContext oapagecontext, OAWebBean oawebbean)
    {System.out.println ("Running extended controller processFormRequest");
    Test string = "Hello";
    If (test is "Hello")
    {System.out.println("Hello...");
    throw new OAException ("error: this is a test!", OAException.ERROR);
    }
    super.processFormRequest (oapagecontext, oawebbean);
    }

    Is there a way to get around this? I need to be able to throw the exception.

    Thanks for your help in advance.

    Hello

    Instead of going through the personalization links, can you please click on the Page "Customize" in the upper right
    and in the 'customize' page hierarchy, you should be able to see the PageLayoutRN
    Then click on the pencil to customize, icon
    Then you should be able to locate the standard controller.

    Thank you

    With respect,
    Kali.
    OSSI.

  • The controller throws an OAException, but the error message does not appear

    I made a controller to add validation business customized to a specific region of a page of Iprocurement. The controller throws an exception, but the error message does not appear on the page.

    Why when the exception is thrown, the system do not stop the processing of the page and displays the error message?

    I do not know the controller is reached because the page through JDeveloper debugging.

    -PageLayout

    -stackLayout

    -subTabLayout <-my controller is located in this region

    SerializableAttribute public class AccountsDistsValidationCO extends

    {oracle.apps.fnd.framework.webui.OAControllerImpl}

    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)

    {

    super.processFormRequest (pageContext, webBean);

    throw new OAException ("something just happned");

    }

    }

    I should to use the following to solve my problem

    pageContext.putDialogMessage (message);

    pageContext.forwardImmediatelyToCurrentPage (null, true, null);

    Reference:

    OAException.ERROR is not throwing the error

  • Impossible to catch the exception

    Dear members,

    I have an OFA Page to which I attached an AM and CO.

    In the AM of the page, I have the procedure defined below.

    ' public void notifyTLBC (param1, param2 String String)
    *{*
    OADBTransaction txn = getOADBTransaction();
    CallableStatement cs = txn.createCallableStatement ("start myPLSQLProc(:1,:2); end; ", 2) ;
    Try
    *{*
    cs.setString(1,param1);
    cs.setString(2,param2);
    DSI Execute();
    DSI Close();
    *}*
    catch (SQLException a1)
    *{*
    System.out.println ("error in the procedure:" + a1);
    throw new OAException ("error in procedure" + a1, OAException.ERROR);
    *}*
    *}*

    I'm calling the procedure above from the CO and the procedure runs correctly.

    But the problem is when there is no error in the procedure, it is not to throw any exception on the page. Simply, it is not executed in the background. Here my requirement is I want to show the error in the procedure for the user on the OPS Page.How form can only achieve?

    Kindly please help me solve this.

    Thanks in advance.

    Best regards
    Arun D. Reddy

    Published by: Arun Reddy on January 11, 2011 11:30

    If you are exceptions at the level of PL/SQL Management, then java code is unclear if PL/SQl procedure is completed successfully or not

    following the instructions of AJ

    best to keep a variable output

    and set a value for the OUTPUT at the beginning of your procedure variable

    ERROR: = 'NONE '.

    and in the section of exception

    WHILE OTHERS THEN
    ERROR: = SQLERRM

    and in your java code

    get the registry to your variable out and get the value after execution

    CS =
    con.prepareCall ()

    cs.registerOutParameter (3, Types.VARCHAR);

    DSI Execute();
    ValeurRet = cs.getString (3);

    setting of 3 assuming that your interior is VARIABLE

    Now if you write this code in a controller directly throw exception message if ValeurRet id no NONE

    Otherwise, if you write this in AM. Returns the value to the controller

    return ValeurRet

    Concerning
    Ravi

  • iPhone 6 + will not except that the load rope nor any what lightning male. Impossible to recharge the iPhone.

    iPhone 6 + will not except that the load rope nor any what lightning male. Impossible to recharge the iPhone. Male/female connection not relieve tight. Advice\help would be appreciated.

    Try a different cable - preferably a certified one MFI

    If this does not work

    Please take a genius appointment at an Apple Store, or select another authorized service provider.

  • Convert.ToDouble API throws the exception on German OS - Windows 2008 R2 SP1

    (I used VS2010, c#, .NET Framework 4 Client Profile, Console application)

    Object Value = '-1.67E + 308';

    Double t = Convert.ToDouble (Value);

    This API Convert.ToDouble throws the exception (the value is too large or too small for conversion into Double) on German OS - Windows 2008 R2 SP1 and it works very well on an English OS

    Why is this?

    Hello

    The question you posted would be better suited in c# programming MSDN Forums. Please visit the link below to find a community that will provide the support you want.

    Hope this information is useful.

  • Impossible to install the drivers of Etherner controller; SM BusContoller and USB 2.0 - ORW

    Original title: Windows 7 Home Premium.

    Impossible to install the drivers of Etherner controller; SM BusContoller and USB 2.0 - ORW.

    You are welcome. Please check the answer.

  • How to throw the exception in the Module of the Application

    Hello

    Jdev Version 12.1.3

    I have the custom in the request Module method that is exposed as a Client Interface. It is added as a button to the page.

    If I need to throw and exception in this method, how do I do that. Could you please give me a code example?

    See you soon

    AJ

    Hello

    Try this

      public void methodInAppModuleImpl()
      {
        throw new oracle.jbo.JboException("error message");
      }
    
  • Need to throw an exception after a test of text corresponding to the openscript

    Hello

    I want to check a text using text matching test and I want to throw an Exception if the text is not there. If the text is there she must either continue normally.

    I tried this test of text matching. According to this, it's getting abandoned after

    () Web.document

    "\"/web:window[@index='0 "or @title ='Oracle BI interactive dashboards - Advance Planning']/web:document[@index='0']\" ").

    .verifyText ("Check result", "export",

    Source.DisplayContent, TextPresence.PassIfPresent,

    MatchOption.Exact);

    After this way can anyone please explain me (code)

    Concerning

    Harsha

    If you give verifyText(), script not give up failure, IE. script displays a warning text not found in HTML content

    If you give assertText(), the script will stop in case of failure.

    To throw an exception when the text is not found, use try-catch as follows...

    try {}

    Web.Window ("/ web: window [@index = '0' or @title = 'Oracle BI interactive dashboards - Advance Planning']/web:document[@index='0']")

    .assertText ("Check result", "export",

    Source.DisplayContent,

    TextPresence.PassIfPresent,

    MatchOption.Exact);

    }

    catch (System.Exception e)

    {

    failure ("could not find the export text");

    }


    See you soon,.

    Dembélé M

    [email protected]

  • Throw the Exception after only a few steps in ODI

    Hello

    I use under command - which is actually an entry for Sarah part schedular (Dollar Universe $U).

    D:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\bin\startscen "PKG_POZ_BOSS_OMP_BSMASTERSTOCK" "-1" 'TEST' "-NAME = btvmd79_odi_agent" "."

    Planner $U t is a product developed by ORSYP (French company) www.orsyp.com

    Requirement in details:
    $U accept the return codes, however, it seems that ODI sends back "return code 0" when fails it PKG, which is understood by $U as 'everything is OK', the idea would be to have another return code when the PKG fails (I'm just rep-phrase the original statement).

    Now in the package execution is as below.
    implementation of interfaces-> if KO calling a procedure for writing email table of contents that must be sent

    According to my understanding,.

    I noticed something different, when a pkg or a scenario ends with an error, return code it sending to the operating system is still 88.

    I also noticed that if the last step takes place as well, the scenario ends in good state,
    even if another object before the last returns an error.

    so if you have an object that sends an email in case of KO scenario will eventually error if the shipment is in error.

    to avoid this, we used a procedure as long as the last one in the case of ko
    which contains a command java beanshell

    throw new Exception ("ErrorMessage")
    but I don't get the details of how I might throw exception?
    can someone help me please.

    Thank you
    Mahesh

    Create an odi procedure
    Procedure (technologies: Java beanShell)

    String emessage = "<%=odiRef.getPrevStepLog("MESSAGE")%>." » ;
    throw new Exception ("\n\n START OF ERROR:-\n\n" + emessage + "-: END of ERROR");

  • Throw the exception of the app module

    Hello
    I use ADF 11.1.1.2 verison and my application is developed using the procedure (we use no BC)...
    The approach I use is as follows-
    1. create a procedure
    2. create a module app and call the procedure of this app module.
    3 - expose a customer interface and this method (data control) to see the data...

    My question - when I create a method and expose it (visible sound in the customer interface), which allows you to create a table or any other component its works very well.
    But according to my new req I have thrown an exception from this method in the case of any problem (let's say not able to update the db data)
    When I throw the exception of the method available in module app method disappears and is not available to be exposed to the client.

    Please let me know how we need to do something specific to raise exceptions in this case.

    Thank you
    Shubhangi

    Subhangi,

    Make sure you throw an exception which extends from local.

    John

  • JDeveloper 10 g &amp; ADF BC: AM, the editor can't see methods that throw the exception

    I was curious to know why once I declare my throw on the method declaration clause, it does not appear on the window of the client interface of the editor of the AOS?

    To work around this problem, I have to do the following:

    1. in the MyAmImpl.java
    + ' public void methodA() {+
    + try {+
    + / / code that throws exceptions.
    +} catch (Exception ex) {+
    +}+
    +}+

    2 open the editor of AOS, expose the method on the client interface
    3. return to the MyAmImpl.java and change metodA() to:

    Public Sub methodA() throws Exception {}
    a code that throws the exception
    }
    4. open the MyAm.java interface
    change of the
    Public Sub methodA()
    TO
    Public Sub methodA() bird exception

    is this a bug?

    Thank you
    Wes

    Try a local. It will work :)

    Ideally local class sup for all your needs.

    Vincent

  • Extended the controller does not

    Hello

    I extended the controller attempted to call a pl/sql package and tried to insert data into a custom table. I have attached the controller through customization at site level. and moved the .class file to $JAVA_TOP. The page shows no error. I added a field on a page and try to save the data in a custom field.
    When I try to save the page it shows me a message that have been saved successfully! but the data are not are filled with custom table.


    Code central:

    package oracle.apps.ar.creditmgt.application.webui;

    import java.sql.Connection;
    import java.sql.Types;
    Import oracle.apps.ar.creditmgt.application.webui.OCMAddFinDataCO;
    Import oracle.apps.fnd.common.VersionInfo;
    Import oracle.apps.fnd.framework.webui.OAControllerImpl;
    Import oracle.apps.fnd.framework.webui.OAPageContext;
    Import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    Import oracle.apps.fnd.framework.OAApplicationModule;
    Import oracle.apps.fnd.framework.OAException;
    Import oracle.apps.fnd.framework.OAViewObject;
    Import oracle.apps.fnd.framework.webui.beans.layout.OAQueryBean;
    Import oracle.jbo.Row;
    Import oracle.jbo.domain.Number;
    Import oracle.jdbc.driver.OracleCallableStatement;
    Import oracle.sql.CHAR;

    SerializableAttribute public class MANOCMAddFinDataCO extends OCMAddFinDataCO {}
    public MANOCMAddFinDataCO() {}
    }

    ' public void processRequest (OAPageContext oapagecontext, OAWebBean oawebbean)
    {
    super.processRequest (oapagecontext, oawebbean);

    OAViewObject oaviewobject3 = (OAViewObject) oapagecontext.getApplicationModule (oawebbean) .findViewObject ("CaseFoldersVO");
    If (oaviewobject3! = null)
    {
    Line row5 = oaviewobject3.first ();
    If (row5! = null)
    {
    Number of pCaseFolderId = (Number) row5.getAttribute ("CaseFolderId");
    oapagecontext.putTransactionValue ("CasefolderID", pCaseFolderId);
    }
    }
    OAViewObject oaviewobject = (OAViewObject) oapagecontext.getApplicationModule (oawebbean) .findViewObject ("creditAppFinancialDataVO");
    If (oaviewobject! = null)
    {
    Row1 row = oaviewobject.first ();
    If (row1! = null) {}
    Number of pFinDataId = (Number) row1.getAttribute ("FinancialDataId");
    oapagecontext.putTransactionValue ("FinDataID", pFinDataId);
    }
    }
    }

    ' Public Sub processFormData (OAPageContext oapagecontext, OAWebBean oawebbean)
    {
    super.processFormData (oapagecontext, oawebbean);
    }


    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
    {
    super.processFormRequest (pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule (webBean);
    OAQueryBean queryBean = (OAQueryBean) webBean.findChildRecursive ("OCMBtnLayOutRN");

    Apply chain = queryBean.getGoButtonName ();

    If (pageContext.getParameter ("Apply")! = null)
    {
    Integer pcaseFolderId = (Integer) pageContext.getTransactionValue("CasefolderID");
    Integer pfinDataId = (Integer) pageContext.getTransactionValue("FinDataID");
    String pSubDebt = pageContext.getParameter ("SubordinatedDebt");

    Connection Conn = pageContext.getApplicationModule (webBean) .getOADBTransaction () .getJdbcConnection ();
    Try
    {
    OracleCallableStatement cs = (OracleCallableStatement) conn.prepareCall ("start OCM_FIN_DATA_PKG. Insert_Fin_Data (: 1,: 2: 3:4); end; ») ;

    cs.setInt (1, pfinDataId);
    cs.setInt (2, pcaseFolderId);
    cs.setString (3, pSubDebt);
    cs.registerOutParameter(4,Types.CHAR);

    DSI Execute();

    Output = cs.getCHAR CHAR (4);

    DSI Close();
    If (outP.equals('S'))
    {
    throw new OAException ("Success");
    }
    else {}
    throw new OAException ("Failed to Insert");
    }
    }
    catch (System.Exception Exception)
    {
    throw new OAException ("connection error");
    }
    }
    }
    }

    Package:

    CREATE OR REPLACE
    OCM_FIN_DATA_PKG PACKAGE BODY
    AS

    PROCEDURE Insert_Fin_Data
    (
    p_finacial_id NUMBER,
    p_casefolder_id NUMBER,
    p_SubDebt NUMBER,
    x_status OUT VARCHAR2)
    IS

    BEGIN
    FND_FILE. PUT_LINE (FND_FILE. JOURNAL,' before insert: ' | p_finacial_id |'; Casefolder id :'|| p_casefolder_id |'; Subordinate debt :'|| p_SubDebt);
    INSERT
    IN MAN_OCM_FIN_DATA
    (
    Financial_data_id,
    Casefolder_Id,
    Subordinated_Debt
    )
    VALUES
    (
    p_finacial_id,
    p_casefolder_id,
    p_SubDebt
    );
    commit;
    x_status: = s ';
    FND_FILE. PUT_LINE
    (
    FND_FILE. NEWSPAPER, "inserted successfully.
    )
    ;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    x_status: = 'E ';
    NULL;
    FND_FILE. PUT_LINE
    (
    FND_FILE. NEWSPAPER, "no data for p_finacial_id = ' | ' p_finacial_id |'; Casefolder id :'|| p_casefolder_id |'; Subordinate debt :'|| p_SubDebt
    )
    ;
    WHILE OTHERS THEN
    x_status: = 'E ';
    FND_FILE. PUT_LINE
    (
    FND_FILE. JOURNAL,' error related to the p_SubDebt - ' | p_finacial_id |'; Casefolder id :'|| p_casefolder_id |'; Subordinate debt :'|| p_SubDebt | ' ERR'. SQLERRM
    )
    ;
    END Insert_Fin_Data;
    END MAN_OCM_FIN_DATA_PKG;
    /
    display errors;


    Please tell me if there is an error in what I did. Please tell me why the data are not met in the custom table!

    I tried to run an anonymous block, and he succeeded!

    DECLARE
    x_sts VARCHAR2 (1);
    a NUMBER: = 11111;
    b NUMBER: = 22222;
    c NUMBER: = 33333;
    BEGIN
    MAN_OCM_FIN_DATA_PKG.insert_fin_data (p_finacial_id = > a, p_casefolder_id = > b, p_SubDebt = > c, x_status = > x_sts);
    dbms_output.put_line ('Status :'|| x_sts);
    EXCEPTION
    WHILE OTHERS THEN
    dbms_output.put_line (SQLERRM);
    END;.


    Please advice on how to move forward. I'm not able to debug as I only download pages stocked in my jdevloper.
    Please help about this

    Thank you
    Prakash

    Prakash

    Send me your code will check and update.

    Thank you
    AJ

Maybe you are looking for