JSE_Consistency_Result

JSE_Consistency_Result is a special type, because it is an object that must be built inside the script. It is used to structure the result of a consistency check.

In the context of a consistency index, the script associated with the control part must return an object of type JSE_Consistency_Result.

Structure

  • message : Text message displayed to the user
  • state : (Optional) Status icon displayed to the user. The available reports are detailed on the JSE_Datatable page
  • success : The result of the verification. If this fails, the document cannot be validated by the user. The latter will be forced to modify the data as long as the result is wrong.
{
"message": "Cohérence : OK",
"state" : "VALID",
"success" : true
}