Exemple #1
0
        public void Update(int SalesPersonID, DateTime QuotaDate, decimal SalesQuota, Guid Rowguid, DateTime ModifiedDate)
        {
            SalesPersonQuotaHistory item = new SalesPersonQuotaHistory();

            item.SalesPersonID = SalesPersonID;

            item.QuotaDate = QuotaDate;

            item.SalesQuota = SalesQuota;

            item.Rowguid = Rowguid;

            item.ModifiedDate = ModifiedDate;

            item.MarkOld();
            item.Save(UserName);
        }
Exemple #2
0
 public bool Destroy(object SalesPersonID)
 {
     return(SalesPersonQuotaHistory.Destroy(SalesPersonID) == 1);
 }