Ejemplo n.º 1
0
        private void btnCustomerLOV_Click(object sender, EventArgs e)
        {
            NameValueCollection para1 = new NameValueCollection();

            _CompId = CurrentCompany.CompId;
            para1.Add("@i_CompId", CurrentCompany.CompId.ToString());


            frmCustomerLOV fLOV = new frmCustomerLOV(CurrentCompany.CompId, "usp_Customer_LOV_PaymentReturn", para1);

            fLOV.isFromCustomerPayment = true;
            fLOV.ShowDialog();
            txtCustomerName.Text = fLOV.CustomerName;

            IsCustomer = fLOV.IsCustomer;

            _CustomerID = fLOV.CustomerID;
            _AccountID  = fLOV.AccountID;
            if (_CustomerID > 0)
            {
                LoadSIList();
            }
            else
            {
                dgvCustomerPaymentDetail.DataSource = null;
            }
        }
Ejemplo n.º 2
0
        private void btnCustomerLOV_Click(object sender, EventArgs e)
        {
            frmCustomerLOV fLOV = new frmCustomerLOV("usp_Customer_Lov", null);

            fLOV.ShowDialog();
            txtCustomerName.Text = fLOV.CustomerName;
            _CustomerID          = fLOV.CustomerID;
            if (_CustomerID > 0)
            {
                LoadSIList();
            }
            else
            {
                dgvCustomerPaymentDetail.DataSource = null;
            }
        }
Ejemplo n.º 3
0
        private void btnLeadLOV_Click(object sender, EventArgs e)
        {
            NameValueCollection para1 = new NameValueCollection();

            _CompId = CurrentCompany.CompId;
            para1.Add("@i_CompId", CurrentCompany.CompId.ToString());

            frmCustomerLOV fLOV = new frmCustomerLOV(CurrentCompany.CompId, "usp_Customer_Lead_LOV", null);

            fLOV.Text = "List Of Customer";
            fLOV.ShowDialog();
            //txtLeadNo.Text = fLOV.CustomerCode;
            // txtLeaddate.Text = fLOV.LeadDate.ToShortDateString();
            txtCustomerName.Text  = fLOV.CustomerName;
            txtEmail.Text         = fLOV.Email;
            txtPhone.Text         = fLOV.Phone1;
            txtContactPerson.Text = fLOV.ContactPerson;
            txtAddress1.Text      = fLOV.Address;
            _AccountID            = fLOV.AccountID;

            //_LeadID = fLOV.CustomerID;
        }