Exemple #1
0
        /**********************************************************************************************
         * Mehtod   명 : GetDocumentTransitionStatusListGuid
         * 개   발  자 : 양영석
         * 생   성  일 : 2014-02-25
         * 용       도 : DocumentTransitionStatus 목록을 조회함.
         * Input    값 : GetDocumentTransitionStatusListGuid(사용자Guid, 시작일, 종료일, 결재여부(N-Pending, Y-Accept Or Denial))
         * Ouput    값 : SigmaResultType
         **********************************************************************************************/
        /// <summary>
        /// GetDocumentTransitionStatusListGuid : DocumentTransitionStatus 목록을 조회함.
        /// </summary>
        /// <param name="UserGuid">사용자Guid</param>
        /// <param name="StartDt">시작일</param>
        /// <param name="EndDt">종료일</param>
        /// <param name="IsProcessStatus">결재여부(N-Pending, Y-Accept Or Denial)</param>
        /// <returns>SigmaResultType</returns>
        public SigmaResultType GetDocumentTransitionStatusListGuid(Guid UserGuid, string StartDt, string EndDt, string IsProcessStatus)
        {
            SigmaResultType result = new SigmaResultType();

            try
            {
                WorkflowMgr workflowMgr = new WorkflowMgr();

                result = workflowMgr.GetDocumentTransitionStatusListGuid(UserGuid, StartDt, EndDt, IsProcessStatus);
                return result;
            }
            catch (Exception ex)
            {
                // Log Exception
                ExceptionHelper.logException(ex);
                result.IsSuccessful = false;
                result.ErrorMessage = ex.Message;
                return result;
            }
        }