You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
96 lines
2.4 KiB
Plaintext
96 lines
2.4 KiB
Plaintext
client ProjectSetupParameters;
|
|
component PROJ;
|
|
layer Cust;
|
|
description "Project Setup Navigator";
|
|
|
|
|
|
--------------------------------- FRAGMENTS ---------------------------------
|
|
|
|
----------------------------- NAVIGATOR ENTRIES -----------------------------
|
|
|
|
-------------------------------- MAIN PAGES ---------------------------------
|
|
@Override
|
|
page ProjectLevel using Projects {
|
|
|
|
@DynamicComponentDependency PROJBF
|
|
commandgroup BudgetingForecastingCmdGroup {
|
|
visible = [not ProjSetupParameterMetadataRef.ShowAccessAndRoles];
|
|
label = "Budgeting and Forecasting";
|
|
commandgroup ControlBudgetCmdGroup {
|
|
label = "Budget Control";
|
|
|
|
command BudgetControlInSubContract {
|
|
visible = [not ProjSetupParameterMetadataRef.ShowAccessAndRoles];
|
|
showasaction = IfRoom;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
--------------------------------- COMMANDS ----------------------------------
|
|
|
|
command BudgetControlInSubContract for Project {
|
|
execute {
|
|
|
|
messagebox("Confirm", question, "Do you really want to change the control in Subcontract setting on this project ?") {
|
|
|
|
when "Yes" {
|
|
|
|
call CBudControlInSubCtr(ProjectId, CBudgOnSubcont);
|
|
selected = [true];
|
|
|
|
}
|
|
|
|
when "No" {
|
|
exit;
|
|
}
|
|
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
--------------------------------- SELECTORS ---------------------------------
|
|
|
|
|
|
---------------------------------- GROUPS -----------------------------------
|
|
@Override
|
|
group BudgetingForecastingGroup for Project {
|
|
field CBudgOnSubcont {
|
|
label = "Budget Control In Sub";
|
|
}
|
|
}
|
|
|
|
|
|
----------------------------------- LISTS -----------------------------------
|
|
|
|
|
|
---------------------------------- DIALOGS ----------------------------------
|
|
|
|
|
|
-------------------------------- SINGLETONS ---------------------------------
|
|
|
|
|
|
---------------------------------- CHARTS -----------------------------------
|
|
|
|
|
|
--------------------------------- CALENDERS ---------------------------------
|
|
|
|
|
|
---------------------------------- SHEETS -----------------------------------
|
|
|
|
|
|
----------------------------- STATE INDICATORS ------------------------------
|
|
|
|
|
|
----------------------------------- TREES -----------------------------------
|
|
|
|
|
|
---------------------------------- PLUGINS ----------------------------------
|
|
|
|
|
|
------------------------------- IMAGE VIEWERS -------------------------------
|