陈清红
2025-04-14 880f3c0257eeb8c37761d484258fdd102a369a19
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Quintiq file version 2.0
#parent: #root
Method MessageSendSetRemovedToSystem (String setTypeName_i, String setName_i, Boolean isNotificationOnly_i, 
  structured_Object data_i, LibDMF_SystemOnChannel soc_i, String sourceKind_i, 
  String sourceName_i, DateTime lastUpdate_i)
{
  Description: 'Trigger sending a SetRemoved message to a System.'
  TextBody:
  [*
    nvt := this.MessageSendToSystem( isNotificationOnly_i, data_i );
    
    // Add additional information to the header of the NTV that is specific for a System.
    // <currently none>
    
    // Add set name to header, this is needed in System that receives the message
    LibInt_MessageAccessor::SetHeaderProperty( nvt, LibDMF_CommunicationChannel::HEADER_SETTYPENAME(), setTypeName_i );
    LibInt_MessageAccessor::SetHeaderProperty( nvt, LibDMF_CommunicationChannel::HEADER_SETNAME(), setName_i );
    
    this.MessageSendSetRemoved( nvt, soc_i, sourceKind_i, sourceName_i, lastUpdate_i );
  *]
}