Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8877

Checking If a Radio Button is Set in Item Master form

$
0
0

I am trying to check if the User has set an item to Inactive in the UI and I've got the following code:

10002050 is the ID for the Active radio button. I don't have a lot of experience with the UI API, but anyways, this code gave mean error converting to IOptionButton, which I'm assuming is an interface being implemented by that control. However when I search the SDK Help for IOptionBtn I don't find anything, and I can't seem to find anything in google either. I'm sure checking a radio button in SAP is simpler than this. Where in the documentation should I be looking for how to check the value of a radio button (or option button?)

 

                    If CStr(oForm.Items.Item("10002050").Specific) = "" Then
                        ClearChannelMaxAnalysisFieldsForItem(boItem)
                        DeleteSKUFromChannelMax(currentSku)
                        UpdateRequiresOutputFile = True
                   

End If


Viewing all articles
Browse latest Browse all 8877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>