-
ChatterFeed
-
1Best Answers
-
0Likes Received
-
1Likes Given
-
17Questions
-
45Replies
formula 1111
NOT($RecordType.DeveloperName == 'Link' && ISPICKVAL(Current_Tamper_Level__c, '')) &&
NOT($RecordType.DeveloperName == 'Link' && ISPICKVAL(Start_Mode__c, 'Disabled'))
,1, 0)
Thank you
- JAY_P
- February 11, 2016
- Like
- 0
- Continue reading or reply
TRIGGER WRITTING
I have two object name is mobile__c and shutdown__c both object have connection to one field bachno_c
and there are two typs of record mobile1 and mobile2 in the field call module__c
so for that if record is mobile1 and in shutdown__c we have one field shutdown_type if i put if stop value it will change to start
for the record mobile2 it will not change anything how to write trigger for that???
- JAY_P
- January 19, 2016
- Like
- 0
- Continue reading or reply
system adm rights changed
I have one requirment and for that i want to check one validation rule but in the system i have system administrator right ,,, so for checking that validation rule i dnt want have system adm right i want to change it but system did not allow me to do it how to solve this problem...
- JAY_P
- November 04, 2015
- Like
- 0
- Continue reading or reply
validation rule need urgent
- JAY_P
- November 02, 2015
- Like
- 0
- Continue reading or reply
bulk load data
I have one sql query file of data i want to load in salesforce as a bulk dataload how can i do it???
- JAY_P
- October 19, 2015
- Like
- 0
- Continue reading or reply
schedule bulkload data
I have one sql query file of data i want to load in salesforce as a bulk dataload how can i do it???
this is the query file look like:::::
SSET_EXT_ID__c,Account__r.ACCOUNT_EXT_ID__c,Asset_Status__c,Asset_Vendor__c,Profit_Center_Code__c,Business_Unit__c,Contract_Number__r.CONTRACT_EXT_ID__c,CurrencyIsoCode,Current_Start_Mode__c,DealerName__c,Description__c,Equipment_Cost__c,Equipment_Type__c,IsCompetitorProduct__c,Last_System_Refresh_Date__c,Manager_Residual__c,Manufacturer__c,Name,Net_Investment__c,New_Business_Amount__c,New_Used__c,Option_Balloon__c,OwnerId,ProductFamily__c,ProductLink_Lock_Failure__c,ProductLink_Unlock_Failure__c,Quantity__c,RecordTypeId,Repossession_agent__c,Residual_Amount__c,SHARING_CMF__c,SIM_Number__c,SOURCE__c,Site_Address_1__c,Site_Address_2__c,Site_Address_3__c,Site_Address_4__c,Site_City__c,Site_Country__c,Site_State__c,Site_Zip_Code__c,Usage_Hours__c,Usage_Type__c,Year__c,CPF_Contracts__c,Branch__c,New_Business_Description__c,Purchase_Option_Amount__c,Purchase_Option__c,Return_Status__c,Return_Type__c,Motor_Number__c,License_Number__c,Model__c,SerialNumber__c,New_Business_Exclusion__c,Disposition_Date__c,Inventory_Date__c,Delivery_Date__c
"UNCN_CCFL_OUOKTESTJFZ00002_241000-0000000-002","UNCN_CCFL_OU000000","NULL","NULL","NULL","#N/A","UNCN_
- JAY_P
- October 19, 2015
- Like
- 0
- Continue reading or reply
tools
i want to know that from deploy data from sandbox to production what are the tools available for it???
Thank You
- JAY_P
- October 12, 2015
- Like
- 0
- Continue reading or reply
debug log test
in my organization we took the data from oracle to salesforce from debug log result how we find out that is the class which pull the data from oracle and throw in salesforce???
- JAY_P
- October 09, 2015
- Like
- 0
- Continue reading or reply
Oracle to salesforce integration
I have so many 10 apex classes and 4 trigger in salesfoce how can i check which apex class or apex trigger pulling the data from oracle to salesforce ???
- JAY_P
- October 08, 2015
- Like
- 0
- Continue reading or reply
Validate 111urgent
I have two field :::
1. model number (field type :::test) = pc896 (selected value)
2.pc/Dc Exception (field type: checlbox) = marked (set the velue)
i want to create one validation rule that if i entered the model number = pc896 for that checkbox will automatically marked..
Please help me developer
- JAY_P
- October 08, 2015
- Like
- 0
- Continue reading or reply
validation rule urgent
I want to create one validation rule please help me...
i have three object 1.Mobile module type(field type : text and value which i entered is pc789)
2. active start mode which has (picklis-tfield type) value --- disabled,derated,normal operation
3. tamper level which has (picklist -field type) value --- tamperlevel1, tamperlevel2
so i want to create one validate rule for if mobile module type value is pc789,
active start mode value is derated and tamperlevel value is tamperlevel2
it did not allow to add data in system or throw some error
please help me???
thank you
- JAY_P
- October 08, 2015
- Like
- 0
- Continue reading or reply
validation rule new
I want to create one validation rule please help me...
i have three object 1.Mobile module type(field type : text and value which i entered is pc789)
2. active start mode which has (picklis-tfield type) value --- disabled,derated,normal operation
3. tamper level which has (picklist -field type) value --- tamperlevel1, tamperlevel2
so i want to create one validate rule for if mobile module type value is pc789,
active start mode value is derated and tamperlevel value is tamperlevel2
it did not allow to add data in system or throw some error
please help me???
- JAY_P
- October 08, 2015
- Like
- 0
- Continue reading or reply
- JAY_P
- August 31, 2015
- Like
- 0
- Continue reading or reply
can we set two bulk schedule at one time salesforce?
- JAY_P
- August 31, 2015
- Like
- 0
- Continue reading or reply
web services
what is the best way to call web services in salesforce? other than using http????i wanna call web services without using http is there any other way ????
- JAY_P
- August 26, 2015
- Like
- 0
- Continue reading or reply
hierarachy display
How it possible hierarachy displaying in salesforce for xyz account?how we do it?
- JAY_P
- August 23, 2015
- Like
- 0
- Continue reading or reply
Is it possible to push data from external application to Saleforce and display in its dashboard ?
May i know the technical feasilbility of this?
- Nimeesh Ramakrishnan
- February 19, 2016
- Like
- 0
- Continue reading or reply
i have some record types in task object when i select one particular record type and if i create task under that particular record type one checkbox should be checked in some other custom object.how do i do this please help me anybody.
- Simha Yadav
- February 19, 2016
- Like
- 0
- Continue reading or reply
Disable the javascript button after it clicked once
I have written a javascript button to create a record on salesforce .when the user clicks once on the button the record is created .but he clicks again on the button another record is created.
I just dont want the user to click the button again and create a duplicate record.Is there any other way to disable the button after the user clicks once or else if the record is already created .he needs to be prompted that the record is already exixts.
{!requireScript("/soap/ajax/26.0/connection.js")} var req = new sforce.SObject("Candidate__c"); req.Id = "{!Candidate__c.Id}"; req.Job_Application__c="True"; req.Recruiting_Status__c="Possible Candidate" var aResult = sforce.connection.update([req]); if (aResult[0].getBoolean("success")) { console.log("Candidate Update Successful"); } var newJob = new sforce.SObject("Job_Application__c"); newJob.Candidate__c= "{!Candidate__c.Id}"; newJob.Position__c= "{!Candidate__c.PositionId__c}"; newJob.Status__c="open"; var cResult = sforce.connection.create([newJob]); if ( cResult[0].getBoolean( "success" ) ) { alert("Candidate Created Sucessfully "); window.location.reload(); } else { alert( cResult[0].errors.message); }
- Praveen Bonalu
- February 10, 2016
- Like
- 0
- Continue reading or reply
Relationship Queries
This query works great, but doesn't give me the AccountName of course. I'm hoping somebody could shed some light on how to add in the AccountName portion via a relationship query.
Here's my current, working query:
SELECT Contact.Name, Contact.FirstName, Contact.LastName, Contact.Id, Contact.Phone,Contact.Title, Contact.Department, Contact.PhotoUrl, Contact.Email, Contact.MailingCity, Contact.MailingState, Contact.MailingCountry, Contact.MailingPostalCode, Contact.MailingStreet LIMIT 100
Thank you
- chad tetreault 1
- February 02, 2016
- Like
- 0
- Continue reading or reply
how to slove this requirment
I have one requirments i have two objects one is x and another one is y . x and y have lookup relationship x object contains two fields.
1.primary exp.2.secondary exp. y object contains role field it is a picklist field when role value is primary then increment primary exp the value in the x object same as when role value is secondary then increment secondary exp value in the x object.
how can i slove this requirment .please help me urgent
- Ashok S 7
- February 01, 2016
- Like
- 0
- Continue reading or reply
Wave Trailhead Problem
"Can't assign permission set Wave Analytics Manager to user Elyse McCulla. The user license doesn't allow the permission: Create and Edit Wave Analytics Dashboards"
- Elyse McCulla
- January 29, 2016
- Like
- 1
- Continue reading or reply
Issue at creating a Package
No test methods found in the Apex code included in the package. At least 75% test coverage is required.
I have more than 2000 lines of code in visualforce page and its controller. This requirement means that I have to re-write all my code??
Thanks in advance.
- Rodolfo Calvo
- January 26, 2016
- Like
- 1
- Continue reading or reply
How to insert list of Tasks at once - Apex Classes
I have a list of Tasks which created in a apex class;
Task task1=new Task();
task1.subject;..
...
Task task2=new Task();
task2.subject....
....
etc
myTasklist.add(task1);
myTasklist.add(task2);
......
......
And finally i need to insert all the tasks ( List) ??
How can i do that????
Thanks a lot everyone...
- Thathula
- January 26, 2016
- Like
- 1
- Continue reading or reply
Update a custom field
In order to create a document in TB, it has to reference a field from the Lead. So If I want to send "Blah" Proposal, I will need to have "Blah" in a specified field prior to submitting the request to TB. TB will then select the template based upon the string in the specified field.
I need to clear the text of the field about 5-10 seconds after submitting the request to TB. I have seen scripts out there that can help me with the delay, so I am not too worried about that, but I need to do something along these lines:
If Field contains text then wait 5 seconds and set the text back to nothing.
Here is what I have so far:
trigger ClearTempHook on Lead (before insert, before update) { //List<String> LeadNames = new List<String>{}; for(Lead myLead: Trigger.new){ if((myLead.temp_hook__c=='c')){ temp_hook__c == 'hello'; } } }
- Derrick Calderon
- January 25, 2016
- Like
- 1
- Continue reading or reply
After Update trigger on a User record
- Lewis Blau
- January 25, 2016
- Like
- 1
- Continue reading or reply
How to create a survey
- Viral Parikh
- January 19, 2016
- Like
- 1
- Continue reading or reply
TRIGGER WRITTING
I have two object name is mobile__c and shutdown__c both object have connection to one field bachno_c
and there are two typs of record mobile1 and mobile2 in the field call module__c
so for that if record is mobile1 and in shutdown__c we have one field shutdown_type if i put if stop value it will change to start
for the record mobile2 it will not change anything how to write trigger for that???
- JAY_P
- January 19, 2016
- Like
- 0
- Continue reading or reply
Multiple query aggregateResult
- I am trying to find my way to wrap my head around this problem. I am trying to eliminate 3 of these for AggregateResult loops and just make one since it is getting the same object. I am a new Salesforce Developer and I am trying to figure out what will be the most efficient way to do this.
- If anyone has an input on this I'd definitely love to hear it.
AggregateResult[] asgns = [SELECT LP_SAS__c, SUM(Exposure_Amt__c)total FROM CC_ASGN__c WHERE LP_SAS__c IN :sasIds AND Status__c = 'Assigned' GROUP by LP_SAS__c];
AggregateResult[] asgnsres = [SELECT LP_SAS__c, SUM(Reserve_Amount__c)total, SUM(Discount_Unearned__c)total1, SUM(Exposure_Amt__c)total2 FROM CC_ASGN__c WHERE LP_SAS__c IN :sasIds GROUP by LP_SAS__c];
AggregateResult[] asgnsbb = [SELECT LP_SAS__c, SUM(Amount_Deducted_from_Reserve__c)total, SUM(Buyback_DE__c)total1, SUM(Exposure_Amt__c)total2 FROM CC_ASGN__c WHERE LP_SAS__c IN :sasIds AND Status__c = 'Buyback' GROUP by LP_SAS__c];
AggregateResult[] asgnswo = [SELECT LP_SAS__c, SUM(Amount_Deducted_from_Reserve__c)total, SUM(Buyback_DE__c)total1, SUM(Exposure_Amt__c)total2 FROM CC_ASGN__c WHERE LP_SAS__c IN :sasIds AND Status__c = 'Write-off' GROUP by LP_SAS__c];
- Then it goes as follows
for (AggregateResult ar : asgns) {
updateSass.add(new LP_SAS__c(Id = (ID)ar.get('LP_SAS__c'), Exposure_Total__c = (Decimal)ar.get('total')));
system.debug('ar ' + ar);
}
if (updateSass.Size()>0){
update updateSass;
}
for (AggregateResult ares : asgnsres) {
updateSassres.add(new LP_SAS__c(Id = (ID)ares.get('LP_SAS__c'), Reserve_ASGN__c = (Decimal)ares.get('total'), Unearned_Discount_ASGN__c = (Decimal)ares.get('total1'), Exposure_Total__c = (Decimal)ares.get('total2')));
}
if (updateSassres.Size()>0){
update updateSassres;
}
for (AggregateResult bb : asgnsbb) {
updateSassbb.add(new LP_SAS__c(Id = (id)bb.get('LP_SAS__c'), Reserve_Buyback__c = (Decimal)bb.get('total'), Unearned_Discount_Buyback__c = (Decimal)bb.get('total1'), Exposure_Total__c = (Decimal)bb.get('total2')));
}
if (updateSassbb.Size()>0){
update updateSassbb;
}
for (AggregateResult wo : asgnswo) {
updateSasswo.add(new LP_SAS__c(Id = (id)wo.get('LP_SAS__c'), Reserve_Write_off__c = (Decimal)wo.get('total'), Unearned_Discount_Write_off__c = (Decimal)wo.get('total1'), Exposure_Total__c = (Decimal)wo.get('total2')));
}
if (updateSasswo.Size()>0){
update updateSasswo;
}
- Jason Ciemiega
- January 15, 2016
- Like
- 1
- Continue reading or reply
Is there option to increase CPU time limit
- perumalvps
- January 14, 2016
- Like
- 1
- Continue reading or reply
- chinni d
- December 02, 2015
- Like
- 0
- Continue reading or reply
validation rule urgent
I want to create one validation rule please help me...
i have three object 1.Mobile module type(field type : text and value which i entered is pc789)
2. active start mode which has (picklis-tfield type) value --- disabled,derated,normal operation
3. tamper level which has (picklist -field type) value --- tamperlevel1, tamperlevel2
so i want to create one validate rule for if mobile module type value is pc789,
active start mode value is derated and tamperlevel value is tamperlevel2
it did not allow to add data in system or throw some error
please help me???
thank you
- JAY_P
- October 08, 2015
- Like
- 0
- Continue reading or reply
Invalid API key or access token (unrecognized login or wrong password)
I must make a http request to Shopify in Salesforce. I used following url format as endpoint url for setEndpoint method
HttpRequest req= new HttpRequest(); req.setEndpoint('https://apikey:password@hostname/admin/resource.xml'); req.setMethod('GET');
I get following log:
CALLOUT_RESPONSE|[18]|System.HttpResponse[Status=Unauthorized, StatusCode=401]
And I get return value from body of HttpResponse:
<?xml version="1.0" encoding="UTF-8"?> <hash> <errors>[API] Invalid API key or access token (unrecognized login or wrong password)</errors> </hash>
Also I have tried to following structure but I haven't been succesful.
Blob headerValue = Blob.valueOf(apikey+ ':' + password); String authorizationHeader = 'BASIC ' + EncodingUtil.base64Encode(headerValue); req.setHeader('Authorization', authorizationHeader);
And also following url works properly in any browser
apikey:password@hostname/admin/resource.xml
What should I do for HttpResponse status code be 200.
- mustafatop10
- March 26, 2013
- Like
- 1
- Continue reading or reply
BEST PRACTICE
When someone takes the time/effort to repspond to your question, you should take the time/effort to either mark the question as "Solved", or post a Follow-Up with addtional information.
That way people with a similar question can find the Solution without having to re-post the same question again and again. And the people who reply to your post know that the issue has been resolved and they can stop working on it.
- Steve :-/
- February 10, 2010
- Like
- 131
- Continue reading or reply