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.
Formula needed to remove GL codes from transaction total
I have a workflow that calculates the sales commission for sales orders based on the Sales Rep's individual rates and enters that amount in a custom field on the SO. This formula is: ({total}-NVL({altshippingcost},0)-NVL({taxtotal},0))*[insert rate]
Sometimes the shipping or tax is entered as a line on the SO instead of in the shipping tab or using Netsuite tax rates. Therefore, I have been asked if my formula can remove these line level items.
I am completely blank on how this might be able to be done. If there is a way to either exclude the value of certain items (this would be several criteria) or the value of items that are coded to a certain GL (this would only be 2 criteria), that would be ideal.