Example #1
0
        int IAssignDataLayer.VerifyItemReroute(int iRequestID, OpenItemStatus Status)
        {
            ObjectParameter returnCode = new ObjectParameter("ReturnCode", typeof(int));

            UloContext.spVerifyItemReroute(iRequestID, Convert.ToInt32(Status), returnCode);
            return(Convert.ToInt32(returnCode.Value));
        }
Example #2
0
        int IAssignDataLayer.RequestRerouteItem(int iOItemID, string sOrgCode, int iLineNum, int iReviewerUserID,
                                                string sResponsibleOrg, string sNewOrganization, string sNewOrgCode, int iNewReviewerUserID,
                                                string sComments, OpenItemStatus status)
        {
            ObjectParameter requestID = new ObjectParameter("RequestID", typeof(int));

            UloContext.spRequestRerouteItem(iOItemID, sOrgCode, iLineNum, iReviewerUserID, sResponsibleOrg,
                                            sNewOrganization, sNewOrgCode, iNewReviewerUserID, sComments, (int)status, requestID);
            return(Convert.ToInt32(requestID.Value));
        }
Example #3
0
        void AddStatus(string message, OpenItemStatus status)
        {
            rowCount++;
            if (rowCount > this.borderPanel1.Controls.Count)
            {
                int i = 0;
                while (i < this.borderPanel1.Controls.Count - 1)
                {
                    var osi  = (OpenStatusItem)this.borderPanel1.Controls[i];
                    var osi2 = (OpenStatusItem)this.borderPanel1.Controls[i + 1];
                    osi.MessageText = osi2.MessageText;
                    osi.ItemStatus  = osi2.ItemStatus;
                    i++;
                }
            }

            var last = (OpenStatusItem)this.borderPanel1.Controls[Math.Min(rowCount - 1, this.borderPanel1.Controls.Count - 1)];

            last.MessageText = message;
            last.ItemStatus  = status;
        }
Example #4
0
 /// <summary>
 /// 진행 메세지바 설정
 /// </summary>
 /// <param name="osiMsgBar04"></param>
 /// <param name="openItemStatus"></param>
 /// <param name="p"></param>
 private void SetMsgBar(OpenStatusItem osiMsgBar, OpenItemStatus openItemStatus, string strMsgBar)
 {
     osiMsgBar.MessageText = strMsgBar;
     osiMsgBar.ItemStatus  = openItemStatus;
     Application.DoEvents();
 }