The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
12 views

Owner not getting mapped to the created record

A Visualforce page reads param id of a custom object CustomObjA__c and creates a new record of CustomObjB__c by mapping the required fields from A to B. It also maps the owner of record A to B. After ...
1
vote
0answers
11 views

Territory Records [closed]

The admin reported that the Territory Record Name "A" was renamed to a different Territory name (eg. "B"), thus creating duplicate records for B (eg. B in US & B UK), subsequently causing issues ...
0
votes
0answers
16 views

How to track record view History

Is there any app or method that tracks who views a record? Ive tried doing an apex trigger but the closest I can get is recording when there is a change to another object. On a side note, the ...
0
votes
2answers
65 views

What are consequences of changing Record Type Name

In my full org I have a record type with label name as ABC and its record type name is ABC_XXX. I also have a DEV org with the same record type names in there. I would like to changes the record type ...
0
votes
1answer
21 views

Variable from record with custom button

I have made a custom button that launches an apex class from the following javascript code: {!REQUIRESCRIPT("/soap/ajax/10.0/connection.js")} {!REQUIRESCRIPT("/soap/ajax/10.0/apex.js")} var ...
1
vote
1answer
63 views

Find specific record in sObject list in efficient way

I have a list of type of custom sobject List<CustObject__c> I have ID of a specific record of that object. What is most efficient way to lookup this record in the list? I need to optimize some ...
0
votes
1answer
37 views

Best way to get duplicate records [closed]

I have billions of records.But there are 4-5 records which are duplicate.What is the best way to get those duplicate records which must be optimized and have good performance.
0
votes
1answer
66 views

How to update Contract Record when related Quote record is changed

I'm aiming to update a Contract Date field when the Date field on a corresponding Quote record is changed. The Quote record is linked to the Contract via lookup. I already have a formula on the ...
0
votes
1answer
22 views

Different quote layout for different record types

How can i configure that if an opportunity is in record type a when i create a pdf of quote, the layout will be layout a, if an opportunity is record type b, the quote layout will be layout b? Thanks ...
0
votes
1answer
25 views

Get and Set attributes of a record

I would like to get and set attributes of a record in a VF controller class without performing a query. I can get the current record id with any of the below methods. Can I read and write to ...
0
votes
2answers
53 views

Change record type error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY

trigger ChangeRecordType on Product2 (after update) { for(Product2 product: Trigger.new) { if(product.Available_for_lease__c == false) { product.RecordTypeId = 'Products Archive'; ...
0
votes
2answers
964 views

Error: Entity is not api accessible at line 1 column 1

trigger Stage on Opportunity (After insert, After update) { for (opportunity opp : trigger.new) { if (opp.StageName = 'Closed won') { for ( product pro: trigger.new) { ...
1
vote
1answer
26 views

transfer product from a record type to another record type

I have created a product in my "products" record type, now I want to transfer the product into my "product archive" record type and set it as private so that no one can see it. How can i do this?
1
vote
2answers
271 views

Workflow , Trigger dead lock scenario

I have a question on above mentioned subject. If I am having an apex trigger A1 on X__c custom object. Once there is an update on X__c record , trigger fires. Now when trigger is running by that time ...
1
vote
1answer
83 views

Salesforce getUpdated() and getDeleted() consistency

I am working on a backup application where there are multiple objects to be backed up. When the backup is complete, I stop the backup process and record the end time. For example, if there are about ...
0
votes
1answer
19 views

Object record in particular application

I have problem view record object difference in two application using general object. Example : I have created my object name "Company" and two application. Object Company have 3 field (Name, ...
-1
votes
1answer
21 views

Apex Update of Record Type fails

I hope you can help me with my problem. I am trying to update a record with Apex Code using the workbench. The Code compiles and so I thought it is fine. The code updares the wrongly set record type ...
0
votes
1answer
29 views

Customize Record Types 'New' Button of a Standard Object Tab

On clicking the 'Case' Tab, and then the 'New' button, It asks to choose the 'Record Type' in the next screen. It shows all available recordtypes in the picklist. I want to remove couple of record ...
3
votes
1answer
81 views

Output the status of contact owner to a VF Page

I am trying to pull list of contacts with no accountId showing if the contact owner is active or not. Page: <apex:pageblockTable value="{!EmptyAccount_contact}" var="a"> ...
0
votes
1answer
441 views

Trigger error before delete on custom object

I have a custom object in salesforce called : File_Uploaded__c with many fields such as Name, Size, DeletionDate__c and i declared a trigger to set the deletion date when a record is deleted, here's ...
1
vote
2answers
262 views

modal window pop up in apex pageblockTable opens the same message for every record

I have a pageBlockTable with modal pop up window opening on clicking a column value. Example: I have 2 columns Subject and Date. When I click on ABC, in the modal pop-window I'm showing "XYZ and ...
0
votes
1answer
194 views

Update Lead Owner using Flows/ visual Flow

I created a flow with many choices, one of them is update the Lead Owner,it takes you to a screen where you choose 1 user from a list of users and in the Flow I save the User Id but when I hit Next ...
2
votes
2answers
274 views

Problem with trigger when Inserting new records on custom object

I am trying to insert new records into a custom object (production) via apex data loader. When I do so I get an error like ​ ReservationTrigger: execution of AfterInsert caused by: ...
2
votes
1answer
138 views

Is there anyway to delete a SF object record using the PHP toolkit?

I've this object relation: Group_Test__c <---> AssociationGroupOrder <--> Order So I can have a N:N realtion between Groups and Orders. I'm working with the PHP Toolkit. ...
1
vote
4answers
712 views

How to mass update a field on User Record

I am trying to update a field on all users in the organization. Ex: I would like to update the company name for all users in my organization. I tried these: - Create a list view of all users and try ...
1
vote
2answers
38 views

How do I find custom object records and connected objects?

I have recently been tasked with going through all of our custom objects and deleting the ones that aren't used. Being relatively new to Salesforce, I'm having a bit of difficulty finding if the ...
0
votes
1answer
48 views

Picklist value monitor

I have a custom object X where I have lookup of Y. Now in Y there are three values(Y1,Y2,Y3). For Y1, a picklist values in X would come up as X1,X2. For Y2, picklist values in X would come up as ...
1
vote
3answers
71 views

Field access based on profile and record type

I searched for a while on Google and in here, but couldn't find an answer to my issue. I'm making an app just for testing, but I need to have a "General Employee" profile and a "Director" profile. ...
1
vote
2answers
337 views

How to capture current users Name and Email

Work in a very large org and I have a VF button/page which shows a set of product fields that the teams are asked to edit/update I would like to capture the user and email in a separate field so I ...
1
vote
2answers
36 views

Can a record type be a part of many business processes?

I kind of understand the difference between a record type and a business process. But, I am not comfortable with my understanding. Can a record type be a part of (or associated with) many business ...
0
votes
1answer
141 views

Record visibility restriction to User irrespective of Ownership

I have an Object structure like Parent - Child relationship. Where in i just need to display records where logged-in user is lookup in Parent record. Leave Balance is Parent Object and Leave Request ...
1
vote
1answer
213 views

OnClick JavaScript id issue

I am using a List custom button in Listview once I select the records through checkboxes then the script will call and get the list of id's and pass them to apex class methods, but at that point I am ...
1
vote
3answers
411 views

How to lock Opportunity Record?

How to lock a Opportunity Record if the Stage value is changed to Closed Won or Closed Lost? I think it can be done using a validation rule but I am not sure and want to have a best approach.
3
votes
2answers
350 views

Why is my locked record editable?

Why is my record locked? The record that the class below creates, when shown in detail view, has the 'locked' icon, and appears to be locked at first view, but- Why can I edit the locked record (Even ...
2
votes
1answer
1k views

System.VisualforceException: Modified rows exist in the records collection!

I am displaying the pagination using standardsetController. And it is working but when i try to change the value in my inputtest and i am clicking the next button it is showing error that ...
1
vote
0answers
207 views

How to edit mode, can create a new record

My problem, I would like saving an edit mode don't update a records but create a new record. This is to keep a history of modifications. I can't find a solution. Should be create a relationship ...
8
votes
2answers
532 views

Getting record count through WebService bypassing LIMITS

I have written the below web service class to return record count. But it is returning the following message "System.LimitException: Too many query rows: 50001". How could I overcome this limit? ...
1
vote
2answers
1k views

how to get the id of a record in a row?

I have a visualforce page which shows list of a custom object records.One column shows the Account name which has lookup relationship with the custom object.I need to add one button in each row and on ...
1
vote
2answers
894 views

Change the field of another object before insert

I have two Objects : Activities and Services, with each field. I create a Trigger (Before Insert) on the Activity, in the Trigger I would like to modify the fields of a record of the Service object. ...
2
votes
1answer
116 views

Picklist control to create a new record

I am working on a project to manage the human ressources, well my question is: how can I control a picklist to create a new record. Exemple: I go to Application tab, wich contain a picklist, among ...
23
votes
4answers
7k views

can salesforce handle 50 or 70 million records?

Can salesforce handle 50 or 70 million records? in the past I worked on the org which had 20 million tasks and it was real problem, so wanted to get experts thoughts on what is the impact if we ...
5
votes
4answers
3k views

Is there a way to set-up red green yellow lights that show up depending on what status the record is in?

I've seen apps with this functionality but not quite sure how to implement it
1
vote
1answer
428 views

Allow Duplicate Email but alert user that this email already exist

This is one weird requirement for our client, they want to allow duplicate email in Lead object, but when saving the record it should alert them saying that "A lead With this email address already ...
2
votes
1answer
103 views

Restrict Customer's View of Object Records to Only Those They Create

I need to create a force.com portal site in which customers can submit one or two employment applications which they will fill out online in the site. The challenge for me (as a new force.com ...
5
votes
1answer
301 views

Can SOSL be used with more record than SOQL?

Because our client has a LOT of records (I have no idea how much), my colleagues feel it is necessary to use a SOSL query rather than a SOQL query, but I've never heard anything suggesting that SOSL ...
2
votes
3answers
265 views

Need to Create a page to display all the account records existing the instance.

Need to Create a page to display all the account records existing the instance. It should display 20 records in one page and should have NEXT & PREVIOUS button to navigate to other records. but ...
1
vote
2answers
41 views

Duplicated informations

I’m looking for a way to know which are the “duplicated ” records in production . I want to know witch are the leads record matching the following condition: lead email=Contact email. So check for ...
1
vote
2answers
187 views

I wish to assign contacts, accounts to a particular business unit and time frame will be defined Is it possible?

In Salesforce, i wish to assign contacts, accounts to a particular business unit and time frame will be defined. All the users in the particular business unit will see those records in that time ...
1
vote
0answers
117 views

How long does Salesforce save deleted objects, fields and records [closed]

I am confused about this principle, How long does Salesforce save deleted objects, fields and records? I've got several answers, for now that's what I know: Fields > 15 day Object > 30 day ...
0
votes
1answer
2k views

I have created a custom lookup field. But the records are not displayed in the related list of the parent object

I have created a custom lookup field. But the records are not displayed in the related list of the parent object. Suggest me what needs to be modified or checked