예제 #1
0
        public void Insert(int DespatchNoteId, string BuyersOrderNumber, string PrintersJobNumber, string PublishipRef, string Isbn, string Title, string Impression, int?TotalQty, int?FullPallets, int?UnitsFull, int?PartPallets, int?UnitsPart, int?ParcelCount, int?UnitsPerParcel, int?ParcelsPerLayer, int?OddsCount, decimal?Height, decimal?Width, decimal?Depth, decimal?UnitNetWeight, decimal?ParcelHeight, decimal?ParcelWidth, decimal?ParcelDepth, decimal?ParcelUnitgrossweight, byte[] DespatchItemTs)
        {
            DespatchNoteItem item = new DespatchNoteItem();

            item.DespatchNoteId = DespatchNoteId;

            item.BuyersOrderNumber = BuyersOrderNumber;

            item.PrintersJobNumber = PrintersJobNumber;

            item.PublishipRef = PublishipRef;

            item.Isbn = Isbn;

            item.Title = Title;

            item.Impression = Impression;

            item.TotalQty = TotalQty;

            item.FullPallets = FullPallets;

            item.UnitsFull = UnitsFull;

            item.PartPallets = PartPallets;

            item.UnitsPart = UnitsPart;

            item.ParcelCount = ParcelCount;

            item.UnitsPerParcel = UnitsPerParcel;

            item.ParcelsPerLayer = ParcelsPerLayer;

            item.OddsCount = OddsCount;

            item.Height = Height;

            item.Width = Width;

            item.Depth = Depth;

            item.UnitNetWeight = UnitNetWeight;

            item.ParcelHeight = ParcelHeight;

            item.ParcelWidth = ParcelWidth;

            item.ParcelDepth = ParcelDepth;

            item.ParcelUnitgrossweight = ParcelUnitgrossweight;

            item.DespatchItemTs = DespatchItemTs;


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