Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Precision Field parameter in Odata metadata feed from business central

(0) ShareShare
ReportReport
Posted on by 20

I have added a custom page and published it as a web service.

While seeing the Odata metadata only the Scale variable is passed in metadata as below,

 

Is there a way to get the Precision parameter in the OData metadata as below for the decimal field in Business Central? 

 

 

I have tried to add the AutoFormatExpression and DecimalPlaces properties in the source table code Still the Precision is not reflected in Odata metadata.
 

  • Suggested answer
    JM Profile Picture
    49 on at
    Precision Field parameter in Odata metadata feed from business central
    Hello there!

    I found this an interesting topic. I did a dummy test and did some research, and I'm afraid it may be due to Business Central's internal handling of decimal fields in OData, so we can't control it at that level.

    The second image shows a metadata that does not appear to be BC.

    So in summary mode the answer is that you can't handle that way the Scale for decimals in Odata BC.
     
    Cheers!
  • Suggested answer
    CU02050609-0 Profile Picture
    6 on at
    Precision Field parameter in Odata metadata feed from business central
    Good question!
  • AB-20050923-0 Profile Picture
    4 on at
    Precision Field parameter in Odata metadata feed from business central
     
    Did you find a resolution on this?
     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March 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... 294,145 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,917 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans