Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
How to create a formula to calculate the net of Debits and Credits in a Saved Search for Rev Rec?
I have a SS that shows the GL Impact of ARM Rev Rec journals. On some account lines, I get both Dr & Cr amounts. I want to see the net in either the Dr or Cr column so I can use the SS output as csv import input to generate a reversing JE. I have a formula to calculate the net, but even using a case statement to determine whether the net is a debit or credit, for accounts with both debits & credits, I get amounts in both columns.
Net: COALESCE({creditamount},{creditfxamount},0)-COALESCE({debitamount},{debitfxamount}, 0)
Debit: CASE WHEN ABS(COALESCE({creditamount},{creditfxamount},0))-ABS(COALESCE({debitamount},{debitfxamount}, 0)) > 0 THEN ABS(COALESCE({creditamount},{creditfxamount},0))-ABS(COALESCE({debitamount},{debitfxamount}, 0)) END