iscons
4th January 2015, 03:30
if in a script I use sql to update the tdsls401 (sales order lines) table, would the DAL checks be executed ? or I have to use the functions of the DAL to insert the record to the tdsls401 to have all the DAL checks done ?

bhushanchanda
4th January 2015, 10:38
Hi,

Yes to insert a record in tdsls401, DAL will be the best way to make sure all checks and validations are taken care.

vahdani
4th January 2015, 10:58
Hi iscons,

you write "I use sql". When using sql scripts no DAL functionality is invoked!

DAL checks and business rules are invoked only if you use dal.*() functions in a baan-script.