AM how to call the methods of class Impl EO

Hello world

I try to display database data in a table, and I need to add a transitional and calculated attribute.

So I created an EO, I added a transitional attribute, and now I need to create the method that calculates its value.

I created this method of AOS.

Back to EO Impl class, I want to call this method in the Get accessor of my transitional attribute.

To call this AM method in the EO Impl category, I have to get the AM, and I don't know how to do it. Because I'm used to getting the pageContext controller AM.

I googled and found that I don't need to create the method in the AM, I found that I just have to code directly in the Get accessor.

But again, to calculate my transitional attribute, I have need for some queries and for that I need OADBTransaction, which means once again, I need to get the AM in the Impl EO class.

I'm confused, I don't know how to do, if anyone can help please

Thank you

Kind regards

Afaf

If you derive the value based on the query, it would be better to do it in a single query.

If you can stick the main request and the subquery (s) here, I take a look.

If this is not possible using the query, you can get the oaDBTransaction like below in the VO RowImpl.

Import oracle.apps.fnd.framework.OAApplicationModule;

        OAApplicationModule appModule = (OAApplicationModule)this.getApplicationModule();
        appModule.getOADBTransaction()

See you soon

AJ

Tags: Oracle Applications

Similar Questions

  • Access the method of class (impl) view of bean object (or vice versa)

    Halo everybody, I use JDeveloper 11.1.2.1.0

    I use a UsersViewImpl class with a method that update the table as below.

    public void resetEmployeeSearch() {}
    removeApplyViewCriteriaName ("viewCriteria");
    executeQuery();
    }

    and I have a UserBean class with a method that reset the values of fields of research such as below.

    {} public void resetInput (ActionEvent actionEvent)
    ........ RichInputText = entry...
    input.setValue("");
    AdfFacesContext.getCurrentInstance () .addPartialTarget (searchForm);
    ........
    }


    I want to implement that, once I press a button, the two methods are called.

    I tried to call method of bean using vs UsersViewImpl = new UsersViewImpl... who does not and will not work.
    I've read about something as ViewObject vo = am.findViewObject ("DeptView1") but I duno how to use because I can't have a good example.

    Any suggestion on access to the method of class (impl) view of bean object (or vice versa)?
    Or is it possible to combine the two method in the same class?


    Thanks :(

    and then create a link to this effect in your page. > Sorry, dun get this part. You create the link from the button to the UsersViewImpl method?
    The code below should be method (binding) in UsersViewImpl, right?
    OperationBinding op = ((DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ()) .getOperationBinding ();
    op. Execute();

    What I meant to say call this code your method of bean... this way you can call both the logic in your bean and the method of VO together!

  • How to call the method of bean of support on the component date. MinValue

    Hello

    I have a method in bean

    {} public void sample()

    Set the entry code

    }

    I want to call the sample method when I click the date component. MinValue in .jsff

    Right now using the < af:clientListener method = 'onClick' type = "click on" / > inside the < af:inputDate > element

    < af:resource type = "javascript" >

    function onClick (clickEvent) {}

    Alert ("hiii");

    Here, I want to call the sample method by clicking on date. MinValue

    }

    < / af:resource >

    Any Solution would be Appreciable

    Try to follow this:

    -Inside af: inputDate add clientListener and serverListener

    
         
         
    
    

    The serverListener method must map to a function in backbean

    -in java script method write this

    function onClick(event)
    {
      var source = event.getSource();
      AdfCustomEvent.queue(source,"serverListenerOperations", {}, false);
    }
    
  • How to call the method of notification service websocket project different from the same application?

    Hi all

    My problem:

    * I have ADF application with model, view and websocket service inside projects.

    * I wish to inform the client (browser) on event triggered in the model project.

    * So, I need somehow to invoke the websocket service method to send the message to all the sessions that are enrolled in the websocket communication channel.

    * How can I achieve that?

    I use JDev 12.1.3 with built-in WebLogic Server. Thank you!

    -Danas

    No doubt with some form of messaging (JMS or something similar - in-memory cache solutions have pub/sub support).

    Dario

  • How to call a method of the Module of the Application of a class of ViewObjectImpl?

    Howdy,

    With the help of Studio Edition Version 11.1.1.3.0.

    I have a setup where a user between an element and a price. When the item and the price is committed, I want this event to then influence the price of his parents. My idea is to do a ViewRowImpl class and then call an AppModuleImpl class that is her parents and it affects their attributes.

    Question:

    (1) how to call a method on the Module of the Application of a class of ViewObjectImpl?
      public void setPrice(Number value)
      {
        setAttributeInternal(PRICE, value);
        
        DCBindingContainer bindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
        BindingContext bctx = bindings.getBindingContext();
        DCDataControl control = bctx.findDataControl("AppModuleDataControl");
        ApplicationModule am = (ApplicationModule ) control.getDataProvider();
        //uh now what??
        // am.getProperty("method call(getTipsNum())") ?
      }
    (2) when I set an attribute on a view through the AppModuleImpl object, I'll make an infinite loop in this way? that is the AppModuleImpl calls the ViewRowImpl class on a setAttribue (< name >, < value >)?

    Thank you guys.

    It's an interesting problem, I'll take a stab to solve here.

    First let's see I understand the data model:

    (a) there is a table called BOM with a self referencing FK creating a hierarchy of data
    (b) each record BOM is usually a child to another record BOM, so using your example, a van is composed of frames and tires - Let's say that this amounts to 3 records in the Schedule table.
    (c) check parent, truck, is the root of the hierarchy, and so the FK relationship sucks.
    (d) the price of a truck consists of its children. So if the frame costs $1,000 and tires $500, the pickup truck costs total $1,500.
    (e) a change in the price of any folder BOM, upwards or downwards must be propagated to its parent folder BOM. As an example, if the tires up to $600, the pickup truck is now $1600 ($1000 frame + tires $600).

    Does this sound right?

    Well, that I understand the data model, here's what I'd do build in what concerns objects ADF BC:

    (1) an entity BOM (EO) object - let's call this Bom
    (2) a BOM BOM EO association (representing the self referencing FK)-Let's call it BomBomFkAssoc
    (3) an object to view BOM (VO) based on the EO - let's call it BomView
    (4) BOM VO view link BOM VO based on EO of #2 association - call BomBomFkLink

    Next, we create the Java constructs:

    (5) #1 ensures that the EntityImpl has been created
    (6) #4 guarantees for the EO association that it generates the required Java accessors

    Now the additional code:

    (7) for the EntityImpl # 5, in the field of setter setPrice() something like the following:

    public Number setPrice(Number value) {
      Number diffPrice = value.minus(getPrice()); 
    
      setAttributeInternal(PRICE, value);
    
      BomImpl parentBom = getBom(); // from step #6, the EntityImpl should have an accessor method to it's parent BomImpl record
      Number parentDiffPrice = parentBom.getPrice().add(diffPrice);
      parentBom.setPrice(parentDiffPrice);
    }
    

    From a point of view JSF, now when I change a specific record of the Nomenclature in an edit form, a change for the price of registration for the Bill to submit time will automatically propagated to the top of the hierarchy of the BOM because the method setPrice() of the current OS of BOM will walk to the top of the hierarchy of the BOM to the parent following the call it is setPrice() method , which will be then walk to the next BOM record and so forth. At the time all BOM records with changes should be committed to the database.

    You don't need to test this in JSF, but simply the browser component of company on the Application template project Module.

    .... Of course... If I misunderstood your data model, it will be of no help whatsoever.

    CM.

  • How to call a method of the AM with parameters of Bean managed?

    Hello world

    I have a situation where I need to call the Managed bean (setDefaultSubInv) AM, under value changes Listner method. Here's what I do, I added the AM method on page links, and then at the bean call it

    Class [] paramTypes = {};
    Object [] params = {};
    invokeEL ("#{bindings.setDefaultSubInv.execute}", paramTypes, params);

    It works and be able to call this method, if there are no parameters. Say that I pass a parameter to setDefaultSubInv(String a) method AM, I tried to call it bean but raise an error

    The string available = 'test ';
    Class [] paramTypes = {String.class};
    Object [] params = {DISP};
    invokeEL ("#{bindings.setDefaultSubInv.execute}", paramTypes, params);

    I'm not sure this is the right way to call the method with parameters. Can anyone tell how to call a method of the AM with bean to manage settings

    Thank you
    San.

    Just do the following

    1. your method in the Client Interface.
    2 - Add to Page Def.
    3 - Customize your Script like below one to reach your goal.

    BindingContainer links = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("GetUserRoles");
    operationBinding.getParamsMap () .put ("username", "oracle");
    operationBinding.getParamsMap () .put ("role", "F1211");
    operationBinding.getParamsMap () .put ("Connection", "JDBC");
    Object result = operationBinding.execute ();
    If (! operationBinding.getErrors () .isEmpty ()) {}
    Returns a null value.
    }
    Returns a null value.
    }

    I hope it helps you
    Thank you

  • question on "How to call a method once when starting the application"

    Hello everyone.

    I'm trying to implement that article "How to call a method once when you start the application" by Frank suggests.
    https://blogs.Oracle.com/jdevotnharvest/entry/how_to_invoke_a_method


    Suppose I want to have a single entry point, so in my login.jpsx I have the below:
    <f:view beforePhase="#{login.onBeforePhase}">
    In the 'onBeforePhase' method, I have to pass the phaseEvent, since the signature is as follows:
    public void onBeforePhase(PhaseEvent phaseEvent)
    But how do I know the phaseEvent during the call to the login.onBeforePhase? How the call should be?

    Thank you very much!


    PS. I use jDev 11.1.2.1.0

    You must not pass something to this method, this method is called before each Phase except view restoration
    Just write logic as Frank suggested to the phase in which you want the code to run. You can get the PhaseId analogues

    PhaseId.RENDER_RESPONSE

    public void onBeforePhase(PhaseEvent phaseEvent) {// from Frank's doc
     //render response is called on an initial page request
      if(phaseEvent.getPhaseId() == PhaseId.RENDER_RESPONSE){
    ... etc
    
  • How to call a method abstract in Java

    Hi all

    I am new to Java, and have been learning. I have a question here. I came across the following Java class and trying to understand but got confused how he is able to call an abstract method. Here's the code I'm referring to:

    package sampleapps.gui;

    Javax.swing import. *;

    import java.awt.*. *;

    public class InnerClassAnimationExample {}

    int x = 70, y = 70;

    Public Shared Sub main (String [] args) {}

    InnerClassAnimationExample innerClassAnimationExample = new InnerClassAnimationExample();

    innerClassAnimationExample.go ();

    }

    public void getCurrentCard {}

    JFrame frame = new JFrame();

    frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);

    NewMyDrawPanel drawPanel = new NewMyDrawPanel();

    frame.getContentPane () .add (drawPanel);

    frame.setSize (300, 300);

    frame.setVisible (true);

    for (int i = 0; i < 500; i ++) {}

    x ++ ;

    y ++ ;

    drawPanel.repaint ();

    try {}

    Thread.Sleep (50);

    } catch (Exception e) {}

    e.printStackTrace ();

    }

    }

    }

    class NewMyDrawPanel extends JPanel {

    {} public void paintComponent (Graphics g)

    Graphics2D g2d = (Graphics2D) g;

    Red int = (int) (Math. random() * 255);

    int green = (int) (Math.Random () * 255);

    Blue int = (int) (Math. random() * 255);

    Color startColor = new color (red, green, blue);

    Red = (int) (Math. random () * 255);

    Green = (int) (Math.Random () * 255);

    Blue = (int) (Math.Random () * 255);

    Color endColor = new color (red, green, blue);

    GradientPaint gradient = new GradientPaint (7070, startColor, 150 150, endColor); We can also use colors straight as Color.RED, Color.BLUE

    GradientPaint gradient = new GradientPaint (7070, startColor, 150 150, endColor);

    g2d.setColor (Color.White);

    g2d.fillRect (0, 0, this.getWidth (), this.getHeight ());

    g2d.setPaint (gradient);

    g2d.fillOval (x, y, 40, 40);

    }

    }

    }

    For example, in the code above, there are an internal NewMyDrawPanel class that has a method paintComponent (Graphics g). I've highlighted the 2 lines of code above.

    Line 1 : Graphics2D g2d = (Graphics2D) g;

    Line 2 : g2d.fillOval(x,y,40,40);


    I understand that we are casting type reference to Graphics2D g reference g2d and we call the method fillOval() on g2d. I do not see a method of fillOval() in the Graphics2D class but it's there in the Graphics class and Filloval()) method is an abstract method.

    So my question is:

    1. If we are not able to instantiate an abstract class (Graphics2D Graphics classes) and how are we able to access the abstract method fillOval()

    2. Secondly, given that the fillOval() method is an abstract method, it has no implementation for the method. However, when I call the method fillOval() on Graphics2D reference, I was able to draw and fill in an oval of the specified coordinates. Then, where the actual implementation code would be?

    Could you please, somebody explain how this happened? Pls help.

    Thanks in advance.

    Mahesh Reddy Y V wrote:

    1. If we are not able to instantiate an abstract class (Graphics2D Graphics classes) and how are we able to access the abstract method fillOval()

    2. Secondly, given that the fillOval() method is an abstract method, it has no implementation for the method. However, when I call the method fillOval() on Graphics2D reference, I was able to draw and fill in an oval of the specified coordinates. Then, where the actual implementation code would be?

    The point of having the Graphics class declaring fillOval() summary, is that we can have confidence that all the graph goes instantiable subclass is an implementation of this method. You as the user of this unknown implementer of graphics have no need of care including probably several classes in this legacy hirarchie did the implementation. You just trust in the fact that it must be there, because the java compiler takes care of this.

    Good bye

    DPT

  • Call the method of the object, the view object entity

    Hi all
    I use jdeveloper 11.2.1.0, and I need to call the method in the object class to view object entity class.
    Someone knows how to do?

    Thank you.

    http://andrejusb.blogspot.in/2009/11/calling-custom-entity-method-from-view.html

  • Call the method in the root Movie Clip

    Hi all

    In AS 2, I was able to call a method declared in the chronology of the root of a moviclip by placing code similar to "_root.callMethod ()". I'm doing the same AS 3, but I get an error "1119: access of the meshes of property may be undefined in a reference with static type flash.display:DisplayObject.".

    On the first frame of my main script, I have:
    var st:String = "HELLO";

    I also have a movieclip in the main scenario that has the following on its 1 setting:
    trace ("ST ROOT OF CLIP -" + root.st);

    When launched, I get the above error.

    How can I access variables declared in other clips and the main timeline and calling the methods declared in other MC and the main timeline?

    Thanks for your help in advance.
    V

    You must convert this object to display as a dynamic class - for example, a movieclip:

  • How to call the web service?

    Hello

    I want to know how to call the web service from my application HTML5 & javascript.

    Please help me find this detail as what I can access easily. and I want to access web services online (a method of it) I'm not concered with how background Web service takes place.

    I just want that when you call a web service method, I will return the result.

    Please try this out for a WebService call

    var xmlhttp;
    xmlhttp = new XMLHttpRequest();
    xmlhttp.open("get","your url",true);
    xmlhttp.setRequestHeader("Accept","application/json");
    xmlhttp.setRequestHeader("Content-type", "application/json");
    xmlhttp.onreadystatechange=function() {
     if (xmlhttp.readyState==4) {
      if (xmlhttp.status == 200) {
        console.log(xmlhttp.responseText);
      }
     }
    }
    xmlhttp.send();
    

    This will display the result of the invocation of webservice. The url is the application that you deploy and the type can be get/post. If xmlhttp.send (post) takes argument for the display of the data. You can call it by clicking a button in HTML.

  • Call the method call activities before you navigate to the target jsf page

    Dear all,

    I use JDeveloper Studio Edition Version 12.1.3.0.0.

    Requirement:

    I have a stubborn taskflow. The stubborn workflow is without using page fragments.

    I have three pages: login.jsf, admin.jsf, user.jsf. I have a method call activity in the taskflow. The login.jsf is the default page. The page of login.jsf have an af:selectOneRadio with two af:selectItem: Admin and user. It also has an af:button. When the user select the af: af selectItem: selectOneRadio and click on the af: button, it should call the method call activity (doLogin) and based on logic it will redirect to the page admin.jsf or user.jsf page.

    Please find the taskflow below:

    How to achieve the solution to the prescription above.

    Thank you and best regards,

    Susanto Paul

    Hi all

    I'm able to resolve the obligation.

    The post below was really helpful.

    http://andrejusb.blogspot.in/2011/09/programmatic-ADF-task-flow-router.html

    Thank you best regards &,.

    Susanto Paul

  • I don't know how to use the method (PDDrawPageOrCosObjectToBuffer) in the Mac environment.

    Use the method of PDDrawPageOrCosObjectToBuffer of Acrobat SDK from DC () in the Mac environment,

    I want to get a screenshot of the PDF in the bitmap to the screen.

    A description of PDDrawPageOrCosObjectToBuffer () in Acrobat DC SDK API references, but I do not understand how to use the method.

    Please tell me this use.

    If there is a code example using PDDrawPageOrCosObjectToBuffer (), I'm happy.

    Hello

    My code is finally working with PDDrawPageOrCosObjectToBuffer. I hope it helps someone:

    void releaseBufferForCG (void * / * info * /, const void * data, size_t / * size * /)

    {

    Free ((void*) Data);

    }

    CGImageRef CAcrobatBitmapCreator::ConvertToBitmap (const PDPage & i_rPDPage,

    ASFixedMatrix & i_rTransform,

    int & i_rBitmapWidth,

    int & i_rBitmapHeight)

    {

    Get the rect in user-space coordinates update

    ASRealRect updateRectReal = {0,0,0,0};

    ASFixedRect boxFixed;

    PDPageGetBBox (i_rPDPage & boxFixed);

    updateRectReal.top = ASFixedToFloat (boxFixed.top);

    updateRectReal.left = ASFixedToFloat (boxFixed.left);

    updateRectReal.right = ASFixedToFloat (boxFixed.right);

    updateRectReal.bottom = ASFixedToFloat (boxFixed.bottom);

    Convert the fixed transformation matrix to real

    ASRealMatrix transformReal = {0, 0, 0, 0, 0, 0};

    transformReal.a = ASFixedToFloat (i_rTransform.a);

    transformReal.b = ASFixedToFloat (i_rTransform.b);

    transformReal.c = ASFixedToFloat (i_rTransform.c);

    transformReal.d = ASFixedToFloat (i_rTransform.d);

    transformReal.tx = ASFixedToFloat (i_rTransform.h);

    transformReal.ty = ASFixedToFloat (i_rTransform.v);

    ASRealRect destRectReal = {0, i_rBitmapHeight, i_rBitmapWidth, 0}; l, r, t, b

    Prepare the buffer for drawing https://forums.adobe.com/thread/1850089

    This first call to PDDrawPageOrCosObjectToBuffer is only used to get the size of the buffer.

    ASCab flags = ASCabNew();

    ASInt32 bitsPerChannel = 8;

    ASUns32 bufferSize = PDDrawPageOrCosObjectToBuffer (i_rPDPage,

    CosNewNull(),

    ASAtomFromString ("DeviceRGB"),

    NULL,

    NULL,

    bitsPerChannel,

    flags,

    9,

    NULL,

    & transformReal,

    & destRectReal,

    & updateRectReal,

    NULL,

    0,

    (NULL);

    char buffer = (char *) malloc (bufferSize);

    Memset (buffer, 0xff, bufferSize);

    Draw in the buffer

    ASCabPutBool (flags, kPDPageUseAnnotFacesStr, true);

    ASCabPutBool (flags, kPDPageDrawSmoothTextStr, true);

    ASCabPutBool (flags, kPDPageDrawSmoothLineArtStr, true);

    ASCabPutBool (flags, kPDPageDrawSmoothImageStr, true);

    bufferSize = PDDrawPageOrCosObjectToBuffer (i_rPDPage,

    CosNewNull(),

    ASAtomFromString ("DeviceRGB"),

    NULL,

    NULL,

    bitsPerChannel,

    flags,

    9,

    NULL,

    & transformReal,

    & destRectReal,

    & updateRectReal,

    buffer,

    bufferSize,

    (NULL);

    Convert buffer CGImage

    // 1. Remove the 4 bytes of padding at the end, in a new buffer.

    size_t bytesPerRow = (i_rBitmapWidth * 3);

    bytesPerRow = (bytesPerRow % 4 == 0? bytesPerRow: bytesPerRow + (4-(bytesPerRow % 4)));

    size_t bytesPerRowForGC = i_rBitmapWidth * 3;

    size_t bufferCGSize = bytesPerRowForGC * i_rBitmapHeight;

    char * bufferForGC = (char *) malloc (bufferCGSize);

    Memset (bufferForGC, 0xff, bufferCGSize);

    for (int lineIndex = 0; lineIndex)< i_rbitmapheight;="">

    {

    char * destGCPtr = bufferForGC + (lineIndex * bytesPerRowForGC);

    char * srcPtr = buffer + (lineIndex * bytesPerRow);

    If ((srcPtr + bytesPerRowForGC)<= (buffer="" +="" buffersize)="" &&="" (destgcptr="" +="" bytesperrowforgc)=""><= (bufferforgc="" +="" buffercgsize)="">

    {

    memcpy (destGCPtr, srcPtr, bytesPerRowForGC);

    }

    on the other

    {

    break;

    }

    }

    // 2. Create a CGImage using the new buffer.

    CGDataProviderRef provider = CGDataProviderCreateWithData (NULL,

    bufferForGC,

    bufferCGSize,

    releaseBufferForCG); Buffer are ions released this reminder

    Space color CGColorSpaceRef = CGColorSpaceCreateDeviceRGB();

    CGImageRef finalImage = CGImageCreate (i_rBitmapWidth,

    i_rBitmapHeight,

    bitsPerChannel,

    bitsPerChannel * 3.

    bytesPerRowForGC,

    color, space

    kCGImageAlphaNone,

    provider,

    NULL, / / decode (of remapping the colors)

    true, / / interpolate (pixel smoothing)

    kCGRenderingIntentDefault);

    CGColorSpaceRelease (colorspace);

    CGDataProviderRelease (provider);

    Free (buffer);

    FinalImage return;

    }

    David

  • How to call a method defined in AM when I select a value in LOV

    Lets say there is a LOV. The scenario is as soon as I select a value in LOV, a method should be called I wrote in the AM. And the output of the method in an output text area.

    I am not able to understand how to call a method when the user selects a value from the LOV.


    This is wht I did. I had created the connection for the method. One replaced the property autosubmit to the LOV for real and in the properties of the output area, in partial submission trigger property, the ID of the LOV. But I don't have any place where I need to call the method. I'm also not able to remove a listener for action on the LOV
  • How to call a method defined in AppmoduleImpl using a groovy expression?

    Hi experts,

    With the help of jdev 11.1.1.5.0 - adfbc battery.

    I followed this post as the blogger says.
    How to call a method defined in AppmoduleImpl using a groovy expression?
    https://blogs.Oracle.com/ADF/entry/how_to_call_a_method

    While a button insert hit

    Suite error survey.
    java.sql.SQLException: ORA-20483: ADM-
    ORA-06512: at "RMSTD.FUNC_FIND_PLNT_DESC", line 22
    ORA-06512: at line 1
    
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
    It is my code for the function.
    CREATE OR REPLACE FUNCTION func_find_plnt_desc (
       p_bu        VARCHAR2,
       p_plnt_id   VARCHAR2,
       p_lang      NUMBER
    )
       RETURN VARCHAR2
    IS
       CURSOR cur_find_plant
       IS
          SELECT bup_name1, bup_name2
            FROM bus_unit_plants
           WHERE bup_bu = p_bu AND bup_plant_id = p_plnt_id;
    
       rec_find_plant   cur_find_plant%ROWTYPE;
    BEGIN
       OPEN cur_find_plant;
       FETCH cur_find_plant INTO rec_find_plant;
    --RAISE_APPLICATION_ERROR(-20999,P_BU||P_PLNT_ID);
       IF cur_find_plant%NOTFOUND
       THEN
    
          raise_application_error (-20483, 'ADM' || P_PLNT_ID ||'-'||P_BU);
          --NULL;
       END IF;
    
       CLOSE cur_find_plant;
    
       IF p_lang = 1 THEN
          RETURN (rec_find_plant.bup_name1);
       ELSIF p_lang = 2 THEN
          RETURN (rec_find_plant.bup_name2);
       END IF;
    END;
    /
    Reason behind:
    while hitting the insert means null from the value of the survey so error function.

    If am not hitting doesn't mean no problem. the function works correctly return description.

    can someone help me how to override?

    Published by: ADF7 on April 10, 2012 23:51

    ADF7,
    the subject of the post has nothing to do with the question (for as far as I see it).
    As you can see the error message clearly comes from the procedure pl/sql you call the application module, works of groovy appeal method.

    We cannot decide what makes your service if you pass null as a parameter. You can check the settings before you proceed to the procedure or write the procedure in how it treats null parameters.

    Timo

Maybe you are looking for

  • I'll have a publication error during export

    Need help, then click Export on my film I get unable to prepare the project for publication (the project might not be prepared for publication because the error) error in user parameter list I don't know what that means or how to fix it

  • USB - external hard drive WD My Book 1230 is not recognized (Code 28 - access denied)

    Problem started with the purchase of a an external 4 TB My Book Western Digital drive. I bought this second external drive for backup on a fully functional IDENTICAL existing WD my book 1230 4 Tb. My PC is a HP Pavilion e9180f running under Windows 7

  • OVERVIEW OF USB RESOURCE NAME

    Read many of the posts CIHI and manged to get the "COM25' to display when I select the VISA window COM port. However, VISA Interactive Control Window displays the following detailed description of the same port: "ASRL25 (COM25 - microstrain virtual C

  • Printer HP Photosmart 7525 says printer error state.

    Original title: printer in an error state I've been printing with success of my Pro Surface using my printer HP Photosmart 7525 for a few months.   However out of the blue I got a message when I click on the printer that the printer is in a State of

  • toolbar and Panel file

    I closed last Dreamweaver almost all beautiful opened it on the day and the tool bar that opens normally above the document when you open a file with: code, split and Live & Design view that he's gone, also the files Panel that normally fits perfectl