Тут недавно ошибку нашел:
X++:
class InventMov_Vir_GoodsInRoute_Delivery_RU
{
...
AmountMSTPhysicalRevenue estimatedPhysicalRevenue(InventTrans _inventTrans)
{
//return estimatedPhysicalRevenue;
return Currency::amount(estimatedPhysicalRevenue * abs(_inventTrans.Qty / this.transQty()));
}
AmountMST estimatedPhysicalTax(InventTrans _inventTrans)
{
//return estimatedPhysicalTax;
return Currency::amount(estimatedPhysicalTax * abs(_inventTrans.Qty / this.transQty()));
}
...
}