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 :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Error creating cutomer asset, 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 10

After the latest release wave, I am unable to create new customer assets. Each time I save in the UI or via code, I get an error that "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." If I try to add a Functional Location Lifecycle State to an existing Functional Location, on save it complains with another error "The following fields were attempted to be updated in msdyn_functionallocation, but have been locked down: msdyn_functionallocationlifecyclestate."


My question is: how do I create a valid customer asset, which references a Functional Location, which in turn references a Functional Location Lifecycle State? Since this currently seems impossible due to some erro in the MS PreventFieldUpdatesPlugin.

I have the same question (0)
  • Suggested answer
    Gabriel Sotiriu Profile Picture
    on at

    Hello,

    I have tested reported behavior on latest application code and I could not really see the problem.

    If a functional location is having Lifecycle State Active set to No (note that Lifecycle state field CANNOT be blank), then the specific functional location is NOT available to be assigned during the asset creation (see below screenshots):
    msedge_5F00_4S4YJwsBu3.png

    msedge_5F00_wxWkVL8d8K.png

     

    So, probably, you should review the underlying setup for Functional location types and assigned Functional location lifecycle model just to make sure that when ever a functional location is being created, it will get proper lifecycle status assigned.

    I hope this will help.

    Best regards,

    Gabriel

  • MATTGUO Profile Picture
    22,349 Moderator on at

    Hi,

    Do you have customization on this area?

    What are setings of functional location and Lifecycle states?

  • unbeatable Profile Picture
    365 on at

    pastedimage1617780410446v1.png

    Hi I am getting the same Problem In Field Service while Creating a New Customer Asset can we Disable  functional Location BPF

  • Berkay Durusel Profile Picture
    15 on at

    Hello. I'm getting the similar error while trying to push data from ADF to CRM. Have you got a solution for this?

  • SHRIKANT KARPUR Profile Picture
    250 on at

    Anyone found any solution to this?

  • Suggested answer
    DomR Profile Picture
    10 on at

    Similar approach for both Assets and functional locations.  You need to create both 

    To create a Functional Location, requires a number of other records to already exist:

    • Functional Location Type
    • Functional Location Lifecycle Model (to be able to create the Functional location Type)

    For Assets its:

    • Asset Type
    • Asset Lifecycle Model

    This is what you do for functional locations, it's the equivalent process for Assets.

    The Functional Location Lifecycle Model field is a field that would be typically populated from FSCM, but it may also be necessary to add direct to Field service.  (A similar approach applies to both Assets and Functional Locations).  One model will be defined in Field Service.  When the integration with FSCM occurs, the values should be modified to match those in FSCM.

    To create a Functional Location Lifecycle Model, use the Admin version of Advanced Find to open the view for Active Functional Location Lifecycle Model records then click on new to add an additional record.  It is unlikely once the system has been set up that there will be need to do this.

    Functional Location Lifecycle State records also required.  They also ought to be synchronized from FSCM.  If necessary to create them, then it is a similar method using the Admin Advance Find and use the view of Functional Location Lifecycle States.

    The values of the fields are set as shown below for each of the States required.

    Suggested values might be: New; Active; In Repair; Removed.  (These would need to match what will be used in FSCM).

  • Suggested answer
    Pihl Profile Picture
    4 on at
    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

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 > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 299 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 183 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 117 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans