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.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
Scripting customer payment assigned to multiple invoices
Hi all,
I have looked around the forum as usual, found a few related post with very similar questions but nothing seems to be answered.
Background:
We are importing a CSV with the status of monthly direct debit statuses (successfull, rejected, cancelled, etc.) and the amounts. We would like to create payments based on information imported. The problem is that these payments could be for multiple invoices.
Question:
How do I create a payment and assign it to multiple invoices via a script?
Understanding:
I realise I can use the nlapiTransformRecord but from my understanding this work on a one-to-one basis e.g. invoice for £60 gets transformed into a payment of £60. I am needing a payment of £60 for two seperate invoices of £30 each.