on 11-01-2011 12:24 PM
Hi all ,
I want to add validation using StatusbarMessage and validation will be stop Add/Update Action .I have use
1) B1Connections.theAppl.SetStatusBarMessage("Please select Product Type ! ", BoMessageTime.bmt_Medium, true);
2) B1Connections.theAppl.StatusBar.SetText("Please select Product Type ! ", BoMessageTime.bmt_Medium, BoStatusBarMessageType.smt_Error);
3) B1Connections.theAppl.StatusBar.CreateProgressBar("Please specify the SKU ! ", 0, true);
all process are show error message but Add/Update Action successfully . i want to stop add or update action .please help any one how it is possible using statusbar message?
thanks & regards
Surajit
Hi,
You Can set BubbleEvent=false
Try This.....
If pVal.FormType = "65211" And pVal.ItemUID = "1" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED And pVal.BeforeAction = True Then
Try
Dim oedit As SAPbouiCOM.EditText
oform = sbo_application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
oedit = oform.Items.Item("12").Specific
If oedit.Value = "" Then
sbo_application.MessageBox("Field Should Not Be Blank")
BubbleEvent = False
Exit Try
End If
Catch ex As Exception
sbo_application.MessageBox(ex.Message)
End Try
End If
Thanks
Shafi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Using store procedure . its will stop the action when press the button some field empty
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi shafi_sunshine,
I have already use B1Connections.theAppl.MessageBox("Please enter the value ", 1, "OK", "", "");return false;
but this code show error in B1TE tolls that problem for addon certification . I want to use statusbar message.How to use Statusbar?
thanks
Surajit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
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.