function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
https://developer.salesforce.com/forums/ForumsMain?id=906F0000000907dIAA
With the code I can create a PDF auotmatisch.
Is it also possible to define a template?
public static void createQuotePDF()
{
List<QuoteDocument> sr = new List<QuoteDocument>();
{
sr.add (new QuoteDocument(
QuoteId = idQuo,
document = Blob.toPDF('Template?????)));
}
insert sr;
}