"Address Type" Field Is Not Working As Expected In The EScript
(Doc ID 2081856.1)
Last updated on FEBRUARY 05, 2019
Applies to:Siebel CRM - Version 15.0 [IP2015] and later
Information in this document applies to any platform.
Customer is reporting an issue with 'Address Type" Field that is not working as expected in the eScript.
In function BusComp_SetFieldValue, GetFieldValue for 'Address Type' should retrieve the value for the field.
When GetFieldValue is used for 'Address Type' field in CUT Address BC -->function BusComp_SetFieldValue, SBL-UIF-00299 error is seen.
Using Siebel Tools,
1. Lock 'CUT Adddress' BC.
2. Navigate to 'Fields' object type and query for 'Address Type' field.
3. Make the 'Force Active' true for the field 'Address Type'.
4. Right Click on the BC and write the following code in SetField Value event.
function BusComp_SetFieldValue (FieldName)
var a = this.GetFieldValue("Address Type");
var b =10;
5. Compile the changes to the Client SRF.
6. Open the application and navigate to Admistration->Data-> Address Screen.
7. Modify any of the existing field values for any of the existing records and hit the tab key.
Error will appear on screen.
Wrong field values or value types detected in field Street Address 2.
Please re-enter your field values. If you need additional assistance, please
refer to the documentation.(SBL-UIF-00299)
A script failed to get the value for field Address Type because the field
was not active.(SBL-EXL-00119)
This is also reproducible against 15.5 with custom code and different Personal Address buscomp:
var BO = TheApplication().GetBusObject("Contact");
var BC = BO.GetBusComp("Personal Address");
BC.ActivateField("Effective Start Date");
var dEffectiveStartDT = BC.GetFieldValue("Effective Start Date");
when run against standard SRF get error:
A script failed to get the value for field Effective Start Date because the
field was not active.(SBL-EXL-00119)
get same error when changed buscomp class as CSSBCBase
get same error when field configured force active in the buscomp
tested with Street Address 2 which is standard field non date field that is force active - worked fine.
tested with Contact Active Flag which is standard field that is also based on S_CON_ADDR join - get error:
A script failed to get the value for field Contact Active Flag because the field was not active.(SBL-EXL-00119)
tested with Start Date which is standard date field that is not a join field - worked fine no error.
conclude that this seems to be related to fields based on join table S_CON_ADDR
Address Type field in CUT Address buscomp is also based on S_CON_ADDR join
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document