Skip to main content

#Sales Cloud106 debatiendo

Hi everyone,

I'm really stuck here with a strange issue I'm facing. When a user creates a Case and adds an Invoice Line through a Screen Flow.

The Case is created successfully, but the Flow fails when creating the related CaseInvoiceLine__c record, with the error INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY.

What’s strange is that the user has access to both the Invoice and the Invoice Line. I also tested using the same user account with a different account, as well as with a different invoice line from the samme account, and the Case was created successfully. The error only occurs with this specific Account.

Has anyone encountered something similar or have any ideas about what could cause this? Any help would be greatly appreciated!

Thanks in advance! 

 

#Salesforce Developer  #Salesforce Admin  #Sales Cloud

3 respuestas
  1. Eric Burté (DEVOTEAM) Forum Ambassador
    14 oct, 21:28

    Hello @Nizar Am, ok so if that does not come from the invoice record, the invoice line record, and the account, is there by any chance another lookup field to another kind of object / another record that the user should not be able to see, and might generate this error ? 

    Eric

0/9000

Hi all. Looking for input from anyone who has done B2B with many-to-many account–contact relationships.

Setup:

• B2B only; Sales Cloud is the only data source

• Contacts are linked to multiple Accounts via Account Contact Relationship (many-to-many)

• The same person can have a different role and relevance at each account

Requirement:

If a contact is related to two accounts that are both in a send's audience, they should get two emails, one per account. Each is personalised with that account's data (company name, account-level figures, etc.).

The tension:

In MC Next, segments and data graphs are anchored on Unified Individual, and identity resolution collapses the person into one profile. That's what we want for consent, which is keyed on the email address. But it seems to work against "one email per relationship". It also makes account-level merge fields ambiguous when one person has several accounts in the data graph.

Questions:

Has anyone delivered one email per account relationship in MC Next? Which pattern did you use: separate segments or flows per account, iterating over Account Contact Relationships in a flow, or something else?How do you make the data graph deterministic about which account's data renders in a given email?Any identity resolution tips for this case, e.g. keeping Contact-level identity versus matching on email?

Happy to share back what we land on

#Marketing Cloud #Sales Cloud
1 respuesta
  1. 23 oct, 13:18

    Hi @Lukas Lunow

     

     

    This gets easier to create an approach, when we look at how each piece works underneath. Not done personally, but this is how i would approach this: 

    1. Sending works per row, so create the rows you want sent. MC Next sends one email per record that reaches the send step. If you want one email per account relationship, you need one row per Account Contact Relationship. Build a DMO with a Data Transform, keyed on the ACR Id, with the Contact Id, email and the account fields you need (company name, figures, role) on that row. Two relationships means two rows, which means two emails.
    2. Personalization reads from the record being sent, so put the account data on that record. The data graph gets ambiguous when one person has several accounts attached, because nothing tells it which one to pick. If each ACR row already carries its own account data, the merge fields just read from that row and the output is deterministic.
    3. Identity resolution is for the person, not the relationship, so let it do only that. Unified Individual exists to collapse the same human into one profile, which is exactly what you want for consent on email. Keep Contact Id as a Party Identification and match on email. Keep account-specific attributes off the Individual, so they never compete in the unified profile. Consent and suppression stay at the person level, and the send grain stays at the relationship level.

    The main thing I’d validate is how cleanly MC Next lets you send off a relationship-level DMO while still checking consent on the linked Unified Individual. We can prototype with one contact on two accounts before rolling out. 

     

0/9000

Hi all! I think I can't get around this but I'm wondering if anyone has any ideas. I have two lines of business (line a and line b) and line b wants to see some information from line a. Previously this has not been needed or possible. 

 

I have managed (using a looking field on the opportunity and a sharing rule) to make that happen. The problem is that if line b runs an account report (for example) they get line a info and we don't want that to happen. If I remove the sharing rule that makes this whole thing work - what I created falls apart. 

 

I'm thinking the only way is do something thing that would require a LOT of work and probably involve bringing in a developer - one or more of the following 

- custom dl account reference object 

- screen flow search 

- custom LWC 

anyone have any other thoughts/ideas? 

Thank you in advance as always for any help!  :) 

 

#Salesforce Admin  #Salesforce  #Sales Cloud  #Automation

3 respuestas
  1. 23 oct, 11:20

    Your instinct about the screen flow is right, and it doesn't have to need a developer. 

     

    The core issue is that sharing is all-or-nothing at the record level. Once line B can see a line A Account, it shows up in every report, list view and search. You can't share a record for one screen but hide it in reports. 

     

    So flip the approach: 

     

    1. Remove the sharing rule, so line A Accounts stay private to line A. 

    2. Build the screen flow you mentioned, launched from a button on the Opportunity, and set it to run in "System Context Without Sharing". The flow can read the line A record through your lookup and display only the specific fields line B needs. 

     

    3. Show it on the Opportunity page as a screen flow component or quick action, so there are no reports and no broad visibility. 

     

    Watch out: system context also bypasses field-level security. Be deliberate about which fields the flow displays, and document it for your security or audit team (relevant at a firm like yours). 

     

    If line B also needs to report on that information, add a small custom object or a few fields on the Opportunity, filled by a record-triggered flow with a copy of just the fields they need. That gives line B something reportable without opening up the Account.

0/9000
Abby M preguntó en #Trailhead

Is there a free version to do this on the Contact object? 

 

If there's a first name/last name match via LinkedIn?  

 

#Trailhead  #Salesforce Developer  #Salesforce Admin  #Salesforce  #Data Management  #Sales Cloud

1 respuesta
  1. Eric Burté (DEVOTEAM) Forum Ambassador
    22 oct, 22:27

    Hello @Abby M, if you do not plan to request LinkedIn, and just navigate to it, you may create a custom field that will host the linkedin identifier of the contact, with a hyperlink formula to create the link to the linkedin page, on your contact detail page.  

    Example : https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A9C2QSAV

    Eric

0/9000

Hello, I want to grant permissions for some users to be able to delete a lead from a cadence, even when some activities in that cadence have already started. How can I do that?

2 respuestas
0/9000

 It has been observed that when an Account already exists in Salesforce, and a new Web-to-Lead form is submitted with matching Account details, a new Lead record is created but is not automatically converted into an Opportunity.

Existing Account record is identified as duplicate on the lead, even though the Account Name/Zip code values are not matching.

Is this expected Salesforce behavior?

2 respuestas
  1. 22 oct, 11:45

    Yes, this is expected behavior. Salesforce Web-to-Lead creates a Lead record but doesn’t automatically convert it into an Opportunity just because a matching Account exists. You’d need a separate Flow or Apex automation to handle that process. 

     

    For the matching issue, check your active duplicate and matching rules first. Use a tool or software that uses Fuzzy matching logic to help you find out duplicates and accurate lead to account matching.  

     

    Tools like LeadAngel can also help match incoming leads to existing Salesforce Accounts, even when company names have minor variations, so you can handle lead-to-account matching more accurately before deciding how to route or process the lead. 

0/9000

Hi All 

 

I have created a Pipeline Inspection list view. However when I am trying to search users in Owner filter,  I can see their teams name and not them individually.  For example, if I search Tony's name, I just see "Tony's team" in the filter and not Tony. When I read the help document, it says that Owner filter follows the Role hierarchy. 

I have System Admin role assigned to me and the user is below in the role hierarchy. What could be the reason? Please help. Thanks in advance.

@* Sales Cloud - Best Practices * 

2 respuestas
  1. 21 oct, 09:46

    Hi @Renu Mudhalwadkar

    ,  

    did you ever find out the reason for the described behavior?  

    I noticed the same behavior. When we search for a user in "Owner" filter we only see "XXX 's Team" as result coming up, even though this user doesn't have a role below him/her in role hierarchy (and doesn't have a team) and I don't know why. 

    I still shows the correct data, but it is irritating for the users/managers. 

    Thanks, Sue

0/9000

I am trying go through the exercise guide for Exercise 1: Work with Contracts and when trying to create a contract from the quote, as stated in the guide.

 

"Field mappings aren't available for creating or updating a contract from an object Quote. Specify valid field mappings and try again"

1 respuesta
0/9000

There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please <a href="https://trailhead.salesforce.com/help" target="_blank">contact support</a> and reference error id: FQYASDOY

1 respuesta
  1. 21 oct, 07:15

    This looks like a Trailhead org issue rather than a Chatter configuration issue. 

    Try completing the challenge in a fresh Developer Edition org. 

    If the same error still appears, contact Trailhead Support with proper id. 

    Thanks

0/9000

When trying to change the Custom Field(Sum Booking) Data Type - getting error

This custom field is referenced elsewhere in salesforce.com. : Forecasting Source Definition.

I'm unable to find the reference of the field.

1 respuesta
  1. 21 oct, 07:14

    Kindly go to setup and then >Forecasting Source Definition and check if Opportunity.Sum_Booking__c is selected there. 

    Remove or replace the field first, then try changing the data type again. 

    If you can't find the reference, use Where is this used?  option to know actually where it is refer

0/9000