Description: Runs the custom action assigned to the Add button of a MasterDetailEdit component.
Execution: The desktop Add button executes this formula. When a valid formula is configured, the component notifies dependent components and refreshes itself after the execution. This notification and refresh also occur if formula calculation reports an error.
Arguments:
Argument_ConnectedObjectName: name of the connected detail object, or an empty string if that object cannot be resolved.
Argument_MasterValue: current value of the connected master entry, or Null when no EntryData is assigned.
The custom executor does not populate Argument_EventName, Argument_SenderName or Argument_SenderID.
Result: Any value assigned to Result is ignored. Perform the required add operation or other action directly in the formula.
Availability: Desktop only. The web DBForm factory does not create the MasterDetailEdit component.
Example:
ShowMessage("Add detail record to " + Argument_ConnectedObjectName);