Amend fields with Read Only status

SOLVED

Hi all, 

for some reason, I want to update specific fields but these fields have read only status. Any other way to update it programatically?

  

the fields is DocumentValue, UnitBuyingPrice, LineTotalValue in Sage.Accounting.POP.POPInvCredItem

this is the message that is prompted.