Показать сообщение отдельно
Старый 26.11.2013, 11:44   #1  
tourist is offline
tourist
Участник
 
21 / 14 (1) ++
Регистрация: 03.05.2006
В классе 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
За это сообщение автора поблагодарили: Rimantas (1).