![]() |
#7 |
Участник
|
У нас финансовый склад не активен ни у одной аналитики, но ошибка та же.
В методе updateReceiptAdjustment класса InventCostItemDim разные действия на > и < 0 X++: if (inventTransCurrency == InventTransCurrency_RU::PrimaryCur) { adjustmentLater = inventTrans.costAmountAdjustment ? this.calcLaterAdjustment(inventTrans) : 0; } else { adjustmentLater = inventTrans.costAmountSecCurAdjustment_RU ? this.calcLaterAdjustment(inventTrans) : 0; } if (inventTrans.Qty > 0) { if (adjustmentLater) mapSettleValue.insert(inventTrans.RecId,-adjustmentLater); this.updateReceiptAdjustmentTrans(inventTrans,adjustmentLater); } else if (inventTrans.Qty < 0) { if (adjustmentLater) this.createErrorAdjustment(inventTrans,-adjustmentLater); if (abs(this.financialOpenQty(inventTrans)) < inventAdj::settleQtyDiff() && this.financialOpenValue(inventTrans)) this.createErrorAdjustment(inventTrans,-this.financialOpenValue(inventTrans)); } Выходит функцию пересчет лучше не трогать ? Ведь для управленческого учета расчет делается всегда раньше , чем закрытие (т.е. дата расчета > посл.даты закрытия) |
|
Теги |
закрытие склада, ошибка, перенос, ax3.0 |
|
|