anchor.diff:  	
   }
   
  +
  +//=================================================================================
  +// will check if the report is selected or not.
  +function hasActualActionOnReports(aeReportId){
  +    var hasActualAction = false;
  +	//check for actual action.
  +	AE.applicableReportDefinitionHash.get(aeReportId).values().each(function(rdObj){
  +		if(rdObj.getActualAction()){
  +			hasActualAction = true;
  +		}
  +	});
  +
  +    return hasActualAction;
  +}
  +
  +
  +
  +//==================================================================================
  +// will check if the report is selected or not, then will enable disable the report.
  + 
  + function toggleReportingButton(aeReportId) {
  +     var hasActualAction = hasActualActionOnReports(aeReportId);
  +
  +     // change the SUBMIT button and the message
  +     if (hasActualAction) {
  +         jQuery('#report-btn-' + aeReportId).removeAttr('disabled');
  +         if (jQuery('#rulesMessage-' + aeReportId)) jQuery('#rulesMessage-' + aeReportId).show();
  +         if (jQuery('#rulesMessageNone-' + aeReportId)) jQuery('#rulesMessageNone-' + aeReportId).hide();
  +
  +     } else {
  +         jQuery('#report-btn-' + aeReportId).attr('disabled', 'false');
  +         if (jQuery('#rulesMessage-' + aeReportId)) jQuery('#rulesMessage-' + aeReportId).hide();
  +         if (jQuery('#rulesMessageNone-' + aeReportId)) jQuery('#rulesMessageNone-' + aeReportId).show();
  +     }
  + }
  +
  +
  +//=================================================================================
  +// will validate the input
   function validate(aeReportId){
   	//determine if there is a create-edit action?
   	var createOrEditAction = false;
  
positive.code: 		htmlMsg = htmlMsg + "<li>" + msg + "</li>";
  	});
  	$('rulesMessageList-' + aeReportId).innerHTML = htmlMsg;
   }
  //=================================================================================
  function showNewDataCollection(){
  
negative.code: 	var onlyWithdrawAction = true;
  	var noPrimaryAE = true;
  
      //no actual action
      noActualAction = !hasActualActionOnReports(aeReportId);
  
      //onlyWithdraw?
  	onlyWithdrawAction = isOnlyActionWithdraw(aeReportId);
  