You need to sign in to do that
Don't have an account?
r3r
md5 parent id
Hi All,
If any user have to close stage first he had to upload a document a created a visual force page to upload doc and it stores in notes and atachment and also generate MD5 code in opportunity.up to yet its ok now if the attachment is deleted md5 have to delete and stage should be previous value i have to write trigger in attachment, how to fetch parent id??
for(Attachment a:Trigger.new)
{
Id pid=[SELECT ParentId FROM Attachment WHERE Id=:a.Id];
}
}