Description: Customizes the action that adds a new detail record below the selected Tree node.
Arguments: Values from the current master DBForm are available with a MASTER_ prefix, for example MASTER_EntryB. Although the formula editor also declares Argument_DataID, Argument_SelectedNodeID, Argument_ParentNodeID and Argument_RootID, neither the desktop nor the web call path populates them. The common Argument_EventName, Argument_SenderName and Argument_SenderID values are not populated either.
Desktop execution: A valid formula runs in the master DBForm context before a detail form is created. It completely replaces the standard add action: after the formula finishes, no detail dialog is opened. Consequently, an unqualified SetValue call targets the master context, not a new detail record.
Web execution: The detail DBForm is created and initialized first, including its parent value. The master values are then copied into the detail parser with the MASTER_ prefix, and the formula runs in the detail DBForm context.
Result: Any value assigned to Result is ignored.
Availability: Desktop and web, with the different execution contracts described above.
Example: On web, initialize EntryA from a master entry.
SetValue("EntryA", MASTER_EntryB + 2);
Do not use this example unchanged on desktop: there the same statement writes in the master DBForm and suppresses the standard detail dialog.