Skip to main content
Eager 2 Learn apex's user avatar
Eager 2 Learn apex's user avatar
Eager 2 Learn apex's user avatar
Eager 2 Learn apex
  • Member for 8 years, 2 months
  • Last seen more than 7 years ago
comment
Method does not exist or incorrect signature: Nodeshierachy.getAccountHierarchiesQuick()
Map<Id,Nodeshierachy.HierarchyNode> did work thanks anyway!
comment
Method does not exist or incorrect signature: Nodeshierachy.getAccountHierarchiesQuick()
Nodeshierachy.getAccountHierarchiesQuick(resultIds); returns Map<Id,getHierarchies.HierarchyNode> an not Map<Id,HierarchyNode>
comment
Method does not exist or incorrect signature: Nodeshierachy.getAccountHierarchiesQuick()
this results in: Illegal assignment from Map<Id,getHierarchies.Nodeshierachy> to Map<Id,HierarchyNode>
Loading…
Loading…
Loading…
awarded
comment
Can anyone confirm if the before delete with trigger.old is not firing/working on attachments
trigger is active, condition: if ( !( isAllowed(currAtt, theUser, allowedUsers) ) ) debuglog didnt show any logs
Loading…
comment
Help writing an Unittest
How do i make a current user in the unittest?
asked
Loading…
awarded
comment
insert and updat unittest not covering. adderror why?
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?
comment
insert and updat unittest not covering. adderror why?
your right so in this case i need to update content right? Or is it contentlink?
comment
insert and updat unittest not covering. adderror why?
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?
Loading…
awarded
accepted