1. SBO 2004 does not allow this functionality. You must build your own "ChooseFromList" to accomplish this.
2. SAP stated that this functionality will be available in 2005
Sounds like your not test the beforeAction and get the event twice. After adding the CFL to the item do something like this
if(pVal.ItemUID=="BOY_2" && pVal.EventType == BoEventTypes.et_CHOOSE_FROM_LIST) { ChooseFromListEvent cflEvent = (ChooseFromListEvent)pVal; string cflUID = cflEvent.ChooseFromListUID; if(!pVal.BeforeAction) { DataTable dt = cflEvent.SelectedObjects; if(dt!=null && dt.Columns.Count!=0 && dt.Rows.Count!=0) { string værdi = dt.GetValue("ItemCode",0).ToString(); eventForm.DataSources.UserDataSources.Item("BOY_UDS1").ValueEx = værdi; } } }
Add comment