Investment Activities Required Check_18
Please note that the documented validations are inconsistent within themselves as well as inconsistent with validations we’re getting as a result of testing. If you receive a validation error message from OMB that should be added, please let us know.
//Warning Variables
var msg = "Please ensure the following required data is complete:"+""+"";
var need = false;
var activityFound=false
var noActivity=0;
var a = getSubItems("Project Valid? (BY2018)");
var b = getSubItems("Project ID");
var c = getSubItems("PLAN: Project ID");
for (var i = 0; i < a.length; i++)
{
if ((a[i].SubItemType == getValueList("Dynamic List Types", "Active Projects - Working")) && (a[i].Indicator == red)){need=true; msg+= "Active Projects - Project "+b[i].Value+" ensure data is complete (green on Data Valid? column)" + "";}