cancel
Showing results for 
Search instead for 
Did you mean: 

Updating Different Object Property by Transaction

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

jason_latko
Advisor
Advisor
0 Kudos

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

Answers (0)