Esempio n. 1
0
        private void btn_force_match_Click(object sender, EventArgs e)
        {
            string         acct_scan_num = txt_scan_acct_num.Text;
            string         acct_icbs_num = txt_icbs_acct_num.Text;
            int            scan_id       = get_id(acct_scan_num, "scanned_trans");
            int            icbs_id       = get_id(acct_icbs_num, "icbs_trans");
            Unmatched_View uv            = new Unmatched_View();

            uv.Hide();
            scanned_force_match(icbs_id);
            icbs_force_match(scan_id);
            MessageBox.Show("Force Match Successful", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);
            uv.Unmatched_Icbs_Records.Update();
            uv.Show();
            this.Hide();
        }
Esempio n. 2
0
        private void btn_force_match_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrWhiteSpace(txt_remarks.Text))
            {
                DialogResult dialogResult = MessageBox.Show("Please Enter Reason for Force Matching", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
            else
            {
                //get id first, this is use in force match method
                int scan_id = get_id(txt_scan_acct_num.Text, "scanned_trans");
                int icbs_id = get_id(txt_icbs_acct_num.Text, "icbs_trans");

                //Force matching method
                force_match("icbs_trans", txt_icbs_acct_num.Text, txt_remarks.Text, scan_id);
                force_match("scanned_trans", txt_scan_acct_num.Text, txt_remarks.Text, icbs_id);

                MessageBox.Show("Force Match Successful", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information);

                Unmatched_View uv = new Unmatched_View();
                uv.Show();
                this.Close();
            }
        }
Esempio n. 3
0
        private void unmatchedToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Unmatched_View uv = new Unmatched_View();

            uv.Show();
        }