Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Losing decimals when creating Item or template in sandbox env only

(0) ShareShare
ReportReport
Posted on by 32

Hi all,

I have a thickness field on an item in released product form i.e. 3.42. When I try to create an item template for this item, it is losing its decimals and generating the value 342 for item template in sandbox environments only but the same is working fine on Production and DEV Environments.

Also if I try to create a new item for existing templates having 2.52 as thickness value, when new item is created it is losing its decimals and generating the value 252 for new item on released product form in sandbox environments only.

The Environment is on-premises and having FO version 10.0.31.

Can anyone please guide what is wrong doing in sandbox environments?

  • Suggested answer
    Andrew Xu Profile Picture
    3,877 on at
    RE: Losing decimals when creating Item or template in sandbox env only

    Hi Ammad,

    Sounds like there's unit of measure conversion takes place to that field when an item is being created, you might want check if there's any UOM setup or let your developer debug to find out.

  • André Arnaud de Calavon Profile Picture
    293,025 Super User 2025 Season 1 on at
    RE: Losing decimals when creating Item or template in sandbox env only

    Hi Ammad,

    Can you tell more about this customization? What extended data type did you use? Is there any additional x++ logic related to this field?

  • Ammad majid Profile Picture
    32 on at
    RE: Losing decimals when creating Item or template in sandbox env only

    Hi Judy,

    Yes the thickness field is custom and I created the template on my dev environment. It is working as intended but when I deploy the package to sandbox and creating the template it is losing its decimals.

  • Suggested answer
    huijij Profile Picture
    19,811 on at
    RE: Losing decimals when creating Item or template in sandbox env only

    Hi sir,

    Is your thickness field a custom field? I have tried decimals with other fields in my development environment without such problems, create the template by Product information management > Products > released products > New > template > create shared template, you can debug to see if the issue is caused by other exception.

    8207335.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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,025 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,837 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans