chenqinghong
2024-05-07 3ec06a830367465068963156dcc1d8e522571c13
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Quintiq file version 2.0
#parent: #root
Method GetChannelAndSetTypeName (
  output String channelname,
  output String settypename
) const declarative remote
{
  Description: 'Return 3DS Channel and SetType name specific to this object group.'
  TextBody:
  [*
    channelname := LibDEC_Channel3DSProduct::CHANNEL_NAME();
    settypename := MPSyncUtility::ID_3DSpace_Product();
    
    if( this.Name() = MPSyncUtility::ID_ObjectGroup_Entities() )
    {
      channelname := LibDEC_Channel3DSResource::CHANNEL_NAME();
      settypename := MPSyncUtility::ID_3DSpace_Resource();
    }
    else if( this.Name() = MPSyncUtility::ID_ObjectGroup_Routings() )
    {
      channelname := LibDEC_Channel3DSProcess::CHANNEL_NAME();
      settypename := MPSyncUtility::ID_3DSpace_Process();
    }
  *]
  InterfaceProperties { Accessibility: 'Module' }
}