Update design and validation allowedit field using x++ :
void
updateDesign()
{
FormDataObject fldItemName;
;
if(GG_FPJVoucher::Find(GG_FPJTable.FPJVoucherId).bit_batal ==
Noyes::Yes)
{
GG_FPJTable_FPJVoucherId.allowEdit(false);
}
if(GG_FPJVoucher::Find(GG_FPJTable.FPJVoucherId).bit_batal == Noyes::No)
{
GG_FPJTable_FPJVoucherid.allowEdit(true);
}
}
0 comments:
Post a Comment