How to create a Total in a string column with link?

I have a VO which has a column varchar2 with numbers. When it is Zero it has a '#'. I need to create a total over this column. I created a class with a static method to convert string in number. The problem is, I dont know where and how I should interact this class with the VO Row methods. If it is in the RowImpl of this VO or VOImpl or AMImpl. My ideia is create an item on the region to show this total and set a URI to another page based on its value. Another question is where and how can I get this total and put on the item on the page. I think it should be in the CO of the page but I still dont know how.
I dont want to create a VL because I dont want to reexecute the same query just for totals since I am getting each value and showing them... Am I complicating this task?
Im using jdev 9.0.3.5
Thank You All in Advance

Thank You!!! I started the firsts steps of your idea. And now I have more question. :-)
I have a situation. In my VO I already have an VOImpl that is called by AM.
I'm using this class in order to add some conditions to my VO WHERE clause.
Now I created the VORowImpl class to my VO and I put a System.out.println
just to see each value of the column that I'm supposed to sum.
What surprises me is, the output has the column values printed twice in the Log Window.
For example: 1,2,3,4,5 and start again 1,2,3,4,5, but the result on the page is correct.
Is this happening because I have VOImpl and VORowImpl? Im afraid my total be 2x its value if I sum them in VORowImpl.
Another question is where I should code total = total + column;?
In the VORowImpl or VOImpl or AMImpl?
What I didnt understand is how VORowImpl is called. I can't see any calling in AM in
a way that I take the advantage of VORowImpl interaction loop and sum to another variable in each interaction.
Thanks Again

Similar Messages

  • How to create session id from different string controls

    how to create session id from different string controls

    fais,
    Please create the VI you are talking about and save some default data into all of the controls. Also on the front panel, place the session ID that should be generated by that data. Now, post your VI to a response so I can download it. I can then take this VI and help you create the functionality. (Please post what version of LabVIEW you are using.)
    My guess it that you are going to need to use a good number of string concatenations as well as a few string indexes to get parts of strings out. As for the date, you can use a Property node with the Numeric Text.Text property to get the actual string displayed on the front panel for the date and parse out the parts that you want.
    Randy Hoskin
    Applications Engineer
    National Instruments
    h
    ttp://www.ni.com/ask

  • How to create a new Oracle OSB project automaticaly with script without IDE

    Hello,
    I want to create automatically an "Oracle service bus project" and an "Oracle service bus configuration project" with scripts (ANT or Maven or ...) without using IDE, without using workshop or Eclipse. I want to create automatically (ANT or Maven) just a skeleton of an OSB project witch i can use after in workshop.
    I want to create 1 "Oracle service bus configuration project" with many "Oracle service bus project" automatically (ANT or Maven or scripts) witch i can use after in workshop. How to create a new Oracle OSB project automaticaly with script without IDE ? How can i do this ?
    I'm using Oracle service bus 10.3.1
    Thank you for your help.

    Thank you for your response,
    I do not want to just create the services (proxy services and business services) but I want to create a template for 40 OSB project with the same scripts ANT/Maven.
    Template="Oracle service bus configuration project" + "Oracle service bus project" + services of 40 OSB projects
    The goal is that I have more than 40 projects to create and just the name of the projects that changes (when I say the name of the project ie the name of the OSB project, the name of proxy services and the name of business services ).
    So I want to give my script (ANT/Maven) the name of 40 OSB project and the script must generate the skeleton of the 40 projects at once time and after generation of skeleton of the 40 project, I will import them in the workshop to add manually mapping and routing and other things that differs from one project to another.
    So i want to generate automatically a skeletons of 40 OSB projects using a script (ANT / Maven) and I give to the script juste the names of the 40 projects.
    I want to create a "Oracle service bus configuration project" and "Oracle service bus project" automatically of 40 OSB projects (ANT or Maven or scripts) witch i can use after in workshop.
    I want to create one 'template' of all 40 projects in the same time, with the same directory structure (Transforlation, Business services, proxy services, WSDL .....) and all 40 project have the same transport, just the names of projects and services witch changes and i can give to the script all names of projects and services and i can give also all WSDL.
    Regards,
    Tarik

  • How to create list of a View's column names and source

    Using SQL 2005, 2008, and 2012
    How to create list of a View's column names and source. For the following example would like to @Print something like the following.  Does anyone already have some code to do this? I realize there are probably some gotchas, but the views that I am looking
    at to use this follows the code snippet pattern below.
    DBACCT.[Account Number]
    dbo.ConvertDate(DBACDT). [Boarding Date]
    DBXES.DBXES
    CREATE VIEW [dbo].[v_ods_DBAL]
    AS
    SELECT DBACCT AS [Account Number], dbo.ConvertDate(DBACDT) AS [Boarding Date], DBXES
    FROM dbo.ods_DBAL

    The column information can be obtained from INFORMATION_SCHEMA.COLUMNS view using logic like below
    SELECT c.COLUMN_NAME,c.DATA_TYPE
    FROM INFORMATION_SCHEMA.COLUMNS c
    WHERE EXISTS (SELECT 1
    FROM INFORMATION_SCHEMA.TABLES
    WHERE TABLE_NAME = c.TABLE_NAME
    AND TABLE_TYPE='VIEW')
    http://technet.microsoft.com/en-us/library/ms188348.aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to create a domain index on NCLOB Column

    hi all,
    My database version is 10.2.0.1.
    Any body know how to create a domain index on nclob column.
    SQL> alter table test add (nclob1   nclob);
    Table altered.
    SQL> CREATE INDEX test_nclob ON test (nclob1) indextype is ctxsys.context
      2  /
    CREATE INDEX test_nclob ON test (nclob1) indextype is ctxsys.context
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-10509: invalid text column: NCLOB1
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 364Regards
    Singh

    Any body know how to create a domain index on nclob columnNot possible per design/documentation:
    The column that you specify must be one of the following types: CHAR, VARCHAR, VARCHAR2, BLOB, CLOB, BFILE, XMLType, or URIType.
    «

  • How to create users and groups using WLST Offline with Weblogic 8.1.4

    How to create users and groups using WLST Offline with Weblogic 8.1.4?
    Any ideas?

    Hi this is how i created a user using WLST Offline?
    cd('/Security/' + domainName)
    # Delete the default user name weblogic
    # incase you want to remove the defualt user weblogic
    delete('weblogic','User')
    # Creating a new user defined
    create(userName, 'User')
    # Setting the password of the user you created.
    cd ('/Security/' + domainName + '/User/' + userName)
    cmo.setPassword(password)
    Regards
    Makenzo

  • How to create a Macromedia's Flash Java Player with JMF?

    How to create a Macromedia's Flash Java Player with JMF? Can you give me an example? My email:[email protected] [email protected]

    Yes, there is a way. Look up JTree in the API.-can you post some code.... i cant figure out on how to use JTree...
    i'm still confused on where will i get the entire directories of my drives...
    thanks

  • How to create running total in Analysis

    Hi Experts,
    How can I create a running total in Analysis?
    below is the scenario:
    Account - - - - Quantity
    ACCT1 2
    ACCT2 4
    ACCT3 6
    ACCT4 8
    I need to get the total count for Quantity Column and the total count should be display in the Analysis (20 should be display)
    Thanks,

    HI,
    We have a option in the pivot view properties to display the sum/total at the end/first....You can Use that.Else you can aslso use the Running aggregate functions in the fx tab.
    Edit--->pivot view properties-->columns--->summation symbol is there--->Place the total as you like.
    mark if helpful/correct...
    thanks,
    prassu

  • How to create new form fields in several columns (spreadsheet) and have them named consecutively?

    Hopefully someone can help.  I created a new form from an Excel spreadsheet, but the form field recognition didn't "take" well and very little of the spreadsheet translated into form fields.  I need to create new fields (31) for each column (about 10) and I want the fields in each column to have a keyword from the parent column and the fields numbered consecutively.  I'm really hoping I don't have to do this manually!
    Next, is there a way to total the values in a column of fields (the same as the SUM function in Excel?) or does the form user have to dig out a calculator and add everything?
    Can I create an email (submit) button and direct how (ie email) and by what method the form is sent?
    Once the form is completed, is there a way for the user to lock it before sending it - ie a button they could press to make it no longer fillable?  Or can I set the document to be a regular .pdf once it leaves the host machine?
    I think that's it!  Hopefully someone can help soon - this is a work project that could be potentially very time consuming if I have to create each form field manually.  Thank you for any assistance!
    Cheers,
    LostintheNorth

    LostintheNorth wrote:
    Rats!  Thank you for your link - I may take you up on that... however for the purposes of this form I'm more than halfway done, so I might as well keep plugging away.  A workaround I found was to creat 32 of something I only need 31 of, then delete the parent.  Somehow even playing with spacing on the "create multiple fields" option as the fields are being created only gets the vertical alignment close - no matter what I do I still end up manually aligning (vertically) 31 little boxes for each column so they fit visually.  Grrrr.
    Yes, this can be very tricky. If you don't get the exact right offset between each field, the difference will accumulate and after a while it will be completely off.
    You just have to play around with it, until you get it right. Or almost right, and then adjust it manually.
    Another thing I've noticed, is that when you select one field and right click for properties, you get an expanded version, as opposed to select/shift/enter for a bunch of cells only yields an abbreviated properties box - what's up with that?  Is there a way to change this?  For instance, I had set the properties for a column of 31 cells to be number, 1 decimal place.  Halfway through my project, the lady I am doing the favor for tells me she would like 2 decimal places, requiring me to manually change each box for 62 cells!  Apparently cell formatting is not an option in the abreviated properties dialogue!  Is there a fix for that?
    No, there isn't. Some propeties you have to set manually (or get right the first time, before copying and pasting...). There is a way to do it with a script, but it's a bit complex and requires using an undocumented method.
    This next question is a bit more complicated, and may not be possible.  The form I am creating is for payroll purposes, so at the moment it is generic (31 days) and the user fills in the month manually. Is it possible to get the form to recognize a month value (or create a pulldown menu with a selection of months to choose from) and limit the days accordingly?  Or better yet, run a calendar function so that weekends and stat holidays are highlighted on the affected row?  Kind of like what you can do with an Excel spreadsheet, which is what I designed the form in at the start (then printed to .pdf - the form field recognition did NOT work well on my spreadsheet!  hence me doing every cell manually).  Is this even possible, and if so, is it something I could learn to do?
    Yeah, it's possible, but requires quite a bit of scripting knowledge. If you wish, contact me personally (by PM or email at try6767 at gmail dot com) and I could possibly create this for you.
    If you want to do it yourself, you would have to learn a lot about both the Date object in JS and about the various date printing and scanning methods in Acrobat JS.

  • How to create a Custom List without the column "Title" ?

    Maybe this one is easy as it sounds, I just want to know how to create a little list for my SharePoint application featuring 3 columns:
    1 - User Name (this should be Person type - UNIQUE + Required)  
    2 - Report (Memo - Required)
    3 - Status (Choice + Required)
    The list will be used to allow the users to submit a weekly report and I don't want to include the title because there is no use to me, I know I can hide the column by customizing the list but this sounds very amateur even for a newbie like me (yeah... sounds
    so cheap!), since I've been reading a lot about custom content types and I still didn't get the chance to use this properly I was wondering how I could put them to use and I guess the example here would be the best right?  
    I really spent some time trying but I always end getting the Title even when I try to use custom content types so I'm really giving up and asking for some help at this point.
    Thanks a lot for the help!!!

    Yes, you can do that. If you need a different content type with your custom fields. Following are the steps : http://www.dotnetcurry.com/ShowArticle.aspx?ID=620 
    After creating your custom Content Type, Click on the 'Title' filed in your custom content type. 
    In the 'Column Settings' make it 'Hidden (Will not appear in forms)' and click ok.
    Now add this content type to your list/library. 
    In the list/Library go to setting and 'Advance settings' and make the 'Allow management of Content Type?' as 'yes' and click ok.
    Now make default content type not visible from 'Change new button order and default content type' link in the settings page of list/library, and your contet type as 'Default'.
    Create a new view, remove the 'Title' field and make that view as 'dafault' view, you can delete the 'All Items' view also if required.
    Now whenever user come to that list/Library they will not see the title column and also will not appear in the 'New Item'.
    Note : The 'Title' field is mandatory in all the list/library and by default added to the 'All Item' view. So, by doing above steps you are creating a new content type where 'Title' is not mandatory and also not added in default view.
    get2pallav
    Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

  • How to create a muse site in various languages with multiple domains

    I have been asked to create a website for a product. A very simple website with maybe one or two pages and one product for sale for which the client would like Paypal as the payment gateway. Simple right?
    No! This client would like to market their product into Europe, they would like to purchase multiple European domains ( .fr, .de for example).
    So how on earth can I do this? I will be using Muse for build and Business Catalyst for hosting.
    Bearing in mind the client will not want to pay for separately hosted sites. Is there a way of translating the text for each domain. Or could I assign multiple domains but direct them to different home pages within the same site?
    I haven’t a clue how to problem solve this.

    Hi,
    Some links that might be useful,
    how to set up a multilingual website with Adobe Muse and push it live to Adobe Business Catalyst
    Re: How can i create different languages for my page?
    How can i create a multilingual website?
    how to create a multilingual site
    Do let me know if you have any question.

  • How to create a workbook in BI 7.0 with more than 15 Sheets?

    Hi Experts,
    i would like to know how to create a workbook with more than 15 Sheets.
    One Workbook should be based on one query  and the other on differents queries.
    How should be the authorization? If you have any documents please just send it to me.
    Cheers
    G

    HI
    Execute one report save it in the workbook, then you can goto the tools and click insert query, like that you can add how many queries you want. then right click on the reports goto properties there in the interface tab click the check button for refrsh all the queries. finally save it with the option save existing wrokbook(beacause you already save the first query in the workbook)
    Regards,
    chandra.

  • How to create a 'Previous History' brush tool along with content aware

    Truly did not know how to create a good title here.
    When you use the 'Content Aware' tool and move subject 'A' to point B what happens is that A now sits on top of B which in turn means part of the image within B may be missing and you may still want it there where it was and where it should be. You could use the 'history brush' tool to brush away part of the new insert and erase what is there to reveveal what was there. How do you do the same thing to image A which now sits on B (to reveal what was there on A originally). What I mean is this. I moved a person from point A to point B. but parts of this person are missing (his ear, his knee, his shoe) so how do I get those parts back (in the new location)?
    The history brush tool appears to be erasing by subtracting, what I would like to do in this case of course is not subtract but add or 're-add'.
    Thank you

    Hello,
    here's a possible solution, before using content aware, take a snapshot of A and B, then use it as your history brush source whenever you need to 're-add':
    please post back if you have any questions

  • How-To Create OVM 2.2.2 Single Pool with Non HA, Single Server

    How to create OVM2.2.2 Server Pool with a Single, Non-HA configuration.
    - Install OVM2.2.2 on target Server: [ovs222a, ip=192.168.0.207]
    (Default install creates ocfs2 file system on /dev/sda3 on my machine, YMMV).
    - Install OVMM2.2.0 or later on another server or VM
    - Remove existing OCFS2 filesystem and repository from [ovs222a] server
    - logon to [ovs222a] as root
    # cd /opt/ovs-agent-latest/utils
    # ./repos.py -l (shows uuid)
    # ./repos.py -d [uuid]
    - Recreate the ocfs2 file system
    # mkfs.ocfs2 -N 8 -T datafiles /dev/sda3
    - Create a new repository on the ocfs2 file system and make it root
    # ./repos.py -n /dev/sda3
    # ./repos.py -r /dev/sda3
    # ./repos.py -l (should show new repository uuid with [R] designation)
    - Edit cluster.conf, ensure only 1 node with ip addr: 192.168.0.207
    # vi /etc/ocfs2/cluster.conf
    - Edit /etc/hosts, ensure ovs222a ip addr = 192.168.0.207, not 127.0.0.1
    (/etc/hosts should look like the following
    127.0.0.1 localhost localhost.local.domain
    192.168.0.207 ovs222a ovs222a.[your.actual.domain.name]
    - Configure o2cb service, take the defaults which will start o2cb service on boot
    # service o2cb configure
    # service o2cb start
    # service 02cb status
    - Using OVMM2.2.0 GUI, create Server Pool
    - Server Pool Name: [ovm2pool1]
    - LEAVE SERVER POOL IP ADDRESS [BLANK], NOT NEEDED FOR SINGLE SERVER SERVER POOL
    - LEAVE HIGH AVAILABILITY MODE ENABLE [UNCHECKED] (HA not available in single server cluster pool).
    - Set [ovs222a], [192.168.0.207] as Server Pool: MASTER, UTILITY, VM SERVER with correct passwords.
    - Test connection to [ovs222a]
    - Create Pool

    Hi
    ThanQ For Reply Saurabh,
    So Now I have to create one logon.jsp this jsp having username and password.
    For Example http://sapmjd:50000/scw/logon.jsp
    when i will pass  the URLu2019s that time I am able to See logon Page. This .jsp is normal logon jsp looks like client logongape( logos, all available) By using this jsp how we will connect main URL i.e  (irj/portal)
    in logon.jsp I will pass UID and PWD that time I am logon into  the Portal,
    Could you tell me these Answes.
    1.     Is it possible to Connect main URL i.e (irj/portal) or customize par file having one jsp is there i.e jsp name umLogonPage.jsp.  is it possible when I will pass the uid and pwd in logon.jsp this jsp will connect to the jsp umLogonPage.jsp.
    2.     If you says Answer YES How we will connect.
    Regards
    Vijay Kalluri

  • How to create the BC4J Package in JDev 10g (with OAF)?

    Hi everbody.
    in JDeveloper 10.1.3.1.0
    How to create the BC4J Package for Client Object or Server Object?
    In JDeveloper 9i Ext,
    1. select the Project in Navigator
    2. right-click and select "New Business Components Package... " from the context menu
    3. "Business Component Package Wizard" page appears.
    In JDeveloper 10, I cannot find "New Business Components Package..." from the context menu on the Project.

    Do you have the OA extension installed ?
    If not then please follow the thread Oracle JDev 10g with OAExt for Release 12 now on Metalink
    for more information in this regard.
    --Saroj                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • How to write a formula for display the value by group

    Post Author: abadugu CA Forum: Formula Hi Could any one please help me on writing the formula for the below senario. I'm creating Crystal report Via using ClearQuest (IBM tool) since this tool is not supporting subreport function. I'm planning to wri

  • Custom bios request

    MSIHQ: Information detected by MSIHQ Tool ver: 1.25g MSIHQ: Report generated in 2013-06-22 at  7:31:46,53 Mainboard:  MS-16F1 PCB Version:  To be filled by O.E.M. BIOS Version: E16F1IMS VER1.0L BIOS Date:  2011-10-04 EC-FW Version:  *****************

  • My Service has degraded over the last 2 month now I am only on 3G Zip 28734

    I have sever using my MiFi, Have been working fine on 4G until 2 months ago, has been degraded to the point I have shifted to 3G to work. I have had many trouble calls with Verizon and no one can answer why, I am in a marginal area but like I said I

  • OSX 10.7.5 How can I make my computer wake up from sleep?

    My computer won't wake up from sleep whether I put it to sleep by a hot corner or by closing the lid.  Has anyone a solution, plezase?

  • OBCD for Oracle

    Hi Experts Someone told me in [this|Report can be refreshed in DeskI / WebI but not in InfoView; post that besides my native Oracle client, I need to define an ODBC connection to Oracle in order to be able to connect through InfoView to the source da