[progress Communities] [progress Openedge Abl] Forum Post: Server-side Validations -...

  • Thread starter Thread starter MatheusMokwa
  • Start date Start date
Status
Not open for further replies.
M

MatheusMokwa

Guest
I'm studying PDSOE in 11.6 and I still didn't figure out how to implement validations on server side, got this few questions that could help me developing my sample project: 1) Where do I place the validations? Inside the class.method I'm working? For exemple: Got a class with this method of Update. 2) Do I place it before or after the SUPER? (Is there anyplace where I can check the code of the businessEntity?) 3) How can I return the error? is it with the AppError? for example: if table.name = '' then do: ASSIGN clsError = NEW AppError("name must be filled"). RETURN ERROR clsError. end. 4) And how do i cath/show this error in kendo grid?

Continue reading...
 
Status
Not open for further replies.
Back
Top