darrenhillconsulting
07/23/2025, 8:47 PMundepfunds
of a customer deposit?Celigo AI
07/23/2025, 8:47 PMAI generated answer (using internal Slack threads):To set the
undepfunds
of a customer deposit using SuiteScript, you need to set the undepfunds
field to "F"
for false or "T"
for true. This is because SuiteScript expects a string value for this field, not a boolean.
Here is a simple example of how you can do this:
javascript
var record = nlapiLoadRecord('customerdeposit', depositId);
record.setFieldValue('undepfunds', 'F'); // or 'T' for true
nlapiSubmitRecord(record);
Please note that the undepfunds
field is tied to the payment method used. Make sure that the payment method used is set up to group with undeposited funds. If you're still having issues, it might be a defect in SuiteScript 2.0 as some users have reported similar issues.
******
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
07/23/2025, 8:48 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.837800264
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.824414
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.82090795
Celigo AI
07/23/2025, 8:48 PM