View Single Post
Old 26th March 2015, 14:19
mark_h's Avatar
mark_h mark_h is offline
Join Date: Sep 2001
Location: Kentucky, USA
Posts: 7,194
mark_h will become famous soon enough
Baan: Baan 4C4 A&D1 - DB: Oracle - OS: Sun Solaris
Originally Posted by joanfuentes View Post
Thanks Mark for your answer, but the field not take value, have validations in the script, thats the reason that i cant use your example, but realy tks
How complicated are the validations? Make it a library and just run them in the afs script also. Or just put the validations in itself in the script. Pretty much all my api code is in libraries.

Some of my sessions have hundreds of lines of data validation before I ever start the AFS code. In some cases the sessions will do the validation, but I do not want to get 2 or 3(or more) sessions deep before I run into an error. Backing out the other sessions would probably be more code that the validations themselves.

GO Cards!
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.

Shared Solutions for Baan systems provided free by Baan Board.
Play the Google game and help Baanboard get better rankings. Do your part. Click here to find how.
Reply With Quote