Exemplo n.º 1
0
        //ViewRO - input dptID, get place id - Web Clerk - USE ABOVE METHOD.
        public void ViewROSpecialRequestUpdateRODTable(WCF_CollectionItem ci)
        {
            List <CollectionListItem> clList = new List <CollectionListItem>();

            clList.Add(new CollectionListItem(ci.ItemNumber.Trim(), ci.Description.Trim(), ci.UnitOfMeasurement.Trim(), ci.QuantityOrdered, ci.CurrentInventoryQty, ci.CollectedQty));
            string roid = ci.RequisitionId.Trim();

            BusinessLogic.ViewROSpecialRequestUpdateRODTable(clList, roid);
        }
Exemplo n.º 2
0
        //CollectionList - Takes collectionItem obj with qty to reduce from inventory - Web Clerk
        public void DeductFromInventory(WCF_CollectionItem ci)
        {
            string token = ci.Token.Trim();

            if (AuthenticateToken(token))
            {
                List <CollectionListItem> allDptCollectionList = new List <CollectionListItem>();
                allDptCollectionList.Add(new CollectionListItem(ci.ItemNumber.Trim(), ci.Description.Trim(), ci.UnitOfMeasurement.Trim(), ci.QuantityOrdered, ci.CurrentInventoryQty, ci.CollectedQty));

                BusinessLogic.DeductFromInventory(allDptCollectionList);
            }
        }