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.
Question about a line item fee and billing
Hi,
I've been asked to explore implementing a new fee at my company. I wrote a 2.x suitescript that runs on afterSubmit on quotes, sales orders, invoices, and cash sales that 1) calculates the fee amount based on item attributes of items on the order, and 2) adds the fee as an Other Charge line item OR adjusts the amount of the fee if it is already on the transaction.
In my testing, it seems to be working great.
However, my roadblock is billing.
These items are largely shipped items with 2-3 days turnaround. We run automated billing that only bills on shipped items. But that Other Charge item is NOT fulfilled. The automated billing generates an invoice or cash sale for that fee before the items are shipped. This is not good.