OKCANCELOPTIONAL keyword

Applies to

The Parms field of event handlers of type Run Form as Modal Child

Example

From the AdvicePaymentLines form, event RunFormPaymentAccounts(0):
PaymentAccounts(FILTERPERM(ApOrganization=FP(ApOrganization))
		  FILTER(AccountSetToken=FP(AccountSetToken))
		  SETVARVALUES(ApOrganizationVar=P(ApOrganization),
		  PaymentDateVar=V(PaymentDateVar), OnReturnSetVar=AccountSetToken,
		  OnReturnSetTypeVar=Property)) OKCANCELOPTIONAL()