Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Primary Incident Customer Asset Auto-Mapping

Posted on by 873

Hello everyone,

In the field service Accounts entity, I have a sub-grid that is linked to the account customer asset and another grid showing the related work order for that account.
8130.Capture2.PNG

Usually, I create the work order directly by pressing (+) from the sub-grid in the account entity, and once the form is opened, it automatically links the account to the Work order.

I want the "Primary Customer Asset field" to be also mapped automatically when I create the Work order from a related account.

The problem is if I do this directly from the "Accounts entity" the asset is not mapped to the Work order. However, If I try to create the Work order from a sub-grid inside the asset entity, the current asset related to the service account will be mapped to the Work order.

Customer Asset BlankPrimary Asset Filled from asset

I already configured the filter query of the Primary customer asset field as below:

4380.Capture1.PNG

Can please someone explain in detail and provide an example to achieve the above scenario?

Any help is highly appreciated.

Thank you!

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Primary Incident Customer Asset Auto-Mapping

    Hi EBMRay,

    Account(Parent) and Asset(Child) is 1:N relationship;

    Account(Parent) and Work order(Child) is 1:N relationship;

    Asset(Parent) and Work order(Child) is 1:N relationship.

    Mapping function can get value from parent to child, which is irreversible.

     (1)Create Work order from Account:

    Only accountid has been mapped into Work order.

     pastedimage1634798573852v1.png

    Asset is child of account, one account have many assets, you can't map many assets to one lookup field in the work order form, which is impossible.

    So you only can filter related records in 'Primary Customer Asset' lookup field, like screenshot you provide:

    pastedimage1634798723559v3.png

    Which can make 'Primary Customer Asset' lookup field only show assets related to the service account.

    (2) Create Work order from Asset:

    Account and asset will both map to Work order.

    pastedimage1634799208227v4.png

    Account is parent of asset, one asset can only have one account, so it can map to the service account lookup field.

    pastedimage1634799554995v5.png

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans