web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
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

I have the same question (0)
  • Verified answer
    David Jennaway Profile Picture
    14,065 on at

    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

  • Community Member Profile Picture
    on at

    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?

  • Suggested answer
    Rajkumar Rajaraman Profile Picture
    on at

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

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

    Hope this helps

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans