Exemplo n.º 1
0
        public AuthResult[] newAdjustment(AdjustmentItemWCF[] listi)
        {
            MakeAdjustmentVoucherController.makeNewAdjustmentVoucher(listi);

            AuthResult ar = new AuthResult();

            ar.SuccessResult = true;

            List <AuthResult> list = new List <AuthResult>();

            list.Add(ar);

            return(list.ToArray <AuthResult>());
        }
Exemplo n.º 2
0
        private static void raiseNewAdjustmentVoucher(ConsolidatedRequisitionListDetail item, int quantity)
        {
            MakeAdjustmentItem adjustmentItem = new MakeAdjustmentItem();

            adjustmentItem.Comment    = "Damaged";
            adjustmentItem.ItemNumber = item.ItemNumber;
            adjustmentItem.Quantity   = quantity;
            adjustmentItem.Status     = AdjustmentVoucherEFFacade.STATUS_DECREASE;

            List <MakeAdjustmentItem> list = new List <MakeAdjustmentItem>();

            list.Add(adjustmentItem);

            MakeAdjustmentVoucherController.makeNewAdjustmentVoucher(list);
        }