Hello Everyone.
I'm looking at injecting a custom validation code using customization manager in Automatic Invoice Creation (BI.AIC.00) screen. I want to validate few fields on this screen when "Create Invoices" button is clicked. To this effect, I have managed to successfully place a click event on this button. See the code below:
Private Sub cBegProcessing_Click()
Dim S As String
S = GetObjectValue("cGLSub")
If Not ChkGLSub(S) Then
MsgBox "GL validation fails"
' I want to stop further processing of this here... How?
End If
End Sub
In my code, look at the comment "I want to stop...". Here what should I write so that this event does not move forward and go about creating invoices.
TIA.
Nayan
*This post is locked for comments
I have the same question (0)