on 10-21-2016 11:18 AM
Hello,
So I have a question with what I'm trying to do here, I have currently extended the Opportunity Business Object to create a new field that converts and then displays the ExpectedRevenueAmount in USD.
I have put the Currency Conversion on the BeforeSave and that works well, however, the problem I am facing now is that we want it to display On Load, but that option is not available, is there something I'm missing, or another way that I can achieve this?
The field is being displayed on both the OWL as well as the TI, and our users would like this value to display when the OWL is loaded.
Please let me know if this is possible.
Thanks,
Paul
Hello Paul,
There is no support for the execution of some logic during OnLoad for an Extension BO.
The resp. annotation would be [Transient] and this would mean that there will be no persistence for the element.
It must be caluclated during loading and after every modification.
This is only supported for Custom BOs.
Besides that PDI does not support any logic for OnLoad.
Sorry,
Horst
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Horst,
Thanks for the update, I apologize I was away for a week, by what you are saying would it be possible to create a Custom BO with a Transient field, and then get that to show up during an AfterLoad event?
Would that accomplish the same thing that I am trying to do here?
Thanks,
Paul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Horst,
The field is being displayed fine, but the logic to convert the ExpectedRevenueAmount field and populate the new field doesn't trigger until after the TI is edited and saved, I'm looking for that to happen OnLoad, for both the TI and the OWL.
Thanks,
Paul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Paul,
If the field is beeing displayed at the OWL as well as the TI, what is the issue?
Bye,
Horst
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
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.