예제 #1
0
        public void m_InvoicesSearchList(DataGridView vr_InvoicesList2, DateTime vrInvoiceDate1, DateTime vrInvoiceDate2, string vrInvoiceNo, string vrCustomerID, string vrCustomerName, int vrCurrentReceiptNo, int vrAccountingReceiptNo)
        {
            StockTrackingDataContext = new L_StockTrackingERPDataContext();
            var InvoicesDetailsList_Query2 = StockTrackingDataContext.p_InvoicesSearchList(vrInvoiceDate1, vrInvoiceDate2, vrInvoiceNo, vrCustomerID, vrCustomerName, vrCurrentReceiptNo, vrAccountingReceiptNo);

            vr_InvoicesList2.DataSource             = InvoicesDetailsList_Query2;
            vr_InvoicesList2.Columns[0].HeaderText  = "Fatura No";
            vr_InvoicesList2.Columns[1].HeaderText  = "Fatura Tarihi";
            vr_InvoicesList2.Columns[2].HeaderText  = "Müşteri Kodu";
            vr_InvoicesList2.Columns[3].HeaderText  = "Müşteri Adı";
            vr_InvoicesList2.Columns[4].HeaderText  = "Toplam Tutar";
            vr_InvoicesList2.Columns[5].HeaderText  = "Fatura Döviz";
            vr_InvoicesList2.Columns[6].HeaderText  = "Kdv'siz Tutar";
            vr_InvoicesList2.Columns[7].HeaderText  = "Kdv'li Tutar";
            vr_InvoicesList2.Columns[8].HeaderText  = "İndirim Tutarı";
            vr_InvoicesList2.Columns[9].HeaderText  = "TL Tutar";
            vr_InvoicesList2.Columns[10].HeaderText = "Ödeme Günü";
            vr_InvoicesList2.Columns[11].HeaderText = "Ödeme Tarihi";
            vr_InvoicesList2.Columns[12].HeaderText = "Cari Fiş No";
            vr_InvoicesList2.Columns[13].HeaderText = "Muhasebe Fiş No";
        }