parameters: (self)
return_statement: return row_list
docstring: Returns a list rows to insert in the quantity_unit_conversion table.
        Used by z_catalog_quantity_unit_conversion_list.
docstring_summary: Returns a list rows to insert in the quantity_unit_conversion table.
        Used by z_catalog_quantity_unit_conversion_list.
docstring_tokens: Returns a list rows to insert in the quantity_unit_conversion table . Used by z_catalog_quantity_unit_conversion_list .
function: def getQuantityUnitConversionDefinitionRowList(self):
        """
        Returns a list rows to insert in the quantity_unit_conversion table.
        Used by z_catalog_quantity_unit_conversion_list.
        """
        # XXX If one wanted to add variation-specific Unit Conversion Definitions
        #  he could use an approach very similar to the one used for Measure.
        #  Just add a variation VARCHAR column in quantity_unit_conversion table
        #  (defaulting as "^"). The column would contain the REGEX describing the
        #  variation, exactly as Measure.
        #  Resource_zGetInventoryList would then need expansion to match the
        #  product variation vs the quantity_unit_conversion REGEX.
  
        uid = self.getUid()
        row_list = []
        for unit_uid, value in self._getQuantityUnitDefinitionDict().iteritems():
          definition_uid, quantity = value
          row_list.append(dict(uid=definition_uid,
                               resource_uid=uid,
                               quantity_unit_uid=unit_uid,
                               quantity=quantity))
  
        return row_list
function_tokens: def getQuantityUnitConversionDefinitionRowList ( self ) : # XXX If one wanted to add variation-specific Unit Conversion Definitions #  he could use an approach very similar to the one used for Measure. #  Just add a variation VARCHAR column in quantity_unit_conversion table #  (defaulting as "^"). The column would contain the REGEX describing the #  variation, exactly as Measure. #  Resource_zGetInventoryList would then need expansion to match the #  product variation vs the quantity_unit_conversion REGEX. uid = self . getUid ( ) row_list = [ ] for unit_uid , value in self . _getQuantityUnitDefinitionDict ( ) . iteritems ( ) : definition_uid , quantity = value row_list . append ( dict ( uid = definition_uid , resource_uid = uid , quantity_unit_uid = unit_uid , quantity = quantity ) ) return row_list