Questions tagged [account]

Accounts are your organization’s customers, competitors, and partners. Each account stores information such as name, address, and phone numbers. For each account, you can store related information such as opportunities, activities, cases, partners, contracts, and notes.

Filter by
Sorted by
Tagged with
0 votes
1 answer
26 views

Account Related Contacts in same Custom table in LWC in accordian manner

I have designed an Account and its Contacts relationship in lightning Collapsible and Accordion style where data should should be in same table columns. The data is not populating correctly since it ...
user avatar
-1 votes
0 answers
17 views

How to restrict creation of more than on record of custom object added in related list of Account

I have custom object which is a lookup to account and placed in Related-List of Account and I want to throw error when user trying to create more than one record. Please suggest Options
user avatar
  • 1
-3 votes
1 answer
48 views

how to restrict the deletion of account if they have contact in lookup without coding [closed]

if account and contact in lookup ralationship and if i dont want to delete the Account, and i want to restrict the deletion of account, so how can you do that.Without coding and without cheked Box.
user avatar
0 votes
1 answer
42 views

How to assign the lead owner data to contact in a trigger?

I'm trying to create a trigger that creates an account and contact when the lead status is changed to a given value. The contact value needs to come from the Lead Owner User. How can I achieve that? ...
user avatar
-1 votes
0 answers
11 views

How to get territory fields in account? [closed]

I have a custom field "Code__c" in territory and i need that field are stored in account field when territory is associeted with the account. How i can do it ?
user avatar
-1 votes
1 answer
22 views

How to relate two accounts?

My scenario that i want to achieve is to relate two accounts via a relation ship: I'm on an account, and I have to have a related list wich is "Account relationship" In this related list : ...
user avatar
0 votes
0 answers
7 views

Sharing set on Account to share contacts- controller by parent

We have scenario to display all contacts of account to all users under the same account.OWD for external/internal access for contact is set as 'Controller by Parent'.OWD for account is Private. I ...
user avatar
-1 votes
0 answers
21 views

can we filter Account records while creating a partner record in salesforce

HOW TO FILTER OUT THE specific accounts in partner record creation.
user avatar
0 votes
1 answer
22 views

Not Able to Create The Master Detail Relationship Field on Invoice Object

I am facing this error.... My goal is to create the relationship between Account and Invoice Object..
user avatar
-1 votes
2 answers
24 views

Need a validation rule for two different account types

I have two account types, Provider and Partner. My task is to forbid to create or change the record without entering a special code in a custom field. For Partner it should start from PRT, for ...
user avatar
0 votes
2 answers
35 views

Cannot get account name from list account id

Below is my code to get account name from list account id. But when I debug, result returned is null. please kindly show me my error on my code. Code: List<PicChangeHistory__c> lstAccIds = [...
user avatar
0 votes
1 answer
42 views

Insufficient Privilege's on Contact

I have a contact that is acting like it's a private Contact even though it's related to an Account. Users are able to access the Account without any issues, but the Contact continues to give an ...
user avatar
0 votes
0 answers
67 views

Address State and Country not visible on the records

Dear friends I have an interesting problem. The address fields are not correct visible on the records. On the account page I see all address fields, but on the Address record and Service Territory I ...
user avatar
0 votes
0 answers
42 views

Strange error : INVALID_FIELD, All accounts must have the same current owner and new owner.: [OwnerId]

We have a scenario in which when a custom object owner gets updated we will cascade that to all accounts related to that object via a junction object. Code is very simple. if (!studentClassRoomList....
user avatar
0 votes
0 answers
12 views

Access note created by senior user under account

One of my colleague is facing issue with in the client's org. Like below: There are two users(JuniorUser, SeniorUser) with same profile(UserProfile1) with Salesforce license. JuniorUser reports to ...
user avatar
0 votes
1 answer
53 views

Create custom field name with two underscores in account object in salesforce

I want to create a custom field. The requirement says the custom field name must have double underscores (__). The field name should be qidc__onekeyid_ims But Salesforce is giving errors. The ...
user avatar
0 votes
0 answers
17 views

Opportunities report from campaign contacts at account level

Is it possible to bubble up contacts on a campaign to the account level and report opportunities closed at the said account(s) back to a campaign? Currently, I have campaigns to contact to opportunity ...
user avatar
  • 101
0 votes
2 answers
279 views

How to query related Contact from Account by Id in "after insert, before update" trigger?

I need to query the related Contact after a new Account is inserted and before it is updated, but I am encountering an error: System.QueryException: List has no rows for assignment to SObject. I've ...
user avatar
  • 5
1 vote
1 answer
18 views

Salesforce: Best approach to create opportunities via API without Salesforce Account ID

We have the following situation: We are planning to integrate our 3rd party Webshop with Salesforce. We are going to use a middleware. Each order from the webshop should create an opportunity in ...
user avatar
0 votes
0 answers
17 views

How to display accounts of a user in which he is a account team member in alookup field?

I have a custom lookup field which is related to account. I want to select only the accounts that I am a team member of. Those accounts have to be shown how to give this filter?
user avatar
0 votes
1 answer
32 views

What kind of objects are account and contact?

If you look at the ERD's of Sales & Service cloud then Account & Contact are shown in black and white. They do not belong to Sales Cloud or to Service Cloud. But to what "package" do ...
user avatar
  • 149
-2 votes
1 answer
58 views

Apex trigger running twice

For the Account object, we have two user defined fields: User_type__c and Account_Type__c. On the entry screen User_type__c is a dropdown box where the user selects a value. Upon clicking save, the ...
user avatar
0 votes
1 answer
103 views

Deployment : Deploy standard quick action which is creating member plan record

We are trying to deploy a quick action(Add_Benefit_Plan ) which is present on Account Object. Action Type of this quick action is 'Create Record'. This quich action create the Record in Member Plan (...
user avatar
1 vote
1 answer
21 views

How to connect Candidate(FLS) button to specific account record type?

In my org we have a few account record types. The button Candidates(positioned as action on account layout) works perfectly for just one record type and I want it to work with other ones too(I am ...
user avatar
-1 votes
1 answer
42 views

Trigger to fetch unrelated object record [duplicate]

How to update unrelated object feild when opportunity is created with related account which has same name email phone as in lead
user avatar
-2 votes
1 answer
310 views

I want to update an related Account Country field when a new Contact is Created with country field value,

I am new to Salesforce. I am trying to update the Account country field, when a new Contact is inserted or update related to it. I understand this, but the condition is: "if first Contact ...
user avatar
2 votes
0 answers
52 views

Custom setting insertion contributing to Lock Row exception which finally causes to ConcurrentLongRunning Transactions

We recently faced ConcurrentLongRunning exceptions in our org. We resolved a few rest entry points which SF Support team suggested but few I am not sure if SF Support team analysis is correct. We have ...
user avatar
0 votes
0 answers
28 views

Can't access RecordTypeId of Account object

I'm not sure why I can't access the RecordTypeId or any sort of recordtype field of the Account object. //error at select Account[] accs = [SELECT RecordTypeID, TYPE FROM Account]; Schema....
user avatar
  • 1
0 votes
1 answer
116 views

How to use FIELDS(ALL) with SOQL PushTopic

I'm trying to test out creating a PushTopic within the developer console using API v54.0. I want to create a PushTopic to retrieve all fields inside the Account object when a create, update, delete or ...
user avatar
0 votes
0 answers
82 views

Auto populate account owner after account name is chosen when creating new opportunity

I need to create a screen flow for creating a new opportunity, and I want when I choose the account name, the opportunity owner field to show the owner of the account, or if not showing to have only ...
user avatar
0 votes
0 answers
34 views

Alternative of contact to contact relation usecase in salesforce

I have a business case wherein I have to create a contact-to-contact relationship. here is the usecase in a diagram I could think of only the below options to resolve this issue. option 1. Convert ...
user avatar
  • 197
2 votes
1 answer
96 views

When to use Account vs. AccountChangeEvent

I'm playing around with creating a Apex Trigger for a use case where after a change has been committed on an Account sObject, it sends a Json of the Trigger.new to a HTTP Endpoint. I've used Account ...
user avatar
1 vote
0 answers
59 views

Existing Account not matching during Lead conversion process

I'm having an issue with existing account matching during the Lead conversion process. In this example, I am using the Standard Lead Duplicate Rule; with a custom account matching rule with the ...
user avatar
  • 89
1 vote
2 answers
224 views

Make Account Number unique

I thought of adding a validation rule to the Account that would check if an account number already exists via VLOOKUP. Unfortunately it seems that $ObjectType.Account.Fields.AccountNumber is not ...
user avatar
  • 1,966
0 votes
1 answer
36 views

Cannot add a contact related to account without Direct checkbox

I want to add a contact, related to an account, as the contact of an opportunity, but I can only select the related contacts that have the checkbox “Direct” active. This checkbox I cannot see, edit or ...
user avatar
0 votes
1 answer
75 views

Role Hierarchy, Sharing Settings & Team Member puzzling issue

I have this Role Hierarchy (assume there is only 1 user in each role listed below) How I've set up all the accesses: OWD: Account and Contract -> Private for both Default Internal and External ...
user avatar
  • 1,078
-1 votes
1 answer
58 views

How to link Account with Event in a SOQL Query

I need a SOQL Query to List of Ids from Account older than 14 years and with no Events in the Last 6 Months. I tried to "link" both requests with whoId relation on Event: SELECT Id, ...
user avatar
0 votes
1 answer
157 views

Trigger on ContentDocumentLink object which sends an email each time i upload a file in account object

Things I have done:This is my code.Earlier I had done it without using an email template by using a subject and body in my apex code itself.It worked fine and each time I uploaded a file in account ...
user avatar
4 votes
1 answer
69 views

DescribeFieldResult .IsCascadeDelete()/isRestrictedDelete() don't return the correct value for Opportunity.AccountId/Case.AccountId fields

In Case Object there is a "special" lookup field to Account, with the API Name AccountId and Label Account Id (btw in the UI we see Account Name as the field's label which is the name we ...
user avatar
  • 41
0 votes
0 answers
37 views

Validation rule on user input

I'm trying to restrict users of filling in certain values in a VAT field. I want them to follow the VAT convention PREFIX-NUMBER(ex. BE0121569515) I made a validation rule to restrict on character ...
user avatar
  • 113
0 votes
1 answer
324 views

Batch class for deleting child record when parent record is deleted

I have written this code for deleting child records when parent record gets deleted. But when i execute this i dont get any error nor the records are getting deleted. Kindly help me where i have done ...
user avatar
  • 1
0 votes
0 answers
46 views

BillingState Issue

i am trying to get BillingState value from apex trigger before insert, before update. I have troubles when change the value it got the last one and not the actual value I do a debug and get the last ...
user avatar
0 votes
1 answer
181 views

How to mass delete manually assigned accounts in territory management?

as you can see in the picture, the task is simple, but instead of going one by one and manually deleting each manually assigned accounts in territory management, how would one go about deleting each ...
user avatar
  • 103
0 votes
1 answer
224 views

SOQL Query for Manually Assigned Accounts in a Territory

The goal is to query all Manually Assigned Account on a particular Territory. If possible, a query that can be run through Developer Console/Workbench. Is this doable? I can't seem to find anything ...
user avatar
  • 103
0 votes
1 answer
59 views

Duplicates account not displayed in the report

Hello, I disabled the standard account duplicate rule because it shows accounts which has no duplicate records. I created a new matching rule based on the exact account name and I created a duplicate ...
user avatar
  • 617
0 votes
0 answers
34 views

Unable to create record in Community

I have the following objects Contact (looks up to) -> Account, Project, Project Role (looks up to Contact and Project) A portal user has the following access to the objects: Account (Public Read-...
user avatar
  • 1,313
2 votes
1 answer
43 views

What is the lookup field overhead vs text field with 18 character id?

I have a need to set a field, Account.Previous_Owner_Id__c, which will store the 18 characters Id of the User who used to be the previous owner of the account. Questions: If we create this field as a ...
user avatar
0 votes
0 answers
25 views

Add birthDay field or registration's Form

How can i add the field of birthday in the Registration's Form , this is the ISML <div class="form-group <isif condition=${!!pdict.profileForm.customer.birthday.mandatory === true}>...
user avatar
0 votes
0 answers
33 views

Import Donation without Contact and only Account Data using NPSP Data Import

I would like to insert Donations with only account data using NPSP data import. The use case here is that the donation is from an organization(Account) with no Contact involved in between. This means ...
user avatar
-1 votes
1 answer
26 views

Is any form to duplicate the account table in visualforce page

Hello, the button "Validar cuenta" take me to a visualforce page, I'm traying to figure it out how that page can look exactly as the account table, with the same bar, and same button (new)
user avatar
  • 37

1
2 3 4 5
16