Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Customized Autonumber for WO entity

(0) ShareShare
ReportReport
Posted on by 873

Hello everyone,

I want to add a new field in the Work order form and update that field upon case creation as below:

-Creator Belonging BU - WO number generated after creation.

Example: User A belongs to WA BU; User B belongs to UAE BU.

The output result should be:

WA-00001 / for user A
UAE-00002 / for user B

I thought about a power automate could flow to achieve the above. However, If I decided to split the BU field and add another field to concat the WO number with the BU field is it possible to create a calculated field to achieve that? Can please provide an example of that option?

What about the first option, is power automate the easiest way for doing it without writing a custom code (plugin)?

Any advice is highly appreciated.

  • EBMRay Profile Picture
    EBMRay 873 on at
    RE: Customized Autonumber for WO entity

    Dear Leah,

    I apologize for the late response.

    Thank you so much for providing an example and steps to achieve that scenario.

    Your assistance is highly appreciated.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Customized Autonumber for WO entity

    Hi EBMRay,

    Can you click Yes under "Did this answer your question?" to close this thread if my answer is helpful?

     pastedimage1636359784150v1.png

    Thanks. 

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Customized Autonumber for WO entity

    Hi EBMRay,

    It's hard to use power automate to achieve the first option, which is not one easy thing, so 'split the BU field and add another field to concat the WO number' is one viable solution.

    By default, there is one owningbusinessunit lookup field, which is set to the business unit of the owner (which is either a team business unit or a user business unit).

    pastedimage1636004809545v2.png

    You can concat it with wo number to fill another new field:

    pastedimage1636003730526v1.png

    Test result:

    pastedimage1636004862741v3.png

    Note: the owningbusinessunit field is based on owner, it will change when owner change.

    If you are not sure that the owner is always the creator, you need to create a new BU lookup field, then create a workflow to update BU with value from createdby.

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,784 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,476 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans