Ignore:
Timestamp:
Dec 12, 2010, 2:44:49 AM (14 years ago)
Author:
Sam Habiel
Message:

Release build for Scheduling v 1.42 for .net 3.5.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/DAL.cs

    r850 r1039  
    117117        }
    118118
     119        /// <summary>
     120        /// Delete All Slots for a Resource
     121        /// </summary>
     122        /// <param name="sResourceID"></param>
     123        /// <param name="BeginDate"></param>
     124        /// <param name="EndDate"></param>
     125        /// <returns></returns>
     126        public DataTable MassSlotDelete(string sResourceID, DateTime BeginDate, DateTime EndDate)
     127        {
     128            string sBegin = FMDateTime.Create(BeginDate).DateOnly.FMDateString;
     129            string sEnd = FMDateTime.Create(EndDate).DateOnly.FMDateString;
     130            string cmd = String.Format("BSDX CANCEL AV BY DATE^{0}^{1}^{2}", sResourceID, sBegin, sEnd);
     131            return RPMSDataTable(cmd, "Cancelled");
     132        }
    119133
    120134        /// <summary>
Note: See TracChangeset for help on using the changeset viewer.