Usage of TESTFIELD in D365 BC:
(1) “TESTFIELD” is used mainly for validations.
(2) Syntax:
Record.TestField(Field: Any, Value: Code) |
(3) Let’s take an example, “BudgetPrice” must not be zero at the time of entering a value in “BundleItem” as shown.
(4) Second example, “BudgetPrice” must be 10 at the time of entering a value in “BundleItem” as shown.