Not able to perform computation on Non Database Column in Tabular Form

Hi All,
          I have a Master and a Detail Tabular Form which has the following requirement:
If I choose Two Way in my Trip Type item in my Master form,the  No of Tickets field in my Detail Tabular form has to get doubled ie. 2*No of tickets
The No of Tickets is a Display as Text(does not save state) field so I am not able to select the value of the field in jquery.
Kindle help me with this.
Thanks and Regards,
Madonna

Madonna
I have added a true and a false action to the dynamic action disable.
Here is the code of the false action. The action type is Execute JavaScript Code
/*Select all input elements with the name attribute f14*/
apex.jQuery('[name="f14"]').each(
  function(){
    var lNoTickets,lSpan;
    /*Calculate the number of tickets by getting the value and times 2*/
    lNoTickets =(this.value*2);
    /*Determine the display element*/
    lSpan = this.nextSibling.nextSibling;
    /*Set the new number of tickets to the display element*/
    apex.item(lSpan.id).setValue(lNoTickets);
     /*Set the new number of tickets to the hidden element*/
    this.value = lNoTickets;
Because you have used "Display as text(saves state)" apex renders both an input item of type hidden. And a span element that displays the value.
Both these elements need to be set separately. See the last two lines of the code.
The calculation of the new Number of tickets happens for each hidden element with the name f14.
And the span element is the second sibling of the hidden element.
Adding a user to your workspace.
Go to Administration > Manage Users and Groups > Create User.
Than you don't have to share your own login credentials any more.
Nicolette

Similar Messages

  • I have unabled 5 fingure gesture now not able to perform any task,also my power button is not working,please help me in removing this gesture,using I phone 4

    I have unabled 5 fingure gesture now not able to perform any task,also my power button is not working,please help me in removing this gesture,using I phone 4

    I have unabled 5 fingure gesture now not able to perform any task,also my power button is not working,please help me in removing this gesture,using I phone 4

  • Why spotlight is not able to perform searches on iCal events older than 365 days?

    why spotlight is not able to perform searches on iCal events older than 365 days? I really do not understand why if iCal can sync all events, even the very old, the spotlight will not be able to search on events older than 365 days; why? is absurd; let's say I want to search for a person contained in an old appointment: iCal in your Mac with a few key words, I find it right away, but this important feature on the iPhone is locked; we have in our pockets phones are very sophisticated, but it does not manage to make things really trivial.

    Submit your feedback directly to Apple using the appropriate link on the Feedback page:
    http://www.apple.com/feedback

  • Not able to connect with Sql Server Database

    Hi,
    I'm not able to connect with Sql Server database.during making connection I'm getting the following error:
    "Status : Failure -I/O Error: SSO Failed: Native SSPI library not loaded. Check the java.library.path system property."
    Please help
    Regards,
    Neeraj Goel

    Hi,
    I'm using Sql Server 2000.
    I downloaded the driver from the given site and still having the same problem. Do I need to copy the driver file in some specific folder.
    Regards,
    Neeraj Goel

  • Not able to perform f.13 due to difference in DCIR

    Hi,
    I am FI consultant and having the below issue. please share
    your experience on this
    For the Quantity 100 they have done GR&DCGR. The same
    100 quantity they have done IR. but they did not done for DCIR. Later for the
    quantity 50 they did DCIR.
    Now they perform F.13 but they are not able to perform this
    activity due to difference in DCIR. That is 50 quantity. We need to clear by
    posting an invoice for this quantity. But we don’t know how much price we have
    to post for this difference quantity.
    And also there is price difference in GR and IR .Then how to calculate price for remaining quantity 50 and suggest the user to post this difference quantity.
    I have a question is there price difference come when we generate invoice for delivery
    cost to vendor. Please let us know .
    Thank you
    Regards
    Rajesh.P

    Hi Krishna,
    Thanks for your reply.
    I try to explain my issue.
    if you find 3 row .User post delivery cost through MIRO for the 50 quantity only .but he with post wrong amount.
    Entry
    GR/IR delivery clearing Dr
    Price diff for FG Dr
    Vendor Account Cr
    Now my question is when we post delivery cost to fright vendor price difference come to picture?
    and now I am going clearing the  remaining quantity 50 through MIRO.Here how much amount has to be I have suggest to user to post .
    Then only we can perform F.13 and we clear the open items.Please suggest.

  • How to access a non-database column in a report?

    Hi all,
    I would like to populate a column in my report, which is not based (in Oracle Forms, it is a "non-database item").
    But I don't know how to access it. Let's say the alias of the column is "column", I tried to do it with #column#, but it's not valid.
    Does anyone know a solution here?
    Thanks a lot,
    Dovik

    Dovik
    Where do you need to access the column value ? Are other columns of the report accessible from where you are trying to access the value of this 'non database' column ?
    varad

  • Non Database Column to Grid Control

    Hi,
    How do I add a Non database column to a Grid Control which is
    based on a Rowset. I want the similar functionality of a
    multirow Block in D2K Forms, which is based on a Database query
    and to which another item is added which is non Database item
    and it is also displayed as any another item in the same
    multirow block. The updatable and queryable property for this
    item is set to false.
    How do I get similar functionality in JDeveloper using InfoSwing
    GridControl. Thanx in advance.
    --- Ravi
    null

    The GridControl does not have built-in support for this
    functionality. However, the GridControl source code is provided
    so you can extend the control to provide this functionality.
    In 3.0, the Oracle Business Components for Java will provide the
    ability to create objects that can mix db and non-db attributes.
    The GridControl can then be bound to this object to provide the
    functionality you seek.
    - PSW
    Ravindra Channe (guest) wrote:
    : Hi,
    : How do I add a Non database column to a Grid Control which is
    : based on a Rowset. I want the similar functionality of a
    : multirow Block in D2K Forms, which is based on a Database query
    : and to which another item is added which is non Database item
    : and it is also displayed as any another item in the same
    : multirow block. The updatable and queryable property for this
    : item is set to false.
    : How do I get similar functionality in JDeveloper using
    InfoSwing
    : GridControl. Thanx in advance.
    : --- Ravi
    null

  • Not able to see the result in particular column of BPC report

    Dear All,
    I have problem in one of the BPC report where I am not able to see the result into one column but rest of the users are able to see the result for same column in same report without any issues.
    Generally, I used this report frequently but having such problem from last few days. Excel has created any logs which I need to clear? Please advice.
    Request your help to resolve such problem please.
    If you need any information, please let me know.
    Thank You
    Kind Regards
    Anukul

    Hello Anukul,
    In the report what type of data you are trying to check in that column. can you please brief about report.
    And also please check the excel cell format (right click and check it is a numeric or character), which may help to resolve this issue.
    Regards,
    Rajesh.K

  • Order By Clause on Non-Database Column using Forms

    How to Sort by using Order by Clause on Non-Database Column using Forms6i

    Eugene,
    What is the error message/ number you are seeing? If you run "select name from tblperson order by name" do you still get an error?

  • Not null and enable or disable  column in tabular form

    Hi,
    Using apex version 4.1 and working on tabular form.
    ACT_COA_SEGMENT_MAS is Master table
    and
    ACT_SEGMENT_VALUES_MAS is detail table
    I have entered 8 rows in master table and PARENT_SEGMENT_ID is column in master table which is null able. If i specified PARENT_SEGMENT_ID with value in master table then in detail table there is column PARENT_ID that should not be null and enable.
    How i can enable or disable column when in master table PARENT_SEGMENT_ID column is null then in detail table PARENT_ID column should disable and vice versa.
    I have created tabular form on Detail table. before insert into the tabular form Check in master table in first entry if PARENT_SEGMENT_ID is not null in first row of master table then in tabular form PARENT_ID should enable and not null able in corresponding to this first row id's lines in tabular form.
    Same should check for second row in master table if PARENT_SEGMENT_ID is not null then entered rows with PARENT_ID into tabular form corresponding to 2nd id in master table should not nullable and column should enable in tabular form.
    Thanks & Regards
    Vedant
    Edited by: Vedant on Jan 9, 2013 9:12 PM

    Vedant,
    You need to create you own manual tabular form and not use the wizard.
    Using APEX_ITEM api you should be build you own form and you will be able to control how you wan to display the rows. (See Link [Apex Item Help|http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35127/apex_item.htm#CACEEEJE] )
    select case when PRIMARY_TABLE_COLUMN is null then APEX_ITEM.DISPLAY_AND_SAVE(3 , DETAIL_COLUMN ) else APEX_ITEM.TEXT(2,detail_column) end "ALIAS" from detail table
    Hope that help.
    Vivek

  • Is there anyway to tell what is the database column behind the form field (

    Is there anyway to tell what is the database column behind the form field (in Oracle financials).

    If you are lucky, it can be simple, but if you are unlucky, it can be very complicated.
    Using Help > Diagnostics > Examine when in the field will give you the name of the field.
    Help > Diagnostics > Examine (Block: SYSTEM / Field: LAST_QUERY) will give you the query for the last block queried, which may or may not be the block you want, depending on how the form is defined (ie Master Detail relationships). If this is for the correct block and the field name is one of the columns returned by the query, then that is probably your answer.
    If the Last Query is not for the correct block, using Help > Record History will give you the table or view that the block is based on (only where there is already a record in the block).
    If the field name matches a column name in the table or view, then that is probably where it comes from. If there is no matching column name in the table or view, then the field is probably not queried directly from the database as part of the main query - it is probably populated by logic in the form, like the POST-QUERY trigger on the block. This means you need to open the form in Forms Builder to find what is populating your field (Program > Find and Replace PL/SQL is very handy for this).

  • Not able to perform baseline index - ProductCatalogSimpleIndexingAdmin

    Hi!
    I am not being able to perform the baseline index, when i execute it on component 'ProductCatalogSimpleIndexingAdmin' i get the exception below.
    Cold anyone give a help on how to configure the ATG/Endeca properly to perform the baseline index?
    Thank you very much!
    SEVERE: Error starting baseline crawl 'lojamococaen-last-mile-crawl'.
    Occurred while executing line 11 of valid BeanShell script:
    [[ 8|      Dgidx.cleanDirs();
    9|      
    10|      // run crawl and archive any changes in dvalId mappings
    11|      CAS.runBaselineCasCrawl("lojamococaen-last-mile-crawl");
    12|      CAS.archiveDvalIdMappingsForCrawlIfChanged("lojamococaen-last-mile-crawl");
    13|
    14|      // archive logs and run the indexer
    Oct 16, 2014 1:27:14 PM com.endeca.soleng.eac.toolkit.Controller execute
    SEVERE: Caught an exception while invoking method 'run' on object 'BaselineUpdate'. Releasing locks.
    java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.endeca.soleng.eac.toolkit.Controller.invokeRequestedMethod(Controller.java:931)
      at com.endeca.soleng.eac.toolkit.Controller.execute(Controller.java:269)
      at com.endeca.soleng.eac.toolkit.Controller.main(Controller.java:137)
    Caused by: com.endeca.soleng.eac.toolkit.exception.AppControlException: Error executing valid BeanShell script.
      at com.endeca.soleng.eac.toolkit.script.Script.runBeanShellScript(Script.java:179)
      at com.endeca.soleng.eac.toolkit.script.Script.run(Script.java:127)
      ... 7 more
    Caused by: com.endeca.soleng.eac.toolkit.exception.CasCommunicationException: Error starting baseline crawl 'lojamococaen-last-mile-crawl'.
      at com.endeca.eac.toolkit.component.cas.ContentAcquisitionServerComponent.startBaselineCasCrawl(ContentAcquisitionServerComponent.java:447)
      at com.endeca.eac.toolkit.component.cas.ContentAcquisitionServerComponent.runBaselineCasCrawl(ContentAcquisitionServerComponent.java:355)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at bsh.Reflect.invokeMethod(Unknown Source)
      at bsh.Reflect.invokeObjectMethod(Unknown Source)
      at bsh.Name.invokeMethod(Unknown Source)
      at bsh.BSHMethodInvocation.eval(Unknown Source)
      at bsh.BSHPrimaryExpression.eval(Unknown Source)
      at bsh.BSHPrimaryExpression.eval(Unknown Source)
      at bsh.BSHBlock.evalBlock(Unknown Source)
      at bsh.BSHBlock.eval(Unknown Source)
      at bsh.BSHBlock.eval(Unknown Source)
      at bsh.BSHIfStatement.eval(Unknown Source)
      at bsh.Interpreter.eval(Unknown Source)
      at bsh.Interpreter.eval(Unknown Source)
      at bsh.Interpreter.eval(Unknown Source)
      at com.endeca.soleng.eac.toolkit.script.Script.runBeanShellScript(Script.java:165)
      ... 8 more
    Caused by: Crawl failed to start: Error retrieving attributes from the config repository: Unable to create JSON output for merge request: validation errors:
      ERROR: failure to add '/sites/lojamococaen/attributes/product.category' to merged output: missing property 'mergeAction'.
    . See config repository log for more details.
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    Hi,
    Update the <app>/config/index_config/index-config.json with "mergeAction" property for the product.category.
    Ex:
    "product.category" : {
              "propertyDataType" : "ALPHA",
              "jcr:primaryType" : "endeca:property",
              "mergeAction" : "UPDATE"
              "isRecordFilterable" : true
    Then run the command from <app>/control index_config_cmd.bat set-config -f C:\Endeca\apps\CRS\config\index_config\index-config.json -o all
    I hope this helps.
    Thanks,
    Ravinder Pogulakonda

  • Not able find the constraint in the Database

    When I am trying to udpating a table I am getting error like
    ORA-00001: unique constraint (IRP_DXX.SECURITY_UK) violated
    ORA-06512: at "IRP_DXX.AU_COMPANY_ABBREVIATION_TR", line 20
    ORA-04088: error during execution of trigger 'IRP_DXX.AU_COMPANY_ABBREVIATION_TR'
    When I try to query for the constraint name in the all_cons_columns table, I am not able to find the constraint
    select * from all_cons_columns
    where constraint_name = 'SECURITY_UK';
    no rows selected.
    Can anybody help in finding what may be the issue here?

    yes this is the name of a Unique constraint on a particular column. Thanks for the pick. Its strange for me.
    Hence, we can impose unique constraint on a column without actully creation a unique constraint, but indirectly by create a UNIQUE INDEX on the column.
    Is my understand right?

  • Deleting a non-database column

    Hi,
    In forms, i have one field, manager_id, database block = YES, but it is not visible on any canvas. Instead of this, the non-database item manager_name is displayed in form, and populated from a post-query trigger (with the name of the manager). Is there any property, or something, so if i delete the content of a particulat manager_name (set it to null), the manager_id also sets to null?
    Thanks

    Hi,
    >
    In forms, i have one field, manager_id, database block = YES, but it is not visible on any canvas. Instead of this, the non-database item manager_name is displayed in form, and populated from a post-query trigger (with the name of the manager). Is there any property, or something, so if i delete the content of a particulat manager_name (set it to null), the manager_id also sets to null?
    >
    Write a POST-TEXT-ITEM Trigger on the Manage_Name field to set the Manager_id to null
    IF :MANAGER_NAME IS NULL THEN
      :MANAGER_ID := NULL;
    END IF;Cheers,

  • Query a non-database column

    My main table is SR_TECHS which has tech id and Techname
    My second table and block is sr_tech_calendar.
    Here tech_name is a non-database field.
    When I type J% in the Tech_name field and query, I should be able to get all tech_names
    starting with 'J'
    How can I get it through pre-query and what should I do in the post-query?

    you achieve this by setting
    set_block_property('blockname',default_where,'give neccessery where condition')
    in pre_query trigger
    siby

Maybe you are looking for