public ManhattanCaseDetail(AutomatedShippingNotification shippingNotification, AutomatedShippingNotificationItem item, string batchControlNumber, string companyNumber, string warehouseNumber)
        {
            BatchControlNumber    = batchControlNumber;
            CreateDate            = DateTime.Now;
            Company               = companyNumber;
            Division              = warehouseNumber;
            InventoryType         = "F";
            Function              = "2";
            Warehouse             = warehouseNumber;
            WarehouseTransferFlag = "N";
            StatusCode            = "00";

            CaseNumber          = item.ParentMuId;
            SeasonYear          = item.SeasonYear;
            Style               = item.Style;
            Color               = item.Color;
            SecDimension        = StringExtensions.ConvertToManhattanSize(item.Size).Truncate(3);
            ShipmentNumber      = shippingNotification.ExternalUid;
            ShippedAsnQuantity  = item.UnitsShipped;
            PurchaseOrderNumber = shippingNotification.CustomerPurchaseOrderReference;
        }
 public ManhattanReceivedProductHeader(AutomatedShippingNotification shippingNotification, string batchControlNumber, string warehouseNumber)
     : this(batchControlNumber, warehouseNumber)
 {
     AsnType        = "3";//1 for manual POs, 3 for inbound ASNs, 4 for returns
     ShipmentNumber = shippingNotification.ExternalUid;
 }