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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans