Dashboard Throwing Errors after changing BAQ: "String was not recognized as a valid Boolean. Couldn't store <> in JobHead_JobFirm Column. Expected type is Boolean."

Have you tried adding an else statement

switch (args.Column.ColumnName)
		{
			case "JobHead_JobReleased":
				if ((bool)args.ProposedValue == true)
				{
					args.Row["JobHead_JobFirm"] = true;
				}
                                else 
                                {
                                        args.Row["JobHead_JobFirm"] = false;
                                }
				break;
		}
	}

Just to be sure that there’s a valid value for each row?

Also, there’s an amazing Visual Studio extension out there that has made my customization debugging so much better. The Epicor “IDE” is fairly lacking…

1 Like