Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
 public ManhattanProduct(Product product, string batchControlNumber, string companyNumber, string divisionNumber)
 {
     BatchControlNumber = batchControlNumber;
     CreateDate         = DateTime.Now;
     Company            = companyNumber;
     Division           = divisionNumber;
     SeasonYear         = product.MasterStyleSeason;
     Style                   = product.Style.Truncate(8);
     Color                   = product.Attribute;
     SecDimension            = StringExtensions.ConvertToManhattanSize(product.Size).Truncate(3);
     ProductSubgroup         = product.BrandCode;
     ProductType             = SeasonYear;
     StyleDescription        = product.Description;
     PackageBarcode          = product.Sku;
     Price                   = product.StandardCost;
     BoxQuantity             = 1;
     LenWidthSensitive       = "N";
     UnitWeight              = 0;
     UnitVolume              = 0;
     StandardCaseWeight      = 0;
     StandardCaseVolume      = 0;
     ForeignTradeZone        = "N";
     MultipleCountryofOrigin = "N";
     CriticalDimension1      = 0;
     CriticalDimension2      = 0;
     CriticalDimension3      = 0;
     TrackBatchNumber        = "Y";
     TrackCountryofOrigin    = "N";
     Function                = "2";
     Producer                = "N";
     NetCostValidation       = "N";
     FtsrExceptionNumber     = "N";
     CommodityCode           = product.Gender + product.Category;
     LotControlUsed          = "N";
     VendorTaggedEpc         = "0";
     ProductType             = "F";
     PickDeterminationType   = "POP";
     SkuProfileId            = product.Category.ToUpperInvariant();
     SlotMisc1               = SkuProfileId;
 }