-
ChatterFeed
-
1Best Answers
-
0Likes Received
-
0Likes Given
-
10Questions
-
11Replies
unable to query parent object field from opportunity
I have created one lookup field of custom object(Legal Entity) on opportunity object. Now i want records of opportunity where SAP code field is blank on Legal Entity Object.
I have written query as below but it is not getting executed.
Select id, name, Legal_Entity__r.SAP_CODE__c from opportunity
Error:Didn't understand relationship 'Legal_Entity__r' in field path. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names.
I have written query as below but it is not getting executed.
Select id, name, Legal_Entity__r.SAP_CODE__c from opportunity
Error:Didn't understand relationship 'Legal_Entity__r' in field path. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names.
-
- Akash Deokar
- September 22, 2019
- Like
- 0
- Continue reading or reply
Issue is with VBA and Salesforce Integration .
We are getting records from salesforce to VBA for one object but not receving their related object data.
can someone help on this?
can someone help on this?
-
- Dipika Rajput
- August 13, 2020
- Like
- 0
- Continue reading or reply
I want a help in report to show the growth/decline of a customer over time for some values.
Ideally; I would like to cover the following by Quarter going back as far as the data allows us.
2017 Q1
2017 Q2
2017 Q3
2017 Q4
2018 Q1
2018 Q2
2018 Q3
2018 Q4
2019 Q1
2019 Q2
2019 Q3
2017 Q1
2017 Q2
2017 Q3
2017 Q4
2018 Q1
2018 Q2
2018 Q3
2018 Q4
2019 Q1
2019 Q2
2019 Q3
-
- Dipika Rajput
- September 24, 2019
- Like
- 0
- Continue reading or reply
I want to design a vf page where i can give username , password , security token and url information about other org .so that I can fetch Sobjects from that org in our org.please suggest solutions.
Even i can not use partner WSDL and do that .i have to do it using something else.please help.
Thanks in advance.
-
- Dipika Rajput
- March 01, 2017
- Like
- 0
- Continue reading or reply
-
- Dipika Rajput
- February 20, 2017
- Like
- 0
- Continue reading or reply
-
- Dipika Rajput
- February 17, 2017
- Like
- 0
- Continue reading or reply
Can we perform CRUD operation on multiple records at a time in lightening without using @auraEnabled apex classes in lightening component itself?
As I know about Lightening Data Service feature which is performing CRUD on a single record at a time.But I want to perform CRUD on multiple records at a time.
-
- Dipika Rajput
- February 09, 2017
- Like
- 0
- Continue reading or reply
trigger on only one record is created per year for each user
Here is One custom object name is target setting on that object distributor name(name. of distributor) field is present which is lookup to target setting object. (distributor(parent) & target setting(child)). so user have only permit to create only one record per year for user(distributor) otherwise show error(if user try to create another record with same distributor show error 'you can't create more than one record for + distributor name. in present year')
- mayur Kalbande
- November 30, 2022
- Like
- 0
- Continue reading or reply
Issue is with VBA and Salesforce Integration .
We are getting records from salesforce to VBA for one object but not receving their related object data.
can someone help on this?
can someone help on this?
- Dipika Rajput
- August 13, 2020
- Like
- 0
- Continue reading or reply
unable to query parent object field from opportunity
I have created one lookup field of custom object(Legal Entity) on opportunity object. Now i want records of opportunity where SAP code field is blank on Legal Entity Object.
I have written query as below but it is not getting executed.
Select id, name, Legal_Entity__r.SAP_CODE__c from opportunity
Error:Didn't understand relationship 'Legal_Entity__r' in field path. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names.
I have written query as below but it is not getting executed.
Select id, name, Legal_Entity__r.SAP_CODE__c from opportunity
Error:Didn't understand relationship 'Legal_Entity__r' in field path. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names.
- Akash Deokar
- September 22, 2019
- Like
- 0
- Continue reading or reply
Lightning Data Service Trailhead Challenge Error (Manipulate Records with force:recordData)
Hi Can some one explain me how to use two components with Lightning Data Service, i tried the following code for accDisplay and accEdit.
This worked as i expected but i got the following error!
I am missing some thing, can some one explain me how LDS works with multiple componets!
This worked as i expected but i got the following error!
I am missing some thing, can some one explain me how LDS works with multiple componets!
Challenge Not yet complete... here's what's wrong: The 'accDisplay' Lightning Component does not appear to be displaying the 'Name' using 'ui:outputText' and the value 'v.accountRecord.Name
<!--accDisplay component--> <aura:component implements="flexipage:availableForRecordHome,force:hasRecordId"> <aura:attribute name="accountRecord" type="Object" /> <force:recordData aura:id="AccountRecordCreator" recordId="{!v.recordId}" layoutType="FULL" targetRecord="{!v.accountRecord}" targetFields="{!v.simpleNewAccount}" targetError="{!v.newContactError}" mode="VIEW" /> <!-- Display a header with details about the record --> <div class="slds-form--stacked"> <div class="slds-form-element"> <label class="slds-form-element__label" for="recordName">Name: </label> <div class="slds-form-element__control"> <ui:outputText class="slds-input" aura:id="recordName" value="{!v.simpleNewAccount.Name}" /> </div> <label class="slds-form-element__label" for="recordIndustry">Industry: </label> <div class="slds-form-element__control"> <ui:outputText class="slds-input" aura:id="recordIndustry" value="{!v.simpleNewAccount.Industry}" /> </div> <label class="slds-form-element__label" for="recordDescription">Description: </label> <div class="slds-form-element__control"> <ui:outputTextArea class="slds-input" aura:id="recordDescription" value="{!v.simpleNewAccount.Description}" /> </div> <label class="slds-form-element__label" for="recordPhone">Phone: </label> <div class="slds-form-element__control"> <ui:outputPhone class="slds-input" aura:id="recordPhone" value="{!v.simpleNewAccount.Phone}" /> </div> </div> </div> </aura:component>
<!--accEdit--> <aura:component implements="flexipage:availableForRecordHome,force:hasRecordId"> <aura:attribute name="accountRecord" type="Object"/> <aura:attribute name="simpleNewAccount" type="Object"/> <aura:attribute name="newContactError" type="String"/> <force:recordData aura:id="AccountRecordCreator" recordId="{!v.recordId}" layoutType="FULL" targetRecord="{!v.accountRecord}" targetFields="{!v.simpleNewAccount}" targetError="{!v.newContactError}" mode="EDIT" /> <ui:outputText class="slds-output" value="Edit Account" /> <lightning:input aura:id="recordName" name="accountRecord" label="Name" value="{!v.simpleNewAccount.Name}" /> <lightning:button label="Save Account" onclick="{!c.handleSaveRecord}" variant="brand" class="slds-m-top--medium"/> </aura:component>
- Akhilesh Reddy Baddigam
- June 19, 2017
- Like
- 0
- Continue reading or reply
- Dipika Rajput
- February 20, 2017
- Like
- 0
- Continue reading or reply
Can we perform CRUD operation on multiple records at a time in lightening without using @auraEnabled apex classes in lightening component itself?
As I know about Lightening Data Service feature which is performing CRUD on a single record at a time.But I want to perform CRUD on multiple records at a time.
- Dipika Rajput
- February 09, 2017
- Like
- 0
- Continue reading or reply
Validation Rule Admin Exception
Hi i have this VR that works already but when i tried adding an exception for admin i keep getting errors
WORKING VR:
AND(
ISCHANGED(Established_1st_Contact__c
),
NOT(ISBLANK(PRIORVALUE(Established_1st_Contact__c
))))
I WANT TO ADD TO IT:
NOT($Profile.Name = "System Administrator"))
Or anything else that would work
Thx in advance
- cldave
- June 02, 2011
- Like
- 0
- Continue reading or reply