Discussions relating to breakout scripting, .NET and COM programming with Jiwa objects.
by in2solutions » Mon Sep 07, 2015 2:42 pm
Jiwa 6.513
I require assistance with Breakout Code for the following:
On a Sales Quote.
On Save.
If Tax Exempt field is not null then have a message appear on save. Message is “Please include bank fees on quoteâ€.
Will need to know the breakout to use and also the code to use.
Thanbks
George
-
in2solutions
- I'm new here
-
- Posts: 2
- Joined: Mon Sep 07, 2015 2:28 pm
by aegean66 » Fri Sep 11, 2015 7:54 pm
Try this under SalesQuoteSaved event
varFlag = 0
For Each SalesQuoteLineObject In SalesQuoteObject.SalesQuoteLines
If SalesQuoteLineObject.GSTID = "GST02000000000000000" Then
varFlag = 1
End If
Next
If varFlag = 1 Then
MsgBox("Please include bank fees on quote.")
End If
Use either <> or = to test
GSTID will be the ID value in the SQL table of whatever GST Code you want to test
-
aegean66
- Occasional Contributor
-
- Posts: 36
- Joined: Wed Mar 02, 2011 2:26 pm
- Location: Usa
- Topics Solved: 2
-
Return to Technical / Programming
Who is online
Users browsing this forum: No registered users and 1 guest