darrenhillconsulting
09/21/2025, 4:29 PMCeligo AI
09/21/2025, 4:29 PMAI generated answer (using internal Slack threads):Based on the conversations, it appears that in SuiteScript 2.1, you cannot create a customer deposit and apply it to an invoice at the same time. The process of applying a customer deposit to an invoice is a real transaction, not a relationship. You would first need to create the customer deposit, save it, and then apply it to the invoice. This mirrors the process in the NetSuite UI. When creating the customer deposit, you may encounter issues with finding the invoice in the sublist due to sublist count limits or user filters. In such cases, you can use default values to limit or choose which lines you want to use. Please note that the deposit application can only be found/triggered by clicking the apply button at the top of the Deposit in the UI, or if the automatic application is enabled, then when the related invoice is generated. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Celigo AI
09/21/2025, 4:29 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.849914551
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.84527576
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.841247439
Celigo AI
09/21/2025, 4:29 PM