on 10-17-2005 9:22 AM
Hi
I have added some UDF on Sales Order. i have also added one valid value on the takeon form top right combo.....What i want is as i select this new value in combo other UDF will show otherwise not ???? Throgh e learniong i came to know that the <b>related entries is donr in CUDC table</b>. but unable to understand the database structure for this functionality. Plz help ....
With Regards
Pankaj Pant
Hi Pankaj
As I understand your question you would want to catch the ComboSelect Event in the ItemEvent routine and either show or hide the field bassed on that.
Example (VB.Net)
Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
dim cb as SAPbouiCOM.ComboBox
dim form as SAPbouiCOM.Form
select case pval.EventType
case et_ComboSelect
form = ' a handle to the form '
cb = form.items.item(pval.ItemUID).specific
if cb.selected.value = something
form.items.item("Name of field to show").visible = true
else
form.items.item("Name of field to show").visible = false
endif
end select
end sub
Hope this helps
Best regards
Jesper Carstensen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.