Difference Between modifiedfield and validatefield method in MSD Axapta

Difference Between modifiedfield and validatefield method

modifiedfield and validatefield both method recieve the active field number as parameter.modifiedfield() is used to initialize the value of other fields and does not return an value.

while validatefield method  is used for validation only and will return true or false.