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
27
28
| Quintiq file version 2.0
| #parent: #root
| StaticMethod GetBusinessNameStr (
| GlobalOTDTable owner
| ) as String
| {
| TextBody:
| [*
| // NBoTk Sep-7-2023 (created)
|
| // 获取businessType 集合
| result := "";
| businessTypeList := construct( structured[String]);
|
| traverse( owner,BusinessType,b)
| {
| businessTypeList.Add( b.BusinessTypeName());
| }
|
| // 如果存在businessType数据 则返回 : a,b,c
|
| if( not isnull( businessTypeList ) )
| {
| result := businessTypeList.Concatenate( ";" );
| }
| return result;
| *]
| }
|
|