Developer forum

Forum » PIM » Weight unit calculation

Weight unit calculation

Michael Knudsen

Hello forum,

- is it possible with one of the custom field providers to show product weight in either kg or gram based on value in {ProductWeight} ?  Currently is weight from Business Central and always in kg, but showing product weight as "0.050 kg" isn't very user friendly.

Would something like this be possible?
If {ProductWeight} >= 1 then display "Weight: {ProductWeight} kg" eg. "Weight: 125 kg"
If {ProductWeight} < 1 then display "Weight: {ProductWeight} gram" eg. "Weight: 50 gram"

I have been looking into the documentation, but someone might have a hidden gem regarding building a formula that solves my issue?

Br. Michael Knudsen


Michael Knudsen

*** bump ***

I'm missing a response... Dynamicweb or perhaps Søren Jensen?

Søren Jensen Dynamicweb Employee
Søren Jensen
This post has been marked as an answer

Hi Michael,

Feature request has been created (#7655), but are not prioritized yet..


Votes for this answer: 1


You must be logged in to post in the forum