web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested answer

Deleting unit of measure is not possible due to External code

(0) ShareShare
ReportReport
Posted on by 184

For every unit we try to delete, we get the error: Units cannot be deleted while dependent External code value exist. Delete dependent External code value and try again.

There is an external code setup, but it is not used for this unit. Is there a way to delete unit which was created not by our standards?

I have the same question (2)
  • Suggested answer
    saurabh bharti Profile Picture
    15,039 Moderator on at
    RE: Deleting unit of measure is not possible due to External code

    Hi,

    Do you have anything here 

    pastedimage1673966133373v1.png

    If yes , is not allowing to remove?

  • Tamira Profile Picture
    184 on at
    RE: Deleting unit of measure is not possible due to External code

    Yes, I have there a code. And it doesn't allow me to delete it.

    While trying to delete the external code, it also throws the error: External code cannot be deleted while dependent External code value exist. Delete dependent External code value and try again.

  • Suggested answer
    SouravDam Profile Picture
    11,730 on at
    RE: Deleting unit of measure is not possible due to External code

    Hi Tamira,

    The form which Saurabh highlighted.. I am able to delete both information from overview and value section.

    Can you check if the same external code is linked with any other units or not? And if linked, is that used anywhere?

    Regards,
    Sourav

  • Tamira Profile Picture
    184 on at
    RE: Deleting unit of measure is not possible due to External code

    For every unit I open, the same value is present. But the external code doesn't have a value.

    If I'm right the External code table is linked to various setup, but until now I'm unable to find where the setup is used.

  • SouravDam Profile Picture
    11,730 on at
    RE: Deleting unit of measure is not possible due to External code

    Hi Tamira,

    Did you get chance to check with any developer?

    Regards,
    Sourav

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 333

#2
Sagar Suman Profile Picture

Sagar Suman 187 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans