Вы находитесь на странице: 1из 1

Hidden Cross over functionality ...

a very intelligent way to relate any field to anywhere as long as they chan be reached by relationship or chained relationshi ps issue:: during my creation of purchase order, I want some information that I just enter ed on the purchasing order to be copied to my purchasing order line as soon as I hit add new line. But I can t really make it happen using a crossover domain beca use the related object is obtained through a relationship and when maximo retrieve s the content of a relationship, it goes to the database. In this case, my PO is not saved to the database yet, so I don t get anything back.

For example, you have an object A, A has a related object of B through relations hip RB, and B has a related object of C through relationship RC, but there is no direct relationship from A to C. You want to add a crossover domain on A s field X so that when you set X, an attribute Y on C can be copied over to A s field Z. What we can do is Create a crossover domain, set target object to B .

The validation where clause of the domain is the relationship where clause of RB . Set the source field of the crossover domain to Z . You assign this domain to A.X. This allows you to crossover a field from anywhere to a field anywhere as long as they can be reached by relationship or chained relationships, because we can also do relationshipA.relationshipB.field. RC.Y , set the destination field to

Вам также может понравиться