Validations. Validation rules became part of the data model with the introduction of data model 9.0.0. A conditional dependency is added through validations. By means of an 'if' / 'then' statement it is enforced that a specific attribute becomes mandatory. This obligation depends on the value entered in the 'if' part of the statement. The validation is simple, which means that the rule consists of one 'if' / 'then' statement and therefore contains only one condition. Therefore, each rule needs to be individually interpreted. The validation is also brick independent, i.e. applies to every brick where the 'if' field occurs. For clarification you can see an example below: Columns * Example ValidationID V_DIY_000001 FieldID (if) 7.673 Attributename Dutch (if) Material specific GDSN/ FREE? (if) FREE Value Wood FieldID (then mandatory) 7.407 Attribute name (then mandatory) Type of wood GDSN/ FREE? (then) FREE Added in version? 9.0.0 Written out in text this example says that if the value ‘wood’ is filled in with attribute 7,673 'Material specific, the otherwise optional attribute 7,407 'Type of wood' is mandatory to fill. This validation rule applies since data model 9.0.0.
Appears in 3 contracts
Samples: www.gs1belu.org, www.gs1belu.org, www.gs1belu.org
Validations. Validation rules became part of the data model with the introduction of data model 9.0.0. A conditional dependency is added through validations. By means of an 'if' / 'then' statement it is enforced that a specific attribute becomes mandatory. This obligation depends on the value entered in the 'if' part of the statement. The validation is simple, which means that the rule consists of one 'if' / 'then' statement and therefore contains only one condition. Therefore, each rule needs to be individually interpreted. The validation is also brick independent, i.e. applies to every brick where the 'if' field occurs. For clarification you can see an example below: Columns * Example ValidationID V_DIY_000001 FieldID (if) 7.673 Attributename Dutch (if) Material specific GDSN/ FREE? (if) FREE Value Wood wood FieldID (then mandatory) 7.407 Attribute name (then mandatory) Type of wood GDSN/ FREE? (then) FREE Added in version? 9.0.0 Written out in text this example says that if the value ‘wood’ is filled in with attribute 7,673 'Material specific, the otherwise optional attribute 7,407 'Type of wood' is mandatory to fill. This validation rule applies since data model 9.0.0.
Appears in 1 contract
Samples: www.gs1belu.org