Relationship Modeling - Jumpstart Guide
Workshop Gurus -
How would I model a One-Many or Many-Many relationship in Workshop? For example,
in the JumpStart Guide -
1. What is the simplest way for me to show the Customer Name with the Order, in
the Order Admin Page Flow.
2. How do I add a One-Many relation for Customer and Addresses (different addresses
for shipping to multiple locations etc).
Thanks
Kunal Mittal
Kunal,
This newsgroup is for Workshop 7.0 issues, till WebLogic Platform 8.1 goes
GA.
Meanwhile, please post Workshop 8.1 beta issues on
weblogic.developer.interest.81beta.workshop newsgroup.
Regards,
Anurag
"Kunal Mittal" <[email protected]> wrote in message
news:3eccf2a7$[email protected]..
>
Workshop Gurus -
How would I model a One-Many or Many-Many relationship in Workshop? Forexample,
in the JumpStart Guide -
1. What is the simplest way for me to show the Customer Name with theOrder, in
the Order Admin Page Flow.
2. How do I add a One-Many relation for Customer and Addresses (differentaddresses
for shipping to multiple locations etc).
Thanks
Kunal Mittal
Similar Messages
-
One to one relationship modelling
Hi all
How to model a one to one relationship?
i have a scenario where i had to maintain 2 different entities and cannot merge them into a single table coz they are separate entities
Now while modelling them ... do we need to have a primary key for the second table (or)
use the primary key of the first table as the foreign key on the second table with Unique constraint on it .
Ex: a single subscription has a single criteria
subscription table ........... and criteria table
now should i iuse criteria id as a primary key of criteria table ? (or)
subscription id as the foregin key in the criteria table ?
or allow include both in the criteria table
please suggest
Thanks and Regards
Rajhi dportas,
first of all thanks for your respose...
what is reciprocal foreign key?
my scenario is like this
i have a table called subscriptions which records all subscriptions that we have subscribed to to receive an alert to our email primary key is subscriptionid.
every alert has an alert criteria with different set of attributes
hence i have 5 alert criteria tables... each with totlally different type of attributes
eg: balance criteria (balanceamount,condition) cutoff criteria(cutofftime,....)
we can subscribe to only one alert in a single subscription
hence subscription to balance criteria table is 1-1
subscription to cutoff criteria table is 1-1
now my question is that shoudl each of the criteria table should have criteriaid (or) should i put subscription id as the foregih key in each of the tables for relationship -
Multiple relationship modeling
Hello,
I am hitting a bug/issues/misunderstanding on my side with data modeller 4.0.0.833 (I had this issue in the previous versions too).
I was trying to model multiple relationships from a entity to a detail entity and am hitting some problems. I have the following situation (simplified) :
Party Entity : Party ID (PID), Party Name
Transaction Entity : Trans ID (PID), cost (number)
I then create 2 1-to-many relationship from party to transaction:
Party -> Transaction (1 to many)
Party -> Transaction (1 to many)
This creates 2 FKs on the transaction entity called (Party ID and Party ID1). I rename this attributes in the transaction entity as "From Party" and "To Party"
I then do a engineer to relational model.
This then ignores the attribute names in the transaction entity I had given ("From party" and "to party") and creates 2 new columns - "Party_Party_ID" and "Party_Party_ID1".
Is there a way I can preserve the names I had given in the logical model for the FKs when engineered to Physical? Or is this a bug?
Secondly, Is it possible in the Relation properties dialog box (by double clicking the relationship lines in the logical model) in the target cardinality section to select the FKs I had created ("From Party" and "to Party") so that I could document correctly which is the "from" and which is the "to".
Thanks in advance.
AKHi AK,
you have 2 options:
1) clear "Apply name translation" check box in engineering dialog
2) use proper setting for naming template and names in your model (as Dimitar suggested) - naming templates are available in design properties dialog>"Settings>Naming standards">templates"
2.1 change naming template for "Column Foreign key" to {relationship}
2.2 Rename your relationships as "From Party" and "To Party"
3.1 Check "Apply name translation" check box in engineering dialog
Philip -
Use of Aris models for Guided Procedures or VC possible
Hi,
I know that Aris can export BPEL for importing to XI.
What are the capabilities of using Aris for NetWeaver to model for more UI-oriented processes. Is it possible to use ARIS models for GP or Visual Composer?
Thanks.
DickHi David,
The answer to your 1st question is NO. Till NW 7.1, there is no clue on this.
To your 2nd question, there is no noticable enhancement on the GP side in NW 7.1. You can refer to the Developers Guide -> Developing and Composing Applications -> Designing Composite Processes with Guided Procedures section in <a href="http://help.sap.com/saphelp_nwce10/helpdata/en/44/D958673EF05F4DE10000000A11466F/frameset.htm">SAP NetWeaver Composition Environment Library</a> for further reference.
Hope this helps.
Finally I fully agree with you regarding XI and GP.
Regards
Nilay -
Unidirectional nullable one to ... relationship modeling
Hi,
I have 2 tables a and b. table b has a foreign key a_id, but I don't want table a has a column b_id. the a_id can be null. in data modeler, if I leave the target optional box unchecked, then everything is fine except the generated sql will have "not null" for a_id, which I have to manually remove. if I check that box, then the generated sql will have a b_id column in table a, which I don't want at least for now. Is this supported or did I miss something?
Thanks.
DavidHi David,
you should set "Dominant Role" in order to get unidirectional 1:1 relationships.
Philip -
Oracle Data Modeler Installation guide
Dear All
I downloaded SQL Data Modeler 3.1 and I unzipped it. Still there is a setting is to be done in the Registry, which I forgot. Please help me to resolve this issue.
OS - Win XP SP2
Thanks
NazikHi,
I assume you downloaded the version of Data Modeler that does not include a JRE?
The Java JRE should normally contain a copy of msvcr71.dll in its folder jre\bin.
If it's missing, you will probably find another copy in its folder jre\bin\new_plugin. You could try copying this to its jre\bin folder.
If you've still got a problem, you could download the version of Data Modeler that includes a JRE.
David -
Is there a tool where I could see all tables and relationship of a Oracle Data Base?
You can use Oracle Designer or Oracle SQL Developer to see all tables in the DB. If your intention is to just view all the tables and the relationships then use SQL Developer.
For questions about SQL Developer,refer to the forum -> SQL Developer
-Praveen -
SQL data modeller -- how to create 1 to 1 relationship foreign key ?
hi guys...
i got 2 tables..
table 1 - CFR
CFR_ID = primary key
table 2 - USER_PLAN
USER_ID = primary key
PLAN_ID,
CFR_ID = foreign key reference (table 1)
The business flows go like this..
insdie CFR table, it contain all records / transactions of a particular user/plan. everytime a new transaction occurs for a plan/user, a new CFR_ID / row will be generated.
after which, the newly generated CFR_ID for the new row , will be updated to the CFR_ID in USER_PLAN
Thus, there is always a 1 to 1 relationship between the 2 table regardless how many CFR_ID is generated for a particular USER_PLAN. as the CFR_ID in the USEr_plan table will always be the latest one generated inside the CFR table.
However, in the data modeller, i am unable to create such foreign key relationship... ANY idea how do i create a 1 on 1 foreign key relationship ? or there is no such way..
Thanks and Best Regards,
NoobHi philips,
Thanks for the wonderful reply..
Just to double comfirm with you,
even if i had set a unique constraint on CFR_ID(foreign key column), inside the relationship model, the relationship between the foreign key is still showing as a 1:m relationship right ?
just that a character 'U' will appear beside the CFR_ID column.
However the diagraphm is still showing a 1:M relationship.
is this correct ?
Regards,
Noob -
Price refresh for new Shopping Cart created from a model
I'm looking for a solution for the following problem.
When i create a shopping cart from a model that has been previously created with a certain price, i'd like the system to update this price if it has been updated between model creation time and new shopping cart creation time from this model. (Whatever price it is catalog, material master price etc...)
If i check the new SC created from the model with function module BBP_PROCDOC_GETDETAIL and my SC number, i see that table E_PRIDOC is fullfilled like this
COND COND_RATE COND_ COND_P CON D C C GUID CON CON COND_VALUE COND_
0100 106,53 EUR 1 PC Y 90CA85CDA91B254DB35E750519F3975D 001 001 2.556,72 EUR
01PB 2.532,72 EUR 1 CRN 90CA85CDA91B254DB35E750519F3975D 050 001 2.532,72 EUR
2.532,72 EUR 1 CRN 90CA85CDA91B254DB35E750519F3975D 100 001 2.532,72 EUR
0,00 EUR 1 CRN 90CA85CDA91B254DB35E750519F3975D 200 001 0,00 EUR
2.532,72 EUR 1 CRN 90CA85CDA91B254DB35E750519F3975D 300 001 2.532,72 EUR
condition type 0100 is inactive (with the new correct price) and condition type 01PB (manual condition) is used with SC model price and makes that 0100 is inactive.
How to get 0100 condition type active instead of 01PB when creating Shopping cart from models ?
Any ideas are welcome.
PE HAMONSupplier Relationship Management Implementation Guide (IMG): SRM Server ® Cross-Application Basic Settings ® Pricing ®
· General Configuration Parameters
· Process Condition Types
- Maintain condition type 0100 here if not maintained
· Process Calculation Schema -
In process calculation schema make 0100 condition type as default or assign 0100 to the calculation schema
· Process Condition Groups
Go through this steps and you will be able to figure out.
For more information you can log on to this URL
http://help.sap.com/saphelp_srm50/helpdata/en/67/c3833cfa3dbc2ce10000000a114027/frameset.htm
Please assign points if you find the answer usefull
Thanks
Sunny -
Looking for a Good White Paper on Oracle Data Modeling
Hopefully this is the proper area in which to ask this questions - been looking around these boards for a while but can't find what I'm looking for. I'd like to get a good modeling overview for topics such as:
-- pros and cons of normalization, e.g., performance considerations when deciding to normalize some data (and incur the cost of joins) vs keeping it denormalized (and having simpler queries)
-- overall performance considerations
-- warehouse vs mart considerations, esp as they relate to front end tools that will sit on the data mart
A general data modeling white paper or PDF would be very helpful to get me started.
Thanks all!
MikeYou don't need a White Paper you need a college course or a book.
The book I have on my shelf, don't know if it is still in print, is CASE*METHOD Entity Relationship Modelling by Richard Barker
Addison-Wesley Publishing Company
ISBN 0-201-41696-4
Normalization isn't about pros and cons. For performance denormalize. For data integrity normalize. Most systems end up somewhere between 3N and 4N or with what is referred to as Boyce-Codd NF. Google is your friend here but buy the book or take the course. This is not a subject to be read lightly in a dozen or so pages. -
CS6 - 'Smart Guides' aren't vissible
I have a love-hate relationship with Smart Guides, but I need them. After installing Illustrator CS6 (Production Suite) on my Mac Pro (2 x Quad-Core Intel Xeon, 12 Gb of RAM) I can't toggle Smart Guides on! Whether there is a check next to the menu item or not, it doesn't matter. I've gone into Preferences and turned on everything under the 'Smart Guides' section... nothing.
Help me! I need my Smart Guides!Never mind! They magically reappeared!
-
Oracle SQL Data Modeler -COMPARE/MERGE
Hi all,
I am trying to compare/merge or just trying to merge a relation model with another in Oracle SQL Developer DATA MODELER.
Scenario:
I have tried to import from data dictionary the hr schema into 3 parts.
Table employee is alone imported in one design model's relational model(say DataModelerDesign1- DMD1).
Table Departments,Locations and Countries in another design model's relational model(say DMD2).
Table Job_history,Jobs and Regions in another design model's relational model(say DMD3).
Now, I tried to merge all this into one design model's relational model, here into DMD3.
Requirement:
I want all of this relational model's tables to get merged with exact mappings as if it is in HR schema all connected to each other. But they are all getting merged as separate entities not conencted to each other when taken from Compare/merge option. How should i do this task?
Issues:
1) I can never see anything in the compare model when i try to click on view compare mapping. Can anytime we see any data here?
2) In realtime scenario, when will we try to merge a table into another or split it. Because some foriegn key violations are happening here. Is it ever possible to succeed our requirement while merging itself instead of creating relationships between entities manually in main relationship model DMD3 in example here.I have found on occasions the diagram pdf would be missing a few relationship lines. Usually it happens after I have been doing a lot of work in the tool or printing a bunch of diagrams. Seems to be a memory leak of some sort. If I close Data Modeler, re-open it, then print to PDF, the diagram is fine.
-
Physical/Logical model that implement oracle database
Dear Forum's member,
I need documentation where I can see a grafical or a figure of the Physical/Logical relationship model that implement the Oracle object internally. It's not an specific example. It's about how oracle store the objects that it manage and are they related to the others.
Best regards,
José GuillénI once used Erwin Design tool which can help in your task. I do not know if this is still around, since I used it in 2005.
-
ESB problem when use merge function in master/detail relationship
I have some problem with the merge function in database adapter.
details:
I have 2 tables in master/detail relationship, both have GUID column as a primary key (GUID generated by ESB).
'car_group' table
pk : guid
unique : group_no, datadate, datatime
===============================
guid, group_no, datadate, datatime, group_detail
===============================
1, 1, 01/01/2008, 09:00, groupdetail01
2, 1, 01/01/2008, 10:00, groupdetail02
'car_group_detail' table
pk : guid
fk : car_group_guid link to car_group.guid
==================
guid, car_group_guid, detail
==================
1, 1, detail01
2, 1, detail02
3, 2, detail03
4, 2, detail04
I used a file adapter as a input, here is an example text file
M, 1, 01/01/2008, 09:00, groupdetail01
D, detail01
D, detail02
M, 1, 01/01/2008, 10:00, groupdetail02
D, detail03
D, detail04
Because I used merge function so I need to specify the columns that will be a condition for the insert/update,
but I have generate GUID as a primary key in the tables, I can't used it, so in toplink I map my unique key as a primary key.
The insert operation work fine but when update is required (for example, try to change 'group_detail' column of the master table in text file),
an SQLException thrown, the log file shown the adapter try to update the GUID column of master table but the constraint not allowed.
And yes, cause of GUID generate everytime so ESB try to update this column also, but I don't want to do like that, I need something
like when update operation required, just ignored the GUID column.
I try to mark read-only to the GUID column in Toplink mapping file but still have the same problem, it still generate UPDATE statement
with the GUID column, and also I try to let the database trigger to generate GUID instead of ESB function, but it not works in master/detail
relationship (I think the Toplink manage the relationship, is it right ?)
Please advise, thanks for advance.somebody please help, thanks !!!
-
Adding new Fields In Relational Model
Hi ,
I am brand new to the world of data modeling as well to Oracle SQL Developer DM. I am currently using version 3.0.0.665 of the data modeler. While doing the data modeling there are tables that get the data from UI screens and then there are tables which store processed data (think of them as summary tables from DWH).
My requirement is that for the UI linked tables I need standard set of columns in relational model but I don't want to add them in my logical model as these are just technical columns. To elaborate consider this employee details screen.
UI Screen Elements:-
Employee Name
Department Name
Manager
Salary.
To store data from this screen I create a logical model with only 4 attributes to map my UI screen elements. In my relational model though I would need employee_id, department_id, manager_id which are not part of my UI elements. Apart from this specific requirement for employee table I have a generic requirement for all UI screen linked tables to capture the create date, create id, create screen, version number, update date, update screen and another column called deleted to indicate if the record is logically deleted or not. These additional 8 columns are not part of the logical design and should be present only in the relational domain that too for UI linked tables only.
Any inputs in helping me out with understanding how to implement this would be greatly appreciated.
Thanks and Regards
SagiYou sound like you need to read up on entity relationship modeling first (start with Wikipedia). Also check out the SDDM videos on the Oracle site (http://www.oracle.com/technetwork/developer-tools/datamodeler/overview/index.html), and walk throught he tutorial that comes with SDDM. Logical models are not really for documenting fields that appear on a screen. It goes way beyond that.
Maybe you are looking for
-
Colors don't match when printing pictures on J4860 all-in-one
When I print pictures, the colors are not true. It doesn't matter what software I use, but usually it's Photoshop CS3. I thought it was my monitor - that I wasn't seeing the true colors in my files. But I've been able to verify that the colors on
-
How do i control my object effects when i use a button?
I want to use a button so when I click on it a square rises up from the bottom of my slide. What I'm finding is by the time I click the button to make the square visible its effect has already loaded with the slide so you don't get to see the square
-
Why should I wrap String objects in a class for my HtmlDataTable?
Hi, Let me describe a basic scenario in which my problem occurs. I have a backing bean and a JSP. The JSP gets a List<String> which is displayed inside a column in an editable HtmlDataTable. Each row in the data table has a UICommandLink that can per
-
Hello, I'm trying to implement a Parameterized XSLT Mapping. But in the documention is a gap (see http://help.sap.com/saphelp_nwpi711/helpdata/en/43/bbb7fd90f5332ee10000000a11466f/frameset.htm). In Action 2 is written: "When the XSLT mapping program
-
Can I gift more than 1 Album?
My boss wants to send out a group of cds as our company holiday gift this year. After trying to locate the actual cds to no avail I thought maybe I could send digital copies? BUT is there a way for me to add an entire album to a playlist to give?