|Objects and Attributes|
Object names and attribute names should be nouns in UpperCamelCase, with the first letter of every word capitalized.
Use whole words — avoid acronyms and abbreviations, unless the abbreviation is much more widely used than the long form, such as Url or Html or Wot, or the whole word makes the name too long.
|Case, CaseHistory, WorkItem|
|Object and Attribute Description||Objects and Attributes should contain sufficient description to understand the meaning of a specific BOM element to reduce the effort to understand the meaning and purpose of that element.|
DocumentType attribute is used for business-defined types of documents.
The list of available values is managed via the Document Type dictionary.
|Business Object Relationships|
The relation should be nouns in UpperCamelCase.
DocumentCaseId for many Documents to one Case relation.
The rule name must use the UPPER CASE PREFIX (DCM, CLB, SMPL, QA, CUST, SJ, etc.) follow by an underscore and then words in camel case.
The name of the rule should reflect a rule functionality.
Do not use numbers in a rule name like DCM_Rule12, SMPL_Rule5. This is a bad style!
|Rule Description||Each rule should contain a detailed description explaining the rule's purpose and rule implementation comments.||This function copies cache data into cache tables and back by Case Id|
The currently proposed naming convention is UpperCamelCase.
The argument is that AppBase capitalizes all SQL output parameters to UPPERCASE.
Input, CaseId, TaskId
|Rules Placeholders||Rule placeholders should use UPPER_UNDERSCORE_CASE naming convention.||@RULEPLACEHOLDER@|
SQL Code - Variable names
|The internal variable names should be next: v_<entityNameOrSomething>. First goes the prefix that reflects the "variable", the following word describes an attribute: name or calculated value, logical, purpose, etc.|
SQL Code - Variable type
|Variable type should use UPPER CASE;|
SQL Code - Common structure of rule/function
The common structure of a rule or function should be like:
This is a recommendation.
SQL code - Restrictions and recommendations