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 MessageSendSetUpdatedToDataManager (structured_Object data_i, String setTypeName_i, String setName_i,
| String sourceKind_i, String sourceName_i, DateTime lastUpdate_i)
| {
| Description: 'Send a SetUpdated-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.MessageSendSetUpdated( nvt, null( LibDMF_SystemOnChannel ), sourceKind_i, sourceName_i, lastUpdate_i );
| *]
| }
|
|