Skip to content


VB Restriction to Prevent 0

johnellis asked 8 years ago
Hello: Below is VB.Net code that I’m going to use in a Restriction to prevent journal entry lines containing $0.00 for both the debit and credit from being imported. Please let me know, if I need to edit this in some way. Thanks! John If _DEBIT = 0 and _CREDIT = 0 Then Return false Else Return true End If
Best Answer
lorren answered 8 years ago

Yes, your VB code looks good for restricting a line where both the credit and the debit are 0.

johnellis replied 8 years ago

Thanks, Lorren!


If you would like to submit an answer or comment, please sign in to the eOne portal.