Hi Developers,

just a quick question.

Does anyone knows why is below code commented out in MCostElement.beforeSave() method?

    //  Maintain Calculated
    /*
    if (COSTELEMENTTYPE_Material.equals(getCostElementType()))
    {
        String cm = getCostingMethod();
        if (cm == null || cm.length() == 0
            || COSTINGMETHOD_StandardCosting.equals(cm))
            setIsCalculated(false);
        else
            setIsCalculated(true);
    }
    else
    {
        if (isCalculated())
            setIsCalculated(false);
        if (getCostingMethod() != null)
            setCostingMethod(null);
    }*/

Regards,
Trifon