In test BSV, I have the following :
BO's:
. Address with attribute Name
. DocTemplate with attribute TemplateName
. DocMerged with attribute Subject, LetterDoc and reference attributes Address, DocTemplate
Queries:
. Address
. DocTemplate
Document templates:
. Templ1 with <<DocMerged.Address.Name>> and <<DocMerged.Subject>>
CreateDoc process (with Address, DocTemplate as Input):
. ENTER NEW DocMerged WITH DocMerged.LetterDoc=ThisDocTemplate.TemplateName, DocMerged.Address=ThisAddress,DocMerged.Subject=ThisDocMerged.Subject USING Main
. VIEW DocMerged USING Main
After entering Templ1 in DocTemplate and 2 address Names, the CreateDoc process requires a select Address (because of Input) and display the DocMerged form.
In the form, I can see the selected Address, the selected Templ1 and I enter some data in the Subject field. Then, I click on Create button.
Problem: the subject never gets merged in the LetterDoc document !