Calling convention: CIPBAsic_CopyDefaultReasonTree4CurrentRecord(UserID, BluePrintConnectionName)
Description: Replaces the current record's copied reason tree with reasons from the blueprint database and transfers matching disabled-item permissions for the specified user's group.
Parameters:
UserID: user whose first assigned role supplies the target group ID.
BluePrintConnectionName: configured blueprint database connection.
Returns: No defined return value; initialized to NULL.
Availability: Default; CIP Cockpit Basic/OPEX data model and a current DBForm record are required.
Example:
CIPBAsic_CopyDefaultReasonTree4CurrentRecord(1, "BluePrintConnection");