Advice about design required

Hello all,
I am new with OA Framework development. I have read the Oracle tutorials, but I still have many questions about a best way to design the application. For example we have a fully customized module, kind of Mini MRP, which recommends purchase or sale back stocks of items between 10 different inventory organizations.
Each item has attributes which affect the stock level and reorder point, some of attributes defined on master organization level and others on specific inventory organization level. In addition the are table which contains on hand of item in each organization (mtl_onhand_qty) and table which contains history of usages of the item in each organization. Also item can have previous versions and planning done for whole family ( the item and all it's previous versions)
Now what I need to develop is a screen: user enters an item - and in left frame displayed the tree of family of item, in other frame there is a table of all 10 organizations when the columns are stock of the item in each org, usage of the item in each org,ROP etc.
My question is : how to design entity objects for application like this?
Should I create entity object for Item and another object for item in organization and another one stock of item in organization and for usage etc and to base view objects on those EO, or alternatively another approach - to create one huge view which will contain all the relevant data about the item in organzation ( stock,usage, attributes etc) and to base my EO and VO on this view? Please advice which approach is prefferable....
Sorry for long post :-)
Any help appreciated.
Thank you

I fully agree with what Tapash said, in case of external joins if EOs, even the code given in dev guide does not work....(Tapash correct me if I m wrong...! i remembered struggling with that code.... long time back, I m not sure of they have corrected it in 12i dev guide.) .
But the logic has to be understood that framework understand it to be a update operation instead of insert opeartion ..for the table which does not have the joining key record and joined with external join.
So this concept has to be implemented accordingly. I had scenarios where the query has to had external joins of EOs... so i made VOs based on sinle EOs and joined through VLs instead of going with external join of EOs in VO query, that worked fine.
--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Need advice about design approach for query editing tool with JSF

    Hi !
    I would like to propose in my application a way to allow end-user to create queries that could be executed on a some tables. I suppose that this kind of stuff is not new and would like to know if someone has to good design practice or example to do this with the JSF technology ?
    I think that two approaches is possible:
    1/ the user specifies the complete query from the start and get the final result when query is executed in the background
    2/ user specifies the query in a interactive way. It specifies one criteria and get the results of it, then on the results specifies another criteria and get new results, then specifies another criteria and so on.
    Also for information I use Hibernate as database framework.
    Some advice or start of approach will be very appreciated.
    Thanks !
    B.D.

    No-one could advice on this ?

  • Advice about switching to the mba

    Only recently moved from windows to a mac and I'm ready to go MBA already!
    I need some advice about the new MBA though please... Usually I look for reviews, youtube vids etc but can't find anything about the new MBA.
    I read stories about problems with the old MBA and wanted to hear from people that have the new version.
    I'm particularly worried about the stories of overheating and non-stop fan noises, taking ages to reboot etc (have these been rectified with the new MBA?).
    I currently have the 2ghz and it's pretty fast, love how quickly it switches on and off and I'd hate to loose that.
    Also, the MBA would become my main laptop as I couldn't possibly afford to keep both! Obviously I realise the MBA is not as powerful as the MacBook or the Pro but I'm not a heavy user, only mail, internet, youtube, itunes, ical, Office for Mac, some basic photo editing and rarely some light video editing.
    I would really appreciate any insight from current new MBA users, I know things are quite subjective (ie: I think my MacBook overheats very quickly but maybe to others this would be the norm) so I wouldn't bite your head off!
    sorry if this is the wrong place to post this... I couldn't find a more relevant category.

    I bought the 2nd generation MBA (released last November). I purposely held off on buying the first generation because of the complaints about the overheating etc. I follow a lot of Mac forums and can tell you that any problems you heard about have been resolved.
    There are always a few people that have issues with their machine - not matter what generation it is - but I would recommend the new versions to anybody that wants one.
    Fan noise is very subjective. I use my MBA a for Audio Recording and production - so my fan comes on pretty fast on mine - as the software I use maxes out the processor right from the start. And here is the best way I can sum it up:
    If I take the MBA with fan on into a dead quiet room - yes - I can hear the fan - and to me it sounds like blowing air out of your mouth to cool down hot food....
    If I take that MBA with the fan on into the kitchen where the fridge is running - I cannot hear the MBA anymore. Or if the dishwasher is on, or the clothes dryer etc.....
    I can only hear it is a dead quiet recording room. Subjective as it may be - it's perfectly acceptable to me.
    I have almost never had to restart my MBA - usually only when a software update requires it - I just sleep my machine. OSX is rock solid. my MBA takes 27 seconds to load - every time. If i do need to shut down - it takes like 2 or 3 seconds.
    I paid top dollar for mine when it was released and even though I could get it for $1000 cheaper now - I don't regret the money I spent. The solid MBA build and solid OSX are worth a lot to me.
    If there's any more questions just post them and I'd be happy to answer.

  • Advice about creating a website(s) with a .Mac Account - Newbie

    Hello,
    I need some advice about creating a website with a .Mac Account.
    The Situation
    For my media course we need to create a short film, then brand it, and distribute it along with press releases and press packs. No other group have thought about setting up a website - where it has all the company details, info about the Cast, Crew, Film, and maybe a link to the finished product.
    The Problem.
    I'm the only one who has an Apple Laptop. We don't want to use the computer at the university as A LOT of students use them and every month or so they're given a clean install.
    I've designed my own 'virtual series' website to showcase my screen writing work, but I haven't uploaded it. I was waiting until I finish university in the summer before I activated my 1 year .Mac Account. I have a .Mac Account, which has still got to be activated.
    How do i go about creating my 'video production' site, if I've already got my own created and sitting in iWeb?
    How could I just 'launch/upload' my 'video production' site without putting my own up as well?
    Should we buy a separate .Mac Account?
    Oh, and what would the address be, so that we can put them on business cards.
    THANKS for any and all help.

    Lots of questions... you've come to the right place!
    Here are some links that might be helpful to you:
    http://web.mac.com/varkgirl/iWeb/iWebFAQ
    http://web.mac.com/mark8heaton/iWeb/DomainSeparation/SiteSeparation.html

  • Need some advice about hot backup under linux

    hi, I want some advice about db files hot backup between two machines(Named A and B).A is primary machine which will write and read database and have the lastest db file. B is backup role and no database file in it.
    Now I want hot backup A's db file to B in order to B have the lastest db file too.
    At A,my db file support transaction and environment, and I set autoremove unnecessary log files.
    The code such as follows:
    dbenv->set_flags(dbenv, DB_AUTO_COMMIT |DB_LOG_AUTOREMOVE | DB_TXN_WRITE_NOSYNC, 1);
    ret = dbenv->open(dbenv, NULL,
    DB_CREATE | DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_MPOOL | DB_INIT_TXN ,0)
    I don't want to use db_hotbackup utility. and db_hotbackup may be backup files to the same machine with different dir.
    How can I make machine A's db files backup to machine B.
    Thanks for your help.
    Best Regards
    hangsy

    Hi Hangsy
    Now I want hot backup A's db file to B in order to B
    have the lastest db file too.What do you mean? Do you want to have the latest version... from when you did the latest backup, or you want to keep it updated in the same time with the main database?
    I don't want to use db_hotbackup utility. and
    db_hotbackup may be backup files to the same machine
    with different dir.You can copy the backup anywere you want.
    If you want to run recovery on a different machine, it must be the same pointer size and endianness as the original machine.
    Database and log file archival: http://www.oracle.com/technology/documentation/berkeley-db/db/ref/transapp/archival.html
    It is usually simpler to take the hot backup on the main machine and run recovery there before copying the databases to the remote system.
    In this setup, only the databases are required on the remote system, not the log files.
    Since you are using NOSYNC, you should run a checkpoint which will ensure you that the database files are up to date.
    Please read "Recovery procedures" ( http://www.oracle.com/technology/documentation/berkeley-db/db/ref/transapp/recovery.html ) first. "you cannot perform a hot backup of databases and log files, restore the backup and then run normal recovery -- you must always run catastrophic recovery when using hot backups."
    Regards,
    Bogdan Coman

  • Advice about using the laptop with closed lid while connected to external display

    Hello all HP forum members!
    I have an ENVY 17 with Win8.1 64bit, a great laptop, but I need an advice about using it while connected via HDMI cable to an external display (TV).
    When I play heavy 3D games, the computer produces more heat than usual (of course this is normal), but doing so with closed lid, could this harm the  display in some way, as a result of the heat?
    Thanks!

    Hi @VVel ,
    Thank you for visiting the HP Support Forums and Welcome. It is a great site for information and questions. I have looked into your issue about your HP ENVY 17 Notebook and issue with keeping the Notebook on while closing the lid. Here is a document on changing the Power option.
    Control Panel - Power Options - upper left - Choose what closing the lid does.
    Change Plan Settings and also check Advanced Settings. Make sure you do this for both battery and power.
    Hope this helps.
    Thanks.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • This morning I ask about the requirement to download the adobe Cs6 before i buy the product and the salesperson told me that i met the requirement for that particular software, so my surprise now when i open the file it says an error because my computer d

    this morning I ask to a sales person about the requirement to download the adobe Creative Cs6 before i buy the product and the salesperson told me that my computer met the requirement for that particular software, so my surprise now when i open the file it says an error because my computer doesn't meet this requirement,  my computer is a OS X 10.5.8 and the requirement  is OS X v10.6.8 or v10.7 what can i do?

    The requirements are online. For the Master Collection the requirements on Macs are:
    Mac OS
    Multicore Intel processor with 64-bit support
    Mac OS X v10.6.8 or v10.7
    4GB of RAM (8GB recommended)
    15.5GB of available hard-disk space for installation; additional free space required during installation (cannot install on a volume that uses a case-sensitive file system or on removable flash-based storage devices)
    Additional disk space required for disk cache, preview files, and other working files; 10GB recommended
    1280×900 display with 16-bit color and 512MB of VRAM; 1680×1050 display required and second professionally calibrated viewing display recommended for Speedgrade
    OpenGL 2.0-capable system
    DVD-ROM drive compatible with dual-layer DVDs (SuperDrive for burning DVDs; Blu-ray burner for creating Blu-ray Disc media)
    Java™ Runtime Environment 1.6
    Eclipse™ 3.7 Cocoa version (for plug-in installation of Flash Builder); the following distributions are supported: Eclipse IDE for Java EE and Java Developers, Eclipse Classic, Eclipse for PHP Developers
    QuickTime 7.6.6 software required for QuickTime features, multimedia, and HTML5 media playbackOptional: Adobe-certified GPU card for GPU-accelerated performance in Premiere Pro; see the latest list of supported cards
    Optional: Adobe-certified GPU card for GPU-accelerated ray-traced 3D renderer in After Effects; see the latest list of supported cards
    Optional: Tangent CP200 family or Tangent Wave control surface for Speedgrade
    Optional: 7200 RPM or faster hard drive (multiple fast disk drives, preferably RAID 0 configured, recommended) for video products
    Broadband Internet connection and registration are required for software activation, validation of subscriptions, and access to online services.* Phone activation is not available.
    You should have been given the correct information. Adobe offers 30-day money back guarantee.
    You can find return information here:
    Return, cancel, or exchange an Adobe order

  • A question about design of Java Application on java card.

    Hi every one,
    I have a question about design of Java applet on java card,
    There is an application on my card that it is not java card, it include a DF and some EF under DF, I would like to know if I want to have this application on java card ,how can I design DF and EF on java card ,I mean is there any relation between DF,EF with applet and file? for example can I say DF is same as applet and EF is same as file?
    I'll appreciate for any help .
    yours sincerely,
    orchid

    hi
    you can write a java class for DF.
    an instance of DF class have some EF objects.
    for example,
    samples/com/sun/javacard/samples/JavaPurse/CyclicFile.java
    implements ISO 7816 CyclicFile ( EF )
    see also:
    http://forum.java.sun.com/thread.jspa?threadID=673745&messageID=3936272
    best regards,
    siavash

  • Need advice about a WiFi set-up

    Dear Gang,
    I want to have a pure 802.11n network using the 5 ghz spectrum and the wide array setting. However, I have one desktop computer that is 802.11g. I'd like to run a 25 ft. Cat 5 cable to one of the LAN ports on the TimeCapsule and then shut-off the WiFi on this computer. However, strangely enough, I've always had all my computers (even desktops) networked via WiFi so I don't know how well using the LAN works.
    What are the thoughts of the group?
    I know that ethernet should give me greater speeds to the TC's hard drive and should solve my problem with bringing a non-802.11n machine in to a "pure" network, but I don't want to do so if the set-up is arduous or if doing so makes me lose a lot of features that I get in an all WiFi network.
    TIA,
    Mark

    dwb,
    I'll definitely take your advice about the ethernet cables - thank you.
    Your info is reassuring as it means that my dual G5 will get a little more life out of it by connecting it in to my "pure" system via ethernet.
    Two other quick questions:
    -should I connect my new iMac via ethernet to the router, too, even though it's capable of going on my system in 802.11n 5ghz?
    -also, as an aside, I'm trying to figure out if my new 802.11n network will equal my current 802.11g network in terms of distance as I have an Apple TV that's a few rooms over. That Apple TV gets about 4 bars of signal from my current network. Do you think that 802.11n at 5 ghz will have an equivocal range?
    Mark

  • Need advice about zip rar files

    Here's wishing you all a very happy New Year!! Mr Greenhorn is back again! I have a question about zip and rar files. As some of you may remember, this is my first Mac, so I'm used to using the zip/rar programme on my old Windows O/S. Now I receive zip/rar files and can't open them. What is anyone's advice about downloading the zip/rar programme onto my Mac? Any particular pro's and con's? Any particular site to download from? Now my Mac has a compression programme included which converts files to zip files, but is that compatible to the actual zip/rar programme? And finally, where is the advantage to compressing files? Is it only for uploading or is there some benefit to having files 'compressed' on your actual laptop?

    Hi There
    Mac OS X has a built in Archive Utility which doesn't support .rar files. To uncompress rar files you will need a utility like RAR Expander or Stuffit Expander both are free. I suggest doing a search on MacUpdate (http://www.macupdate.com) or VersionTracker (http://www.versiontracker.com) to find a programme that you like.
    I personally don't see any advantage with keeping compressed files on your laptop (unless the archives being used often for emailing, uploading to websites etc). Compressing files does save disk space but if you get to the point where you need to compress your files to gain disk space then I suggest buying an external HD or a bigger internal HD.
    Hope this helps
    J.C

  • Need advice about best characterset for XMLDB

    Hi,
    Oracle 9.2.0.5 Windows 2000
    Please, give me an advice about best character set
    configuration for XML DB.
    During installation Oracle istallator suggests
    charset =AL32UTF8 for multilingual data and ncharset=
    AL16UTF16.
    Is it good settings for database, which will be
    used for usual multilingual data and XML DB ?
    Thanks,
    Viacheslav

    Yes, we strongly recommend the use of AL32UTF8 for XML DB.

  • Need advice about coalesce and deallocate unused space

    Hi experts;
    Here looking for an advice about coalesce and deallocate unused space.
    I got this tablespace with 87% full, one of the table in that tablespace has 1,150,325 records.  I'm going to delete 500,000 records from that table, but to release the space used by those records I understand that I need to execute other procedure. I was reading about coalesce tablespace and deallocate unused space.
    I found that apparently, both process can help me to free space. If you want to share with me your comments, about  advantages or disadvantages about them, in order I can take the best solution?
    Thanks for your comments.
    Al

    Hi
    after deleted rows, the high water mark is still the same and so the size of the table. you need to bring down the water mark
    here is what you need to do to bring down the high water mark. We do this monthly for performance purpose.
    This is an EBS R12 system  but the procedures are the same for EBS database or non EBS database.
    After you purge or delete data in a table
    1) alter table APPLSYS.WF_ITEM_ATTRIBUTE_VALUES move; <-- this operation will invalidate all indexes attache to the table
    2)select owner, index_name, status from dba_indexes  -- list all invalid object for user APPLSYS
    where table_owner = upper('APPLSYS')
    and
    status NOT IN ('VALID','N/A');
    3)spool idxrebuild.sql --generate script to rebuild indexes.
    select 'alter index ' ||owner||'.'||index_name ||' rebuild online;'  from dba_indexes
    where table_owner = upper('APPLSYS')
    and
    status <> 'VALID';
    4) run idxrebuild.sql   -- to rebuild indexes.  -- at this point if you check spaces on the table, it is still the same, you need to run #5
    5)exec fnd_stats.gather_schema_stats ('APPLSYS');  --fnd_stat is for EBS system you can replace with the database equivalent command.
    use this statement to count the block before and after the operation to see the different.
    select DISTINCT(SEGMENT_NAME), count(blocks) "Total Block" from dba_extents
    where
    owner IN ('APPLSYS')
    AND segment_name = 'WF_ITEM_ATTRIBUTE_VALUES'
    Hope this help.

  • Need advice about headphones and splitter for HP EliteBook

    Hello,
    I would like some advice about what headphones and headphones splitter I should use for an HP EliteBook. I am going on a plane trip with my kids, and I plan to get them both Leapfrog headphones. However, I need a headphone splitter so that they can both watch a movie on the same computer.
    Does anyone have any suggestions for a splitter for an HP EliteBook? I tried Amazon but couldnt find anything.
    Thanks
    This question was solved.
    View Solution.

    Hi,
    The following one is for more than 2:
        http://www.officeworks.com.au/shop/officeworks/belkin-rockstar-headphone-splitter-bef8z274
    and the following one is from Amazon:
        http://www.amazon.com/Belkin-Speaker-and-Headphone-Splitter/dp/B00009WQSR
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Need advice about transfering files

    Hello. I just got a new mac through an education deal at school. I hate this process of transferring files from one computer to the next but have never done it from one Mac to another before so thought it would be pretty smooth. Im new to the whole Migration Assistant and so need some advice about what to do next.
    I tried using migration assistance upon first turning on my new mac but was using wireless and it just wasnt working. My computer kept saying my new mac wasnt responding and I kept having to select ok or cancel every minute and with 15 hours to go, i thought f^*# it. So I decided to just start the computer up and manually transfer files. Then I found an ethernet cable, turned file sharing on and am using my public folder to transfer but its turning into The Most Tedious task and things arent transferring properly (like certain folders arent copying contents, just the folder itself).
    Now Im wishing I could have used migration assistant from the start but what can you do. I cant just re-install the mac os software and try again because before we got our new macs they installed some programs for us, like Logic, and I dont really wanna mess with that.
    Whats my best option at this stage? Ive transferred about a gig of pictures and documents over so far (and I think my old hard drive is about 60 gig full) but theres a bunch of other little things like iphoto, imovie, garageband, stickies, as well as big folders of music (and itunes - playlists etc) that I wanna make sure get copied in entirety. Will migration assistant handle that? Is it best to delete the stuff Ive transferred so far and let it start fresh? What would you do?
    Sorry my post is so long
    Message was edited by: girrrl

    Also, now that I have an ethernet cable, if I go ahead and use migration assistant to transfer the account from my old computer, will Logic only be available through the new account I have set up on my new computer? Would I have to log out of one account and into the other and back and forth to access the different files/programs? Any help would be much appreciated

  • Need advice about making a application log over every task succsessfully done to a target

    Hi!!!
    I need an advice about how to make an application log over every task succsessfully done to a target with an unique ID.
    I have developed an application with several tasks on the menu which have to be done in a certain order to program and test a target board,
    and the user want a log about which tasks are done to the target, so it is easy to know which step is next on the menu (It is a very routinebased  job).
    Do somebody have any good advice on how this can be done in a cleaver way ?
    Best regards,
    A

    Also, now that I have an ethernet cable, if I go ahead and use migration assistant to transfer the account from my old computer, will Logic only be available through the new account I have set up on my new computer? Would I have to log out of one account and into the other and back and forth to access the different files/programs? Any help would be much appreciated

Maybe you are looking for

  • Travel adaptor for Macbook with magsafe connector?

    Has anyone found anyone that sells a aircraft travel adaptor for the Macbook? Kensington do one for the old iBook but a magsafe connector version has not appeared. Hopefully this is not becasue Apple have patented the design of the magsafe connector

  • OWB and MS SQL Server source (10.2)

    Hi all, After installing the Gateways for MS SQL Server, configuring and testing the Database Link sucessfully, I met some issues when trying to use this Database Link for location source. Suppose I have a Database Link named mssql. From OWB Design C

  • Escalation in hierarchical role

    Hello All, i am new on oracle bpm 10.3, i'd like to know how to configure an escalation in BPM, let say there's process that need to escalate to participant's supervisor, because he/she cannot not handle the task. what i need to know is escalation no

  • Exit code 20 error message when trying to install Master Collection 5.5. Please assist.

    I get Exit code 20 error message when trying to install Master Collection 5.5. Please assist.

  • Database is very slow

    Hi Guys, I am geting trouble. My database is very slow. I couldn't log in when I launch enterprise manager. I use sqlplus to login on as sys, and it was ok, but it was very slow when I select from v$lock. It is fast when I select from v$session. How