VB Restriction to Prevent 0
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