Beispiel #1
0
        public virtual void Acknowledge(TaskOrderDetail taskOrderDetail, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.User.SystemIdentity systemIdentity)
        {
            taskOrderDetail.Acknowledged           = true;
            taskOrderDetail.AcknowledgedById       = systemIdentity.User.UserId;
            taskOrderDetail.AcknowledgedDate       = DateTime.Now;
            taskOrderDetail.AcknowledgedByInitials = systemIdentity.User.Initials;

            this.Acknowledge(accessionOrder, systemIdentity);
        }
 public static TaskOrderDetail GetTaskOrderDetail(string taskOrderDetailId, string taskOrderId, string objectId, Task task)
 {
     TaskOrderDetail result = null;
     switch (task.TaskId)
     {
         case "FDXSHPMNT":
             result = new TaskOrderDetailFedexShipment(taskOrderDetailId, taskOrderId, objectId, task);
             break;
         default:
             result = new TaskOrderDetail(taskOrderDetailId, taskOrderId, objectId, task);
             break;
     }
     return result;
 }
 public static TaskOrderDetail GetTaskOrderDetail(string taskId)
 {
     TaskOrderDetail result = null;
     switch(taskId)
     {
         case "FDXSHPMNT":
             result = new TaskOrderDetailFedexShipment();
             break;
         default:
             result = new TaskOrderDetail();
             break;
     }
     return result;
 }
Beispiel #4
0
        public static TaskOrderDetail GetTaskOrderDetail(string taskOrderDetailId, string taskOrderId, string objectId, Task task, int clientId)
        {
            TaskOrderDetail result = null;

            switch (task.TaskId)
            {
            case "FDXSHPMNT":
                result = new TaskOrderDetailFedexShipment(taskOrderDetailId, taskOrderId, objectId, task, clientId);
                break;

            case "TSKFAX":
                result = new TaskOrderDetailFax(taskOrderDetailId, taskOrderId, objectId, task as TaskFax, clientId);
                break;

            default:
                result = new TaskOrderDetail(taskOrderDetailId, taskOrderId, objectId, task, clientId);
                break;
            }
            return(result);
        }
Beispiel #5
0
        public static TaskOrderDetail GetTaskOrderDetail(string taskId)
        {
            TaskOrderDetail result = null;

            switch (taskId)
            {
            case "FDXSHPMNT":
                result = new TaskOrderDetailFedexShipment();
                break;

            case "TSKFAX":
                result = new TaskOrderDetailFax();
                break;

            default:
                result = new TaskOrderDetail();
                break;
            }
            return(result);
        }
 public override void Acknowledge(TaskOrderDetail taskOrderDetail, Test.AccessionOrder accessionOrder, Business.User.SystemIdentity systemIdentity)
 {
     base.Acknowledge(taskOrderDetail, accessionOrder, systemIdentity);
 }
 public override void Acknowledge(TaskOrderDetail taskOrderDetail, Test.AccessionOrder accessionOrder, Business.User.SystemIdentity systemIdentity)
 {
     base.Acknowledge(taskOrderDetail, accessionOrder, systemIdentity);
 }
Beispiel #8
0
        public virtual void Acknowledge(TaskOrderDetail taskOrderDetail, YellowstonePathology.Business.Test.AccessionOrder accessionOrder, YellowstonePathology.Business.User.SystemIdentity systemIdentity)
        {
            taskOrderDetail.Acknowledged = true;
            taskOrderDetail.AcknowledgedById = systemIdentity.User.UserId;
            taskOrderDetail.AcknowledgedDate = DateTime.Now;
            taskOrderDetail.AcknowledgedByInitials = systemIdentity.User.Initials;

            this.Acknowledge(accessionOrder, systemIdentity);
        }