function addVariantManagementChangesToResult(oResult, aVariantManagementChanges) {
		var oResultClone = merge({}, oResult);
		aVariantManagementChanges.forEach(function(oChange) {
			var sVariantManagementId = oChange.selector.id;
			if (!oResultClone[sVariantManagementId]) {
				oResultClone[sVariantManagementId] = createVariantManagementSection();
			}
			var sChangeType = oChange.changeType;
			if (!oResultClone[sVariantManagementId].variantManagementChanges[sChangeType]) {
				oResultClone[sVariantManagementId].variantManagementChanges[sChangeType] = [];
			}
			oResultClone[sVariantManagementId].variantManagementChanges[sChangeType].push(oChange);
			oResultClone[sVariantManagementId] = applyChangesOnVariantManagement(oResultClone[sVariantManagementId]);
		});

		return oResultClone;
	}
// add variant management changes to resultant variant section
add variant management changes to resultant variant section
add variant management changes to resultant variant section
function addVariantManagementChangesToResult(oResult, aVariantManagementChanges) {
		var oResultClone = merge({}, oResult);
		aVariantManagementChanges.forEach(function(oChange) {
			var sVariantManagementId = oChange.selector.id;
			if (!oResultClone[sVariantManagementId]) {
				oResultClone[sVariantManagementId] = createVariantManagementSection();
			}
			var sChangeType = oChange.changeType;
			if (!oResultClone[sVariantManagementId].variantManagementChanges[sChangeType]) {
				oResultClone[sVariantManagementId].variantManagementChanges[sChangeType] = [];
			}
			oResultClone[sVariantManagementId].variantManagementChanges[sChangeType].push(oChange);
			oResultClone[sVariantManagementId] = applyChangesOnVariantManagement(oResultClone[sVariantManagementId]);
		});
		return oResultClone;
	}
function addVariantManagementChangesToResult ( oResult , aVariantManagementChanges ) { var oResultClone = merge ( { } , oResult ) ; aVariantManagementChanges . forEach ( function ( oChange ) { var sVariantManagementId = oChange . selector . id ; if ( ! oResultClone [ sVariantManagementId ] ) { oResultClone [ sVariantManagementId ] = createVariantManagementSection ( ) ; } var sChangeType = oChange . changeType ; if ( ! oResultClone [ sVariantManagementId ] . variantManagementChanges [ sChangeType ] ) { oResultClone [ sVariantManagementId ] . variantManagementChanges [ sChangeType ] = [ ] ; } oResultClone [ sVariantManagementId ] . variantManagementChanges [ sChangeType ] . push ( oChange ) ; oResultClone [ sVariantManagementId ] = applyChangesOnVariantManagement ( oResultClone [ sVariantManagementId ] ) ; } ) ; return oResultClone ; }
add variant management changes to resultant variant section
add variant management changes to resultant variant section