on 04-17-2014 3:26 PM
Hi experts,
We're developing a mobile application by using Agentry 6.1.2.604. Here is our problem;
There are two objects A and B.
We want to update a property in A Object by using a transaction belongs to B Object. Which steps we should apply?
Thanks
Tags edited by: Michael Appleby
Murat,
If you want to do this in the same A object transaction, you need to target the B object property using the object browser. If the objects have a direct parent-child relationship, you can easily just reference "Other Objects" -> MyParent Object -> MyPropertyToUpdate. Use "Rule After Data Entry" to reference the transaction property you want to update with. If the object structure is more complicated, you can use: "Main Object -> MyCollection -> "First Object Where Rule "MyRule" is True -> MyProperty. MyRule would then be used to find the correct object in the collection you want to update, usually by comparing a property value against object A:
EQSTR
MyTransactionProperty (from object A)
Object B -> MatchingProperty
or
EQSTR
CURRENTVALUE
"MyTransactionProperty" (This is a constant you hand type with the property name)
Object B -> MatchingProperty
Jason Latko - Senior Product Developer at SAP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.