Validation of SCV Application Default attribute
Validation is performed when you create or modify an SCV Application Default attribute.
If validation fails, the related error message is reported in the audit log.
This table list the error messages displayed when an SCV Application Default attribute is validated:
Field | Validation Condition | Error Message |
---|---|---|
Profile+Type+Class+Attribute | Checks if the combination value is unique. | Cannot save SCV Application Default {0} because the Profile+Type+Class+Attribute already exists |
Profile | Checks if the value for Profile is populated. | Cannot save SCV Application Default Attribute {0} because Profile is not specified |
Profile | Checks if the value is a valid profile in SCV. | Cannot save SCV Application Default Attribute {0} because Profile is not valid |
Type | Checks if the value for Type is populated. | Cannot save SCV Application Default Attribute {0} because Type is not specified |
Type | Checks if the value is one of 'Class Property' or 'Planning Engine Variable' or 'SCV Table Column' or 'Other'. | Cannot save SCV Application Default Attribute {0} because Type is not valid |
Class | Checks that Class is populated, if is 'Class Property'. | Cannot save SCV Application Default Attribute {0} because Class is not specified |
Property | Checks that Property is populated, if Type is 'Class Property'. | Cannot save SCV Application Default Attribute {0} because Property is not specified |
Variable | Checks that Variable is populated, if Type is 'Planning Engine Variable'. | Cannot save SCV Application Default Attribute {0} because Variable is not specified |
Table | Checks that Table is populated, if Type is 'SCV Table Column'. | Cannot save SCV Application Default Attribute {0} because Table is not specified |
Column | Checks that Column is populated, if Type is 'SCV Table Column'. | Cannot save SCV Application Default Attribute {0} because Column is not specified |
Table | Checks that Table is a valid SCV Table, if Type is 'SCV Table Column'. | Cannot save SCV Application Default Attribute {0} because Table is not Valid |
Column | Checks that Column is valid column for Table mentioned in the Table field, if Type is 'SCV Table Column'. | Cannot save SCV Application Default Attribute {0} because Column is not valid |
Class | Checks that Class is populated, if Type is 'Other'. | Cannot save SCV Application Default Attribute {0} because Class is not specified |
Attribute | Checks that Attribute is populated, if Type is 'Other'. | Cannot save SCV Application Default Attribute {0} because Attribute is not specified |
Default Value | Checks if the value for Default Value is populated. | Cannot save SCV Application Default Attribute {0} because default Value is not specified |
Data Type | Checks if the value for Data Type is populated. | Cannot save SCV Application Default Attribute {0} because Data Type is not specified |
Data Type | Checks that Default Value is a ‘Number', if Data Type is ‘Number'. | Cannot save SCV Application Default Attribute {0} because Data Type {1} does not match default Value {2} |
Data Type | Checks that Default Value is a ‘Boolean’ (True or False), if Data Type is ‘Boolean’. | Cannot save SCV Application Default Attribute {0} because Data Type {1} does not match default Value {2} |
Data Type | Checks that Default Value is a 'Date' when Data Type is 'Date'. | Cannot save SCV Application Default Attribute{0} because Data Type {1} does not match default Value {2} |
Data Type | If Override Value is populated, checks that Override Value is a number when Data Type is a 'Number'. | Cannot save SCV Application Default Attribute {0} because Data Type {1} does not match override Value {2} |
Data Type | If Override Value is populated, checks that Override Value is a ‘Boolean’ (True or False) when Data Type is ‘Boolean’. | Cannot save SCV Application Default Attribute {0} because Data Type {1} does not match override Value {2} |
Data Type | If Override Value is populated, checks that Override Value is a ‘Date' when Data Type is ‘Date’. | Cannot save SCV Application Default Attribute {0} because Data Type {1} does not match override Value {2} |
System | Checks that the value exists. | SCV Application Default Variable "{0}" has an incorrect System flag. Valid values are true or false. |