HI, without discounting of transnational text value

Jin

I created application process and java script.
I want when I select student is NEW or OLD radio button and enter class 1 in the text field, then value is expected (ADM TAX and FEES of DEV) text field.
But not these admission fees and not these development costs comes in text field.

Value of ADMFE and DEVFEE are in the table.

My application process

DECLARE
VADM NUMBER;
vDEV NUMBER;

BEGIN
owa_util.mime_header ("text/xml", FALSE ");
HTP.p ('Cache-Control: non-cache');
HTP.p ('Pragma: non-cache');
owa_util.http_header_close;
SELECT ADM_FEE, DEV_FEE IN VAM, vDEV OF FEE_FORMAT_DETAIL
WHERE STU_STATUS =: STATUS AND CLASS_ID =: STUDENTID.
HTP. PRN ("< DATA > '");
HTP. PRN ("< ADM_FEE VALUE ="' |) VAM | ("" > < / ADM_FEE > ');
HTP. PRN ("< DEV_FEE VALUE ="': vDEV |) ("" > < / DEV_FEE > ');
HTP. PRN ("< / DATA > '");
EXCEPTION WHEN OTHERS THEN
HTP. PRN ("< DATA > '");
HTP. PRN ("< ADM_FEE VALUE =" "no such admission!" > < / ADM_FEE > ');
HTP. PRN ("< DEV_FEE VALUE =" no such cool development!"> < / DEV_FEE > ');
HTP. PRN ("< / DATA > '");

END;


Java Code script

< script type = "text/javascript" >
function getStudentFeeInfo (filter)
{
var xml = null;
get var = new htmldb_Get (null, $v ('pFlowId'), 'APPLICATION_PROCESS is FEECOLECTION', 0);
Get.Add ('STUDENTID', 'STATUS', filter.value);
RET = get.get ('XML');
If (ret)
{
var ADM_FEEItems = ret.getElementsByTagName ("ADM_FEE");
If (ADM_FEEItems)
{
var ADM_FEE = document.getElementById ("P19_ADM_FEE");
ADM_FEE. Value = ADM_FEEItems [0] .getAttribute ("VALUE");
}
var DEV_FEEItems = ret.getElementsByTagName ("DEV_FEE");
If (DEV_FEEItems)
{
var DEV_FEE = document.getElementById ("P19_DEV_FEE");
DEV_FEE. Value = DEV_FEEItems [0] .getAttribute ("VALUE");
}
}
get = null;
}

< /script >

I've created TWO elements of the Application
STUDENTID
STATUS


Can you tell me where I'm wrong.

Thank you
Maury

Hello:

The AJAX call now works. I made the following changes to your JS function

get.add('STATUS', $v('P2_STATUS'));
get.add('STREAM',$v('P2_STREAM')); 

I tested for ClassId = 1, Status = NEW and Stream = Npne

CITY

Tags: Database

Similar Questions

  • Extraction of data from two tables without discounting

    Hi friends,

    I have a problem I want to extract data from two tables without discount in the text field when I will enter any value in a text field, then the value of corressponding must come to textfield corressponding.

    for example. There are two table A and B.
    Table A has Colunm

    S_ID number;
    C_ID Varchar2 (30);
    VARCHAR2 (4) s;

    Second table B Colunm name

    S_ID number;
    What varchar (30);
    L_Name varchar (20);

    When I enter in a text field then the c_id 101 s_id, dry, first_name and last_name should come to corressponding text without refresh fields.

    How can I do that.

    Thank you
    Maury

    You can use Ajax and there are tons of good examples out there for this purpose;
    For example [http://apex.oracle.com/pls/otn/f?p=31517:236:1876567353842241]

  • Subtract a value of colunm colunm 2nd report without discounting

    Hello

    I have a report with these columns.

    Table ABC
    Lot_no... Number
    element name varchar2 (16);
    quantiy... number;
    Number of demand Qty... ;
    balance the amount... number;


    I want when I enter 50 in quantiy colunm and 30 in the qty column asks, then balance 20 should come into balance qty without discount.

    How can I do that.
    If you have a link or the example in this regard please send me.

    Thank you
    Maury

    You can get JS or AJAX.

    Sample audit of Denes Kubicek JS:
    http://Apex.Oracle.com/pls/OTN/f?p=31517:71:3426520145419934:no

  • Is it possible to create menus without boxes around the text?

    I'm relatively new to Muse, but I'm hooked on this issue.  I would like to insert a text menu without boxes around the text.

    What I tried:

    Moved in a horizontal menu of the Widget Library to my head for my main menu.  I have spent over an hour trying to find a way to make the surrounding areas go, but I can't.  I realize that I can insert text and text a link to some pages, but I don't want to have to do that if possible.

    Thank you!

    Hello

    You can use no padding for menu items and set the same for all States:

    Also if there is value stroke, you can decrease up to 0 which would remove all border weight.

    Let me know if I'm missing something here.

    Thank you

    Sanjit

  • Get text.value fully dynamically (getAttribute)

    Hello

    I have a subroutine that should get any attribute of the dynamic element, based on the attribute name. Simplified version would be like:

    function getElementAttribute(iElement, iAttributeName) {
      getElementAttribute = iElement.getAttribute(iAttributeName);
    }
    

    It works well, except that I don't know how to get the value of the text field entirely dynamically. Static and semi-dynamique code that works would be:

    getElementAttribute = iElement.value.text.value; //fully static
    getElementAttribute = iElement.resolveNode("#value.#text").value; //semi-dynamic
    

    However, I can't do so totally dynamic and generic, without static attributes.

    Here are my failed attempts:

    iElement.resolveNode("#value.#text").getAttribute("value");
    iElement.resolveNode("#value.#text.#value");
    iElement.getAttribute("rawValue");
    iElement.getAttribute("value.text.value");
    iElement.getAttribute("#value.#text.#value");
    

    Does anyone know a solution to this?

    Thank you!

    KR,

    Barbaric Igor

    Hello

    I could be off track here, but if iElement is the JavaScript object that refers to the form the ["rawValue"] iElement element returns the rawValue.  So, you can replace the literal string "rawValue" with a variable?

    Hope this helps

    Bruce

  • Search for the text value data store

    Hello, I have a PDO of data to store, and I would like to search for a text value in a quantity of measure.  In each of my test series, there is a quantity of measure with the name TCNAME and stores the cell name of test in the string format.  I would like to get all the TCNAMEs that contain "TC4" for example.  Currently, I have to load TCNAME in the portal and display it in an array of string.

    Any ideas how I can do this?

    I assume you are using a PUMA testbed that stores this kind of goods on a unique value chain chains.

    There is no direct search method, so I guess that a script is the only solution we can offer.

    Datafinder you can search for the minimum and maximum of a channel. That would be too much work in the store of ASAM.

    "PDO / cpp"
    protected tcnameMQs: set tcnameMQs = store. GetElementList ("MeasurementQuantity", "name = TCNAME", true)
    protected tcnameMQ: for each tcnameMQ in tcnameMQs
    MsgBox tcnameMq.References ("local_columns"). Elements (1). Properties ("values"). Value
    Next

    ' AOP5 / Corba
    protected tcnameLCs: set tcnameLCs = store. GetElementList ("LocalColumn", "measurement_quantity.name = TCNAME", true)
    protected tcnameLC: for each tcnameLC in tcnameLCs
    MsgBox tcnameLC.Properties ("values"). Value
    Next

    I have added the example which should be the shortest path from my point of view. In AOP5, you can search LocalColumn and spend BA which is less overhead.

    It is perhaps a good idea to post-processing of the data base and crush the decription "Test name" by

    "The test cell name == NAME. You can search not post-processed by Searchin' for.

    protected tcnameMQs: set tcnameMQs = store. GetElementList ("MeasurementQuantity", "description = name of the test cell", true)
    protected tcnameMQ: for each tcnameMQ in tcnameMQs
    tcnameMQ.Properties ("description"). Value = "name of the test cell is" & tcnameMq.References ("local_columns"). Elements (1). Properties ("values"). Value
    Next
    Store.Save

    Thereafter, you would be able to search for it.

    Greetings

    Andreas

  • Replace the text values

    Hello.

    I have problem with replacement of values in text strings and I can't find a solution.

    I have two or three channels filled with only 2 values: OK and NOK. How can I replace these values with for example 1 for OK and 0 for NOK?

    This replacement is necessary for drawing a chart. I can't draw the chart because the tiara do not accept the values of text like a ladder with the current values.

    Thanks in advance :-)

    Hello Domin,

    replaces a substring in a text with another text can be done with VBS 'Replace' function

    The execution of a function on an entire channel can be made using ChnCalculate.

    Combine the two and you get:

    ("ChnCalculate ("ch ()"" statistics text"" "") = Replace (ch ("' statistics text" "" '), '' value' ', "" LLL"") ")

    It is a channel in the DIAdem example data set. The above command executes the command "Replace" for each value of the text string "text of statistics". He replaces each occurrence of 'value' by 'LLL '.

    Hope this helps

    Andreas

  • How do you multiline text in a continuous form between the lines without scaling of the text?

    Help. How do you multiline text in a continuous form between the lines without scaling of the text?

    I tried to put each line of the form for amounts of specificity so that it ends at some point and does not change the text size to fit on the line but different key characters have different widths, so you do not get a length of the same line.

    I tried to remove the long text scrolling, but it changed nothing.

    I can create a text box great to fill out and have this scrolling of additional lines, but then I get too much information from people and I would need to clarify the lines behind the answer multi line text, or delete the lines...

    Is there a better solution?

    I usually just remove the lines and set the field "Does not scroll long text" so that all the text is visible. Including the lines is really only useful if the form may be printed and completed by hand, in which case you can use scripts as in this example is: http://acroscript.net/pdf/demos/multiLine_Demo1.pdf

    It works as expected in Acrobat/Reader, but not in Chrome and other PDF viewers who have little or no support for JavaScript. It uses scripts customized to validate on Focus and blur.

  • Planning the import of text value does not and does not not all values

    Text of migrating from one environment to another environment are given to us by the migration of foundation-> application-> data-> text values relationship data from DEV to test then it will be impossible to load all the text properly, values

    Here is an example of shared service status fail migration

    Ex:

    Following the values of text cannot be imported. Total - 8494, success - 6700

    Details of the error-

    ID [14323 with value 11112.930000] is in use by another text value [11112.93].

    What are the steps to correct these errors in the test environment and load all the text values

    Have you checked in TEST what 18210?

    If it's giving questions the option you have is to join the tables and create a workload with data from text file and then load that using outlineload.cmd

    Concerning

    Celvin

  • problem using resolveNode to change the text value

    I have a text field which I am editing using a drop-down list.

    Form1.PurchaseOrder.header.DropDownList1::change - (JavaScript, client)

    If (this.rawValue == 1)

    EstimateValid.xfa.resolveNode("caption.value.#text").value = "Due to changes in material prices throughout the year all our estimates are valid for a period of 30 days, unless otherwise noted elsewhere in this estimate.";

    on the other

    EstimateValid.xfa.resolveNode("caption.value.#text").value = "this is not a VAT receipt.  If you require a VAT receipt, please ask the front desk for car parts bought for your car. « ;

    the binding has been implemented

    pointers please

    Hello

    You have to take the xfa out of the assignment, must be fair

    EstimateValid.resolveNode

    not

    EstimateValid.xfa.resolveNode

    Concerning

    Bruce

  • Dynamically add the instanceManager text value to instanceManager another

    Hello

    I have a dynamic form that has two subforms with instanceManagers. One is called options, and another description. Subform 'options' has a button that adds an instance both "_options" and «_description» InstanceManagers

    I click the button twice so I have three instances of each. Each instance of "_options" has a field OPTION, and each instance of '_description' has a DESCRIPTION field. I want to write code that will automatically set the text value of the OPTION to the value of the DESCRIPTION text.

    example:

    -options

    -OPTION (input field)

    -descriptions

    -DESCRIPTION

    Click

    Click

    -options

    -OPTION (1)(input field)

    -OPTION (2)(input field)

    -OPTION (3)(input field)

    -description

    -Description (1)(input field)

    -DESCRIPTION (2) (field)

    -DESCRIPTION (3) (field)

    fill option fields

    -options

    -OPTION (1)(rawValue: the soup is good)

    -OPTION (2)(rawValue: soup really sux)

    -OPTION (3)(rawValue: soup is ok)

    and here's my problem - how do I get these values for the other instanceManager? I have a code that does not work, but I don't want to offer something. Please, help me, I am struggling with this instance of reference bs for awhile

    You must use xfa.resolveNode to analyze the number of index levels.

    I just did a quick test with a few tables on the output of a field event in Table1, I put a corresponding field in Table2 to the same value. Works the same with subforms.

    xfa.resolveNode ("Table2.Row1 [" + this.parent.index + "]"). TextField1.rawValue = this.rawValue;

    Depending on how many levels deep into the repeating subform your domain is that you will need to play with the 'this.parent.index' to get the path to the repeating subform (this.parent.parent.index, etc.).

    Hope that's what you're looking for!

  • How can I get the text value of an element XML in MXML?

    Hello


    I have the following XML loaded into a variable of XML type:

    Properties of <>
    the RIMpro data collector Configuration < comment > < / comment >
    < key="server.pear.username"/ entry >
    < key = "enter server.apple.retry.times" > 5 < / entry >
    < Enter key = "rdc.proxy.host" > http://192.168.1.2:8080 < / Entry >

    /Properties >

    I can easily get the key attribute displayed in a DataGridColumn by setting the dataProvider my variable and the data in "@key" area  But I don't know how to get the text value in a second column...  Is it possible or do I have to change my XML to something like this:

    Properties of <>
    the RIMpro data collector Configuration < comment > < / comment >
    < key="server.pear.username"/ entry >
    < key = "enter server.apple.retry.times" value = "5" > < / entry > "
    < Enter key = "rdc.proxy.host" value ="
    http://192.168.1.2:8080"""> < / entry > "

    /Properties >

    Thanks in advance.


    Marc

    Yes, you'd better change your XML structure to fit the internal mechanisms of the DataGrid.

    As model dataField require each element of the grid line to have a named property to display, otherwise you will be forced to overcome this model to the custom help labelFunction for the particular column that will implement your custom actions on how to extract the appropriate data for this column of the grid line item. It will be much more complicated that just reorganize your xml structure.

  • Can Financial Reporting get the text value of the Capex planning Module?

    Hi all


    I read in the documentation that financial information can display Annotation using the planning information as a data connection source. Now, EN 9.3.1 may display the text value of the Capex Module?
    I tried to get the value of text, but it shows #error...

    Thank you

    Hello
    try to use the adapter to details of Planning in Financial Reporting Studio.
    Kind regards

  • Value without discounting

    Hi friend

    I am uttering a form of tax collection and now I am facing a problem

    [http://apex.oracle.com/pls/otn/f?p=4550:8:8775129200939711]

    Workspace: DESKTOP MANAGEMENT SYSTEM
    :[email protected] user ID
    Password: Alexander

    There is a demo of name application. In this application, problem in page no 2. Using this page I collect student fees depending on the month.
    When I enter student student ID details 1 then staff is available in the corresponding text field.

    Behold, I have juice want when I select months of taxes and select Categary fresh type list and then select student and sum of the correcponding months tax amount expected amount of fees without refreshment. text field type student dependent on student_id.

    SUM of taxes would come from Table FEE_AMOUNT_DETAILS
    type of the student will come from Table STUDENT_TYPE_DETAILS



    Thank you
    Maury

    Hi Maury,

    In this case, you have to use AJAX and application process. Look at my example: http://apex.oracle.com/pls/otn/f?p=54772:1:1
    He completed a second LOV based on the first LOV (dynamic query as in your case), but you will need to complete a text field based on a LOV instead, it cannot alter if necessary by the principal is the same.

    Thank you

    Sam
    Please reward the right answers by marking correct or helpful!

  • How to select multiple lines of text (without selecting all the text) within a title? (Holding Cmd does not work)

    I need to select several lines of text (in the various sections of the text) within a title without selecting any text. Holding Cmd like you would in other applications does not work, and now Shift selects all. Does anyone have a solution?

    Thank you.

    YYou cannot select several segments of text in a text block.

Maybe you are looking for

  • Scam or e-mail from Apple?

    I just got an email from apple, which appears as appstoreonline.co.uk, indicating that I bought an element, Minecraft Pocket Edition at a cost of £1.17 to a time where I was and not on my iPad. He invites me to click on a link to get a refund if I di

  • "Free phone numbers" is illegal?

    I found an app called Talkatone on the App Store, and he says it's free, and it says that you can call for free, like for example your parents for free. It is a violation of the terms of use and it is piracy if you get free phone numbers, for example

  • The hardware test confirms Apple hardware failure?

    Hello I have a 2012 27 "iMac recently run the Apple Hardware test after several repairs and more problems at the front desk of my computer 'fixed '. The test confirmed a 4MOT/4/40000002: main-0 error code. My question is; The test material, without a

  • Hard drive is ruining my CD.

    Help me - please! I just bought 2 new CD and I wanted to add to my 'Windows Media Player', but when I tried to "rip" them something strange happened - ruined somehow CD player the CD. I put it to 'reject CD when finished ripping' so I would know when

  • QVariantList gives QString int not

    Hey there You have a problem with my QVariantList. When I do QSettings settings(author, appName); if(settings.value("days").isNull()) { QVariantList list; for(int i = 1; i < 6; i++) list.append(i); settings.setValue("days", list); } qDebug()