void InitAUWorkflow() { if (_InitAUWorkflow) { return; } _InitAUWorkflow = true; var p = (PXPage)this.Page; if (p.DefaultDataSource == null) { return; } var graph = p.DefaultDataSource.DataGraph; if (PXGraph.ProxyIsActive) { return; } PXDynamicFormGenerator.CreateChildControls(graph, this.FormPreview); }
protected override void CreateChildControls() { base.CreateChildControls(); PXDynamicFormGenerator.CreateChildControls(ds.DataGraph, this.FormPreview); }