CA Service Management

Save Previous Value to custom field 

Jan 23, 2017 09:30 PM

Hi Community,

 

The following customization is an example of how you can save Previous values to custom fields.  The attached mod/spl file will save the Previous Group and Priority to zPreviousGroup and zPreviousPriority.

 

Implementation Steps

  1. Add zPreviousGroup and zPreviousPriority to CR schema
    • zPreviousGroup
      • Field Type: SREL
      • SREL Table: GRP
    • zPreviousPriority
      • Field Type: SREL
      • Field Table: PRI
  2. Copy the following files to nx_root/site/mods/magic
    • zSetPrev.spl
    • zSetPrev.mod
  3. Restart SDM services
  4. Optionally add zPreviousGroup and zPreviousPriority to detail_cr.htmpl, detail_in.htmpl, and detail_pr.htmpl
    • <PDM_MACRO name=dtlReadonly hdr="Previous Priority" attr=zPreviousPriority>
    • <PDM_MACRO name=dtlReadonly hdr="Previous Group" attr=zPreviousGroup>

 

Statistics
0 Favorited
10 Views
1 Files
0 Shares
3 Downloads
Attachment(s)
zip file
zSetPrev.zip   1 KB   1 version
Uploaded - May 29, 2019

Related Entries and Links

No Related Resource entered.