Skip to main content

Notifications

Announcements

No record found.

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
    Pihl 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
    Shalini Nair 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
    Nicolas Jaminon 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
    crham 342 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
    Nicolas Jaminon 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
    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
    Nicolas Jaminon 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
    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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,703 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,433 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans