[ExtensionOf(formstr(ProjWorkBreakdownStructureV2))] final class DT_PSAActivityEstimatesDK_Extension { [Control("ComboBox")] class ViewMode { public int selectionChange() { FormRealControl PSAActivityEstimates_ProjectValue; if (this.selection() == enum2Int(ProjWorkBreakdownStructureViewMode::Scheduling)) { boolean schedulingMode = ViewMode.selection() == enum2int(ProjWorkBreakdownStructureViewMode::Scheduling); PSAActivityEstimates_ProjectValue.allowEdit(schedulingMode); } else if (this.selection() == enum2Int(ProjWorkBreakdownStructureViewMode::CostEstimates)) { PSAActivityEstimates_ProjectValue.allowEdit(true); } return super(); } } }
[ExtensionOf(formcontrolstr(ProjWorkBreakdownStructureV2, ControlName))] final class DT_PSAActivityEstimatesDK_Extension { public int selectionChange() { int ret = next selectionChange(); FormRealControl PSAActivityEstimates_ProjectValue; if (this.selection() == enum2Int(ProjWorkBreakdownStructureViewMode::Scheduling)) { boolean schedulingMode = ViewMode.selection() == enum2int(ProjWorkBreakdownStructureViewMode::Scheduling); PSAActivityEstimates_ProjectValue.allowEdit(schedulingMode); } else if (this.selection() == enum2Int(ProjWorkBreakdownStructureViewMode::CostEstimates)) { PSAActivityEstimates_ProjectValue.allowEdit(true); } return ret; } } }
[ExtensionOf(formControlStr(ProjWorkBreakdownStructureV2,controlname ))]
[ExtensionOf(formStr(ProjWorkBreakdownStructureV2))] internal final class DT_PSAActivityEstimatesDK_Extension { /// <summary> /// Updates the control visibility and editability. /// </summary> protected void updateControls() { next updateControls(); PSAActivityEstimates_ds.object(fieldNum(PSAActivityEstimates, ProjectValue)) .allowEdit(ViewMode.selection() == ProjWorkBreakdownStructureViewMode::CostEstimates); } }
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 683 Most Valuable Professional
André Arnaud de Cal... 563 Super User 2025 Season 2
Sohaib Cheema 398 User Group Leader