PERSPECTIUM: how to map either the last worknotes or the full history, depending on whether insert or update

//in the outbound table map, field mapping:



answer=getWNList();

function getWNList(){
    var sReturn=current.work_notes.getJournalEntry(1);
    gs.log(current.number + ': OP=' + ,'getWNList');
    if (current.operation()=='insert'){
        sReturn=current.work_notes.getJournalEntry(-1);
    }
    return sReturn;
}

Comments

Popular posts from this blog

Running transform maps asynchronously

Post a command to the ECC queue for the mid server to initiate a powershell file copy

GlideRecord setValue