i have used that @alien4u and its working perfectly fine, unfortunately i could not generate GUID automatically . I am using a suitelet with form to first generate the guid . and then i am manually accessing the guid . So going with external library . Any idea why above external library is not working ?