Data entity virtual fields and skip validate field, allow edit and allow edit on create
public class BFSPrepaymentTableEntity extends common { // Postload & mapEntityToDataSource for virtual fields which helps you to push the values instead of recids public void postLoad() { super(); //Populate virtual field once entity has been loaded from database this.PrepayIdStr = this.PrepayId; this.JournalNumStr = this.JournalNum; this.IsCreatedStr = this.IsCreated; EcoResCategory ecoResCategory; select firstOnly ecoResCategory where ecoResCategory.RecId == this.PrepayCategoryId; this.EcoResCategoryCommodityCode = ecoResCategory.Code; } Public void mapEntityToDataSource(DataEntityRuntimeContext entityCtx, DataEntityDataSourceRuntimeContext dataSourceCtx) { super(entityCtx, dataSourceCtx); //Check if desired data source context is available if (dataSourceCtx.name() == "BFSPrepaymentTable") { BFSPrepaymentTable prepayTable = dat