var forecastVersion = Table_1.getPlanning().getPublicVersion("Forcast2024");
var forecastVersion = Table_1.getPlanning().getPublicVersion("Forcast2024");
if (forecastVersion) {
if(forecastVersion.isDirty()) {
forecastVersion.publish();
};
};
// Getting the existing version.
var budgetVersion = Table_2.getPlanning().getPublicVersion("budgetversion2024");
//Copy Operation -
if (budgetVersion) {
budgetVersion.copy("LatestBudget"+ Date.now().toString(), PlanningCopyOption.PlanningArea));
}
// Getting the existing version.
var sourceVersion = Table_3.getPlanning().getPrivateVersion("privateSourceVersion");
//Copy Operation -
if (sourceVersion) {
sourceVersion.copy("targetVersion", PlanningCopyOption.AllData, PlanningCategory.Budget)
};
var sourceVersion = Table_5.getPlanning().getPrivateVersion("privateVersionToCopy");
if (sourceVersion) {
sourceVersion.copy("Version"+ Date.now().toString(), PlanningCopyOption.PlanningArea, PlanningCategory.Forecast));
}
Chart.setVisible(true);
Table.setVisible(false);
Switch_to_Table_display.setVisible(true);
Switch_to_Chart_display.setVisible(false);
var selection = Table_1.getSelections()[0];
//get the state of the selection
var selectionLockState = Table_1.getPlanning().getDataLocking().getState(selection);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
12 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |