示例#1
0
        public BizPosition[] GetNotSoldNotReturnedPositions(Guid supplierId)
        {
            var _result = GParams.Instance.Position.GetNotSoldNotReturnedPositions(supplierId);

            BasarCom.ShowStati();
            return(_result);
        }
示例#2
0
        public PositionReturnedResult PositionReturn(Guid supplierId)
        {
            var _result = GParams.Instance.Position.PositionReturn(supplierId);

            BasarCom.ShowStati();
            return(_result);
        }
示例#3
0
        public PositionSellResult PositionSell(BizPosition[] position)
        {
            var _result = GParams.Instance.Position.PositionSell(position);

            BasarCom.ShowStati();
            return(_result);
        }
示例#4
0
        public bool PositionRemove(int positionNo)
        {
            if (!BasarCom.CheckComCounter())
            {
                throw new Exception("Maximale Anzahl der Aufrufe erreicht!");
            }

            var _result = GParams.Instance.Position.PositionRemove(positionNo);

            BasarCom.ShowStati();
            return(_result);
        }
示例#5
0
        public bool PositionUpdate(BizPosition supplierPosition)
        {
            if (!BasarCom.CheckComCounter())
            {
                throw new Exception("Maximale Anzahl der Aufrufe erreicht!");
            }

            var _result = GParams.Instance.Position.PositionUpdate(supplierPosition);

            BasarCom.ShowStati();
            return(_result);
        }
示例#6
0
        public bool SupplierRemove(Guid supplierId)
        {
            if (!BasarCom.CheckComCounter())
            {
                throw new Exception("Maximale Anzahl der Aufrufe erreicht!");
            }

            var _result = GParams.Instance.Supplier.SupplierRemove(supplierId);

            BasarCom.ShowStati();
            return(_result);
        }
示例#7
0
        public Guid?SupplierCreate(BizSupplierer supplier)
        {
            if (!BasarCom.CheckComCounter())
            {
                throw new Exception("Maximale Anzahl der Aufrufe erreicht!");
            }

            var _result = GParams.Instance.Supplier.SupplierCreate(supplier);

            BasarCom.ShowStati();
            return(_result);
        }
示例#8
0
        public bool SetSupplierToReturned(Guid?supplierId, bool isReturned)
        {
            if (!BasarCom.CheckComCounter())
            {
                throw new Exception("Maximale Anzahl der Aufrufe erreicht!");
            }

            DateTime?_timeToSet = null;

            if (isReturned)
            {
                _timeToSet = DateTime.Now;
            }

            var _result = GParams.Instance.Supplier.SetSupplierToReturned(supplierId, _timeToSet);

            BasarCom.ShowStati();
            return(_result);
        }
示例#9
0
 public void SetPositionsAsReturned(BizPosition[] positions)
 {
     GParams.Instance.Position.SetPositionsAsReturned(positions);
     BasarCom.ShowStati();
 }