В классе BOMCalcItem есть метод
X++:
void initSeriesSize()
{
;
if(level == 0)
{
seriesSize = calcConsumptionInventQty;
return;
}
else if(bom)
{
// Line type = Item
if(bomCalcExplosionMode != BOMCalcExplosionMode::MakeToOrder && !bom.type().mustBeDerivedDirectly()) // makeToOrder forces linetype Item to be Production
{
seriesSize = inventTable.inventStandardQty(this.parmInventDimId());
this.parmUseStandardQty(true);
}
// Line types : Production, Vendor, Phantom
else
{
seriesSize = calcConsumptionInventQty;
this.parmUseStandardQty(false);
}
}
Здесь сбравсывается seriesSize