Skip to main content
10 events
when toggle format what by license comment
Apr 13, 2017 at 12:54 history edited CommunityBot
replaced http://salesforce.stackexchange.com/ with https://salesforce.stackexchange.com/
Jan 23, 2017 at 0:11 comment added Eager 2 Learn apex ok if i use: Approval.LockResult[] lrList = Approval.lock(Orderregel__c, false); i get variable does not exist im a little in the dark here?
Jan 22, 2017 at 23:57 history edited Santanu Boral CC BY-SA 3.0
added 12 characters in body
Jan 22, 2017 at 23:56 comment added Santanu Boral update content..
Jan 22, 2017 at 23:55 comment added Eager 2 Learn apex your right so in this case i need to update content right? Or is it contentlink?
Jan 22, 2017 at 23:47 comment added Santanu Boral In your trigger you are locking Orderregel__c, but in test class you are locking Account... you are blindly copy & pasting the code without using the logic
Jan 22, 2017 at 23:37 comment added Eager 2 Learn apex thanks for your help. On the ContentDocument it did work indeed, but im a little confused on the contentversion. Do you mean with 1. insert contentlink; 2. Approval.LockResult[] lrList = Approval.lock(accts, false); 3. update ContentDocument;? this last one isnt on the Contentversion could you please clarify whats wrong?
Jan 22, 2017 at 23:10 history edited Santanu Boral CC BY-SA 3.0
edited body
Jan 22, 2017 at 23:05 history edited Santanu Boral CC BY-SA 3.0
added 209 characters in body
Jan 22, 2017 at 22:59 history answered Santanu Boral CC BY-SA 3.0