| 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 GetFileNameFromDomainModel ( |  |   String brokername |  | ) as owning String |  | { |  |   Description: |  |   [* |  |     This method using Domain model, SHOULD NOT be used outside server startup scope. |  |     Return filename of the excel brokers associated with this object group |  |   *] |  |   TextBody: |  |   [* |  |     // Search for an EDI broker by name and append it to a list of file names |  |     broker := select( DomainModel::Domain(), EDIDefinitionManager.BrokerDefinitions, broker, broker.Name() = brokername );                         |  |     return guard( broker.Source().astype( EDIXLSLinkDefinition ).FileName(), '' ); |  |   *] |  |   InterfaceProperties { Accessibility: 'Module' Visibility: 'BusinessModel' } |  | } | 
 |