AIS grid errors - incorrect row number?
When there is an error in a grid insert/update, AIS returns errors in the output. The ERRORCONTROL field seems to contain the location of the error. For example:
{
"CODE": "018A",
"TITLE": "Error: not found in User Defined Code",
"ERRORCONTROL": "1.1.2",
"DESC": "XYZ not found in User Defined Code 01 PH",
"MOBILE": "XYZ not found in User Defined Code 01 PH"
}
In "1.1.2", I understand that the second part (1 in this case) refers to the row number. If there is an error in row #2, I never get a "1.2.2" in the response, instead it skips a row and returns "1.3.2" instead. Errors on subsequent rows are incremented by 1. Is this a bug or is this by design?