Forms - calculation of percentages are based on the percentages of parent in a tree structure

Hello

We have a scenario where we build a tree using a standard package available in oracle forms when new block and fill a tree structure of multi Instance.

The block is based on a single table.

The tree is is filled. The problem is with the percentage calculations. As the percentage of the child dependent parent

PERCENTAGE of PARENT- CHILD LEVEL

1                101                       0                                 45

1                102                      0                                  35

1                103                      0                                   30

2 201 101 PERCENTAGE OF PARENTS 101

2 202 101 PERCENTAGE OF PARENTS 101

2 203 102 PERCENTAGE OF PARENTS 102

2 204 102 PERCENTAGE OF PARENTS 102

3 301 201 PERCENTAGE OF PARENTS 201

You can get the percentages to level 2, level 3.

I was wondering how this can be done in oracle forms... for example... .to child 201, is the percentage of the 101 level... but level 101 is also filled in the buffer of the block as well as all Level1s...

All entries are appreciated.

Thanks and greetings

S

The solution me. Idea is to use the 'Post' at the time be called in a loop. Then POST will write in the validation of the database but strict.

The idea is that at the time of execution, we would be able to select "Not ENGAGED" current session data in the database and use it more for treatment.

Concerning

S

Tags: Oracle Development

Similar Questions

  • 'Burned' fingers index to use MacBook Pro trackpad: my both hands, index fingers. which are based on the computer next to the trackpad or are used on the trackboard are painful, feel like they were burnt, and I can barely move them.  Yes, I did

    My both hands, index fingers. which are based on the computer next to the trackpad or are used on the trackboard are painful, feel like they were burnt, and I can barely move them.  I do not have this problem before, I bought my new Mac - specifications below: it hurts and I don't have a problem with my windows, iPad or Samsung Galaxy equipment operating systems computers.

    It feels like radiation leaking through the computer case.  Is the radiation involved in the chips?

    MacBook Pro

    Model identifier: MacBookPro11, 4

    Processor name: Intel Core i7

    Processor speed: 2.2 GHz

    Number of processors: 1

    Total number of Cores: 4

    (By heart) L2 Cache: 256 KB

    L3 Cache: 6 MB

    Memory: 16 GB

    Boot ROM version: MBP114.0172.B06

    Version of the SCM (System): 2.29f24

    Are you use while plugged in, I feel a buzzing in my 13-inch rMBP (12.1)

  • Why are on the first web page are buttons and following pages Don t-shaped? All Pages are based on the same Masterpage.

    Hello

    I ve a problem with Muse.

    Why are on the first web page are buttons and following pages Don t-shaped? All Pages are based on the same Masterpage.

    Any ideas?

    Stefan

    Hello Stefan,

    Could you please share your with us .muse file to study? Please send it to [email protected]. If your file is larger than 20 MB, you can use something like Adobe SendNow SendThisFile or Dropbox. Don't forget to mention the link to this forum thread in your email so that we can identify the file.

  • SQL that are based on the values of the corresponding fields.

    Hi my name is Hawk.

    I'm new to the Forum, and I wanted to just introduce myself and say hi.

    I have a daunting task to summarize values and filling in a spreadsheet with columns. I have 600 lines to go, and I was wondering if

    someone knows a way in sql to sum (a body of numbers) based on the existence of a value being the same on another field of varchar2.

    For example, here is an example of the data table that I have.

    CREATE TABLE EXAMPLE

    ("FIRSTNAME", VARCHAR2 (20 BYTE),

    VARCHAR2 (20 BYTE) "LASTNAME."

    NUMBER OF "SUMVALUE."

    NUMBER OF "ROW_ID".

    );

    Insert into SAMPLE (FIRSTNAME, LASTNAME, SUMVALUE, ROW_ID) values ('Charlie', 'chocolate factory', 100, 1);

    Insert into SAMPLE values (FIRSTNAME, LASTNAME, SUMVALUE, ROW_ID) ('Johnny', 'Desire', 200, 2);

    Insert into SAMPLE (FIRSTNAME, LASTNAME, SUMVALUE, ROW_ID) values ('P', 'Frankenstein', 300, 3);

    Insert into SAMPLE (FIRSTNAME, LASTNAME, SUMVALUE, ROW_ID) values ("Charlie", "chocolate factory", 400, 4);

    Insert into SAMPLE (FIRSTNAME, LASTNAME, SUMVALUE, ROW_ID) values ("Charlie", "chocolate factory", 500, 5);

    and Yes, I have 600 lines having to ask and things to the top score on manually, it's just bs data...

    So what I do is the following.

    Write some sql that will total the number field (sumvalue) based on data with firstname = lastname = chocolate factory and Charlie.

    It seems so simple, but still I can not understand how do.

    Is that what I'm trying to make sense?  Also, I hope this is the right place to post this. I looked on this before I posted to make sure.

    Hawk.

    Hi, Hawk,

    Here's one way:

    SELECT SUM (sumvalue) AS total_sumvalue

    SAMPLE

    WHERE firstname = 'Charlie '.

    AND lastname = 'chocolate factory '.

    ;

    Welcome to the forum!

    There are those who use the forum for years and have not yet learned to post CREATES instructions TABLE and INSERT for their sample data, as you did.  Keep up the good work!

    You should also post the exact results you want from the data provided.  For example

    TOTAL_SUMVALUE

    --------------

    1000

    (this is what produces the query I posted).  As you can see, without that David and I came with 2 different interpretations of what you want and maybe aren't exactly what you need.

  • They are based on the same principle?

    Are the Oracle coherence and Oracle Cluster Cache Fusion based on the same principle?
    They work the same way?

    Thank you

    Hi Frank,.

    Oracle coherence cache and Cache Fusion of Oracle RAC are not based on the same principle and are not in the same way. It is true that both provide features "hidden" in a 'cluster', but that's where the similarity ends.

    Kind regards

    Harv

  • From LR6.1 to LR6.3: rename folders created are based on the date of importation rather than the date of shooting!

    I started using LR with version 2... My import workflow was even up to 6.1 and all my files are organized in the same way for more than 10 years.

    I went on LR6.2 given the changes made in the import dialog. But upgraded to LR6.3 think the problem has been resolved.

    But now I noticed that all my photos are renamed and placed in folders corresponding to the date of importation rather than the date of shooting... I rename my files from custom and is gone in this dialogue, but has not as how to restore LR import my photos using the date of shooting. This creates havoc on my hard drives and in LR. I use the date of shooting a lot to find my photos, since I often neglect to add keywords.

    I really need to be able to get the date of shooting on the behalf of my photos and have copied them in the folder the correct date.

    Thanks in advance for your help.

    BTW: something has changed in the way the forum appears. Research is not very powerful... it has not brought something, yet I know that the import dialog has been at length when 6.2 was introduced. In addition, I see no browser passed a few more recent messages. I don't like the new interface.

    Well, I answered my own question. Yes, I was looking for settings in the destination Panel... There is a line that shows what would change the name... and it showed the date of importation as the new name... but actually... It was only to show you what the name change would look like. Because I had a selected image, I thought it would show that the change of name for this image. But it is not related to the image... The import worked as expected... My apologies for disturbing him. .

  • call a stored procedure for each row in the transitional attribute and display the data in the form of af: table. The other rows are based on the entities

    Hi Experts,

    JDeveloper 12.1.3.0.0

    I have a VO based on entity object. With a column of the VO is transient attribute (I created).

    I need to call a stored procedure for each row in the transitional attribute and display the data in the form of af: table. As well as other attributes.

    So can anyone suggest how can I achieve this?

    Thank you

    AR

    I think that you need a stored function (which returns the value) in this case, is not?

    Take a look at:

    https://docs.Oracle.com/CD/B31017_01/Web.1013/b25947/bcadvgen005.htm

    and search for:

    Invoking stored function with only Arguments in

    call your function in the Get attribute and return value accessor...

  • whenever I use my laptop and my palms are based on the laptop and I type all of a sudden... my guard resize bigger or smaller screen size

    I try to keep my thumb on the mouse pad Palms when I type, but every now and then my screen resizes more or less until I take my left the base of keyboard sound Palm only when my left hand rests on the base next to the touchpad. I type pretty fast so it becomes boring and yes she also jumps screens or go back to the previous message and I choose ctrl z to cancel and return to my message I was typing... It also switches tabs on me too... don't know why my Palm being to the left of the keyboard on the basis should effect other thing he does after a while. and I have to stop what I'm doing... and go to the firefox menu and change the size of the screen down to 100%, sometimes she's going up to 200-300 other times it comes down to 70-80%, I find this annoying I I wish there was a way to disable the resizing of the screen in the control panel. If it's just to be 100% happy with it I'm I have need it larger or smaller... There should be a way to LOCK... I understand that there are people out there with eye disorders and needs to have the screen size increase by using the + or - but there should be blocked so there's just no matter what is happening on my keyboard or the touchpad or the basis of the cushion... this screen size not will increase or decrease. unless I turn off the lock... maybe this is something that they can be implemented in the next version or do a quick update of the browser

    Maybe a support forum for this laptop brand will have some ideas, because that is not strictly a problem with Firefox only.

  • What settings are based on the choice of location of wireless network? (public, work, home)

    I was wondering what the various parameters are defined for each
    im a home user, but I don't want to share files between the compositions.

    Hi chris.96,

    Thanks for the replies.

    There are a few options, you might want to look, is the printer and the computer sharing visible on the network, are they put in the same workgroup, etc..

    There is a lot of information on our group of forum Technet involving networking and configuration of the network device.

    You can browse or by mail to some of the communities our community Windows 7 Technet forums.

    Here is the link for your information;

    http://social.technet.microsoft.com/Forums/en/category/w7itpro?ITPID=sprblog.

    Best regards

    Debbie
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • In text box on form Web PC, get name based on the ID that the user types

    Hello world

    This is urgent. Please help.

    Is it possible that we can implement the following scenario:

    1. as a user types an ID (for example, student card) in a control textbox in a form Web of PCS, the student's name is recovered and populated accordingly?

    Can web service to be invoked as type us something in the text box within the SCP?

    Thank you very much.

    Nathan

    Hello again, Nathan,

    Creates a window should be easy.

    This page contains examples and templates that you can use with web forms:

    http://docs.Oracle.com/CD/E29542_01/user.1111/e15177/app_form_rule_examples.htm#BPMCU528

    Check the last section 'Search Popup'

    Also is there an example that explains how to call a web service from web forms and how to process the response:

    Employee search database using criteria

    If {(Search.clicked)

    eval ('x =' + http.get ("data/myqset/findEmployee? name = {name_s1} & type = {type_s1}

    ((& racfid = {id_s1} & email = {email_s1}'));

    Hope this helps

    See you soon

    José

  • Defining form fields such as required based on the entry in the drop-down list

    I'm trying to set the properties of a few form fields as required in the case of a specific value is selected from a drop-down list.

    I entered the code of the tab actions from the drop-down list properties below > mouse down > run a java script. The problem is that it works only if I come out and enter again the drop-down list. "I tried to invoke the code with"Mouse down","Mouse entry", out of the mouse ' none of them worked unless I go out and again the drop-down list.

    Any suggestions?

    Thank you!

    var devused is this.getField ("device");.

    var comptype is this.getField ("Type of complaint");.

    var proname = this.getField ("product name");

    var feels = this.getField ("sent to the sponsor");

    If (comptype.value == 'Associated Product complaint') {}

    devused. Required = true;

    proname. Required = true;

    smells. Required = true;

    }

    else {}

    devused. Required = false;

    proname. Required = false;

    smells. Required = false;

    }

    What you describe is the way documented in what forms Acrobat and Acrobat JS behave by Form Event Processing

    For your described form, we can use a custom format for the field drop-down list script:

    If (event.willCommit! = true & event.changeEx! = "")
    {
    var devused = this.getField ("device");
    var proname = this.getField ("product name");
    Envoy of var = this.getField ("sent to the sponsor");
    Switch (Event.changeEx)
    {
    case "related product": complaint
    devused. Required = true;
    proname. Required = true;
    smells. Required = true;
    break; Go at the end of the switch;
    Repeat fdor each value of the option in the drop-down list.
    by default:
    If no match for the above cases, it is found;
    devused. Required = false;
    proname. Required = false;
    smells. Required = false;
    break;
    } / / end of switch event.changeEx;
    } / / end not true willCommit;

    You must set the ' Commit selected value immediately "and as one moves upwards or downwards the options, the related fields will change and stay together when you exit the field note that the field name is not used in the script because the field is the event object until it leaves the field.

  • Forms - submitting to different recipients based on the selection

    I have a form I need to present it to different addresses depending on the option chosen in one of the drop down lists. This MUST be done on a form on the client side.

    Any ideas on how to go about it?

    I don't want to create a different form for each scenario.

    Thank you

    You can set the action attribute of form with js as well. as murray said, this isn't the way favorite of doing things, but if it is your only way you can control the browser uses your username does work.



    Form




  • APEX4: How to create a report whose data are based on the date of entry of the user fields

    With the help of 4 Apex I create a report that allows the user to enter two dates and displays a report between the date range.

    How can I do this?

    Thank you.

    Go to Actions > filter in your IR and ther, you can create several conditions to filter your report.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • Former 1990 EF lenses are compatible with the new EOS Rebel SL1 body

    Recently, I discovered my film camera EOS 650 purchased circa 1990 with 3 EF lenses (50 mm, 35-105 mm, 100-300 mm), in perfect condition. These old lenses would be incompatible with a new EOS Rebel SL1 body?

    Thanks also to ebiggs.

  • Can I customize the forms based on the responsibility on the same operating unit?

    Hello!

    I would like to ask if I can customize forms that are based on the responsibility on the same operating unit? Here's the scenario: order entry form, the descriptive flexfield is disabled on a responsibility more but must be activated for a particular responsibility. In addition, on most of the responsibilities, booking, picking up until shipping are manually, while on a special responsibility, I need to automate these steps.

    Thanks in advance.

    Jon

    Hi Jon,

    Yes. Forms can be customized at the level of the Site, the user, the responsibility.

    For more information, please visit:

    Form customizations in Oracle E-Business Suite (release 12) (Doc ID 395117.1)

    How to make forms of customization (Doc ID 468657.1)

    Information about the ability to customize the form of Oracle Applications 11i (Doc ID 279034.1)

    Limits to customize forms (Doc ID 420518.1)

    Thank you &

    Best regards

    Asif

Maybe you are looking for

  • I do pay for IMOVIE?

    I removed imovie awhile to free up space. Now theres some clips I want to change, go to the app store and its $22 .99aus... ??? what the *? Surely, he was given free initially, it should remain free?

  • How to get out of a sequence structure

    Is there a way to get out of the structure of sequence?

  • When I go to Windows movie do I click on 'Digital camera' and it won't let me record go on my webcam.

    Title: original ideas: insert an error code or give a brief description of what you're trying to accomplish or difficult. __ I have a webcam built into my laptop. When I go to Windows movie do I click on 'Digital camera' and it won't let me record go

  • made 2311gt HP (QJ684AA) support HDMI 1. 4 a cable?

    I'll buy a HP 2311gt 3D monitor, but I don't know if it supports HDMI 1. 4A cable. because I discovered that need 3D content cable HDMI 1. 4A for image quality of dough or it doesn't mean anything if it 1. 3B or 1. 4A, all cables are the same. As far

  • "MyClassName" names a type

    I get a compile error that I can't not around. Now, a couple of weeks, I got another error from a corrupt repository that I only had time by the abolishment of the class and recreate the class and then copying the original CPP and hpp back into files