Summary of item being approved for RITM

kunal16
Tera Expert

Hi,

On an approval form, we see a macro which says like 'Summary of Item being approved'.

For a change request approval, the preview of this macro shows some of the information from the change request like below:

find_real_file.png

Whereas, for an RITM approval, the approval summarizer looks like

find_real_file.png

How can I modify the macro for RITM summarizer which will be similar like that of a change request one? - which will show information like Number, Requester, Risk, Impact etc

4 REPLIES 4

Kalaiarasan Pus
Giga Sage

OOB, these fields gets pulled from the default view of the form. If you add the fields to the default form view, it should get reflected in the approval summarizer.


Hi Pratyush,


I did find the macro for RITM - approval_summarizer_sc_req_item


But I am not sure how this macro can be modified..... Any thoughts?


Pratyush Mandal
Mega Expert

1st approcah -



Put code like this -


  ${gs.getMessage('Summary of Item being approved:')}


                      <g:label_spacing />


              </td>


      </tr>


      <g:evaluate var="jvar_ni" expression="var task = ${ref}.sysapproval;" />


      <tr>


              <td width="100%">


                      <table width="100%">


                              <tr class="header">


                                      <td>


                                              $[SP]


                                      </td>


                                      <td>


                                              ${gs.getMessage('Description')}


                                      </td>


                                      <td>


                                              ${gs.getMessage('Price')}


                                      </td>


                                      <td>


                                              ${gs.getMessage('Quantity')}


                                      </td>


                                      <td>


                                              ${gs.getMessage('Total')}


                                      </td>


                              </tr>



2nd Approach -


You can copy the code from UI Macro - approval_summarizer_default


and make necessary changes as per your requirement.



Thanks,


Pratyush