You need to sign in to do that
Don't have an account?

if the upload the pdf in related list of the Aaacount object then status Approved how is it Possible?
Hi,all
Please solve the problem my question is that
if the upload the pdf in related list of the Aaacount object then status Approved how is it Possible?
thanks aklkk
Please solve the problem my question is that
if the upload the pdf in related list of the Aaacount object then status Approved how is it Possible?
thanks aklkk
You can use below code for your reference -
1.Create an Approval Status picklist field on Account with picklist value as "Approved" & "Not Approved".
2.Create a handler class, Copy & Paste the code below -
3.Create a trigger using Developer Console on Attachment object
Now, Salesforce recommends to use Salesforce files over Attachment. You have to change the code and move it to Content document in that case. Keep posting here if you have any further doubts.
Happy Coding!