2019-02-27 15:42
rasitaelz
Sveiki, gal kas susidūrėte darant inventorizaciją vienam sandėliui meta (prekių sandėlyje yra daug): Klaida. Nepakanka prekių likučio sandėlyje. Prašau padėkite, ką ne taip darau, nes jau nebežinau kur beieškoti klaidos.
Klaidos duomenys:
Klaidos tekstas:
Exception has been thrown by the target of an invocation.
Klaidos šaltinis(Ex.Source):
mscorlib
Klaidos metodas (Ex.TargetSite):
_InvokeMethodFast
Klaidos stekas:
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at AccControlsWinForms.MethodInvoker`1.Invoke(T instance, String methodName, Object[] methodParams)
at AccControlsWinForms.CommonMethods.InvokeMethod[T](T instance, String methodName, Object[] params)
at AccDataBindingsWinForms.CslaActionExtenderQueryObject.InvokeQuery[T](T instance, String methodName, Boolean allowCancel, QueryObjectFetched callBackDelegate, Object[] params)
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tekstas:
DataPortal.Create failed (System.Exception: Klaida. Nepakanka prekių likučio sandėlyje.
at ApskaitaObjects.Goods.ConsignmentPersistenceObjectList.Fetch(ConsignmentPersistenceObjectList availableConsignments, Double amountRequired)
at ApskaitaObjects.Goods.ConsignmentPersistenceObjectList..ctor(ConsignmentPersistenceObjectList availableConsignments, Double amountRequired)
at ApskaitaObjects.Goods.GoodsInventorizationItem.CalculateValues(Dictionary`2 consignmentDictionary)
at ApskaitaObjects.Goods.GoodsInventorizationItem.Create(DataRow dr, Dictionary`2 consignmentDictionary, DataTable limitationsDataSource, DateTime operationDate, Int32 operationWarehouseID)
at ApskaitaObjects.Goods.GoodsInventorizationItem..ctor(DataRow dr, Dictionary`2 consignmentDictionary, DataTable limitationsDataSource, DateTime operationDate, Int32 operationWarehouseID, Boolean createNew)
at ApskaitaObjects.Goods.GoodsInventorizationItemList.Fetch(DataTable myData, Dictionary`2 consignmentDictionary, DataTable limitationsDataSource, DateTime operationDate, Int32 operationWarehouseID, Boolean createNew)
at ApskaitaObjects.Goods.GoodsComplexOperationInventorization.DataPortal_Create(Criteria criteria))
Klaidos šaltinis(Ex.Source):
Csla
Klaidos metodas (Ex.TargetSite):
Create
Klaidos stekas:
at ApskaitaObjects.Goods.ConsignmentPersistenceObjectList.Fetch(ConsignmentPersistenceObjectList availableConsignments, Double amountRequired)
at ApskaitaObjects.Goods.ConsignmentPersistenceObjectList..ctor(ConsignmentPersistenceObjectList availableConsignments, Double amountRequired)
at ApskaitaObjects.Goods.GoodsInventorizationItem.CalculateValues(Dictionary`2 consignmentDictionary)
at ApskaitaObjects.Goods.GoodsInventorizationItem.Create(DataRow dr, Dictionary`2 consignmentDictionary, DataTable limitationsDataSource, DateTime operationDate, Int32 operationWarehouseID)
at ApskaitaObjects.Goods.GoodsInventorizationItem..ctor(DataRow dr, Dictionary`2 consignmentDictionary, DataTable limitationsDataSource, DateTime operationDate, Int32 operationWarehouseID, Boolean createNew)
at ApskaitaObjects.Goods.GoodsInventorizationItemList.Fetch(DataTable myData, Dictionary`2 consignmentDictionary, DataTable limitationsDataSource, DateTime operationDate, Int32 operationWarehouseID, Boolean createNew)
at ApskaitaObjects.Goods.GoodsComplexOperationInventorization.DataPortal_Create(Criteria criteria)
at Csla.MethodCaller.CallMethod(Object obj, MethodInfo info, Object[] parameters)
at Csla.Server.SimpleDataPortal.Create(Type objectType, Object criteria, DataPortalContext context)
at Csla.DataPortal.Create(Type objectType, Object criteria)
at Csla.DataPortal.Create[T](Object criteria)
at ApskaitaObjects.Goods.GoodsComplexOperationInventorization.NewGoodsComplexOperationInventorization(DateTime operationDate, Int32 operationWarehouseID)
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tekstas:
DataPortal_Create method call failed
Klaidos šaltinis(Ex.Source):
Csla
Klaidos metodas (Ex.TargetSite):
CallMethod
Klaidos stekas:
at ApskaitaObjects.Goods.ConsignmentPersistenceObjectList.Fetch(ConsignmentPersistenceObjectList availableConsignments, Double amountRequired)
at ApskaitaObjects.Goods.ConsignmentPersistenceObjectList..ctor(ConsignmentPersistenceObjectList availableConsignments, Double amountRequired)
at ApskaitaObjects.Goods.GoodsInventorizationItem.CalculateValues(Dictionary`2 consignmentDictionary)
at ApskaitaObjects.Goods.GoodsInventorizationItem.Create(DataRow dr, Dictionary`2 consignmentDictionary, DataTable limitationsDataSource, DateTime operationDate, Int32 operationWarehouseID)
at ApskaitaObjects.Goods.GoodsInventorizationItem..ctor(DataRow dr, Dictionary`2 consignmentDictionary, DataTable limitationsDataSource, DateTime operationDate, Int32 operationWarehouseID, Boolean createNew)
at ApskaitaObjects.Goods.GoodsInventorizationItemList.Fetch(DataTable myData, Dictionary`2 consignmentDictionary, DataTable limitationsDataSource, DateTime operationDate, Int32 operationWarehouseID, Boolean createNew)
at ApskaitaObjects.Goods.GoodsComplexOperationInventorization.DataPortal_Create(Criteria criteria)
at Csla.MethodCaller.CallMethod(Object obj, MethodInfo info, Object[] parameters)
at Csla.Server.SimpleDataPortal.Create(Type objectType, Object criteria, DataPortalContext context)
----------------------------
Vidinės klaidos (internal exception) duomenys:
Klaidos tekstas:
Klaida. Nepakanka prekių likučio sandėlyje.
Klaidos šaltinis(Ex.Source):
ApskaitaObjects
Klaidos metodas (Ex.TargetSite):
Fetch
Klaidos stekas:
at ApskaitaObjects.Goods.ConsignmentPersistenceObjectList.Fetch(ConsignmentPersistenceObjectList availableConsignments, D