View related items in a different App

Comments

1 comment

  • Jason Moore

    So I have solved this in a curious way.

    1. I create a table in the expense from the supplier 

     

    var company = @All of Company name;
    var contact = @All of Contact name;
    var phone = @All of Phone;

    var tableContent = [];
    for(var i = 0; i < company.length; i++){
    tableContent.push(company[i] + " |  " + contact[i] + " | " + phone[i]);
    };

    tableContent.join("\n")

    2. I then pull the individual suppliers in a table from the expense 

    var company = @All of Suppliers to campaign;


    var tableContent = [];
    for(var i = 0; i < company.length; i++){
    tableContent.push(company[i]);
    };

    "Company | Contact | Phone \n" +
    "--- | --- | --- \n"+
    tableContent.join("\n")

     

     

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk