Is it possible to generate Statement pdfs for a Cu...
# ask-stanley-ai
n
Is it possible to generate Statement pdfs for a Customer with transaction/balances from all subsidiary that the customer belongs to?
render.statement
seems to only accept one subsidiary id
c
AI 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. ******
Slack 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
Please provide your feedback on this answer.