✏️ Explanatory Question

Difference Between modifiedfield and validatefield in D365 F&O

👁 301 Views
📘 Detailed Answer
💡

Answer with Explanation

Difference Between modifiedfield and validatefield in D365 F&O

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.

Method Purpose Parameter Return Value
modifiedField Initialize the value of other fields Active field number None (void)
validateField Perform validation and return true/false Active field number True/False

This table summarizes the differences between the modifiedField and validateField methods in terms of their purposes, parameters, and return values in Microsoft Dynamics 365 for Finance and Operations (D365FO).