nkhatri
01/14/2025, 7:49 PMrender.statement
seems to only accept one subsidiary idCeligo AI
01/14/2025, 7:49 PMAI generated answer (using internal Slack threads):Based on the conversations, it appears that the
render.statement
function in SuiteScript 2.0 API does not support the selection of a specific subsidiary when generating a customer statement. It seems to default to the primary subsidiary of the customer.
The issue of generating a statement for each subsidiary with a balance or consolidating them into one statement for a customer in a multi-subsidiary setup is not directly supported by the API or workflows.
One user suggested creating a custom statement PDF using a saved search PDF template and then emailing that via script. Another user suggested using the dunning module or scripting to achieve this.
******
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
01/14/2025, 7:49 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.876159608
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.854515851
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.850229919
Celigo AI
01/14/2025, 7:49 PM