Skip to content

Instantly share code, notes, and snippets.

View etahamad's full-sized avatar

Omar Hamad etahamad

View GitHub Profile
@iloveitaly
iloveitaly / netsuite_payment_auto_apply_after_creation.js
Last active August 1, 2024 08:54
Auto-apply NetSuite Customer Payments to NetSuite Invoices when they are Created or Edited
/*
Author: <[email protected]>
Description: When is invoice is created or edited, any unapplied payments on the customer
are auto-applied to the invoice.
Link: https://gist.github.com/iloveitaly/a35d460b0fb744a290dce3db95873e41
Installation:
1. https://system.sandbox.netsuite.com/app/common/scripting/uploadScriptFile.nl
2. User Event
3. Name: Auto-apply Unapplied Customer Payments