Jump to content
  • Announcements

    • Gregg

      Looking for the wiki content?   12/20/2015

      Until I can transfer the wiki content over to the new Articles, you can find the old content here: http://www.greggsmith.net/wiki.
    • Gregg

      New site logo   01/06/2016

      A special thanks to brianshs for creating a new site logo!

Leaderboard


Popular Content

Showing most liked content on 05/10/2017 in all areas

  1. 2 points
    Hi, You need to make two changes to cdtj's code. The factory should be alg and the IsCol should use persisitent_id. function zDrawAlg(value) { rs.data(alg_snap); } <PDM_MACRO name=lsWrite text="var alg_snap='';"> <PDM_MACRO name=lsWrite text=" <PDM_LIST ESC_STYLE=C FACTORY=alg WHERE=\"call_req_id = '@{list.persistent_id}'\" PREFIX=object>"> <PDM_MACRO name=lsWrite text=" var alg_type = '@{object.type.sym}';"> <PDM_MACRO name=lsWrite text=" var alg_time_stamp = '@{object.time_stamp}';"> <PDM_MACRO name=lsWrite text=" var alg_description = '@{object.description}';"> <PDM_MACRO name=lsWrite text=" var alg_analyst = '@{object.analyst.combo_name}';"> <PDM_MACRO name=lsWrite text=" alg_snap += alg_analyst + ' @ ' + alg_time_stamp + ' [' + alg_type + ']: ' + alg_description + '\n';"> <PDM_MACRO name=lsWrite text=" </PDM_LIST>"> <PDM_MACRO name=lsCol hdr="Activity" attr="persistent_id" fmtfunc=zDrawAlg sort=no> Conan
  2. 1 point
    Hi, you can try to fetch values using PDM_LIST and then apply data to the field. Code could look like (not tested): function zDrawAlg(value) { rs.data(alg_snap); } <PDM_MACRO name=lsWrite text="var alg_snap='';"> <PDM_MACRO name=lsWrite text=" <PDM_LIST ESC_STYLE=C FACTORY=cr WHERE=\"call_req_id = '@{list.persistent_id}'\" PREFIX=object>"> <PDM_MACRO name=lsWrite text=" var alg_type = '@{object.type.sym}';"> <PDM_MACRO name=lsWrite text=" var alg_time_stamp = '@{object.time_stamp}';"> <PDM_MACRO name=lsWrite text=" var alg_description = '@{object.description}';"> <PDM_MACRO name=lsWrite text=" var alg_analyst = '@{object.analyst.combo_name}';"> <PDM_MACRO name=lsWrite text=" alg_snap += alg_analyst + ' @ ' + alg_time_stamp + ' [' + alg_type + ']: ' + alg_description + '\n';"> <PDM_MACRO name=lsWrite text=" </PDM_LIST>"> <PDM_MACRO name=lsCol hdr="Activity" attr="id" fmtfunc=zDrawAlg sort=no>
×