public ManhattanReceivedProductHeader(PurchaseReturn purchaseOrder, string batchControlNumber, string warehouseNumber)
     : this(batchControlNumber, warehouseNumber)
 {
     AsnType                  = "4";//1 for manual POs, 3 for inbound ASNs, 4 for returns
     ShipmentNumber           = purchaseOrder.OrderNumber;
     MiscellaneousAlphaField3 = "NBUS";
     MiscellaneousAlphaField4 = "CDS";
 }
예제 #2
0
 public ManhattanSkuDetail(PurchaseReturn purchaseReturn, PurchaseReturnLineItem item, string batchControlNumber, string companyNumber, string warehouseNumber)
 {
     BatchControlNumber = batchControlNumber;
     CreateDate         = DateTime.Now;
     AsnType            = AutomatedShippingNotificationType.PurchaseReturn;
     ShipmentNumber     = purchaseReturn.OrderNumber;
     Company            = companyNumber;
     Division           = warehouseNumber;
     SeasonYear         = item.StyleYear;
     Style         = item.Style;
     Color         = item.ProductAttribute;
     SecDimension  = item.ProductSize.ConvertToManhattanSize().Truncate(3);
     InventoryType = "F";
     UnitsShipped  = item.TotalQuantity;
 }