function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
babacandoitbabacandoit 

But I'm not able to create Role-up Sammary in Account - from OrderObject

Hi All,

  I'm trying to creat a Roll-Up Summary Field as TotalOrderedAmount and NumberOfOrders  in Account object.
But I'm not getting the order  in the Summarized-Object(PickList showing only Oppurtunity) in step3 of the Rollup sammary field creation.

Is Account & Order  has Master - Detail Relationship ? 

Please Help,
Baby-Bud-of SFDC

Thanks- in Advance
Best Answer chosen by babacandoit
Vatsal KothariVatsal Kothari
Hey,

For Roll up smmary field Master Detail Relationship is Required.
So for this fisrt you have to create Master Detail Relationship between Account(Master) & Order(Detail).

If this solves your problem, kindly mark it as the best answer.

Thnaks,
Vatsal

All Answers

Vatsal KothariVatsal Kothari
Hey,

For Roll up smmary field Master Detail Relationship is Required.
So for this fisrt you have to create Master Detail Relationship between Account(Master) & Order(Detail).

If this solves your problem, kindly mark it as the best answer.

Thnaks,
Vatsal
This was selected as the best answer
babacandoitbabacandoit
Hey Vatsal, 

 Thanks for the Clue man, But now i'm confused about the Relationship between the Account and the Order ??
Vatsal KothariVatsal Kothari
Go to Order Object and create Master detail relation with Account.(Before craeting realtion delete all the records of Order Object)
So it is One to Many Realtionship i.e One Account can have Multiple Order.

If this solves your problem, kindly mark it as the best answer.

Thanks,
Vatsal

babacandoitbabacandoit
Hey Vatsal,

 Yupe, I deleted all the records in the OrderObject,  
then when i click new field and in SelectDataType there is no 'MASTER-DELATIL Relationship' OPTION :(

So, I failed in creating the MaterDetailRelationship between the Account and the Order :(

Vatsal KothariVatsal Kothari
Are you creating realtion in Order Object?
Go to setup--> Objects --> Order --> Custom Fields & Relationships -> New
Now Select Master detail Relationship.

Thanks,
Vatsal
babacandoitbabacandoit
Hey Vastsal,

No man, I am not able to create the Master-detail Relationship in OrderObject :( 
So, Finally landed to Coding (Y)

Thanks for the Help Man.

Cheers.
Baba