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

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

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

            BasarCom.ShowStati();
            return(_result);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 9
0
 public void SetPositionsAsReturned(BizPosition[] positions)
 {
     GParams.Instance.Position.SetPositionsAsReturned(positions);
     BasarCom.ShowStati();
 }