how can we validate field in dialog, say if we have a fields Item,amount fields,
amount entered in amount field should not less than 1000. if it is less than 1000 it must throw error, how can we do it.
where we have to write the logic, in which method
You can add a method validatefield to field
You type method like below
public boolean validateField(fieldId _fieldCheckToId)
ret = super(_fieldIdToCheck);
case fieldnum(MyTable, Amount) :
if (this.Amount <= 1000)
ret = checkFailed (“Amount is must be more than 1000”);
// ı hope helpfull for you.