Tiina Böös
04/24/2026, 6:09 AMCeligo AI
04/24/2026, 6:09 AMAI generated answer (using internal Slack threads):In SuiteScript 2.1, you can specify the form a vendor bill should use when creating a bill. This can be done by setting the
customform field on the record. Here is an example:
javascript
var record = record.create({
type: record.Type.VENDOR_BILL,
isDynamic: true
});
record.setValue({
fieldId: 'customform',
value: 'custom_form_id' // replace with your custom form id
});
This will create a new vendor bill using the specified custom form. Please replace 'custom_form_id' with the internal ID of your custom form.
******
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
04/24/2026, 6:09 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.833801329
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.829284728
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.828735411
Celigo AI
04/24/2026, 6:09 AMTiina Böös
04/24/2026, 6:17 AM