Quantcast
Channel: SCN : Discussion List - SAP Sourcing
Viewing all articles
Browse latest Browse all 1416

How to get the correct link to Contract document phase information page?

$
0
0

Hi Experts,

We have implemented a custom mail template for sending workflow rejection emails if a contract document is rejected in workflow. The standard Workflow Approval status email contains the reject reason. But I am not able to fetch the same in the custom email, since the same token is not available in the custom template.

I checked the Reference Guide for Contract Document and found that there is an Associative Collection called WORKFLOW_HISTORY with Collection Class name "doc.WorkflowHistoryItemBo" but there is no iAPI method to access this collection or its members.

 

As an alternate, I am trying to update the URL embedded in the custom email to point directly to the Phase Information page. The current URL points to the contract document and is generated using:

"https://<host>:<port>/sourcing/fsbuyer/contracts/contracts_summary," + doc.getObjectReference().toLinkString() + "?rqaction=load&allow_redirect=true"

I changed this to:

"https://<host>:<port>/sourcing/fsbuyer/doc/configphase/phase_info_pg," + doc.getObjectReference().toLinkString() + "?rqaction=load&allow_redirect=true"

 

But the above url is taking us to the Contract Document main page only, where we have to again click on Document - Phase Information to access the phase information page. Can you please help in finding out what is wrong? How can I make the user directly open the Phase Information page?

 

Thanks in advance,

Gayathri


Viewing all articles
Browse latest Browse all 1416

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>