public void Update(int PaymentsKey,int QuoteKey,int? QuoteKeyActual,int PaymentStatus,DateTime DateCreated,int? RequestorUserKey,long? PaymentObjectSender,long? PaymentObjectReceiver,string PaymentDescription,int? TreasuryType) { Payment item = new Payment(); item.MarkOld(); item.IsLoaded = true; item.PaymentsKey = PaymentsKey; item.QuoteKey = QuoteKey; item.QuoteKeyActual = QuoteKeyActual; item.PaymentStatus = PaymentStatus; item.DateCreated = DateCreated; item.RequestorUserKey = RequestorUserKey; item.PaymentObjectSender = PaymentObjectSender; item.PaymentObjectReceiver = PaymentObjectReceiver; item.PaymentDescription = PaymentDescription; item.TreasuryType = TreasuryType; item.Save(UserName); }
public void Update(int Id,string PaymentCode,DateTime PaymentDate,int? PaymentMemberID,int? PaymentCompanyID,string PaymentEmail,decimal PaymentSum,string PaymentMemo,int PaymentStatus,int? PaymentType,int? PaymentOrderID,int? CreatedBy,DateTime? CreatedOn,int? ModifiedBy,DateTime? ModifiedOn) { Payment item = new Payment(); item.MarkOld(); item.IsLoaded = true; item.Id = Id; item.PaymentCode = PaymentCode; item.PaymentDate = PaymentDate; item.PaymentMemberID = PaymentMemberID; item.PaymentCompanyID = PaymentCompanyID; item.PaymentEmail = PaymentEmail; item.PaymentSum = PaymentSum; item.PaymentMemo = PaymentMemo; item.PaymentStatus = PaymentStatus; item.PaymentType = PaymentType; item.PaymentOrderID = PaymentOrderID; item.CreatedBy = CreatedBy; item.CreatedOn = CreatedOn; item.ModifiedBy = ModifiedBy; item.ModifiedOn = ModifiedOn; item.Save(UserName); }