Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Remind when customer has negative balance on invoice screen
I have programming/IT background, but I have never written in SuiteScript before. I understand triggers/events and built-in objects like "this". But I am new to SuiteScript version of those concepts.
My goal is to remind user that the customer of current invoice record (Invoice form) has a negative balance. The reason is, accounting department told me that they issue credit memos to paid invoices, and those credits stay there forever never to be used again because there is no obvious way of knowing if customer has any negative balance when they create a new invoice.
Based on examples and the object reference I came up with this. I want to pop up a message if the customer of the current invoice record has any negative balance. Am I on the right track? The invoice is usually created from the customer record, so I don't think customer_onChange trigger will be necessary. Thanks in advance.