Entities can be sorted

Hi all

I was wondering if this can be done in entities


Suppose I have kids as an entity, with the attribute:
Name {string} 
DOB {number} 
Pocket Money Allowance {number} 
Parents also a Global Budget to attribute
        Parent_Budget {number} Set to 100 
Now, I want the interview to ask the name of the child, DOB. but I want the feature to be sorted by DOB, then each of the allocation of the child allowance increment by 50 of my Parent_Budget.
The idea of being sort if I had 3 children youngest 3 would not receive pocket money more.

Is this achievable with the OPA?

Hope that makes sense.

Hi user9015745,

I think you can do this with the OPA. However, I think it becomes very inconvenient if the ranking for each child is not unique. By this I mean if you are 3 children by birth date and they are triple, then how should the $100 get distributed?

Leaving aside the twin, triple, quadruple, etc. issue and imagining that for now, each child has a "priority ranking" which are provided to you as a base entry, so here's how you might approach this problem...

Entity installation *.

Contained one-to-many relationship
Global--> the child
Relationship text: children

Presumed relationship
the child--> the child
Relationship text: children of high priority

Rules *.

the child (the other child) is a member of the children of higher priority if
priority of the other child< the="" child's="">

money available to allocate to the child = the budget of parents - InstanceSum (children of priority higher, the maximum amount of the child allowance)

give the child money = Minimum (maximum amount of child of pocket money, the money available to allocate to the child)

During execution, provide an input 1, 2, 3 for "priority of the child", and you will see the allocation of funds cascading down the priority until funds are exhausted child. ". So if the parents have $100 to be allocated, priority 1 child receives $50, as the child of priority 2, but the 3 priority child gets nothing because there is more money in the bucket.

Note that 'maximum child pocket money amount' is the child of the entity level in these rules. This means that you can allocate a different maximum for each child. For example, you could say that maximum priority 1 child is $ 60, maximum priority child 2 is $ 50. So if budget is $ 100, the priority child 1 gets $60, priorite2 child gets $40 because that's all that remains, and priority child 3 obviously gets nothing. If the ceiling for each child was the same, then you could do this Global attribute.

I'm guessing that this child allowance example is just a hypothetical example of your real life customer scenario, but I hope that the example I described above is useful.

See you soon,.
Jasmine

Tags: Oracle Applications

Similar Questions

  • How can I sort more by last used date?

    Hello:

    How can I sort the apps on my phone by date of last used?  I know, that there was a way in ITunes but this option isn't there anymore.  It's by name, size, or type I believe.

    I have far too many apps because I let my grandchildren play games.  I'd like to see what games they actually use.

    Thank you!

    Dianne

    To my knowledge, this capability does not exist... at least, I've never seen.

    Barry

  • My e-mail account has a padlock on the envelope, and when I try to get new messages, it won't let me. How can I sort this?

    The account on Thunderbird for my e-mail address won't let me update my box in. When I go to 'New Messages' there is a lock on the envelope and I get all new messages. How can I sort this allow mw to receive my massages?

    The padlock just means it's a narrative that uses a secure connection. It is unlikely to have nothing to do with your inability to pass messages. Who is the account provider?

  • How can I sort a list of smart playlist in iTunes?

    I have smart playlists in iTunes.   Some of them appear with the positions that I can click Sort by name or artist or what I posted.   But the other smart playlists do not have this topic and are sorted in some unknown way.   They often have a colored background.   I don't understand what is the difference between my old and these smart playlist.   But without the title, I can't sort and find the song I am looking for.

    iTunes 12.4.1.6

    iTunes > opinion > view by > songs.

  • Photos can not sort, correct?

    Or more precisely, Photos can't be sorted.

    When I sort the Albums in a folder, they sort properly. But if I make changes (for example, change the name of an Album) I have to manually inform the Photos to sort through the

    Albums in the folder, once again.

    In an Album, there is an option to keep things sorted by name, that is to say the photos themselves. (for example)

    However, it doesn't seem to be the same option to keep things sorted to Folders.

    All of this is correct?

    Or I do something wrong? (such as the use of Photos as a way to manage some of my photos)

    That is right.  When you change the name of an album in a folder the contents of this folder are used.

    Given that albums can be sorted manually in a file to change the name of an album are similar. The record sees as Chase you manually sort order.  If the original default sorting is desired it should be redone.

  • How can I sort my artists by name in itunes

    How can I sort my artists by name in itunes?

    Mark,

    iTunes has absolutely no concept of "last name."  It is simply a lexical sort on the text in the field of the Album.

    If you want to leave the name of the artist he is, but ignore it for sorting, you can enter data in the field artist sorting, which is on the tab of sort for each song.  Use the format "Lastname, Firstname" to get the kind you want.

  • can I sort the photos in an album by the date that the photo was taken?

    Can I sort the photos in an album by the date that the photo was taken?

    Yes

    View > sort by > keep sorted by...

  • Can I sort the mailbox by name in the Mac mail?

    I put my old emails in folders (aka the mailboxes) and keep them on my Google mail.  If I got to Google mail online, my mailboxes are all sorted by name in alphabetical order, but when I go back to my Mac mail, they are in the chronological order in which they were created.  How can I sort my mailbox of e-mail Mac by name?

    I don't see an option alpha re arrange mailboxes mailbox or folders - but you can drag the top / down to re arrange them.

    You may submit any comments here re Mail

    http://www.Apple.com/feedback/mail.html

  • How can I sort pictures

    How can I sort my photos for the oldest to newest.

    What version of Photos do you use?

    With Photos 1.2 and later you can sort the photos in an album or smart album by one of these with the discovered ➙ sort menu:

    According to the times (pictures), pictures are sorted by date with the oldest first or at the top of the window.  With the pictures window, they are sorted by date added to the library with more old photos at the top of the window.

    In pics 1.1 and 1.0 the only available sort order was with the oldest date first.

  • How can I sort a list of Pages?

    How can I sort them into Pages?

    What Pages?

    In the text or in the tables?

    Peter

  • Can I sort my "favourites" while offline?

    Can I sort my "favourites" while offline?  I have a very long list and I have a large number of them in sub-foldrs, but I do not necessarily have

    want everything to be in alphabetical order.

    You can sort them in offline mode, but you can do what you want online. Works either way.

  • my screen flipped upside down how can I sort it please

    my screen flipped upside down how can I sort it please

    Hello

    Press ctrl + alt + up arrow double Best of Luck, Rick Rogers, aka "Crazy" - Microsoft MVP http://mvp.support.microsoft.com Windows help - www.rickrogers.org

  • How can I sort the files in descending order & vice versa

    original title: files & folders

    How can I sort the files in descending order & vice versa

    The game, October 7, 2010 20:28:15 + 0000, phil7525 wrote:

    How can I sort the files in descending order & vice versa

    Make sure that you are in the Details view. Click on the heading of the field
    you want to sort. Click on it a second time to reverse growing
    descending, or vice versa.

    Ken Blake (MS-MVP)

  • I can't sort the names of files in alphabetical order...

    I can not get my pictures folder to sort the names alphabetically. I introduce new image files in the folder and they simply add at the end of the list. How can I sort the photo files in the folder alphabetically in Windows 7?

    On Wednesday, September 5, 2012 15:03:11 + 0000, kenanderson78 wrote:

    I can not get my pictures folder to sort the names alphabetically. I introduce new image files in the folder and they simply add at the end of the list. How can I sort the photo files in the folder alphabetically in Windows 7?

    Click on the header of the file name column. Click it a second time for
    change of Crescent in descending, or vice versa.
    Ken Blake, Microsoft MVP

  • PDF can be sorted by any field in its content?

    We download a lot of good delivery and during our peak, that would help us enormously if you could change the order of the good pdf we receive.  PDF can be sorted by any field in its content?  What happens if buy us the pro version?

    Thank you

    Julie

    Like you can do a spreadsheet? N °

    Be well...

Maybe you are looking for

  • ReadyNAS 102

    Hello After several years of working perfectly, my ReadyNAS 102 has the following problem: I can't access the Administration Web page, it says only: he is in charge and eventually times out.Although it either in this state that RAIDAR said the device

  • Serial USB Hub error

    Hello I am currently using a USB-6009 case and another device connected via USB using a virtual COM port. These are connected to the computer via a powered external USB 4 port hub. Whenever I run VI I get the following error: Error 1073807343 has occ

  • Microsoft __sql __server 2005 Express Edition Service Pack 3 (955706 KB)

    Several attempts have failed to install. Everything updated normally. How to fix.

  • Games for windows live client cannot install

    Please help me to install Games For Win LiveVista home sp2 with 2 n 2g of ram 32-bit core system.After downloading the file necessary gfwl, after installation, when I try to connect using my valid passport id in the Launcher error message will produc

  • Problem with a digital signature on a Windows installation DVD

    I bought a new laptop which has Windows 8.1, but I rather have Windows 7. This is why I bought a new copy of Windows 7 Home Premium, on a DVD. I think it's authentic. The DVD has holograms fantasies around the hub, which would probably be difficult t