on 06-24-2019 8:12 AM
Hello Experts,
I created a Lead business object extension because I need to replace the standard CityName field in the COD_Mkt_Prospect.QC and COD_Mkt_Prospect.TI with a drop down list. Now I'm trying to pass field value from a custom extension field(Dropdown field) to the standard field(CityName).
However, in the Event-AfterModify.absl script that I created I'm encountering this error.
I also replace the City field in Customer -> Account but did not encounter this error.
Thank you and regards,
Lenorsi
Hi Lenorsi,
sorry it took a while to see the issue.
try:
this.GetFirst().Address.PostalAddress.Elements.Cityname = this.GetFirst().CityCode.GetDescription();
i would recommend to use a foreach instead of the GetFirst(), but the correction should work 🙂
best regards
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
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.