陈清红
2025-04-14 880f3c0257eeb8c37761d484258fdd102a369a19
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Quintiq file version 2.0
#parent: #root
Method MessageSendSetCreatedToDataManager (structured_Object data_i, String setTypeName_i, String setName_i, 
  String sourceKind_i, String sourceName_i, DateTime lastUpdate_i)
{
  Description: 'Send a SetCreated message to the DataManager.'
  TextBody:
  [*
    // Generate a NVT that contains the data.
    // If applicable the data is transformed to the generic format of the Channel first.
    nvt := this.GenerateNVT( data_i, false );
    
    // Add additional information to the header of the NTV that is specific for the DataManager.
    LibInt_MessageAccessor::SetHeaderProperty( nvt, LibDMF_CommunicationChannel::HEADER_SETTYPENAME(), setTypeName_i );
    LibInt_MessageAccessor::SetHeaderProperty( nvt, LibDMF_CommunicationChannel::HEADER_SETNAME(),     setName_i );
    
    this.MessageSendSetCreated( nvt, null( LibDMF_SystemOnChannel ), sourceKind_i, sourceName_i, lastUpdate_i );
  *]
}