Esempio n. 1
0
        protected override void ShowData(int taskXDeliverableArtifactId)
        {
            base.ShowData(taskXDeliverableArtifactId);

            oDetailButtonPanel.SetId = SetId;

            Clear();

            var dataQuery = new TaskXDeliverableArtifactDataModel();

            dataQuery.TaskXDeliverableArtifactId = taskXDeliverableArtifactId;

            var entityList = TaskXDeliverableArtifactDataManager.GetEntityDetails(dataQuery, SessionVariables.RequestProfile);

            if (entityList.Count == 1)
            {
                foreach (var entityItem in entityList)
                {
                    lblTaskXDeliverableArtifactId.Text = entityItem.TaskXDeliverableArtifactId.ToString();
                    lblTask.Text = entityItem.Task.ToString();
                    lblDeliverableArtifacts.Text      = entityItem.DeliverableArtifact.ToString();
                    lblDeliverableArtifactStatus.Text = entityItem.DeliverableArtifactStatus.ToString();

                    oUpdateInfo.LoadText(entityItem.UpdatedDate, entityItem.UpdatedBy, entityItem.LastAction);

                    oHistoryList.Setup((int)SystemEntity.TaskXDeliverableArtifact, taskXDeliverableArtifactId, "TaskXDeliverableArtifact");
                }
            }
        }