{
boolean ret = next validateWrite();
FormRun formRun = this.formRun() as FormRun;
Formdatasource FrmDataSource_ds = this.formRun().dataSource(formDataSourceStr(HcmPersonLoan,HcmPersonLoan));
HcmPersonLoan hcmPersonLoan ;
hcmPersonLoan = FrmDataSource_ds.cursor();
if(!hcmPersonLoan.Loan)
{
ret = FrmDataSource_ds.object(fieldNum(HcmPersonLoan, Loan)).mandatory(false);
}
return ret;
}