Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3132

Fetching Doc type in Contract Create

$
0
0

Hi Experts,

 

I am facing the problem during fetching the document type of current document in Contract Create script.

 

 

My requirement is, I want to restrict user from creating 1st document other than "Contract".

for this i need to fetch the doc type of current document.

 

Error.PNG

 

I am using following piece of code in Contract Create script but it is throwing me an error.

 

issue.PNG

 

I am unable to access netviewer JAVA logs due to some technical problem, so I am unable to paste complete log information.

 

 

Please help me with your expert comments.

 

 

Regards

Nishant


Viewing all articles
Browse latest Browse all 3132

Trending Articles



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