Beruflich Dokumente
Kultur Dokumente
Description:
BISP is committed to provide BEST learning material to the beginners and advance learners. In the same series, we have prepared a complete end-to end Hands-on Beginners G ide !or Sales"orce. The doc ment !oc ses on some common interview # estions related to "orm las and $alidation % les. &oin o r pro!essional training program and learn !rom e'perts.
History:
Version Description Change 0.1 Initial Draft 0.1 $e%ie&'1 Author Chandra Prakash har!a A!it har!a Publish Date 10th Apr "01# 10th Apr "01#
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 1
Question : 1
SAP_Account_Id__c and Navison_Account_Id__c are two Text fields, Sell_to__c and Ship_to__c are two checkboxes. The rule should ensure that a record which has either SAP_Account_Id__c or Navison_Account_Id__c filled in or both!, can be saved onl" if either Sell_to__c and Ship_to__c or both! are checked. Solution :
#o to Setup $ Create $ Objects $ Select ob%ect na&e 'x( Sap Account!, then )o to down select *alidation rule +lick on New button, "ou can see below.
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page ,
-. IS/0AN1 SAP_Account_Id__c ! , IS/0AN1 Navison_Account_Id__c ! ,I2 Sell_to__c 3 false, true ,false! ,I2 ship_to__c 3 false, true ,false! !
Question : &
+reate a validation rule that when 4"_+heck__c is unchecked, the Text2ield1__c and Text2ield,__c should have no values. Solution :
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 5
Question 1 :
Validation rule for currenc wit" & decimal 2alues ,$ample : *alid( 1,.66, 1,.16, 1,.61, 1,.78 Not *alid( 1,, 1,.1, 1,.6,1,.,65 Solution :
NO/'R,3,4'5rice((c-6789:;<7%;=1>789:;=&>600
Question ? :
Appl" to for&ula to the field which depends on so&e other field. I created a picklist field which contains /-9, +lass:A, +lass:/, +lass:+. If an"one selected /-9 in that picklist field then auto&aticall" Ticket fare has to reflect as 166,if the" selected +lass:A then ;7 has to reflect and so on. Solution :
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page <
Code : IF'IS5IC.V*+' Seats(Cate@or ((c- A!o$A0-61886-IF'IS5IC.V*+'Seats(Cate@or ((c- AClass9 *A0-6BC6-IF'IS5IC.V*+'Seats(Cate@or ((c- AClass9 !A0-6C86-IF'IS5IC.V*+'Seats(Cate@or ((c-AClass9CA0-6&C6-6860000 Result :
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 7
Validation Rule :
Code : IF( AND( Channel_Digital_Distribution__c == False, Channel_Physical_Fulfillment__c == False) , "Neither", IF( AND( Channel_Digital_Distribution__c == rue , Channel_Physical_Fulfillment__c == rue) , "Digital an! Physical", IF( Channel_Physical_Fulfillment__c == rue , "Physical "nly", IF(Channel_Digital_Distribution__c == rue , " Digital "nly" , "False") ) ) )
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 8
Formula :
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page B
Code : IF'INC+IJ,S'Multi(5ic#list((c- 6*60-1-80 < IF'INC+IJ,S' Multi(5ic#list((c- 6!60-1-80 < IF'INC+IJ,S' Multi(5ic#list((c- 6C60-1-80 < IF'INC+IJ,S' Multi(5ic#list((c- 6J60-1-80 < IF'INC+IJ,S' Multi(5ic#list((c- 6,60-1-80 K 1
Question : : Validation rule te$t field allows 7a9E;7*9F; and space bar%
+reate one custo& text Text61__c! field. This field allows characters Ca:DECA:FE and space bar onl". An" for&ula or validation rule or workflow rule. It not allows nu&eric?s C6:GE and special character. Solution : NO/'R,3,4'/e$t81((c- 6'7a9E*9F ;0L600
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page G
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 16
,. +reate a workflow rule with entr" criteria( above checkbox is true : add wf rule : e&ail to send the notification
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 11
Question 1&: Create a formula field- w"ic" will be updated based on two ot"er fields%
In 0eads Pa)e, I want to have a Sales Score Text field for&ula field !, which needs to be updated b" first checkin) the ca&pai)n field is e&pt" or not and has to update the Sales Score field based on other +a&pai)n Score field Nu&ber field!. Solution :
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 1,
Code : AN> +heckbox1__c 33 2A0S' , N-T AN> IS/0AN1 Text2ield1__c ! , IS/0AN1 Text2ield,__c ! ! ! !
Question 1? : Mow can I split custom Customer Name te$t field into First Name and +ast Name%
He have +ontact us web,lead! for& on our co&pan" website. In that contact us for& we have asked onl" four fields Na&e, '&ail, Phone and State. Na&e field is feedin) custo& +usto&er Na&e field T"pe Text , siDe 3 ,77!, '&ail field is feedin) Standard '&ail field, Phone is feedin) Standard Phone field and State is feedin) Standard StateJProvince field in Sales2orce. I a& tr"in) to &ake a workflow field update that split +usto&er Na&e and feed 2irst na&e and 0ast na&e Standard fields Solution :
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 15
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 1<
Solution :
Formula :
Code : I2 AN> Activit"_T"pe__c 3 ='vent=, N-T -. ISPI+1*A0 4eetin)_T"pe__c, =+onference +all=!, ISPI+1*A0 4eetin)_T"pe__c, =Heb +onference=!!!!, 1, 6!
Solution :
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 17
Formula :
Code : +'I0IN#
Formula :
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 18
Code : SO/STITOT' 2irstNa&e__c , = =, ==!M=.=M SO/STITOT' 0astNa&e__c , = =, ==!M=@=M SO/STITOT' +o&pan"__c , = =, ==! M=.=M =no&ail=
Code : AN> IS/0AN1 'sti&ated_*alue__c ! , ISPI+1*A0 Status__c , =2axed=!, >ate_2ax_Sent__c $ >AT' ,61<,,,11!! ! www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 1;
www.bispsolutions.com
www.bisptrainigs.com
www.hyperionguru.com
Page 1B