Evaluate the input param

Hi.,
I had created a master detail relationship between two table fin and appl_accts
I had created a post button
While the user clicks the button
It must check the year attribute in fin and to the corresponding year attribute an update should occur in the attribute of the table appl_accts.,
How can i perform this operation
anyone could pls help me
Edited by: Kristo on Sep 20, 2011 11:40 PM

Well, master detail relationships are described here http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcquerying.htm#insertedID6
A service method is a method you implement in the VO to do some special stuff which can't be done with out of the box methods. The general way to implement this is documented here http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcadvvo.htm#insertedID3
You have to write the method to update all childes (which you get through the special viewlink), expose this method in the client interface. This will make the method visible in the UI in the DataControl.
Now you can bind the method to a button, or if the button already has a listener attached call teh method from there.
Timo

Similar Messages

  • Passing the input element in jsp:param

    Hi all,
    Could you please chek what is wrong in the code,
    <input type="hidden" name="riyas" value="hello Riyas" />
    <jsp:param name="Message" value="<%=riyas%>" />
    Will the jsp param get the input value?
    regards,
    Riyas M S

    it shud b lik ${riyas}

  • How to get the input data on the arbitrary draw event ?

    Hi all,
    I'm trying to draw a histogram on a arbitrary parameter (just like the "Levels" effect). The draw part is well, but I have a problem with the input layer data (param[0]).
    All I have to do now is read the input data on the arbitrary draw event. But there's not the input pointer on the draw event. So I called the PF_CHECKOUT_PARAM() function to get the input data, and it works!
    When I test in AE, I created a layer A, and added some color correction effects to the layer A before added my effect to the layer A. The problem is the input layer my effect read is not the result of previous effects I applied before.
    Has anyway to read the latest input data in the arbitrary events ?
    Thanks.

    Hi shachar, nice to meet you!
    In another way, I created a sequence data like this:
    typedef struct {
        bool didRender;
        <some histogram data>;
    } Histogram;
    typedef struct {
        Histogram*  histograms;
    } my_sequence_data, *my_sequence_dataP, **my_sequence_dataH;
    my_sequence_data.histograms is an array with in_data->total_time / in_data->time_step items initialized during the sequence setup.
    During the render call, I cached  the calculated histogram at this current_time to the sequence->histograms[in_data->current_time / in_data->time_step], set the didRender = true.
    In this way, I have another problem with the AE cached image. I disabled a random previous effect on the effect panel, then the AE re-rendered my effect, the histogram changed (good). I enabled the effect again, and nothing change (bad )
    I try to force the AE re-rendering after the custom UI changed ( I tried with the event_extraP->evt_out_flags = PF_EO_HANDLED_EVENT; and params[HISTOGRAM_UI]->uu.change_flags |= PF_ChangeFlag_CHANGED_VALUE; on the click, drag events...) but it seem not works!
    Am I on the right way ?
    Thank you so much!

  • How can I make and wire reffercence signals(ramp,sine,square) to excite and evaluate the behaviour of the system wih PID control?

    Dear all,
    I am Tri, I am a beginer with LV program. Actually I used LV for my reasearch, I had tried wiht very simple thing but the problem arise because I am not familiar with LA. Why I know that problem is simple because I compare with MatLab that I had somtime used before.
    I make a loop of PID control, It worked properly but I don't know how to make a refference signal to wire to the loop for excitating to evaluate the behaviour of the system. Please give me your help.
    Thanks

    Hi Tri,
          I've employed the "simple PID.vi" without a problem, but your example is more complex.  I think you use a Function generator to modulate DAQ inputs?
    Perhaps someone else will be able to infer your intention and identify a flaw in the logic.
    In case someone else wants to run your VI, it may help to build/attach an .llb (some sub-VIs are needed by the VI you atached.)
    To build the .llb, save your VI with Development Distribution options (Alt-F,Alt-W) and attach the .LLB
    1) \File\Save with Options
    2) select Development Distribution
    3) Save
    4) choose "New VI Library"
    But first, It would be helpful to us if you clean-up the code - straighten wire-paths, minimize bends in wires, and try to avoid "tall" diagrams.  Scrolling diagrams up and down is "bad form".  If scrolling is necessary, left&right is preferrable!
    Cheers.
    (and, for the record: in my previous post, Exitation would be wired to "Process Variable", Not "Set Point" (ouch!))
    When they give imbeciles handicap-parking, I won't have so far to walk!

  • Data Service Not showing all the out param values in Oracle Store proc call

    Hi,
    I have imported a Oracle stored proc which takes 3 input params and gives 33 out params.
    While testing the Data Service , it is showing only the First 3 out params.
    I tried the same request thrught JDBC code and it is showing results for some of the other params.
    Is this any DSP issue ?
    Thanks
    Gkumar

    Open a case with Customer Support and ask for the patch on CR295750.

  • EventMgmtService - performBulkAction - What are the inputs?

    Has anyone used this API yet? I am trying to reprocess recon events and would preform to do this in bulk. I cannot figure out the inputs to this API though. Has anyone been able to use this yet?
    Thanks,
    Kevin

    The Retry Reconciliation Batch is used to respond to issues where a batch of recons failed.  I have a situation where I have two trusted recons and when they generate recon tasks in the "wrong order."  The secondary trusted recon cannot create a new user but the primary one can, so when the secondary trusted recon evaluates, it does not find the user ID and ignores the event.  The primary evaluates and creates the user ID, but there needs to be a mechanism to re-evaluate the secondary trusted recon.  This requires use of the EventMgmtService.search() method to find the events to reprocess, then reprocess them with the ReconOperationsService.processReconciliationEvent() method.  Your question is valid.

  • Null stored proc input param?

    hello
    how do you specify input param for a stored proc defaults to NULL?Is there such thing in pl\sql?
    thanks

    Perhaps you mean something like:
    create or replace procedure my_proc
    (p_my_parameter in varchar2 default null)
    as
    begin
       if p_my_parameter is not null
       then
          some_code;
      else
          some_other_code;
       end if;
    end my proc;(but it's a bit 'funky' way of reasoning ;-) , I would take a different kind of logic... )
    One other possible reason: you want to add the parameter to an existing proc, but keep dependent objects independent from the new parameter so you don't need to adjust them?

  • I am facing error while running Quickpay in Fusion payroll that "The input value Periodicity is missing for element type KGOC_Unpaid_Absence_Amount. Enter a valid input value". Any idea?

    I am facing error while running Quickpay in Fusion payroll that "The input value Periodicity is missing for element type KGOC_Unpaid_Absence_Amount. Enter a valid input value". Any idea?

    This is most probably because the Periodicity input value has been configured as "Required" and no value has been input for it.
    Please enter a value and try to re-run Quick Pay.

  • Compare the input filename in the selection screen

    In the selection screen input field
    there is an option of selecting the directory and file name and not the extension .
    This is used to download the datas
    Extension can be selected by using the option button
    rtf
    csv.
    the user has to give only  the filename and not the extension.
    suppose if the user input is C:\temp\file1.rtf.
    Either i should take only the filename
    or i should display the message give only the filename and not the extension . its already been selected!!!!
    I want to compare the input string contains  .doc
    how to do the comparison and to get the above results mentiond
    Thanks in advance

    Because the requirment is there are two option buttion for selecting the download file format
    But unknowingly if the user gives the filename along with the extension. I need to handle that error
    giving some error message or information message
    By comparing the last 4 letters of the filename.. either.doc or rtf or csv or watever
    so how to do that
    then after comparing that i should give the user a msg doc type is already selected give only the filename
    I hope u understand my req

  • I have a record player hooked up through the audio port.  The input volume is registering high, but there is no output anywhere.  Help?

    I have a record player hooked up to a preamp which is hooked up through the audio port.The sound settings are set to have the audio port be "input".  The input volume is registering high with fluxuations in the sound settings, but there is no output anywhere.  Do I need some sort of third party application or widget to hear the record i'm playing through the speakers that are hooked up to my computer?

    keithstopher,
    You may want to check into a USB interface, as I believe you have a Mac with the single audio port, which can be used as input OR output.
    You may want to check into something like the following, there are may out there, see what fits your needs best.
    http://www.amazon.com/Behringer-UFO202-BEHRINGER-U-PHONO/dp/B002GHBYZ0/ref=pd_cp _MI_2
    Hope this helps

  • Im trying to watch movies from my macbook pro to my new vizio, but when I connect the minidisplayport to HDMI cable to input 2, and switch the input from my remote to that input, nothing happens.  What am I doing wrong?

    I am trying to watch movies from my macbook pro (2010) on my new vizio tv.  I connected the minidisplayport to HDMI cable (bought from the apple store) and switched the input to the right input but nothing happens. What am I doing wrong?

    Hi T,
    Open Sys Prefs > Displays and check the settings there.

  • I created boolean references in my main vi block diagram and copied them to my sub vi front panel. when wire my reference in my main vi to one the input node of the sub vi the wire is broken. the error says its a class conflict why?

    i created boolean references in my main vi block diagram and copied them to my sub vi front panel. when wire my reference in my main vi to one the input node of the sub vi the wire is broken. the error says its a class conflict why?

    Expanding and clarifying what BJD said;
    After you create the temporary sub-VI that BJD mentioned, open its front panel and copy the reference control that LV created when it created the sub-VI.
    This reference control will be correct class etc that you need. Use the control to replace the original control that you were attempting to wire up.
    The technique of "create sub-VI...copy" always works for me.
    There is one more thing that you should watch out for.
    The mechanical action of the boolean can not be set for latch action when attempting to read the value using a value property node.
    Trying to help,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • ALV heading should change based on the input

    Hi Experts,
    how to change the column heading in my ALV report with respect to the input
    fields.....based on my inputs the column's heading should change....
    also , I need to display the values fetched from dbtab as
    heading in my ALV o/p. Please advice is it possible ( please don't advice in OOPS )
    and below this heading I need to display its corresponding values.
    My functional has asked me to refer t-code IE03.
    Thanks
    Karthik

    Hi there Karthik , Try something like  these .
    CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name       = 'ZSTPASSOS'
          i_client_never_display = 'X'
        CHANGING
          ct_fieldcat            = field_catalog.
      LOOP AT field_catalog INTO wa_catalog.
        CLEAR wa_cat_batch.
        CASE wa_catalog-fieldname.
          WHEN 'TIPOCONSTR'.
            wa_cat_batch-text_fieldname  = 'Tipo de constr. Red' .
            wa_catalog-outputlen = '20'.
            MOVE: text-005 TO wa_catalog-coltext,
                  text-005 TO wa_catalog-reptext.
            wa_cat_batch-reptext_ddic = text-005.
          WHEN 'LONGPREVRED '.
            wa_catalog-outputlen = '20'.
            MOVE: text-006 TO wa_catalog-coltext,
                  text-006  TO wa_catalog-reptext.
            wa_cat_batch-reptext_ddic =  text-006.
          WHEN 'NOACOMASOC'.
            wa_catalog-outputlen = '20'.
            MOVE: text-007 TO wa_catalog-coltext,
                  text-007 TO wa_catalog-scrtext_s.
            wa_cat_batch-reptext_ddic = text-007.
          WHEN 'TIPORAMAL'.
            wa_catalog-outputlen = '20'.
            MOVE: text-009  TO wa_catalog-coltext,
                  text-009  TO wa_catalog-reptext.
            wa_cat_batch-reptext_ddic = text-009.
          WHEN 'TIPOACOM'.
            wa_catalog-outputlen = '20'.
            MOVE:  text-008 TO wa_catalog-coltext,
                   text-008 TO wa_catalog-reptext.
            wa_cat_batch-reptext_ddic = text-008.
          WHEN 'LONGPREVACOM'.
            wa_catalog-outputlen = '20'.
            MOVE: text-010  TO wa_catalog-coltext,
                  text-010   TO wa_catalog-reptext.
            wa_cat_batch-reptext_ddic = text-010.
        ENDCASE.
        MODIFY field_catalog FROM wa_catalog
                             TRANSPORTING  outputlen  coltext reptext scrtext_l scrtext_m scrtext_s .

  • How to disabled the input parameter dialog box in crystal reports 9

    Post Author: Murtaza
    CA Forum: General
    Hi friends,I have got stuck with a weird problem.  In my
    crystal report, I have set up some input parameters.  I am setting
    values for these parameters somewhere inside code.  But I don't
    want to show the default input parameter dialog box. Under any case,
    user should not see the ugly parameter dialog box that crystal
    presents.   Please suggest me how I can achieve
    this.  I cannot do this through code, because our environment does
    not allow that.  I have to do this in crystal reports viewer and
    by setting some property of the crystal report object. But everything
    must be done on UI, not through code. So, the solution should not be the following. 
    // step before step 1
    // **** the line needs to refer to the report and be set before setting
    ReportSource in the viewer to myReport
    myReport.EnableParameterPrompting = False
    Any help would be greatly appreciated.  Murtaza

    Post Author: sleahcim
    CA Forum: General
    Hi Murtaza,
    Unfortunately, I am not aware of any method to suppress the prompt for the input parameters, but still use them.  It is truly a design-related issue for the report.  The reason that the prompt appears is because the parameter it is prompting for is used in the report; in particular either the Group or Record Selection, or referenced in another formula.
    The only way I can think of to not show the prompt, is to not use the parameter in the report.  You did mention that you are setting the value of the parameter inside of the report -- are you doing this through using a formula?  Perhaps you can just remove the parameter and only use the formula that you are setting the default values with.
    -Michael

  • How can i pass the Input value to the sql file in the korn shell ??

    Hi,
    How can i pass the Input value to the sql file in the korn shell ??
    I have to pass the 4 different values to the sql file and each time i pass the value it has to generate the txt file for that value like wise it has to generate the 4 files at each run.
    can any one help me out.
    Raja

    Can you please more elaberate., perhaps you should more elaberate.
    sqlplus is a program. you start it from the korn shell. when it's finished, processing control returns to the korn shell. the korn shell and sqlplus do not communicate back and forth.
    so "spool the output from .sql file to some txt file from k shell, while passing the input parameters to the sql file from korn shell" makes no sense.

Maybe you are looking for