Best Practices in development

1. Before Business Rules should not update() or insert() records on other tables
To ensure data integrity, change this business rule to run "after".

2. Business Rules should not be defined on the Global [global] table (Global Business Rule)
Use a script include instead of a global business rule.
Read only in dictionary
Scripts should not contain hard-coded IDs
Server-side code should not use GlideRecord and getRowCount() to count records

猜你喜欢

转载自blog.51cto.com/13716461/2383023