当前位置: 首页>>代码示例>>C#>>正文


C# Data.UpdateCredit方法代码示例

本文整理汇总了C#中Data.UpdateCredit方法的典型用法代码示例。如果您正苦于以下问题:C# Data.UpdateCredit方法的具体用法?C# Data.UpdateCredit怎么用?C# Data.UpdateCredit使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Data的用法示例。


在下文中一共展示了Data.UpdateCredit方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: InsertCreditCardPayment

		private void InsertCreditCardPayment(Data.Payment pvtclsPayment, long pvtlngTransactionID, string pvtstrTransactionNo,  decimal pvtdecAmount, Int16 pvtintCardTypeID, string pvtstrCardNo, string pvtstrCardHolder, string pvtstrValidityDates, string pvtstrRemarks)
		{
			Data.CardType clsCardType = new Data.CardType(pvtclsPayment.Connection, pvtclsPayment.Transaction);
			Data.CardTypeDetails clsCardTypeDetails = clsCardType.Details(pvtintCardTypeID);

			Data.CreditCardPaymentDetails Details = new Data.CreditCardPaymentDetails();
			Details.TransactionID = pvtlngTransactionID;
			Details.TransactionNo = pvtstrTransactionNo;
			Details.Amount = pvtdecAmount;
			Details.CardTypeID = pvtintCardTypeID;
			Details.CardNo = pvtstrCardNo;
			Details.CardTypeCode = clsCardTypeDetails.CardTypeCode;
			Details.CardTypeName = clsCardTypeDetails.CardTypeName;
			Details.CardHolder = pvtstrCardHolder;
			Details.ValidityDates = pvtstrValidityDates;
			Details.Remarks = pvtstrRemarks;

			pvtclsPayment.InsertCreditCardPayment(Details);
			pvtclsPayment.UpdateCredit(mclsCustomerDetails.ContactID, pvtlngTransactionID, pvtstrTransactionNo, pvtdecAmount, pvtstrRemarks);
		}
开发者ID:marioricci,项目名称:erp-luma,代码行数:20,代码来源:CreditsWnd.cs

示例2: InsertCreditCardPayment

		private void InsertCreditCardPayment(Data.Payment clsPayment, Int64 intTransactionID, string strTransactionNo,  decimal decAmount, Int16 intCardTypeID, string strCardNo, string strCardHolder, string strValidityDates, string strRemarks)
		{
			Data.CardType clsCardType = new Data.CardType(clsPayment.Connection, clsPayment.Transaction);
			Data.CardTypeDetails clsCardTypeDetails = clsCardType.Details(intCardTypeID);

			Data.CreditCardPaymentDetails Details = new Data.CreditCardPaymentDetails();
            Details.BranchDetails = mclsTerminalDetails.BranchDetails;
            Details.TerminalNo = mclsTerminalDetails.TerminalNo;
			Details.TransactionID = intTransactionID;
			Details.TransactionNo = strTransactionNo;
			Details.Amount = decAmount;
			Details.CardTypeID = intCardTypeID;
			Details.CardNo = strCardNo;
			Details.CardTypeCode = clsCardTypeDetails.CardTypeCode;
			Details.CardTypeName = clsCardTypeDetails.CardTypeName;
			Details.CardHolder = strCardHolder;
			Details.ValidityDates = strValidityDates;
			Details.Remarks = strRemarks;

            new Data.CreditCardPayments(clsPayment.Connection, clsPayment.Transaction).Insert(Details);
			clsPayment.UpdateCredit(mclsCustomerDetails.ContactID, intTransactionID, strTransactionNo, decAmount, strRemarks);
		}
开发者ID:marioricci,项目名称:erp-luma,代码行数:22,代码来源:CreditsItemizeWnd.cs

示例3: InsertChequePayment

		private void InsertChequePayment(Data.Payment pvtclsPayment, long pvtlngTransactionID, string pvtstrTransactionNo, string pvtstrChequeNo, decimal pvtdecAmount, DateTime pvtdteValidityDate, string pvtstrRemarks)
		{
			Data.ChequePaymentDetails Details = new Data.ChequePaymentDetails();
			Details.TransactionID = pvtlngTransactionID;
			Details.TransactionNo = pvtstrTransactionNo;
			Details.ChequeNo = pvtstrChequeNo;
			Details.Amount = pvtdecAmount;
			Details.ValidityDate = pvtdteValidityDate;
			Details.Remarks = pvtstrRemarks;

			pvtclsPayment.InsertChequePayment(Details);
			pvtclsPayment.UpdateCredit(mclsCustomerDetails.ContactID, pvtlngTransactionID, pvtstrTransactionNo, pvtdecAmount, pvtstrRemarks);
		}
开发者ID:marioricci,项目名称:erp-luma,代码行数:13,代码来源:CreditsWnd.cs

示例4: InsertChequePayment

		private void InsertChequePayment(Data.Payment clsPayment, Int64 intTransactionID, string strTransactionNo, string strChequeNo, decimal decAmount, DateTime dteValidityDate, string strRemarks)
		{
			Data.ChequePaymentDetails Details = new Data.ChequePaymentDetails();
            Details.BranchDetails = mclsTerminalDetails.BranchDetails;
            Details.TerminalNo = mclsTerminalDetails.TerminalNo;
			Details.TransactionID = intTransactionID;
			Details.TransactionNo = strTransactionNo;
			Details.ChequeNo = strChequeNo;
			Details.Amount = decAmount;
			Details.ValidityDate = dteValidityDate;
			Details.Remarks = strRemarks;

            new Data.ChequePayments(clsPayment.Connection, clsPayment.Transaction).Insert(Details);
			clsPayment.UpdateCredit(mclsCustomerDetails.ContactID, intTransactionID, strTransactionNo, decAmount, strRemarks);
		}
开发者ID:marioricci,项目名称:erp-luma,代码行数:15,代码来源:CreditsItemizeWnd.cs


注:本文中的Data.UpdateCredit方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。