on 10-27-2014 2:59 PM
Hello experts;
I tried to add an transaction "myobject" it gave me an error "application error" when i push apply button. However when I add a transaction for player object it can be added. The only difference this 2 transactions player object collection fill from database player table then i can add new transaction. myobject have not any table just a collection which created by me and i got error. what is the problem ?
If I create a collection how can add an "add transection" and how can create a new object.
Renos,
What version of Agentry are you using?
What version of Eclipse are you using?
How are you trying to add the transaction?
Not sure what you mean by: " The only difference this 2 transactions player object collection fill from database player table then i can add new transaction. myobject have not any table just a collection which created by me and i got error."
Sounds like you want to add an object to a collection you have defined. If you have an object called myobject defined in the editor, you should first create a collection called myobjects in the main object. Add a collection property to the main object and tie it to your myobject. Your property type in the drop down should be Object for this collection property.
Next create an Add transaction for the myobject complete with properties. Point the collection to: MainObject >- myobjects Property.
Next create an action that holds a transaction step pointing to your new transaction. If the data for the new add should come from a screen, you will need to tie that screen-set to this step also. The action should have an object of MainObject. Now tie that action to a button or menu on a screen so the user can kick off the add transaction.
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.
Thanks Jason;
my first object
player collection objects fill from database with an update step (select * from player)
I created an action (transaction and apply button --no screen set--)
my transaction have propertys with contant values.
It worked.
For other object
I created an object myobject
I created a collection myobjects in mainobject
I created an action (transaction and apply button --no screen set--)
my transaction have propertys with contant values
when click the add transaction button crash the program. Didn't work.
Same, but I have 8 player object and I can add a transaction. I have no any myobject I cannot add a transaction program gave me "application error"
This is my action objectadd transaction and apply
transaction step defininiton
my object transaction
myobject property constant all of them constant
If I clicked apply button I got this error.
If I use -no screen set- It didnt open transaction screen but same error. The problem is apply button.
action button trigger this action.
Renos,
I don't see anything you are doing wrong. Try running your action on another platform: WPF or PPC or iOS/Android. Unfortunately, the current ATE is buggy and sometimes crashes/fails when other production clients would not fail. This will definitely error out the second time since you are trying to add the same key twice.
Jason Latko - Senior Product Developer at SAP
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.