В PriceDisc.findPrice():
X++:
return ((findAll && inventDimAllActivated.RecId && this.findPriceAgreement(_priceGroupId, inventDimAllActivated.inventDimId)) ||
(findItemDim && inventDimItemDimActivated.recId && this.findPriceAgreement(_priceGroupId, inventDimItemDimActivated.inventDimId)) ||
this.findPriceAgreement(_priceGroupId, InventDim::inventDimIdBlank()) ||
this.findItemPrice());
На мой взгляд это еще хуже чем написал fed.
В return неудобно анализировать такой код.
В классе sysDatabaseList метод new:
X++:
...
while (1 == 1 && listOfNames)
{
}
...