public void Update(int SubDeliveryID, int?DeliveryID, int?TitleID, string Title, int?Copies, int?CurrentStatusID, string Remarks, int?CopiesPerCarton, float?TotalConsignmentWeight, float?TotalConsignmentCube, decimal?CartonLength, decimal?CartonDepth, decimal?CartonHeight, int?TotalCartons, float?CartonWeight, float?LastCarton, int?Jackets, int?FullPallets, int?CartonsPerFullPallet, int?PartPallets, int?CartonsPerPartPallet, decimal?PencePerCopy, byte[] Ts) { DeliverySubSubTable item = new DeliverySubSubTable(); item.MarkOld(); item.IsLoaded = true; item.SubDeliveryID = SubDeliveryID; item.DeliveryID = DeliveryID; item.TitleID = TitleID; item.Title = Title; item.Copies = Copies; item.CurrentStatusID = CurrentStatusID; item.Remarks = Remarks; item.CopiesPerCarton = CopiesPerCarton; item.TotalConsignmentWeight = TotalConsignmentWeight; item.TotalConsignmentCube = TotalConsignmentCube; item.CartonLength = CartonLength; item.CartonDepth = CartonDepth; item.CartonHeight = CartonHeight; item.TotalCartons = TotalCartons; item.CartonWeight = CartonWeight; item.LastCarton = LastCarton; item.Jackets = Jackets; item.FullPallets = FullPallets; item.CartonsPerFullPallet = CartonsPerFullPallet; item.PartPallets = PartPallets; item.CartonsPerPartPallet = CartonsPerPartPallet; item.ActualPPC = PencePerCopy; item.Ts = Ts; item.Save(UserName); }
public bool Destroy(object SubDeliveryID) { return(DeliverySubSubTable.Destroy(SubDeliveryID) == 1); }
public void Insert(int?DeliveryID, int?TitleID, string Title, int?Copies, int?CurrentStatusID, string Remarks, int?CopiesPerCarton, float?TotalConsignmentWeight, float?TotalConsignmentCube, decimal?CartonLength, decimal?CartonDepth, decimal?CartonHeight, int?TotalCartons, float?CartonWeight, float?LastCarton, int?Jackets, int?FullPallets, int?CartonsPerFullPallet, int?PartPallets, int?CartonsPerPartPallet, decimal?ActualPPC, byte[] Ts, decimal?EstimatedPPC, decimal?BookLength, decimal?BookWidth, decimal?BookDepth, decimal?BookWeight) { DeliverySubSubTable item = new DeliverySubSubTable(); item.DeliveryID = DeliveryID; item.TitleID = TitleID; item.Title = Title; item.Copies = Copies; item.CurrentStatusID = CurrentStatusID; item.Remarks = Remarks; item.CopiesPerCarton = CopiesPerCarton; item.TotalConsignmentWeight = TotalConsignmentWeight; item.TotalConsignmentCube = TotalConsignmentCube; item.CartonLength = CartonLength; item.CartonDepth = CartonDepth; item.CartonHeight = CartonHeight; item.TotalCartons = TotalCartons; item.CartonWeight = CartonWeight; item.LastCarton = LastCarton; item.Jackets = Jackets; item.FullPallets = FullPallets; item.CartonsPerFullPallet = CartonsPerFullPallet; item.PartPallets = PartPallets; item.CartonsPerPartPallet = CartonsPerPartPallet; item.ActualPPC = ActualPPC; item.Ts = Ts; item.EstimatedPPC = EstimatedPPC; item.BookLength = BookLength; item.BookWidth = BookWidth; item.BookDepth = BookDepth; item.BookWeight = BookWeight; item.Save(UserName); }