Beispiel #1
0
        private void InsertDebitPayment(Data.Payment pvtclsPayment, long pvtlngTransactionID, string pvtstrTransactionNo, decimal pvtdecAmount, string pvtstrRemarks)
        {
            Data.DebitPaymentDetails Details = new Data.DebitPaymentDetails();
            Details.TransactionID   = pvtlngTransactionID;
            Details.TransactionNo   = pvtstrTransactionNo;
            Details.Amount          = pvtdecAmount;
            Details.CustomerDetails = mclsCustomerDetails;
            Details.Remarks         = pvtstrRemarks;

            pvtclsPayment.InsertDebitPayment(Details);
            pvtclsPayment.UpdateDebit(mclsCustomerDetails.ContactID, pvtlngTransactionID, pvtstrTransactionNo, pvtdecAmount, pvtstrRemarks);
        }
Beispiel #2
0
        private void InsertDebitPayment(Data.Payment clsPayment, Int64 intTransactionID, string strTransactionNo, decimal decAmount, string strRemarks)
        {
            Data.DebitPaymentDetails Details = new Data.DebitPaymentDetails();
            Details.TransactionID   = intTransactionID;
            Details.TransactionNo   = strTransactionNo;
            Details.Amount          = decAmount;
            Details.CustomerDetails = mclsCustomerDetails;
            Details.Remarks         = strRemarks;

            clsPayment.InsertDebitPayment(Details);
            clsPayment.UpdateDebit(mclsCustomerDetails.ContactID, intTransactionID, strTransactionNo, decAmount, strRemarks);
        }