Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

You cannot create a new Maintenance Asset record when the Functional Location related record has it's 'Functional Location Lifecycle State -> Functional Location Active' set to 'No', or is not populated.

(0) ShareShare
ReportReport
Posted on by 20

Hi the Dynamics community,

It's my first post here.

I'm currently doing some tests with Dual-Write (D365 Field Service and D365 F&O) and I would like that D365 Field Service create my asset based on the Work Order Product but I've this issue when I'm trying to set the status of my work order to "Completed" with a product on which "Convert to customer asset" is set to Yes.

pastedimage1637936336117v1.png

"You cannot create a new Maintenance Asset record when the Functional Location related record has it's 'Functional Location Lifecycle State -> Functional Location Active' set to 'No', or is not populated."

However, the status on my functionnal location is active.. I don't understand what's wrong

pastedimage1637936512873v2.png

pastedimage1637936533097v3.png

Could you please help me ? I found some similar topics on the forums but no one with a solution..

Thank you,

  • Suggested answer
    Pihl Profile Picture
    4 on at
    You cannot create a new Maintenance Asset record when the Functional Location related record has it's 'Functional Location Lifecycle State -> Functional Location Active' set to 'No', or is not populated.
    As a workaround in stead of logging a ticket with Microsoft support I used the plugin registration tool to update the plugin to run Post-execution and Asynchronously, in stead of Pre-execute and Synchronously. The Plugin still kicks in, but as i runs async it just logs an error in the background, and neither Dual Write nor a user will get the error that the Functional Location Active has to be Yes.
  • Shalini Nair Profile Picture
    20 on at
    RE: You cannot create a new Maintenance Asset record when the Functional Location related record has it's 'Functional Location Lifecycle State -> Functional Location Active' set to 'No', or is not populated.

    Is it Resolved?

  • Nicolas Jaminon Profile Picture
    20 on at
    RE: You cannot create a new Maintenance Asset record when the Functional Location related record has it's 'Functional Location Lifecycle State -> Functional Location Active' set to 'No', or is not populated.

    Still in progress..

    Microsoft identified where the problem comes from (plugin : ‘AssetManagement.Crm.Plugins.PreventMaintenanceAssetCreationOnStatusPlugin’.) but when you deactivate it, the system no longer takes in consideration your functional location and links your asset directly to your service account.

  • crham Profile Picture
    378 on at
    RE: You cannot create a new Maintenance Asset record when the Functional Location related record has it's 'Functional Location Lifecycle State -> Functional Location Active' set to 'No', or is not populated.

    Did Microsoft resolve this?

  • Nicolas Jaminon Profile Picture
    20 on at
    RE: You cannot create a new Maintenance Asset record when the Functional Location related record has it's 'Functional Location Lifecycle State -> Functional Location Active' set to 'No', or is not populated.

    I'll do it. Thank you !

  • Verified answer
    Dan Gittler - Dynamics Field Service Profile Picture
    on at
    RE: You cannot create a new Maintenance Asset record when the Functional Location related record has it's 'Functional Location Lifecycle State -> Functional Location Active' set to 'No', or is not populated.

    Looks right to me! I don’t have an answer off hand. Can you open a ticket?

  • Nicolas Jaminon Profile Picture
    20 on at
    RE: You cannot create a new Maintenance Asset record when the Functional Location related record has it's 'Functional Location Lifecycle State -> Functional Location Active' set to 'No', or is not populated.

    Hi Dan,

    Thank you for your answer.

    As you can see, the mappings are running well

    pastedimage1638258070092v1.png

    I use the USMF sample Data on our sandbox and I think that the functional location state set and active. (Please correct me if I'm wrong)

    pastedimage1638258203770v2.png

    If you think I'm right, please tell me. By this way, I'll open a ticket with Microsoft. Otherwise, could you please tell me what's wrong?

  • Suggested answer
    Dan Gittler - Dynamics Field Service Profile Picture
    on at
    RE: You cannot create a new Maintenance Asset record when the Functional Location related record has it's 'Functional Location Lifecycle State -> Functional Location Active' set to 'No', or is not populated.

    Hi Nicolas, when you open up Enterprise Asset Management in Finance and Operations, is the functional location lifecycle state set and active? Trying to determine if theres a sync issue on locations. If yes, please open a ticket with Microsoft so we can investigate.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,309 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,160 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans