Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
How to associate a 'charge' with an 'invoice' as a line item?
Hi,
I seem to be having trouble linking a charge to an invoice either via web services or via suitescript/restlets. Via the UI, you simply create a new invoice and click 'Add Charges To As Of Date' and the line item appears with its internal charge id.
Via code (web services or suitescript), it always requires an item and specific properties of an item to be set. So i've added the required fields and then tried to link the associated charge via 'chargeslist'. So my web service code at the moment looks like the following .... (but this just creates the invoice with the line item details but no charge id linked)
0