In a child opportunity, How to retrieve parent opportunity ID
Hello,
I know that in account object, there is a way to retrieve parent account id.
Now, I would like to know if it is possible to retrieve the Parent Opportunity ID, while being in the chilf opportunity.
I tried many syntax which all brings me a syntax error :
JoinFieldValue('<Opportunity>',[<OpportunityId>],'<ParentoptyIntegrationId>')
JoinFieldValue('<Opportunity>',[<OpportunityId>],'<ParentOpportunityId>')
JoinFieldValue('<Opportunity>',[<OpportunityId>],'<ParentoptyExternalSystemId>')
Thanks a lot for your help.
Best regards,
Julien
Hi Julien,
We cannot get the Row Id of the parent opportunity in the child object. However if you can convey what the requirement is, there could be another way of fulfilling the requirement.
Regards,
Paul
Similar Messages
-
How to retrieve Parent product category based on Product name selection.
Is it possible to retrieve Parent Product category based on the Product name of the Product.
Our Product catalog is set up as follows
Product:
Product name Product category
TA30 TA30
TA300 TA30
Product categories
Category Name Parent Category
TA30 Lawn Mower.
I would like to retrieve the Parent category "lawn Mower" when I select the product TA30 from the product list on the custom object 9. Any ideas or suggestions?
Thanks,
SKJHi Akila,
I am assuming you query runs on a cube that loads data from the source system. In that case cube will contain only valid cobminations of Product Family & Product Line.
In order to make sure that if a cetain Product Family is chosen you want to see only the relevant Product Line as available in the cube do the following:
Go to Query Designer Filter
Pick Product Family > Properties> Advanced. Under the Tab Filter Value Selection during Query Execution choose 'Only Values in InfoProvider'
Do the same setting for Product Line as well.
Hope this helps.
Regards,
Amrita
Edited by: Amrita Goswami on Jun 23, 2009 7:26 AM -
How can a parent restrict a child's access to a PARENT'S PRE-EXSISTING iTunes account via iCloud's Family Sharing Program? To explain further... I have a young son who is on my iCloud family sharing program... I am excited to be able to share SOME of my music in my iTunes library, but there are some songs and music videos that are not age appropriate for him and currently there is no way to restrict him from viewing and downloading anything off of my iTunes library. Yes, I suppose I can delete the songs he shouldn't have access to, but I don't think I should have to do that... I paid for them and still like them and listen to them while I work out or am without my kids. Is there a way for me to personally select which songs/videos I would like to "hide" from my children in an effort to shield them from inappropriate content?
Hello ggg39,
Welcome to the Apple Support Communities!
I understand that you have some content in your iTunes library that you would like to restrict access for the child set up on Family Sharing with you. To do this, you can set restrictions on the child’s device as described in the attached article.
Family Sharing - Apple Support
Now kids under 13 can have their own Apple IDs. As a parent or legal guardian, the family organizer can create an Apple ID for a child and add the child to the family group automatically. Ask to Buy is turned on by default, and the organizer can also limit the content kids have access to on their devices through Restrictions on an iOS device or parental controls in OS X and iTunes.
For more information on restrictions and how to set them up, please reference the next attached article.
About Restrictions (parental controls) on iPhone, iPad, and iPod touch - Apple Support
Have a great day,
Joe -
How to delete parent child relation in Toplink
Hi All,
I have 3 tables A,B,C.
In Table A ,I am saving record.
Table B & C has parent child relation.
B-->Parent
C-->Child
So I want to save records in Table A.
And delete from child(C) 1st then from parent(B).
I m writing my code as,
em.getTransaction().begin();
em.persist(Table A);//save in Table A
em.remove(em.merge(Table B));//Remove from Parent
But how to delete records from child table then from parent table.
Thanks
SandipIf you have a @OneToOne relationship between two entities, the join column information is used to order the SQL when you remove two entities. For example, if I have:
@Entity
public class Employee implements Serializable {
@OneToOne
@JoinColumn(name="ADDR_ID")
private Address address;
...Then the following code runs regardless of the order of the remove calls.
em.getTransaction().begin();
Employee parent = new Employee();
Address child = new Address();
parent.setAddress(child);
em.persist(parent);
em.persist(child);
em.getTransaction().commit();
em.getTransaction().begin();
parent = em.merge(parent);
child = em.merge(child);
// order of next two statements unimportant
em.remove(parent);
em.remove(child);
em.getTransaction().commit();If I don't remove the parent and just the child I get the same error you do because of the FK from Employee to Address.
--Shaun -
How can provide parent-child nodes relation ships?
how can provide parent-child nodes relation ships?
I was under the impression that scenegraph is like a JTree. But in JavaFX only leaf node rendering in scenegraph. This situation was confusing my mind. In JavaFX CustomNode must be extending and return a group for custom leaf. If we want to a create parent-child node hierarchy we are create CustomNode that return a group and this group contain an another group,etc. So there is maybe only a way. If you learning to JavaFX first time.This way don't look familiar.
-
How to handle parent-child dimension in OWB?????
i have a dimension have many levels,and the amount of levels is varing,so i cannot use the wizard to define my dimension ,seems with OWB i can only define dimension with certain amount of levels.......
my dimension data is stored with this format:
child parent
Los Angles US
US WORLD
it is called a parent-child relation ,how can i define dimension with parent-child relation witn OWB...
Can OWB do it ?????i have a dimension have many levels,and the amount of levels is varing,so i cannot use the wizard to define my dimension ,seems with OWB i can only define dimension with certain amount of levels.......
my dimension data is stored with this format:
child parent
Los Angles US
US WORLD
it is called a parent-child relation ,how can i define dimension with parent-child relation witn OWB...
Can OWB do it ????? You must define a dimension, define the dimension levels and the hierarchy inside the dimension (a hierarchy can have as many levels as you want, parent-child relationship is a normal hierarchy concept - no rocket science here). Then you have to map the data source for the dimension levels appropriately. Please refer to the user manual, chapter 4 ("Defining dimensianal targets") for details.
Regards:
Igor -
How to link parent and child relation in Metapedia
How to link parent and child relation in Metapedia
Vamsi,
Did you every determine how to do what you were asking about? Where you thinking of how to link a parent term to a child term (i.e. like a related term) or was this about linking a term to a different metadata object (e.g. table or report) ? -
How to kill parent and child thread in sequnece
Hello freinds,
I have one class FirstClass which creates one thread Pserver and Pserver creates three threads then how to kill parent Pserver and child threads.........define a method that requests that the parent thread terminate itself, and within the code called when the thread is shutting itself down, have it do something similar to its child threads: call methods that request they shutdown themselves.
One common way to do this is to interrupt the thread. -
How to create Parent Child relationship of Assets
Hi All
can any one provide the solution for the below mention requirment.
Problem Description: How to create Parent Child relationship of Assets in below case.
1. If asset Category of Child assets are different but both parent & child assets are already capitalized.
2. If asset Category of Child assets are same but both parent & child assets are already capitalized.
3. If asset Category of Child assets are same for new assets.Hi All
can any one provide the solution for the below mention requirment.
Problem Description: How to create Parent Child relationship of Assets in below case.
1. If asset Category of Child assets are different but both parent & child assets are already capitalized.
2. If asset Category of Child assets are same but both parent & child assets are already capitalized.
3. If asset Category of Child assets are same for new assets. -
How to delete parent table data even though it has child records
hi all,
How to delete parent table data even though it has child records.
ex: delete from pa_request cascade constraints;
But this command is not working .
Regards,
P Prakash833560 wrote:
ex: delete from pa_request cascade constraints;cascade constraints is DROP table option. It can't be used with DELETE. You need to delete child rows first or drop foreign keys and recreate them with ON DELETE CASCADE. Then:
delete from pa_request will automatically delete child rows. However, personally I don't like ON DELETE CASCADE. You can, by mistake, delete half of your database without even realizing it.
SY. -
How to send the XML format SOAP request to retrieve the Opportunity
Hello,
Can any body suggest me how to send the SOAP request to CRM OnDemand in the format of XML to retrieve the Opportunity ?.
Thanks,
--bdr_09I'm afraid you can't.
If you want to export/import, you should consider using loader, insert (no sqldev needed for import) or even csv (sqldev needed for import) . If you have a lot of data, consider external tools like Data Pump.
Have fun,
K. -
How to retrieve Task Lists from All Subsites to the Parent Site and display in Grid view using CAML Query + object model
do u just want task list or items under task list for all subsites
for items use spsitedataquery ref
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsitedataquery.aspx use recursive to get it from alll subsite under site collection
for tasklist only u can a simply use a for loop to find in all subsite
Manish Sati -
How to use the opportunity stub classes to retrieve the opportunity objects
Hello ,
I have downloaded WSDL file for opportunity and i have created the stub classes by using axis as WSDL to java. Can any body suggest me , how can i use those created stub classes to retrieve the opportunity objects ?.
Thanks,
--bdr_09
Edited by: bdr on Feb 3, 2009 1:54 AMhttp://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Tools8.html#63055
-
How to call parent procedure in child type?
i have two types,A and B.
B inherits from A and overrides a procedure 'prints',
then how call A's prints method in B?
following is codes:
create or replace type A as object (
rowsID integer;
member procedure printRowsID
create or replace type body A as
member procedure printMembers is
begin
dbms_output.put_line(rowsID);
end;
end;
create or replace type B under A (
roundNO number(2),
overriding member procedure printMembers
create or replace type B as
overriding member procedure printMembers is
begin
dbms_output.put_line(roundNO);
/*here i also want to print attribute value of 'rowsID',
but how to call parent's procedure which is overrided? */
end;
end;A.<<method>> syntax is wrong here because method is
not static.
Unfortunately Oracle doesn't have the syntax like C++ -
A::<<method>> - which allows you to call methods of
superclasses directly.
TREAT function also can't help you because even if
you treat SELF as supertype Oracle will work with
real type of object:
SQL> create or replace type A as object (
2 rowsID integer,
3 member procedure printMembers
4 ) not final
5 /
 
Type created.
 
SQL> create or replace type body A as
2 member procedure printMembers is
3 begin
4 dbms_output.put_line('Class A - ' || rowsID);
5 end;
6 end;
7 /
 
Type body created.
 
SQL> create or replace type B under A (
2 roundNO number(2),
3 member procedure whatisit
4 )
5 /
 
Type created.
 
SQL> create or replace type body B as
2
3 member procedure whatisit
4 is
5 aself a;
6 begin
7 select treat(self as a) into aself from dual;
8 if aself is of (b) then
9 dbms_output.put_line('This is B');
10 else
11 dbms_output.put_line('This is A');
12 end if;
13 end;
14
15 end;
16 /
 
Type body created.
 
SQL> declare
2 bobj b := b(1,2);
3 begin
4 bobj.whatisit;
5 end;
6 /
This is B
 
PL/SQL procedure successfully completed. One of workarounds is to use type-specific non-overrided
static method:
SQL> create or replace type A as object (
2 rowsID integer,
3 member procedure printMembers,
4 static procedure printA(sf A)
5 ) not final
6 /
 
Type created.
 
SQL> create or replace type body A as
2
3 member procedure printMembers is
4 begin
5 A.printA(self);
6 end;
7
8 static procedure printA(sf A)
9 is
10 begin
11 dbms_output.put_line('Class A - ' || sf.rowsID);
12 end;
13
14 end;
15 /
 
Type body created.
 
SQL> create or replace type B under A (
2 roundNO number(2),
3 overriding member procedure printMembers
4 )
5 /
 
Type created.
 
SQL> create or replace type body B as
2
3 overriding member procedure printMembers
4 is
5 begin
6 dbms_output.put_line('Class B - ' || roundNo);
7 A.printA(self);
8 end;
9 end;
10 /
 
Type body created.
 
SQL> declare
2 b1 b := b(1,2);
3 begin
4 b1.printMembers;
5 end;
6 /
Class B - 2
Class A - 1
 
PL/SQL procedure successfully completed.Rgds. -
ADF,how to delete parent record and related child record without manual cod
Hi All,
I'm using 11g adf.
I have one parent table PAR and two child table CHD1 , CHD2 respectively.
I'm inserting values in three tables , making a form having add , delete and edit buttons.
Issue when i want to delete a record from PAR table , it gives child table record exists . i have did manual coding to delete the child records with related to the selected parent table PAR.
Is there any process in ADF to delete the child records with respective selected parent record with out manual coding.
thanks in advance.http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcentities.htm#BABHFJFJ
John
Maybe you are looking for
-
My page contains 4 regions and one of them displays BLOB images stored in table using the following SELECT '<img src="#OWNER#.my_image_display?p_doc_id=' || NVL (DOC_ID, 0) || '" height="' || 312 || '" width="' || 468 || '" />' Image FROM DOCS WHERE
-
Lagging problem when connected to a Samsung Central Station 23"
Hi, I bought myself a Macbook Air(Summer, 2011 Edition) about 3 months ago roughly, and I also bought myself a Samsung Central Station 23" which works just as a thunderbolt or cinema display but much cheaper and much elegant. It also sends audio sign
-
Hello, The mail service on my server is turning itself off automatically. I can turn it back on and for a few moments it will run, but them it shuts-off. The System log is awash with messages relating to postfix and dovecot, but I can't understand wh
-
I have a 720p 60 avchd movie . I want to make a sd dvd. How do I do this... is there a tutorial somewhere? Thanks
-
Hi Experts, I know how to upload data using BDC. But I didn't understand Vendor to Vendor upload. Is it to upload vendor master data? Please tell me. Thanks.