Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

Unit Group field required for Purchase Order approval business flow

Posted on by 15

I am creating a business flow for our Purchase order approval process. The flow requires the Unit Group field have a value. However, we are not using the unit groups for this process. is there a way to satisfy this requirement without forcing our users to determine a Unit Group for an expense? 

PO-Business-Flow.JPG

  • SamiraM Profile Picture
    SamiraM 571 on at
    RE: Unit Group field required for Purchase Order approval business flow

    Can you set the default unit group guid in that field? Then it will work?

  • admin4media Profile Picture
    admin4media 15 on at
    RE: Unit Group field required for Purchase Order approval business flow

    Hi Samira,

    Thank you for assisting me. I have set the Unit Group field expression as null, but received the following error.

    {

    "status": 400,

    "message": "Value cannot be null.\r\nParameter name: CurrentImage.msdyn_UnitGroup",

    "error": {

      "message": "Value cannot be null.\r\nParameter name: CurrentImage.msdyn_UnitGroup"

    },

    "source": "4media-group.crm11.dynamics.com",

    "errors": [],

    "debugInfo": "clientRequestId: 7085ea2a-9929-4c61-8d1f-a46cb351c169"

    }

    Does this shed any more light on the issue I am having?

  • admin4media Profile Picture
    admin4media 15 on at
    RE: Unit Group field required for Purchase Order approval business flow

    Hi Samira,

    Thank you for assisting me. I have set the Unit Group field expression as null, but received the following error.

    {

     "status": 400,

     "message": "Value cannot be null.\r\nParameter name: CurrentImage.msdyn_UnitGroup",

     "error": {

       "message": "Value cannot be null.\r\nParameter name: CurrentImage.msdyn_UnitGroup"

     },

     "source": "4media-group.crm11.dynamics.com",

     "errors": [],

     "debugInfo": "clientRequestId: 7085ea2a-9929-4c61-8d1f-a46cb351c169"

    }

    Does this shed any more light on the issue I am having?

  • SamiraM Profile Picture
    SamiraM 571 on at
    RE: Unit Group field required for Purchase Order approval business flow

    Hi,

    In field -> Expression -> Set is as null.

    Regards,

    Samira

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans