Ejemplo n.º 1
0
        private void BindList()
        {
            Int64 employeeID = 0;

            String fe = SqlExpressionBuilder.PrepareFilterExpression(HREmployeeEntity.FLD_NAME_MemberID, this.CurrentMember.MemberID.ToString(), SQLMatchType.Equal);
            IList <HREmployeeEntity> lstEmployee = FCCHREmployee.GetFacadeCreate().GetIL(null, null, String.Empty, fe, DatabaseOperationType.LoadWithFilterExpression);

            if (lstEmployee != null && lstEmployee.Count > 0)
            {
                employeeID = lstEmployee[0].EmployeeID;
            }

            //if (PageAPType == 0)
            //{
            //    lvAPMemberFeedback.DataSource = APRobot.GetApprovalRequests_DetailedByMember(employeeID);
            //}
            //else if(PageAPType == MasterDataConstants.APFeedback.FEEDBACK_REQUESTED)
            //{
            //    lvAPMemberFeedback.DataSource = APRobot.GetAllApprovalRequests_DetailedToMemberFeedback(employeeID);
            //}
            //else
            //{
            //    lvAPMemberFeedback.DataSource = APRobot.GetApprovalRequests_DetailedByMemberAndStatus(employeeID, PageAPType);
            //}

            lvAPMemberFeedback.DataSource = APRobot.GetApprovalRequests_DetailedByProxyMember(employeeID);

            lvAPMemberFeedback.DataBind();
        }
Ejemplo n.º 2
0
    public static void pendingList()
    {
        Int64 EmployeeID = 214;

        var forwardedList = APRobot.GetAPForwardInfo_DetailedByEmployee(EmployeeID);

        var ProxyList = APRobot.GetApprovalRequests_DetailedByProxyMember(EmployeeID);

        var PendingList = APRobot.GetAllApprovalRequests_DetailedToMemberFeedback(EmployeeID);
    }