0

Events created to Calls in VOD_CALL2_HEADER_CLASS have incorrect OwnerID

 

Events (standard Salesforce Calendar Events) created automatically to Calls (Call2_vod__c records) have currently wrong OwnerID (the ID of the User that creates the Call, not the ID of the Owner of the Call).

The Salesforce Calendar of the Admin gets filled with Events assigned to Calls of other Users (in case the calls are pre-generated automatically by some custom APEX code).

 

Please fix it.

 

See:

https://support.veeva.com/hc/en-us/community/posts/360009444934-Events-created-to-Calls-in-VOD-CALL2-HEADER-CLASS-have-wrong-OwnerID

 

9 条评论

  • Avatar
    Arpad Laczkovszki 正式评论

    Hi Marius,

    This is actually working as designed in Veeva CRM, but you have a way to set values for audit fields in Salesforce for records that are created using data loader or Apex. You can find more information on how to achieve that in the following article: https://help.salesforce.com/articleView?id=Enable-Create-Audit-Fields&type=1&language=en_US

    Hope this helps, let me know in case you have further questions.

    thanks,

    Arpad

  • Avatar
    Marius G.

    Arpad,

     

    it is about wrong Owner (Field OwnerID) of the Event. OwnerID is a standard field that can be set without "create audit fields".

     

    The Owner of the Event should be the same as the Owner of the Call, the Event is associated with. Veeva CRM creates Events without setting the Owner to the right value. This is actually a bug, and should be fixed.

     

    regards

    Marius

     

  • Avatar
    Arpad Laczkovszki

    Hi Marius,

    What I meant is that you can set CreatedById on the Call records when you are loading them, so the OwnerId on the Event record will be set as if you would have created the Call as the user (which is what I was referring to as working as designed - whoever creates the Call, is the owner of the Event record). Hope this helps.

    thanks,

    Arpad

  • Avatar
    Marius G.

    Arpad,

     

    > What I meant is that you can set CreatedById on the Call records when you are loading them,

    > so the OwnerId on the Event record will be set as if you would have created the Call as the user

    This is exactly the problem! I DO set CreatedById on the Call, and the OwnerID on the Event is NOT set to the same value. I'm happy you think the OwnerID on the Event should be set to the Owner of the Call. but it isn't !

    This is the reason, I raised this suggestion here to fix it.

     

    Please reconsider

  • Avatar
    Arpad Laczkovszki

    Hi Marius,

    Can you please open a support ticket with the details? Please include the environment details and some example records along with the mapping you are using so we can check this.

    thanks,

    Arpad

  • Avatar
    Marius G.

    Hi Arpad,

     

    this exactly what I did. (I already included the link to the support request - please see first post here):

    > Please fix it.
    > See:
    > https://support.veeva.com/hc/en-us/community/posts/360009444934-Events-created-to-Calls-in-VOD-CALL2-HEADER-CLASS-have-wrong-OwnerID

     

    If you follow the link you will see:

    > Hi Marius,

    > Our Development team concluded that this should be an enhancement request, please feel free to submit one via Veeva Communities.

    > Here is a link to the CRM Product Suggestion Community

    > Thanks

    > Eugene

     

    So here we are. I suggest that this bug should be fixed

     

    kind regards

    Marius

  • Avatar
    Arpad Laczkovszki

    Hi Marius,

    In the referenced support ticket, your example does not set the CreatedById for the Call, only the OwnerId. As mentioned below, you need to set CreatedById as well for Calls created via data load or code so that Events will have the desired OwnerId.

    thanks,

    Arpad

  • Avatar
    Marius G.

    Hi Arpad,

    sorry for the confusion on our side! In last responses I mixed up CreatedById with OwnerId.

     

    Regarding your suggestion to "Enable Create Audit Fields": unfortunately this is not a practicable solution. Most of our customers won't allow us to enable this settings due to compliancy requirements. 

     

    Is there a reason why the creator of the Call is taken as the Owner of the Salesforce Event (instead of the Owner of the Call)?

     

    Kind regards

    Marius

  • Avatar
    Arpad Laczkovszki

    Hi Marius,

    The reason is that Call data loaded via APIs will not always have the OwnerId specified in the mapping and several live integrations are already leveraging this working behavior across our customer base. As explained initially, this is working as designed at the moment but we'll keep track of this suggestion to set priority for a potential future enhancement.

    thanks,

    Arpad

请先登录再写评论。