Assuming productprice is required, the following result was found.
the formatted value ZDK.Page.getField("Weight_kg").setValue(v_ProductWeightFormatted); // now for currency fields var v_ProductPrice = ZDK.Page.getField('Unit_Price').getValue(); var v_ProductPriceFormatted = fn_CountDecimals(v_ProductPrice) > 6 ?...