Validate products and editions
When you save a product, APD validates the product and its editions. The following topics list several of the validations performed, but there are many others.
Validate products
When you save a product, APD validates the schema, changes and removals, and content.
Validate the product schema
When validating the product schema, APD checks to see if:
uuidexists (If not, it is generated.)codeexists and is different from the line codenameexists for all languagesabbreviationexists and is all uppercase
Validate product changes and removals
APD makes sure that certain content has not been removed or changed relative to a
package that is in production or will be in production shortly. Such removals and
changes include:
- Removal of coverages, attributes, and so on
- Change of code (for all elements)
- Change of sequence (for all arrayed elements)
To perform this validation, APD compares the deployment of the package under
development to the most recently deployed package on a non-development planet. For
example, assume the following deployments are available:
- DEV [Package 10] (Working package/planet)
- DEV [Package 9]
- UAT [Package 9]
- PROD [Package 8]
Validate product content
When validating product content, APD makes sure that:
costDefinitionshave no duplicate codescurrencyConfigavailability is definedcurrencyConfighas no duplicatestagshave no duplicatesblanketDefinitionshave no duplicatesblanketDefinitionshave no duplicate clause codes or subclauseslineprefix is all uppercase
Validate editions
When you save a product, APD validates its editions' schema and relation.
Validate the edition schema
When validating the edition schema, APD checks to see if:
schemaVersionexistsnameexistscodeexistsproduct(ProductEdition) exists
Validate the edition relation
When validating the edition relation, APD checks to see if:
productdefined within the edition existscommonRulesetdefined within the edition exists