Relationship Mgt. Question: Flowfield Inter. Template Data

infonoteinfonote Member Posts: 233
Hi,

Can a flowfield be added to a table e.g. Contact table, and this flowfield be used in the 'Interaction Template Data'?
If yes, where can you set the Calcfields as otherwise, the data will appear empty in the Word document/template.

Thanks in advance

Comments

  • ufukufuk Member Posts: 514
    Yes, you can but you have to some modification in WordManagement codeunit.

    Search "//This field must come last in the merge source file" expression in WordManagement codeunit, add following lines:
    ..
    AddField(CompanyInfo."Giro No.");
    
    Contact.CALCFIELDS(FF); //added line
    AddField(FORMAT(Contact.FF)); //added line
    
    //This field must come last in the merge source file
    ..
    

    Add the following command in CreateHeader function to the last caption part:
    ..
    AddField(CompanyInfo.TABLECAPTION + ' ' + CompanyInfo.FIELDCAPTION("Giro No."));
    
    AddField(contact.FIELDCAPTION(FF)); //added line
    
    GLOBALLANGUAGE := MainLanguage;
    ..
    
    Ufuk Asci
    Pargesoft
Sign In or Register to comment.