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

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested answer

How can I count the assets in work order.

(0) ShareShare
ReportReport
Posted on by 186

I have to make something like ,Work order should allow a single asset only 7 times in 7 days

, like only 7 times a single asset can be added in a work order in 7 Days.

I should only able to make work order of a particular asset only 7 times in past 7 days.

How can I do that 
anyone

Thanks in advance

I have the same question (0)
  • Suggested answer
    Nya Profile Picture
    29,060 on at
    RE: How can I count the assets in work order.

    Hi,

    You can create a rollup field in Customer Asset entity to calculate the count of the related work orders.

    Here is a documentation about the roll up field which you can refer to:

    Define rollup columns with Power Apps - Power Apps | Microsoft Docs

  • Suggested answer
    Dan Gittler - Dynamics Field Service Profile Picture
    on at
    RE: How can I count the assets in work order.

    Perhaps javascript on WO create that queries the asset, finds all work order incidents for the asset in the last 7 days, and surfaces an error if it is more than 7? Alternatively you can store the count on the asset but it would require you to constantly update that field when work orders are created, and then update it each night so it only counts the last 7.

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 48

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 44 Super User 2025 Season 2

#3
mk1329 Profile Picture

mk1329 16

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans