Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Week Wise split of hours of opportunity in sub grid

(0) ShareShare
ReportReport
Posted on by

I want split the time period and woking hours into week  between start date and end date  in a subgrid after craetion of oppotunity .How can I do that?

*This post is locked for comments

  • Suggested answer
    Rajkumar Rajaraman Profile Picture
    on at
    RE: Week Wise split of hours of opportunity in sub grid

    You can refer this for create multiple records in an child entity or related entity:

    msdn.microsoft.com/.../gg309282.aspx

    Hope this helps

  • Community Member Profile Picture
    on at
    RE: Week Wise split of hours of opportunity in sub grid

    thanks for the suggestion , but how to create multiple records in an child entity via plugin .I have an array of week data so how to display that array in the form of rows/records?

  • Verified answer
    David Jennaway Profile Picture
    14,065 on at
    RE: Week Wise split of hours of opportunity in sub grid

    You'd need to write a plugin to do this. The general approach would be to create a custom entity that's a child of the opportunity, as is displayed in the subgrid. The plugin could create records based on the start and end date of the opportunity. To make this robust, you' probably also need to include logic to delete or create child records if the start or end date change

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 54

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans