Sage200 Connector Mail Merge

Hi, using the Sage200 connector is there a way to merge to word rather than pdf? There appears to be some switches in print.asp but are not documented and attempting to change them hasnt made any difference to how the merge is done.

Secondly like the standard mail merge, is it possible to automatically saved the merge document to communications?

Thanks

  • 0

    The Connector doesn't use the standard CRM merge functionality, but something outside of it. I'm not sure it can be configured to save the document in the Documents tab (and a communication along with it).

  • 0

    Ok thanks. But can it be configured to merge to word as there is usually a requirement to edit the merged document before sending.

  • 0

    I would recommend that you speak with the UK Product Management team for Sage 200 and make a feature change request for the Mail Merge.

  • 0

    I don't know if I'm holding the wrong end of the stick here, but if I change one line of Print.asp to read:

    merger.doPdf = false;

    ...then it does exactly what it threatens to do - i.e. merge to a .doc file as opposed to a .pdf.

  • 0

    Chris

    Is this the original merge method or the new one? Which version of the connector?

  • 0

    I see that line in the Sage300 print.asp but in the sage200 print.asp this is what we have on v3.1

    <%

    Server.ScriptTimeout = 180;

    var sTemplate = "";

    var sTable = "";

    switch ((new String(Request.QueryString("type")).toLowerCase())){

    case "quote":

    //sTemplate = "quotetemplate.doc";

    sTemplate = "PrintQuoteTemplate.docx";

    sTable = "S200SOPQuote";

    break;

    case "order":

    //sTemplate = "ordertemplate.doc";

    sTemplate = "PrintOrderTemplate.docx";

    sTable = "S200SOPOrder";

    break;

    }

    var sS200CompanyId = eWare.GetContextInfo("Company", "comp_s200_companyId");

    var s200DocumentId = Request.QueryString("documentno");

    var sType = Request.QueryString("type");

    var sMergerURl = eWare.URL(565)+ "&Mode=3type=" + sType + "&Sage200MailMerge=Y&Sage200Template=" + sTemplate + "&Sage200CompanyId=" + sS200CompanyId + "&Sage200DocumentId=" + s200DocumentId + "&Sage200TableName=" + sTable;

    if (sTemplate!="" && sTable!="") Response.Redirect(sMergerURl);

    %>

  • 0

    You know what? Them's the perils of multiple virtual machines. I was looking at an older version of Connector.

    I wonder how this works now then? Might have to dismantle it a bit.