public void UpdateQuantities()
        {
            var inv = new InventoryManagerClient();
            inv.processInventoryItem(new processInventoryItem
            {
                daysShelfLife = 0,
                daysShelfLifeSpecified = true,
                description1 = "",
                description2 = "",
                glClassCode = "",

            });
        }
        public void ProcessInventoryItem()
        {
            var im = new InventoryManagerClient();

            //Modify the item master
            var o= im.processInventoryItem(new processInventoryItem
            {
                daysShelfLife = 0,
                daysShelfLifeSpecified = true,
                description1 = "",
                description2 = "",
                glClassCode = "",
                itemDimensions = new inputItemDimensions
                {
                    unitOfMeasureCodePrimary = "",
                    unitOfMeasureCodeVolume = "",
                    unitOfMeasureCodeWeight = ""
                },
                item = new itemGroupSupplier
                {
                    itemCatalog = "",
                    itemFreeForm = "",
                    itemId = 0,
                    itemIdSpecified = true,
                    itemProduct = "",
                    itemSupplier = ""
                },
                lineTypeCode = "",
                lotProcessCode = "",
                lotStatusCode = "",
                processing = new inventoryItemProcessing
                {
                    actionTypeCode = "",
                    version = ""
                },
                serialNumberFlag = "",
                stockingTypeCode = "",
            });

            im.processInventoryItemV2(new processInventoryItemV2
            {
                daysShelfLife = 0,
                daysShelfLifeSpecified = true,
                description1 = "",
                description2 = "",
                glClassCode = "",
                isCountryOfOriginRequired = true,
                isCountryOfOriginRequiredSpecified = true,
                item = new itemGroupSupplier
                {
                    itemCatalog = "",
                    itemFreeForm = "",
                    itemId = 0,
                    itemIdSpecified = true,
                    itemProduct = "",
                    itemSupplier = ""
                },
                itemDimensions = new inputItemDimensions
                {
                    unitOfMeasureCodeVolume = "",
                    unitOfMeasureCodeWeight = "",
                    unitOfMeasureCodePrimary = ""
                },
                lineTypeCode = "",
                lotProcessCode = "",
                lotStatusCode = "",
                processing = new inventoryItemProcessing
                {
                    actionTypeCode = "",
                    version = ""
                },
                serialNumberFlag = "",
                stockingTypeCode = "",
            });
        }