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.
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.