can I specify a customform id when executing an ad...
# ask-stanley-ai
g
can I specify a customform id when executing an add operation through soap?
c
AI generated answer (using internal Slack threads):
Yes, you can specify a custom form ID when executing an add operation through SOAP. When creating a record, such as a sales order, you can specify the form's numeric ID in the
defaultValues.customform
parameter of
record.create
. This allows you to set a specific form to be applied to the record. Here is an example of how you might do this:
Copy code
javascript
var record = record.create({
    type: record.Type.SALES_ORDER,
    defaultValues: {
        customform: 123 // replace with your custom form's internal ID
    }
});
Please note that this might not solve any taxation issues you might be facing, but it will allow you to specify the 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. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.811096251
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.803955138
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.797424316
Please provide your feedback on this answer.
g
I mean in the XML payload of a soap request to suitetalk
c
Thank you for your feedback