Hello,
I working on a customization to the Inventory Item page. I have 2 attribute fields and 2 other fields that I am trying to sync. One field is a length stored as a decimal and one field is the length stored in the format of ft’ in”. I am converting fine, but when I try to save the document, the attribute fields are not updated.
//Updating the attribute
lengthAttribute.Value = Fractions.DecimalToFraction(itemExt.UsrLength ?? 0m);
I edit the field:
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/cc51b5b8-0c68-4bcf-97e7-eb9a1ce4855d.png)
Attribute is updated as expected.
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/cfa9573a-3674-45f0-b52a-cee453c6b0c1.png)
But when I save, it revert the attribute to the previous values.
![](https://uploads-us-west-2.insided.com/acumatica-en/attachment/4d8b00df-853a-4c03-91b0-686238d2482a.png)
Does anyone know what I am missing to get the attribute to save?
Thanks in advance!
Best answer by Cesar Betances
View original