When Field Changes hook
Use this hook to react on a change in a field. You can use and set the
values of the form fields.
Note: To have the standard fields available for the hooks ensure you
have at least
Enterprise Server
version 10.5.2 with KB 1923135 applied.
Example:
function extern void currency.when.field.changes()
{
if currency = "EUR" then
prnt.sellpr = tcyesno.yes
else
prnt.sellpr = tcyesno.no
endif
display("prnt.sellpr")
}