Skip to content
+1-888-319-3663

COMMUNITY FORUM

VB Restriction to Prevent 0

johnellis asked 7 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
Answers
Best Answer
lorren answered 7 years ago
John,

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

Lorren
johnellis replied 7 years ago

Thanks, Lorren!

John


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