예제 #1
0
        public void Update(int DeliveryNoteID, int?DeliveryPointID, int?Publisher, string BookingReference, int?HaulierID, string RegNumber, DateTime?BookingDate, string BookingTime, int?TotalPackages, int?TotalWeight, decimal?TotalCube, string SignedFor, string Notes, int?UKZone, int?PalletSpec, byte[] Ts)
        {
            DeliveryNoteTable item = new DeliveryNoteTable();

            item.MarkOld();
            item.IsLoaded = true;

            item.DeliveryNoteID = DeliveryNoteID;

            item.DeliveryPointID = DeliveryPointID;

            item.Publisher = Publisher;

            item.BookingReference = BookingReference;

            item.HaulierID = HaulierID;

            item.RegNumber = RegNumber;

            item.BookingDate = BookingDate;

            item.BookingTime = BookingTime;

            item.TotalPackages = TotalPackages;

            item.TotalWeight = TotalWeight;

            item.TotalCube = TotalCube;

            item.SignedFor = SignedFor;

            item.Notes = Notes;

            item.UKZone = UKZone;

            item.PalletSpec = PalletSpec;

            item.Ts = Ts;

            item.Save(UserName);
        }
예제 #2
0
 public bool Destroy(object DeliveryNoteID)
 {
     return(DeliveryNoteTable.Destroy(DeliveryNoteID) == 1);
 }
예제 #3
0
 public bool Delete(object DeliveryNoteID)
 {
     return(DeliveryNoteTable.Delete(DeliveryNoteID) == 1);
 }