Repeating groups in logical data model

Hello,
I am trying to create a logical data model where the following rules are applied:
Each Renovation Job may include one or more Rooms.
Each Room can be included in one or more Renovation Jobs.
Each Room Renovation may have one or more Renovation Types
Each Renovation Type may be associated with one or more Room Renovations
The following is a list of tables and their values I have created to support the above (Renovation_Jobs, Room_Codes, Renovation_Type_Codes, Renovation_Room_Types). I put tables "Renovation_Jobs" + "Room_Codes" + "Renovation_Type_Codes" having a one to many relationship to intersection table "Renovation_Room_Types". There are repeating groups in "Renovation_room_type" table (Renovation_job + Room_codes), does this mean I have to create another intersection table for this as well?
Renovation_Jobs:
1
2
3
Room_Codes:
Kitchen
Bedroom
Living Room
Renovation_Type_Codes:
Paint
Replace carpet
Replace light fixture
Renovation_Room_Types:
1     Kitchen     paint
1     Kitchen     Replace light fixture
1     Bedroom     paint
1     Bedroom     Replace carpet
1     Bedroom      Replace light fixture
1     Living room     Paint
1     Living room     Replace carpet
2     Kitchen     Paint
2     Kitchen     Replace light fixture
3     Kitchen     Paint
3      Bedroom     Paint
3     Bedroom     Replace carpet
Any help would be appreciated.
thanks

Each Renovation Job may include one or more Rooms.
Entities - Renovation Job Room, Room Renovation (intersection between Renovation Job & Room)
Each Room can be included in one or more Renovation Jobs.
Covered by Room Renovation
Each Room Renovation may have one or more Renovation Types
Entities - Renovation Type, Renovation Room Type
Each Renovation Type may be associated with one or more Room Renovations
Covered by Renovation Room Type
There are repeating groups in "Renovation_room_type" table (Renovation_job + Room_codes)That's just your foreign key to Room Renovation, isn't it?
You said that each renovation type may be associated with one or more room renovations.

Similar Messages

  • Identify Entities for Logical Data Model

    Hi,
    I donno exactly this is the correct forum for this question. I believe there are database experts here to help me on this.
    I am in confusion that, phsically the data can be saved in a set of tables (4-5 tables). But different views (User Interfaces) and reports can be created from these tables.
    Assume that,
    View1 - Uses all tables
    View2 - uses only 3 tables
    View3 - uses only 1 table
    Report 1 - uses only 2 tables
    Report 2 - uses only 4 tables
    Should my Logical Data Model reflect all these view1, view2, view3, Reprt1 and Report2?
    How exactly do we need to identify the entities for Logical Data Model?
    Could you please any one help me on this?
    Thanks & Regards
    M Thiyagu

    sorry, i couldnt understand your query..
    thanks,
    baskar.l

  • Creating Time dimension in BW data model. - like seen in logical data model

    Hello all,
    I have been struggling with this thing and I am looking for some help from anyone on this forum.
    We are trying to create a logical data model of our bw system. We are going live next month with Student module for universities. We have multiple Infocubes and DSO and since there is so much crossing over in between them most of the reporting is done on infosets.
    One of the thing we were thinking; is it possible to create something like a common time dimension table for every infoprovider. Basically when we are providing the reports to the end user can we give them a drop down menu which gives a time frame for reporting rather than selecting.
    Example: Like can we create something which looks in the drop down like current month data, last months data, three months ago, four months ago, five months ago, one year ago, two years ago. Can we make like these data slices in our cube and deliver it to the end user?
    We have in our cube a few date infoobjects, like receipt date, decision date, cancellation date and like wise.
    Please let me know if any one has done any similar thing, it will be very helpful.
    Thank you so much in advance.

    if you add your common time dimension to your data model, first identify for each infoprovider the time against which 'current month' and other frames should be applied and map them to your dimension.
    just a question... are you not using time dimension in cubes ? ideally this should be your time dimension llinking all.
    when you use time dimension which uses 'current month' , 'current year' , you will have to address their historisation as well. (because current month now will not be so current after 2 months).
    so in data load procedure every day these values need to change (meaning drop and reload).
    and routines to populate these values based on reporting date.
    Edited by: hemant vyas on May 6, 2009 1:56 PM

  • How Can I include a logical data model in a Data Flow Diagram?

    Hi,
    I have done a logical data model and now, I want to include it in a data flow diagram. I do not know which element I should use to make this relation.
    Thanks,

    Hi,
    you need to create "Information structure" in the flow properties dialog and then can assign attributes to that information structure in its properties dialog
    Philip

  • Need tips to build a Logical data model

    Hey Gurus,
    1) I need some tips in building a logical data model.
    I have reviewed a functional spec and listed all the fields required in a report. I now looked into datasources( extractor) in R/3 side  which can bring most of these fields but there are certain characteristices which are not part of this extractor, what i have found out is that they are the attributes of a master Data <u>but there are still some more fileds which are not part of the extractor and attributes of a master data</u> , so now how do i bring the data for those fieds????? <b>Do I have to enhance the extractor or do i need to enhance the Masterdata???????</b>
    How do i decide whether to enhance the extractor or the Master data?? Experts please give me some tips out of ur experiences so that i can decide on what to enhance.
    2) Assume that i have an extractor which can bring me all the fileds required in a report. Now how do i build a logical data model????????
    is it like
           Replication              Transformation/DTP           Transformation/DTP
    DS-->PSA> ODS--
    >IC
    Am I right else correct me gurus.
    Will surely award points.
    thanks.

    1. Use XML Spy Enterprise edition editor.
    2. Goto www.xmethods.com, select service you want to create demo of.
    3. Get its WSDL url.
    4. In XML Spy SOAP menu there is a command 'create new soap request'. Press that, enter the WSDL url. You will get a SOAP request.
    5. Edit SOAP request parameters. Type parameters of your choice.
    6. Press 'send request to server'. You will get SOAP response. It will contain result from the requested method.
    7. Paste that response inside a JSP.
    8. Write a local method which will return same response (remote method's return value) that came from remote web service.
    9. Paste that method inside abovementioned JSP. Replace static response in that JSP with the response generated by local method. The method parameters will come from client's SOAP request. Parse SOAP request to get request parameters. (As it's your demo, you know the data types of the parameters).
    10. Host that JSP on any Servlet/JSP engine.
    That makes your Web Service.
    You can use any package like Aapche SOAP, AXIS or JAX-RPC to generate a SOAP client. Use the URL of JSP(step 10) as "endpoint".
    Note: Indside JSP make sure that there in no endline and carriage return character. Otherwise it won't be a valid SOAP response.
    Good luck.

  • Logical data model

    hi
    I am currently making a white paper on rdbms and logical data models. Can anyone point from where can I get a logical data model for the telecommunication industry for data warehousing purposes ???
    regards
    Kunal Choksi

    Instead of using exploit like that, I prefer to find a way to represent reality more generally. In the following model for example it is possible to specify also the reason for the end of a marriage ( divorce,death of partner, annulment, alimony ) in the right table.
    CREATE TABLE PERSONS (
         PERSON_ID NUMBER PRIMARY KEY,
    CREATE TABLE MARRIAGES (
         MARRIAGE_ID NUMBER PRIMARY KEY,
         BEGIN_DATE DATE NOT NULL,
    CREATE TABLE OLD_MARRIAGES (
         MARRIAGE_ID PRIMARY KEY,
         CONSTRAINT DIVORCES_MARRIAGE_FK
              FOREIGN KEY (MARRIAGE_ID) REFERENCES MARRIAGES,
         CAUSE_OF_END VARCHAR2(N) NOT NULL, --<--- DIVORCE,DEATH,...WHATEVER
         END_DATE DATE NOT NULL,
    CREATE TABLE ACT_MARRIAGES_RELATIONS (
         PERSON_ID NUMBER NOT NULL,
         CONSTRAINT ACT_MARRIAGES_PERSON_FK
              FOREIGN KEY (PERSON_ID) REFERENCES PERSONS,
         MARRIAGE_ID NUMBER NOT NULL,
         CONSTRAINT ACT_MARRIAGES_MARRIAGE_FK
              FOREIGN KEY (MARRIAGE_ID) REFERENCES MARRIAGES,
         CONSTRAINT ACT_MARRIAGES_PERSON_UNQ
              UNIQUE (PERSON_ID)
    CREATE TABLE OLD_MARRIAGES_RELATIONS  (
         PERSON_ID NUMBER NOT NULL,
         CONSTRAINT OLD_MARRIAGES_PERSON_FK
              FOREIGN KEY (PERSON_ID) REFERENCES PERSONS,
         MARRIAGE_ID NUMBER NOT NULL,
         CONSTRAINT OLD_MARRIAGES_MARRIAGE_FK
              FOREIGN KEY (MARRIAGE_ID) REFERENCES DIVORCES
    /The two tables to represent marriage_relations (actual and old ones) are there only because with this choice it is possible to specify a unique constraint on actual marriages that avoids the same person to be related in different marriages.
    Bye Alessandro

  • Creating a logical data model in BPA 11g

    Hi,
    Can we create a logical data model in BPA 11g? If we can do that can it be moved over to the BPM environment seamlessly. I was under the impression that during the modelling exercise a business analyst would develop process models and logical data models in BPA & the turn it over to IT developers who will pull these models in and develop the implementation. Is that how it works?
    Thanks.

    You can create a logical datamodel in BPA suite. The sample applicaton has an example of that: the quote to cash datamodel. There are different types of datamodels that you can create (business objects, entities etc).
    Examples of datamodels can be found in the sample: OBPA Release 11. quick start.
    The datamodels can't be imported I think, the process models can. You can either import them into Oracle BPM Studio (as executable BPMN) or into Oracle SOA Suite (transforms it into BPEL) with JDeveloper.
    Regards,
    Lonneke

  • Logical data Model Using ODI

    Can I create Logical data Model Using ODI ? If yes how can I do it ?

    User,
    ODI is not a tool to design. It's a comprehensive integration platform.
    However if you would like to model your data, you can use for example Oracle Designer 9i, which is availble one the Oacle website for free.
    Oracle 10gR2 Designer is also availble at: http://www.oracle.com/technology/software/products/designer/htdocs/winsoft.html
    Good luck.
    Edited by: kumper on 2008-10-16 00:33

  • Logical Data Model Vs Physical Data Model

    Hi guys, what is the difference between, logical data model and physical data model.

    Duplicate Thread:
    Logical Vs Physical Data Model
    Daljit Singh

  • Could anybody share me Oracle modules Logical Data Model?

    Who have Logical Data Model charts on oracle financials modules like AR and FA? I need it. Thank you!

    yes,
    i have 12 years experience of Computer Expert Accounting System. I have gained good knowledge on System Design
    [email protected]

  • Information on logical data model.

    Hi All,
    Can anybody through some light on what is a logical data model, how it should be
    created?
    Please share documents if any.
    Regards,
    Pramod

    Hello Pramod,
    you can refer the below links for data modeling:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5d4211fa-0301-0010-9fb1-ef1fd91719b6
    http://www.sap.info/public/INT/int/index/Category-28943c61b1e60d84b-int/0/articlesVersions-31279471c9758576df
    Regarding the Logical Data Modeling, you can refer the below link for basic understanding:
    http://en.wikipedia.org/wiki/Logical_data_model
    Hope this will help you.
    TNR,
    Saurabh...
    Reward if found useful.
    Edited by: Saurabh Kumar Sahu on Jul 28, 2008 10:11 AM

  • Error engineering logical data model to relational data model -- name column hierarchies

    Hello,
    I have three entities, Entity1 is logical only , entity2 is a subtype of entity1, and entity3 is a subtype of entity1.
    Entity1 has the abbreviation ( PRUE) and entity1 has three atributes ( PRUE_PPPPPP, PRUE_OOOOO).
    when I make engineering the columns resulting in entity2 and entity3 are PRUE_PRUE_PPPPPP and PRUE_PRUE_OOOOO
    I have unchecked the options apply translations of names and preferred use abbreviations in general options (engineering)
    and the tree comparison is the right name (While the result in the relational model is incorrect)
    ¿Any help?

    Hello,
    version 4.0.0.820.
    I checked the options (naming standard template) and they are correct, the problem is in the engineering.
    Thanks

  • Q:  Data Modeler - Logical Model - 0 or 1 to....relationships...

    Hi,
    I’m currently at a client where we’re using Oracle SQL Developer Data Modeler to design our Logical Data Models (as part of an overall deliverable).
    When in the Oracle SQL Developer Data Modeler (in the logical view), I’m trying to figure out if the tool has the ability to create a “zero or one to” relationship between entities.
    According to the relationship options available, it only seems to show:
    One to One,
    One to Many (*),
    Many (*) to One, or
    Many (*) to Many (*)
    In the preferences – Data Modeler – Diagram – Logical Model, the notation type is set to “Barker”.
    I don’t see anywhere else where configuration can affect the variation of these options…
    Is there a way to show either a “Zero or One to…” relationship between entities?
    I’ve also loaded version 3.1 (beta) and it appears to be behaving the same as 3.0…
    Any insights are greatly appreciated…
    Thanks,
    Patrick

    Hi Kent,
    When I looked at this option, I was expecting to see a "|" and/or "O" in front of the crow's feet. I was not expecting to see a dashed line. Now I know...
    Thanks for your reply.
    Regards,
    Patrick

  • Logical Vs Physical Data Model

    Hi guys
    What is the difference between logical data model and physical data model.

    I assume you are talking about ERwin.
    In short,
    Logical data model is non-database specific model you can apply it to any database by convert it to target physical data model.
    Physical data model is database specific, for example, column data type, physical storage parameter, SQL syntax etc.

  • Data Model on OTL-tables

    Hi,
    I need to know how the tables in OTL around table hxc_time_building_blocks is connected togehter. Does anybody have some information about this or can point me in the correct direction?
    I have search Metalink, eTRM, OTN without any luck. I have the User Guide and a logical data model without table names.
    Thanks...Daniel

    Daniel,
    Were you able to get what you wanted for timecards? Here is a query that I came up with. You may want to leverage it for your requirements.
    select ppf.person_id, ppf.full_name, ppf.employee_number, fl.meaning state_working,a.segment1, a.task_number,
    initcap(to_char(z.start_time,'DAY')) Weekday, z.start_time, z.tot_hrs
    from (
    select tbb_day.start_time,tbb_det.resource_id,trunc(hxc.stop_time) stop_time,
    tbb_det.resource_type, tbb_det.measure tot_hrs, tbb_det.unit_of_measure uom
    FROM hxc_time_building_blocks tbb_day,
    hxc_time_building_blocks tbb_det,
    hxc_timecard_summary hxc
    WHERE tbb_det.scope = 'DETAIL'
    and tbb_day.scope = 'DAY'
    and tbb_det.date_to = hr_general.end_of_time
    and tbb_det.parent_building_block_ovn = tbb_day.object_version_number
    and tbb_det.parent_building_block_id = tbb_day.time_building_block_id
    and tbb_day.parent_building_block_ovn = hxc.timecard_ovn
    and tbb_day.parent_building_block_id = hxc.timecard_id
    and tbb_day.start_time >= :p_date_from
    and tbb_day.stop_time <= trunc(to_date(:p_date_to) + 1) - (1/24/60/60)
    and tbb_det.resource_id = NVL(:p_person_id,tbb_det.resource_id)) z
    ,(select distinct pea.INCURRED_BY_PERSON_ID,ppf.full_name,ppa.project_id,ppa.segment1,pt.task_number,pei.expenditure_item_date,pei.quantity,
    pea.EXPENDITURE_ENDING_DATE, pea.INITIAL_SUBMISSION_DATE
    from pa_expenditures_all pea
    , pa_expenditure_items_all pei
    , pa_projects_all ppa
    , pa_tasks pt
    , per_all_people_f ppf
    Where pea.expenditure_id = pei.expenditure_id
    and pei.PROJECT_ID = ppa.project_id
    and pei.TASK_ID = pt.task_id
    and pea.INCURRED_BY_PERSON_ID = ppf.PERSON_ID
    and ppf.person_id = :p_person_id) a
    ,per_people_f ppf
    ,per_addresses addr
    ,fnd_lookup_values fl
    where ppf.person_id = z.resource_id
    and ppf.person_id = addr.person_id
    and ppf.person_id = a.incurred_by_person_id
    and z.resource_id = a.incurred_by_person_id
    and a.EXPENDITURE_ENDING_DATE = z.stop_time
    and a.expenditure_item_date = z.start_time
    and a.quantity = z.tot_hrs
    and addr.primary_flag = 'Y'
    and fl.lookup_code = addr.region_2
    and fl.lookup_type = 'US_STATE'
    and fl.enabled_flag = 'Y'
    group by ppf.person_id, ppf.full_name, ppf.employee_number, addr.region_2, a.segment1, a.task_number,
    z.start_time, fl.meaning, tot_hrs
    order by z.start_time
    Thanks
    uds

Maybe you are looking for

  • DIAdem Report express VI works only with a single sheet template??

    Hi, I'm very new to Diadem and I'm using the 2011 evaluation version to try a report generation of LabView data (2013 version, evaluation also). I'm using the "DIAdem Report" express VI to generate a 2 pages, quite simple report; the first page has t

  • One apple id two different users

    I was the "original" purchaser and user of iTunes music.  Had music on my desktop (then laptop) and iPhone and Nano and iPad Mini, etc.  Many years ago I also got my husband an iPod.  We just used my Apple ID and manually added music to his iPod sinc

  • CTRL+SHIFT+O does not work

    WHen i attempt to save a record in an infopath form, I receive an error that the form cannot be submitted and to press CTRL+SHIFT+O to identify errors.  This does nothing!  Is  there any other means to identify the errors on the form or to show the u

  • Problem reading data from textField?

    I have a problem in my program I'm currently doing. I have a textArea and a textField in a container. Inside the textArea will be displayed some questions which require user to give answers to in the textField. When user types something in the textFi

  • Photo names while ordering prints

    I have in the version name what size the image is cropped to but when you select the images and order prints you can not see names, captions, keywords or anything other than the thumbnail. The only other way I would think to do it is to order each im