Re-evaluate the relationships after adding a new instance of the entity

Hi all

I have an 'X' entity for which global > X 1:M relations are evaluated on the screens. For example, after we collect the instances of 'X', the next screen ask you, out of all the X, which is a member of the relationship there. The interview continues.

The question we now face is that if the user decides to add an additional instance of 'X' after having answered the relationship screen, screen relationship there does not appear once more.

Ideally, we would like this screen once more, now that the extra 'X' was added, since it is theoretically 'unknown', they are also in the relationship Y or not. Instead, the debugger shows the relationship there is known and empty for the new 'X' entity instance.

Is it possible to have this screen once more, once the new instance of the entity?

Thanks for your help,

-Julien

Julien,

The solution for this is not quite easy. Once the relationship is known to 'Y', the screen will be visited not unless the user chooses explicitly (usually data review screen).

Event Manager solution

A solution is to implement an event handler that sets the relationship 'Y' Unknown when the user adds a new 'X' entity. This requires custom code. See 'Events and event handlers' in the Guide of the developer of automation Oracle policy

The entity implied solution

Another (perhaps easier) solution is to infer the relationship 'Y' and collect information on the same screen that 'X' entities are added. This is best illustrated by an example.

For the entity 'X', I'll use "person" global to the containment relationship no one is 'the people '.

For relationship 'Y' I will use the global relationship person '' the special people. ''

On the person entity, I have 2 attributes "name of person" (text) and 'the person is special' (Boolean)

I have the following rule to infer the relationship '' the special people. ''

the person is a member of the special people if

the person is special

The next step is to ensure that when you add features of person, they state "name of person" and "person is special."

It will have 2 effects:

1. the relationship "the special people" will be deducted, that there will be no screen to associate the relationship.

2. for the collection of instances of the person, the extraordinary selection (or not) will determine members

I think that the solution infers entity could be your best option. It requires no code and simplifies the interview.

Hope this helps

See you soon

Frank

Tags: Oracle Applications

Similar Questions

  • Class not found exception after adding a new image in the folder resources.

    The app works perfectly well on the Simulator and the device. After adding a new set of images, he began to show in every race, on the Simulator and the device, a class not found exception.

    When you try to delete some images to find the cause, I get different classes not found when executing. Compilation and packaging the application generate warning or error. They even get signed. Some of the classes are not exception I get:

    Java.lang.StringBuilder

    NET. RIM. Device.API.UI.UIApplication

    I'm guessing this has something to do with the size of the total image, since the size of each range image from 100 KB to 300 KB, and we talk about only 25 or 30 images in total. Adding image outside of the 'res' folder does not generate the error, but the image is not added to the final files.

    In addition, this application is not large, but when compiling and packaging of the app, it generates and signs 125 cod files. Is this normal?

    I use Eclipse 3.6 (Helios) and BB SDK 5.0.0.25 won win 7

    Any help will be appreciated. Thank you.

    Have you seen this?

    http://supportforums.BlackBerry.com/T5/testing-and-deployment/the-maximum-size-of-a-BlackBerry-smart...

    I would recommend that you download these kinds of resources and put them on the SD card if you take a storage capacity that users will want to keep available for email and others.

  • After adding a new account, I can't delete emails from the Inbox for this account.

    I just added a sixth account to my installation of Thunderbird. There was no problem in adding the account and I can send and receive emails without problem. However, I can't delete emails from the Inbox. What should I do to correct this?

    OK, then compact Inbox:

    Right click on Inbox - Compact

    It is recommended that you enable automatic compaction. More information on the compaction in this article.

    http://KB.mozillazine.org/Compacting_folders

    I don't expect more problems with deleting messages after compaction.

    If you still have problems, follow these instructions.

    http://KB.mozillazine.org/Compacting_folders#Real_fix

  • How to refresh the Listview after adding a new item

    Hello

    I have the following list:

     ListView {
                                        id: channelsList
    
                                        dataModel: categoryModel
    
                                        listItemComponents: [
                                            ListItemComponent {
                                                type: "item"
                                                StandardListItem {
                                                    title: ListItemData.name // Channel name
                                                    imageSource: ListItemData.imageFile
                                                    status: ListItemData.id
    
                                                    id: channelItemId
    
                                                    contextActions: [
                                                        ActionSet {
                                                            //title: contentView.title
                                                            ActionItem {
                                                                title: "Add to Favorites"
    
                                                                onTriggered: {
                                                                    console.log(ListItemData.id + " will be added to the Favorites");
                                                                    //categoryModel.addFavorite(ListItemData.name, ListItemData.imageFile, ListItemData.id);
                                                                    channelItemId.ListItem.view.viewTriggered(ListItemData.name, ListItemData.imageFile, ListItemData.id);
                                                                }
    
                                                            }
    
                                                        }
                                                    ]
                                                }
                                            }
                                        ]
    
                                        onTriggered: {
                                                var chosenChannel = dataModel.data(indexPath);
                                                console.log("indexPath: " + indexPath);
    
                                                var playingPage = playpagedef.createObject();
    
                                                playingPage.chname = chosenChannel.name;
                                                playingPage.cid = chosenChannel.id;
                                                playingPage.init();
    
                                                Qt.nav.push(playingPage);
    
                                        }
    
                                        attachedObjects: [
                                            // The bucket categoryModel is a non visible object so it is set up as an attached object.
                                            // The categoryModel itself is a QListDataModel defined in categorymodel.h and registered
                                            // as a type in the creation of the application.
                                            CategoryModel {
                                                id: categoryModel
                                                // The path to the JSON file with initial data, this file will be moved to
                                                // the data folder on the first launch of the application (in order to
                                                // be able to get write access).
                                                jsonAssetPath: "models/channels.json"
    
                                                // The filtering is initially set to "Category 1" to show category channels
                                                filter: label.text
                                            },
    
                                            ComponentDefinition {
                                                id: playpagedef
                                                source: "PlayingPage.qml"
                                            }
                                        ]
    
                                        function viewTriggered(name, imageFile, id)
                                        {
                                            categoryModel.addFavorite(name, imageFile, id);
                                            categoryModel.clear();
                                        }
    
                                    }
    

    and the categoeymodel.h is as follows:

    #ifndef _CATEGORYMODEL_H
    #define _CATEGORYMODEL_H
    
    #include 
    #include 
    #include 
    #include 
    
    using namespace bb::data;
    
    // The category categoryModel is based on the QListDataModel template, which in turn
    // implements the abstract DataModel class.
    typedef bb::cascades::QListDataModel CategoryListModel;
    
    /* CategoryModel Description:
     *
     * CategoryModel class for the Category List application, the data categoryModel
     * reads and write from a JSON file that keeps all item data
     * for the list.
     */
    class CategoryModel: public CategoryListModel
    {
    Q_OBJECT
    
    Q_PROPERTY(QString filter READ filter WRITE setFilter NOTIFY filterChanged)
    
    Q_PROPERTY(QString jsonAssetPath READ jsonAssetPath WRITE setJsonAssetPath NOTIFY jsonAssetPathChanged)
    
    public:
        /**
         * Constructor that sets up the recipe
         * @param parent The parent Container, if not specified, 0 is used
         */
        CategoryModel(QObject *parent = 0);
        ~CategoryModel();
    
        QString filter();
    
        void setFilter(const QString filter);
    
        QString jsonAssetPath();
    
        void setJsonAssetPath(const QString jsonAssetPath);
    
    signals:
    
        void filterChanged(QString filter);
    
        void jsonAssetPathChanged(QString jsonAssetPath);
    
    public slots:
        void addFavorite(QString channelName, QString channelImageFile, int channelId);
    
    private:
        bool jsonToDataFolder();
    
        // Property variables
        QString mFilter;
        QString mJsonAssetsPath;
        QString mJsonDataPath;
    
        // A list containing all data read from the JSON file
        QVariantList mData;
    
        //Invocation variables
        bb::cascades::Invocation* mInvocation;
    };
    
    #endif // ifndef _CATEGORYMODEL_H
    

    My problem is that the listview is not get automatically updated when a new item is added to the datamodel (a favorite channel is added). I have to exit the application and restart to see the updated list.

    categoryModel.addFavorite(name, imageFile, id);
    categoryModel.clear();
    

    categoryModel.clear ();

    does not work. I get:

    Asset: / / / hand. QML:180: TypeError: result of expression 'categoryModel.clear' [undefined] is not a function.

    I would like to know how to achieve using approach "more correct".

    QListDataModel does not expose its internal storage directly. It is possible to reconstruct the map by performing an iteration in a loop (with the help of data() and size() methods), the dataModel entries:

    http://developer.BlackBerry.com/Cascades/reference/bb__cascades__qlistdatamodel.html

    but I don't see how this could help. If the filtered data is changed, it must be merged with the original sort data.

    Why the original approach has not worked?

    I could not understand from the description appearance of the interface user, please post a screenshot if possible.

  • TPG errors after adding a new disk

    Hi, I have a strange problem that affect my

    MBP mid 2012

    -ssd 250 GB optibay + 500 original drive

    -8 gb HyperX

    .. I had a few problems with the installation of Windows 10 (with 7 and old MBP was easy even without Bootcamp), so

    I decided to do

    -a clean install of El Capitan on the ssd (not mounted original toshiba drive)

    -a clean install of windows 10 (player always on my desk)

    all perfect, everything works, but when I put my disc in its own place, 10 Windows won't start and say the classic

    "No boot device - insert boot disk and press any key".

    If I remove any return... and windows boot.

    so I try everything regarding routine maintenance (clear nvram, search for errors in the disk utility and so on)

    When I remember the nightmares of the TPG errors (with old MBP, I got a tri-boot with linux, osx and win)

    and the suspect is the partition number (?): I remember something like '4 max in mixed mode GPT/MBR partition' or something similar

    diskutil list (without the toshiba drive)

    / dev/disk0 (internal, physical):

    #: NAME SIZE TYPE IDENTIFIER

    0: GUID_partition_scheme * GB 250,1 disk0

    1: disk0s1 EFI EFI 209.7 MB

    2: Apple_HFS GB Cannonball 185.2 disk0s2

    3: disk0s3 Apple_Boot Recovery 650.0 MB HD

    4: Microsoft Windows 64.0 GB disk0s4 data base

    sudo TPG - v - r see the/dev/disk0

    Password:

    See the TPG: / dev/disk0: mediasize = 250059350016; SectorSize = 512; blocks = 488397168

    See the TPG: / dev/disk0: MBR suspicious to sector 0

    See the TPG: error: wrong card

    See the TPG: could not open device ' / dev/disk0 ': Undefined error: 0

    Is there something I can do?

    Please don't tell me to reinstall windows... was a pain in the *.

    1. you have a corrupt GPT. Please download Fdisk TPG http://sourceforge.net/projects/gptfdisk/ .

    2 Please after the release of the

    sudo fdisk/dev/disk0

    3. is it possible to leave Windows player in the main Bay and put the other Optibay drive?

  • refresh a chart after adding a new series?

    This must be really simple and just something miss me. Suppose I have a chart, and I add 2 serial lines and then the visible diagram (well, make all visible via "this.visible = true"). great, everything works. BUT, if I add a 1 series, the value of this.visible = true, and then later add another series (via chart.push (seriesObject)) the display does not update with the new series.

    I guess there is just something simple, I have to do to cause the notification to occur and updates occur. Help!

    has worked like a charm. just put in action script, this pointer is useful.

    see you soon

    Omar

  • Impossible to perform a search using a VO after adding a line in OT

    HI guys,.

    I am new to OAF and need your help to solve the current problem that I face.

    We still use JDeveloper 9i (9.0.3.5) and the construction of a custom page for the establishment of a trust hierarchy.

    Background:

    Page has 2 fields of research in region 1, name and organization with of the LOV attached to it. At the same time a region has button to search and clear.

    Below, another region is present which shows the data retrieved via above criteria of search as a table and we also gave a button to add a new line (say add new line).

    We have defined an EO and later a VO based on the same, which is used for this page (from the base of single table).

    Problem:

    When I open a page and search (providing criteria search or search criteria) it returns the correct results. Once I click on the button Add NEW RANK I am able to add a line, and I check back-end. Problem starts after that, I can't make a research post that he keeps on his return / showing same result set that was present on the page after adding a line. I also found that the parameters set by setWhereClauseParam are correct in adding debugging instructions. But once the vo.executeQuery () executed and number of lines returned by vo.getFetchedRowCount is the same as the lines already present on the page (after adding a new line/operation). I've tried passing NULL values to setWhereClauseParam after you perform a commit on the assumption that the VO is not resetting correctly but it did not help.

    Any suggestion for me, experts?

    Code:

    Example of code written for the search button, click,

    public void Manualsearch (pageContext OAPageContext)

    {

    String S2 = pageContext.getParameter ("OrganizationCode");

    String S3 = pageContext.getParameter ("Employee");

    System.out.println ("test2" + S2);         System.out.println ("test3" + S3);

    OAViewObject vo = (OAViewObject) getFrBlogApproversVO1 ();

    If (S3! = null & &!) S3. Equals(""))

    {System.out.println ("employee" + S3);

    vo.setWhereClauseParam(0,S3);

    }

    on the other

    {vo.setWhereClauseParam(0,null);  }

    If (S2! = null & &!) S2. Equals(""))

    {System.out.println ("Org" + S2);

    vo.setWhereClauseParam(1,S2);

    }

    else {vo.setWhereClauseParam(1,null);  }

    vo.executeQuery ();

    If (VO.getFetchedRowCount () == 0)

    {System.out.println ("no line") ;}}

    else {System.out.println ("Rows") ;}

    }

    Example of code written for the click on the button Add NEW RANK.

    Public Sub frCreateRow()

    {OAViewObject vo1 = (OAViewObject) getFrBlogApproversVO1 ();}

    If (VO1.getFetchedRowCount () == 0)

    {vo1.setMaxFetchSize (0);}

    Line r = vo1.createRow ();

    VO1. InsertRow (r);

    r.setNewRowState (Row.STATUS_INITIALIZED);

    VO1. Last();

    }

    on the other

    {vo1.last ();

    VO1.setMaxFetchSize (0);

    Line r = vo1.createRow ();

    VO1. InsertRow (r);

    r.setNewRowState (Row.STATUS_INITIALIZED);

    }

    }

    Example of code written to record the click of a button,

    public void save (pageContext OAPageContext)

    {getTransaction () .commit ();}

    throw new OAException ("Lines recorded with success.", OAException.CONFIRMATION);

    }

    Thank you and best regards,

    Mihir Nahar

    I think I found the answer,

    Reason for this behavior of VO is due to below statement highlighted. I just commented the same and it behaves perfectly.

    Hope this helps others in the future.

    Public Sub frCreateRow()

    {OAViewObject vo1 = (OAViewObject) getFrBlogApproversVO1 ();}

    If (VO1.getFetchedRowCount () == 0)

    {vo1.setMaxFetchSize (0);}

    Line r = vo1.createRow ();

    VO1. InsertRow (r);

    r.setNewRowState (Row.STATUS_INITIALIZED);

    VO1. Last();

    }

    on the other

    {vo1.last ();

    VO1.setMaxFetchSize (0);

    Line r = vo1.createRow ();

    VO1. InsertRow (r);

    r.setNewRowState (Row.STATUS_INITIALIZED);

    }

    }

  • Pavilion dv7t-3300: weird behavior after adding the SSD and RAM upgrade

    Has just added a new HD SSD to my note as "disk 1"(the former one is 'disk 0', he has a Win. " 8.1 works). Installed Win. 10 in the new drive and everything has worked well so far. I tried to upgrade the memory, so I bought two Crucial DDR3 1333 with 8 GB memory each, the previos configuration were two 2 GB memory (4 GB total).

    The question is: If you use a single memory (8 GB) everything looks Ok. If I add the other (16 GB total), the new SSD is not recognized, but the old man works as usual. The new drive is not yet recognized after botting from the former (not even from the Disk Manager). Already tried to drag the disks with no luck. There seems to be something with the memory, since everything works with a memory of 8 GB or with two 2 GB memory, but with two memoirs of 8Gb the new SSD seems to be dead

    Advice or similar experiences? Is there something that I am missing?

    So much worse... the SSD seems to be broken or something similar. Does not work on the other PC, then... I guess that this has nothing to do with the memory

    BTW, the 16 GB are works fine

  • ButtonField is not visible in the Simulator after adding to the HorizontalFieldManager?

    Hi iam trying to view an EditField and and a 'go' button beside it in the same line.  So I added them to horizontal FieldManager but in sumulatro only the search is coming and button is not visible.  If I add the button to directly _mainscreen that it is displayed in the following line. So, how do I make visible button after adding to the HorizontalFieldManager?

    Please give your support. Thanks in advance.

    private BrowserFieldDemo()
    {
    EditField edit = new EditField("", "search",10, EditField.FILTER_DEFAULT);
    HorizontalFieldManager searchBar = new HorizontalFieldManager();
    searchBar.add(edit);
    searchBar.add(buttonField);
    _mainScreen.add(searchBar);
    pushScreen(_mainScreen);
    }
    

    You can also limit the size of your EditField to leave room for your BitmapField.  In theory, you need only substitute getPreferredWidth() for your EditField, but you may have to substitute layout() as well.

    You can see an example of the fact of a ButtonField in this thread.

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=7430

    You can also find this useful Thread If you want to go in the direction of Manager:

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=3745

    I found the code snippet according to who uses the layout to make sure you have 20 pixels to the right of the field:

    Protected Sub layout (int maxWidth, maxHeight int) {}
    Super.Layout (Display.getWidth () - 20, this.getHeight ());
    setExtent (Display.getWidth () - 20, this.getHeight ());
    }

  • Hello. I installed the trial versions of 2014 CC Photoshop and Lightroom 5.6 (ie the plan of photography) on a desktop computer that I've added a new drive in Windows 7. Everything works well, BUT it's an old computer, and I think he could pack up unexpe

    Hello. I installed the trial versions of 2014 CC Photoshop and Lightroom 5.6 (ie the plan of photography) on a desktop computer that I've added a new drive in Windows 7. Everything works fine BUT it's an old computer and I think he could pack up unexpectedly. These things are happening. I want to sign up for the plan of photography but I also a Windows Vista laptop, and it's old too so I can put apps on a new office and a new laptop computer, after you have already installed on my desktop. That is why three activations. Am I allowed to do? See you soon. Paul

    You can't have three activations. It is simply not possible technically. If and when the time comes, just disable you / disconnect is on one of the old systems and install it on the new. If the system goes belly up, you contact support to reset your account. No need to make it more complicated than that and resist it.

    Mylenium

  • Remove the Configuration after adding to the models?

    Hello

    I wore as a result of the market-

    1. using the base OS say win2k3 model I've deployed a new configuration (full Clone)

    2. I installed my software and other things on the deployment configuration, and then I want to use this Configuration of my Gold, so I added this to the models.

    3. now after adding (2) for models can I delete above configuration? Which will cause no problem in my model that was created in step 2?

    Kind regards

    esxvmuser

    You can remove anything in LM without worrying from clones of this element.  On the backend, Lab Manager removes only the files that have no dependencies.  So the deletion of your configuration will remove LM but not ruin your model because the files of this model depends on are not removed until all dependencies are removed.

    Dependence of follow-up and asynchronous operation garbage collection nodes are important elements of the LM system.

  • XML document lack of implementation in the form after adding the node

    Hi all

    I'm adding a new node to my XML document using java.

    After I add, when I print the doc, I can see the xml code is not properly 'indexed' or 'formatted' (with a step internal node within the parent node.)

    I have put OutputKeys.INDEX that Yes. But I still have this problem.


    Kindlly help me regarding this.


    Thank you
    Sabarisri. N

    After I add, when I print the doc, I can see that xml is not properly "indexed" (sic, "indented") or 'formatted' (with a step internal node within the parent node.)

    It is indeed a common place of what to get. Rarely these whitespace contravene semantic aspects of xml, but it's annoying to the human eye. The OutputKeys.INDENT on the transformer fixing certainly wouldn't heal and makes it worse.

    If the lack of alignment gets enough wide, sometimes I use a custom xsl file to put an order of it. This is how the xsl looks like: it is just a slight development of an identity transformation. And I assume you are using jdk1.5 + packaged xerces and xalan.

    
    
    
    
    
        
            
        
    
    
        
    
    
    

    Suppose to be called indenter.xsl, and put themselves in the working directory. Printing to a file may seem just that.

    TransformerFactory tf = TransformerFactory.newInstance();
    Transformer t = tf.newTransformer(new StreamSource("indenter.xsl"));
    //suppose the doc is the document parsed and edited in the memory, and outfile is the path to output file
    t.transform(new DOMSource(doc), new StreamResult(new FileOutputStream(outfile)));
    

    I use xalan namespace to control the amount of space to indent. If you don't use of xalan, just leave these namespace declaration and the xalan:indent - amounted to and let the xsl processor using its default value.

    If you prefer instead of writing your own small xsl utilities, you can maybe google (mainly in using key as pretty print or a utility called htmltidy with w3c) to clean the misaligned output. Or check the documentation on the xsl processor used, some processor could have custom method to do the same.

    But cleaning may still run the risk of too interpret what can hold and is not. It is important to know what you finally want what to do and adjust according to your need.

    Published by: tsuji on Sep 21, 2011 07:57

  • Call for ensureIndexIsVisible after adding items to the dataProvider

    Hello

    I have a strange behavior where call ensureIndexIsVisible does not show the correct item.

    Did I miss the correct event to listen to after adding items to the list data provider?

    Description:

    I use spark.components.List with a HorizontalLayout to display my data.

    My data is displayed using the ItemRenderer.

    After the addition of new elements to the dataProvider, I register the Event.RENDER and within this handler, I call ensureIndexIsVisible and cancel the registration to this event.

    Add some data to dataProvider - some elements of thousnd

    list.dataProvider.add (...)

    list.addEventListener (Event.RENDER,

    function renderHandler(e:Event):void

    {

    show index

    list.ensureIndexIsVisible (indexToShow);

    list.removeEventListener (Event.RENDER, renderHandler);

    });

    I made the debug:

    1. If I comment removeEventListener, it will eventually work after some time the event fires.

    2. the original location that I see is a few points behind so if I scroll a bit I can find the desired article

    Thank you

    Roy.

    This blog can be useful: http://flexponential.com/2011/02/13/scrolling-to-the-bottom-of-a-spark-list/

  • My MacBook Pro was built in mid-2009, I understand that I won't be able to get the next Sierra of OS.  I just put a new hard drive 700 GB, more I added a new battery to include a new CD/DVD drive.  I spent more than 400 million dollars. What I need to by

    My MacBook Pro was built in mid-2009, a 2.6 GHz, 13-inch, I just put a new hard drive 700 GB and I added a new battery to include a new CD/DVD drive.  I spent more than 400 million dollars.

    I understand that I won't be able to get the next Sierra of OS. I need to by a new Mac?

    Talk to the people the more I would get if I turn in I'd get is about are about $ 100 million.  Please tell me it isn't so.

    If you want Siera you will need a new Mac, but you can continue to use the old one as long as you want.

  • I added a new apple ID. He continues to show former apple ID what me I forgot the password.  What should I do?

    I added a new apple ID. He continues to show former apple ID what me I forgot the password.  What should I do?

    Bought/downloaded content by one that Apple ID is linked forever, and in the case of applications will always require to update.

    Your best bet is to try to recover the password for it.  Go to http://iforgot.apple.com and try to get it back.

    If you forgot your Apple ID - Apple Support password

Maybe you are looking for