Exemple #1
0
        protected void btnGeneratePayment_Click(object sender, EventArgs e)
        {
            CommonBL commonBl = new CommonBL();

            commonBl.GeneratePayments(out errorId);
            commonBl = null;
            if (errorId == 0)
            {
                msgView.SetMessage("Job to generate payments is scheduled. ", MessageType.Warning, PositionType.Auto);
            }
            else if (errorId == 2)
            {
                msgView.SetMessage("Error in triggering payment generation job.", MessageType.Warning, PositionType.Auto);
            }
        }