function saveMachineriesDepreciation($xmlStr)
 {
     if (!($domDoc = domxml_open_mem($xmlStr))) {
         return false;
     }
     $machineriesDepreciation = new MachineriesDepreciation();
     $machineriesDepreciation->parseDomDocument($domDoc);
     $ret = $machineriesDepreciation->insertRecord();
     return $ret;
 }