View Link Consistency and Association Consistency
View link consistency is a feature that allows view object instances with entity usages to immediately see rows based on new entity object instances as they get created.
For example, suppose you create a row using CreateEmployeeVO based on Enitity Object definition of Employees.This would create an instance of the entity object definition Employees. View link consistency will allow that employee to appear as a row in SearchEmployeeVO (a different view object instance) without a database post and requery.
For simple view object definitions with only one updatable entity, this happens automatically unless you make manual changes to your application module by setting jbo.viewlink.consistent=false configuration property at the AM level.
However, by default, view object definitions with multiple updatable entities do not have instances with view link consistency.This is because, if an instance of each entity usage is created, it may not be clear how many new view rows to base on them (one row with both, or two separate view rows, one with each).
However, in some cases, you are creating both entity object instances by creating a single view row appropriate to a particular view object instance. In that case, you can manually set view row consistency on the view object instance by passing a value of true ViewObjectImpl.setAssociationConsistent().
Example: ViewObjectImpl.setAssociationConsistent(true);