Data schema for timesheet application

I have to design a timesheet application.
Th epurpose is to store a worker, a project, an accounting code, a date and
a duration.
How would arrange the tables and their relations to do that?
Message was edited by: Jochem van Dieten

My interpretation was that the OP wanted to build an application like that, not that he had.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Similar Messages

  • What is the best data type for wallet application?

    Hi Friends..
    I want to know what is the best data type for wallet application..
    Assume that, i want to the Total of money saved digitally in Applet Wallet..
    And then if there's any transaction the Total of money which saved digitally in Applet Wallet would be Subtracted or Added depends on how much money that spent or saved..
    Which one is the best implementation of these scenarios :
    1. I save the User ID and Total of money in the Java Card, and then if there's any transactions, it would be added or subtracted directly and then saved again in the Java Card
    2. Or.. I save the User ID in the Java Card whereas Total of money in the Database, and then if there's any transactions, the ID would be read from the Card, and then select the Database based on that ID, and then Add or Subtract the money depends on how much money spent in the Transaction
    Please help me regarding this
    Thanks in advance

    Hi,
    Personally I would choose to store the total amount stored on the card. You could use two shorts (short[] perhaps) to store an integer (add more shorts to increase precision) and simply handle overflow your self. You could even look into using a third party library (or class) that treats a byte array as a big integer etc. There were some posts recently on floating point arithmetic that could be helpful for you since you will probably want to use decimals and JC does not natively support floats.
    Cheers,
    Shane

  • Authentication Scheme for sample application in Oracle Express

    All, I recently installed Oracle Express on linux and I was browsing the sample application and when I look up the Authentication Scheme for this app I get the message
    No authentication schemes have been defined. You can create a new authentication scheme starting with the Create Scheme button above
    Now when I click "Authentication Status " I see
    Application: 100
    Method: Authentication Scheme
    Details: Uses authentication schemes to control user authentication and all other aspects of session management for your application.
    Logout URL: wwv_flow_custom_auth_std.logout?p_this_flow=&APP_ID.&p_next_flow_page_se
    ss=&APP_ID.:1
    Public Pages: (none)
    Action: Manage authentication schemes using the report above.
    Yet when I run the app I know it is looking up the data in the demo_users table. What I don't see is where the function custom_auth is defined for this app as the function to call for authenticating users. Can someone point me in the right direction.
    Also has anyone upgraded apex in express to 2.2. Any issues?
    thanks
    Scott.

    I think i found it when you are in list view no schemes appear. However, when you switch to detail view then I can see the custom scheme.
    scott

  • How to change parsing schema for using application in test environment?

    Hi,
    I set up a test environment, i.e. an other Oracle schema with identical tables, views etc. to the productive environment. I wanted to duplicate the APEX application so that there will be a test version using the test Oracle schema and productive version using the productive oracle schema.
    Can some one please give me some tip how to do this? As far as I see i could change the parsing schema in the APEX Application install SQL in the following ways:
    1. While exportin the application with APEX
    2. In the result install f...sql file using search-replace
    3. While importing the APEX application via APEX Development GUI.
    I would prefere 1. or 3. but in both cases when I would like to change the schema name, the drop dowl list does not contain the test Oracle schema name. Do I have to grant something to the APEX worksspace schema for the test schema name to show up in the drop dowl list?
    Tamás

    On that screen,
    - click Create
    - select "Existing" Schema, click Next
    - select the Workspace, click Next
    - select the Schema, click Next
    - click Add Schema
    And now you'll end up with two schema's attached for the same Workspace.

  • Data grid for jsp applications

    Someone knows where i can get a good data grid (free or cost ) for JSP applications

    I just stumbled across this thread as we are developing a stateless BSP application and plan to use model binding in it.
    For our application the part of the models state that changes is displayed in the view in form fields, so our idea is to reload the model from the db in the doInitattributes-Method and let the model binding do the rest of the work filling in the values that changed in the view. It seems to work so far - so i guess persisting the state of the object to the db is only necessary when something changed that is not part of the view, right?
    My second question is on Brians recommendation to use MVC only at exactly one level. Is using Sub-Controllers a problem when they have got their own model? I guess the extra work Brian mentions is all about telling the subcontrollers which model to load, right?
    It would be good to know if there are any serious pitfalls when using a hierarchy of controllers instead of a controller with a collection of views.
    Martin

  • Data Schema for Workflow Desginer

    Hi again,
    I havent come across any simple way of creating a schema for easy access of the formvariables/fields in the designer.
    Ive read the tips about creating your own schema by copying the form fields into a xml file, but I find this rather tedious, specially when there are over 20 elements that need to be accessed.
    Thanks again,
    cheers Gunther

    There's no particularly "simple" way to generate an XML Schema from an already created XML file. However, there is software available that will help in this process by generating a schema from specified XML file. XMLSpy from Altova is one such product I can think of. However, I find it usually necessary to "fix up" the auto-generated schema afterwards to get it how you want. It is faster than starting from scratch though.
    Chris
    Adobe Enterprise Developer Support

  • "Not data found' for an application after installing Yosemite

    Since I installed Yosemite on my MacBook Pro, when I try to open an application (Y), i am asked to refresh its content and then, a window pops up and says : Your data cannot be found at : users/me/library/Y... the software will now try to start using the default data file location.
    And I cannot open the application..
    Can you tell me what to do ?
    I have tried to disentail/delete/erase the app and then to reinstall it but it always the same.
    Thanks

    Do a backup.
    Quit the application.
    Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder.  Select Library. Then go to Preferences/com.apple.systempreferences.plist. Move the .plist to your desktop.
    Restart, open the application and test. If it works okay, delete the plist from the desktop.
    If the application is the same, return the .plist to where you got it from, overwriting the newer one.
    Thanks to leonie for some information contained in this.

  • Data types for accounting applications

    Hi all. I'm in the process of writing a financial/accounting application.
    I'd like to get hints about the right data types to be used to represent monetary data (amounts and prices in USD or EUR; discounts and so on). Should I use the java's primitives double or float or something like BIgDecimals? Any drawbacks (a lot of objects allocation/garbage collection?, ...)?.
    Is there any open source-something I can study?
    Thanks in advance

    Really, your employer doesn't mind you freely
    distributing source that you wrote as part of your
    job?He doesn't have to tell his employer that, does he?
    Or is this wrong ethics...Well ethically it seems wrong to me.
    And depending on the country, region, type of employer and contractual agreements it could open the employee up to criminal and civil penalties.

  • Generic Authorization Scheme for items?

    I have created a generic authorization scheme for our application pages, and I would like to extend that to items if possible.
    The page one was easy enough as I could identify the calling page through :APP_PAGE_ID in the authorization scheme. Unfortunately, I do not know of any built in variables that would identify a calling item on a page.
    Is there such a variable or some other way of identifying the item?
    thanks!
    John

    John,
    No, currently you cannot pass any parameters to an Authorization Scheme. I have requested that this be a new feature in a future release of APEX, as it makes all the sense in the world. It would be a lot easier to have 1 scheme that can take a parameter for 100 items vs. 100 schemes, one for each of 100 items.
    In the mean time, you'll have to default to using a condition to determine if an item should be rendered or not. The trick here is that conditions are often used for business rules (such as not showing the SAVE button when you're inserting). Thus, you'll have to account for that when creating your conditions, and thus check both.
    Hope this helps.
    Thanks,
    - Scott -
    http://spendolini.blogspot.com/
    http://sumnertechnologies.com/

  • Data source for reports

    hi all,
    we r using 10g application server along with the reports service to deploy J2EE application
    The data source for the application is specified using the JNDI lookup
    Is it possible to use the same strategy for reports as well.
    i.e., we are using jdbcpds. so is it ok if i give the JNDI look up name as P_JDBCPDS
    If not is there any other way to make the P_JDBCPDS connection generic, so that i can change the username and database name without having to change the cgicmd.dat file
    Any help is greatly appreciated.
    Thanks & regards,
    Ramakrishna

    If it is intended to be accessible from Reports servlet then you can use "ssoconn" command line option where by the user name and password is stored in OID (Oracle Internet Directory)
    Pls see publishing reports to web document --> command line options -> rwservlet
    (link below)
    [    All Docs for all versions    ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    ---------------------------------------------------------------------------------

  • Getting the in-app data back for just one App.

    Hello. A while ago I posted about a method I used to get my data back for an application. I restored from a backup that was retrieved using Time Machine.
    Now I have a question some of you more experienced folks out there might be able to answer.
    I have just found out that my iPod touch needs to be swapped at the GB. No problem says I. But first I would like to try to set my existing iPod up as a new device without using the backup to remove the possibility that the software is to blame for the issue I am having. Doing this will erase all in-app data and progress in games and utility applications I have been using these last five or so months.
    So my questions are as follows:
    IF I were to restore from a backup, would the actual operating system software on the iPod be replaced with a new copy and leave the in app data intact?
    If I needed to set up as a new iPod and completely wipe the whole thing, could I get my in app data back?
    Is there a way to isolate individual applications' data from the MobileSync folder to replace manually after such a full restore?
    I have purposely added data in one app on the iPod and then observed the contents of the MobileSync folder while my iPod backs up during a sync in order to pick out which ones are the most recently modified. I am assuming those files are the ones that reflect the application(s) I had just worked in. But I do not want to go in and start messing with those files because they are not exactly labeled as belonging to a specific app.
    The long and short of all this is: When I swap my iPod at the GB, I would like to set it up as new and then sync my apps over to it? There are two or three apps that currently have a lot of data/progress I would like to restore individually after replacing my iPod. Is there a surefire way to isolate, backup and then restore each of those individual apps' data?
    Message was edited by: Volvoguy
    Message was edited by: Volvoguy

    Pretty sure that you can't selectively load app data, it's all or nothing.
    If you do a restore and load your last backup, whatever problem you're having could be embedded in the backup and so the problem will perpetuate. You can try restoring as new, and if that solves whatever problem you're having then you have to weigh that against losing your app data (and starting all your settings and accounts from scratch). But if restoring as new does not solve your problem, you should be able to restore again and select your last backup (maybe force a backup before you restore by right-clicking on its name and select the backup option).

  • Specific data connection to each application

    Hi, is there any way to force the phone to use certain data connection for each application. I.e. have active sync using data connection xxx which has manually set apn settings and browser to use either data connection yyy or wifi.
    Right now the problem is that while we have our private apn that connects into our own network for exchange but it can't be used for certain applications (read: facebook) so either wifi or operator apn has to be used also.

    hi mate,
    as far as i know no there is no way that this can be done. what device are you using, out of curiosity?

  • Using Password_verify_function for EBS Application Schemas

    HI,
    As you all know, EBS Application Schemas (ex: AP, AR, GL, HR, etc) are associated with the DEFAULT profile and DEFAULT profile PASSWORD_VERIFY_FUNCTION is set to NULL. If I alter DEFAULT profile and set PASSWORD_VERIFY_FUNCTION to make use of a complex password function as below or create a custom profile with a custom password function, I am not able to change the Schemas password using FNDCPASS.. it throws the below error:
    APP-FND-02704: Unable to alter user PRP to change password.
    APP-FND-01564: ORACLE error 1403 in changepassword
    Cause: changepassword failed due to ORA-01403: no data found.
    The SQL statement being executed at the time of the error was: and was executed from the file &ERRFILE.
    According to metalink note # 1306938.1, it is mentioned that the error can be resolved by setting PASSWORD_VERIFY_FUNCTION back to NULL, which I dont want to do as we wont be able to enforce complex password function for the application schemas.
    Please suggest
    Thanks & Regards
    Adarsha

    According to metalink note # 1306938.1, it is mentioned that the error can be resolved by setting PASSWORD_VERIFY_FUNCTION back to NULL, which I dont want to do as we wont be able to enforce complex password function for the application schemas.If the solution in this doc does not help then please log a SR.
    Thanks,
    Hussein

  • 9iAS: Programmatically change data source for Java/J2ee bc4j application

    Background: We obtain a copy of our customer's live data daily for support issues. We'd like to be able to keep up to date as possible and get files early in the morning. due to the size of the database, it takes a few hours to download and import into our Oracle database. what I'd like to do is use two different schemas/users for the data, alternating on each day so that the loading of one, does not affect the running of the other. To make this seamless, I'd like to have a script perform the changes after the download and restart the server. The issue is how/where to change the data source so that my application will pick it up each time? I'm using an application specific data source from EM.
    Any ideas?
    Thanks,
    Jeff

    If it is intended to be accessible from Reports servlet then you can use "ssoconn" command line option where by the user name and password is stored in OID (Oracle Internet Directory)
    Pls see publishing reports to web document --> command line options -> rwservlet
    (link below)
    [    All Docs for all versions    ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    ---------------------------------------------------------------------------------

  • Best practices for creating application schema

    All,
    Can anyone recommend best practices (or pointer to a url) for creating application schema. A novice installer created a schema and the tablespace ran out of disk space in 2 days and the system came to a halt at a production site. The tablespace was created with one datafile and with MAXSIZE specified. I am looking for Do's and Dont's on production system.
    Thanks for any help,
    Vissu

    I'm not sure that you can boil this down to a "Do's and Don'ts" list unless you want to get overly general...
    For example, do make sure that you provision space appropriately. "Appropriately" however, is going to be radically different in different environments. Some shops set all their data files to autoextend in production and monitor utilization at the OS level. Other shops specify exact file sizes and monitor utilization at the Oracle level. Each approach has its own advantages and disadvantages, you just need to make sure that your application uses the same approach that every other application in the organization uses.
    Do have an idea about the space utilization of the application, but don't go overboard. Running out of space in 2 days means someone failed to do a basic analysis. On the other hand, I've seen people spend way more time than they should making 5 year projections based on some relatively soft assumptions and getting worried about internal overheads that were much smaller than the error bars in their baseline estimates. Of course, the precision necessary also depends on the implications-- a 20% error in a multi-TB data warehouse is going to have a lot more impact than a 20% error in a 20 GB OLTP application.
    Justin

Maybe you are looking for

  • Moving songs to a different user account on the same computer

    We have a Toshiba notebook running Windows XP Home Edition with 2 user accounts. Is there a way to copy or move all songs from one account to the 2nd account? We tried plugging the ipod in on the 2nd account but the songs don't copy down to the noteb

  • Icloud events won't show on outlook main page

    I have done the sync process,with Outlook (first)..then added iCloud panel, signed in, it merged my Contacts and Calendars...and now they calendar won'tshow on the main page of my Outlook 2007. Tried on phone with APPLE nobody seems to know why, is t

  • Can i set up a wired connection in another room?

    Hello BT community forums I am a BT customer using the BT homehub 2.0 connected to my main phone line. My question is: Downstairs I have the typical setup with my computer for wireless to my sons bedroom in the newly built extentions but the wireless

  • HP Officejet Pro 8620 - set up problem with MAC OSX version 10.7.5

    I have just bought a new Officejet Pro 8620 and all set up fine to a point. Problem is that when I try the HP Utility set-up and click on "Add Printer" and identify it as "Bonjour Malfunction" and select the printer from the pull down menu list, I re

  • I am in a hotel and cannot force the browser to ask for a password to sign in

    I am trying to connect my browser to the Internet,; Firefox, chrome, safari.   I am in a hotel.  The system connects, Skype works and connects, but my browsers will not connect and likely will not connect until a password is requested and submitted -