仪表盘
版本库
文件存储
活动
搜索
登录
main
/
VWED
VWED PPPS项目
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
添加下发班次计划信息的入口,调整锁定期的界面格式
xiaoding721
2024-10-28
b16deb7cf4eb651c74e73ef6723a0e8eb7676ee1
[VWED.git]
/
LibMacroPlanner
/
BL
/
Type_ScenarioFolder
/
Method_SetAvailable.qbl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Quintiq file version 2.0
#parent: #root
MethodOverride SetAvailable (
String usergroups
)
{
Description: 'Indicate if a folder can have all its scenario set to available'
TextBody:
[*
ugs := GlobalParameters_MP::GetUserGroups( usergroups );
traverse( this, Children, c, c.CreatedBy() = GlobalParameters_MP::GetUserName() or exists( c, ScenarioAuthorization, sa, exists( ugs, Elements, ug, sa.Name() = ug.Name() ) ) )
{
c.SetAvailable( usergroups );
}
*]
}