Ejemplo n.º 1
0
        protected void btnInitiateApprovalProcess_Click(object sender, EventArgs e)
        {
            #region Save Initailly

            UpdateAllINVTransferItemEntity();

            #endregion

            #region Approval Process

            Boolean apResult = APRobot.CreateApprovalProcessForNewTRF(INVTransferID);

            if (apResult == true)
            {
                MiscUtil.ShowMessage(lblMessage, "Approval Process Submited successfully.", UIConstants.MessageType.GREEN);
            }
            else
            {
                MiscUtil.ShowMessage(lblMessage, "Failed to Submit Approval Process.", UIConstants.MessageType.RED);
            }

            EnableDisableApprovalProcessCheck();

            #endregion
        }