Quintiq file version 2.0 
 | 
#parent: #root 
 | 
MethodOverride SentMessages ( 
 | 
  String destination_node_id, 
 | 
  DSP_OperationMessageSequence message_set 
 | 
) as Boolean 
 | 
{ 
 | 
  TextBody: 
 | 
  [* 
 | 
    // Disable undo  
 | 
    this.DisableTransactionRecords(); 
 | 
     
 | 
    this.Log( "Sending " + [String] message_set.Size() + " message(s) to node " + destination_node_id + ". Messages: " + message_set.ToString(), true );    
 | 
     
 | 
    // Set the destination and origin node ids in the message 
 | 
    origin_node_id := this.GetMyNodeId(); 
 | 
    traverse( message_set, Message, msg ) 
 | 
    { 
 | 
      msg.DestinationNodeId( destination_node_id ); 
 | 
      msg.OriginNodeId( origin_node_id ); 
 | 
    } 
 | 
     
 | 
    return this.OnSentMessages( destination_node_id, message_set ); 
 | 
  *] 
 | 
} 
 |