[CRM] Prefiltrare il risultato di un campo Lookup

Attraverso javascript è possibile associare ad un campo lookup un filtro.
Esempio in una form di un'entità, abbiamo un campo hotel di tipo lookup (new_hotel) e un campo città (new_cityid), per far si che la lookup dell'hotel sia filtrato per la città occorre: (la città deve essere un'entità referenziata all'entità hotel )

crmForm.all.new_hotelid.lookupbrowse = 1;
crmForm.all.new_hotelid.additionalparams = "fetchXml=<fetch mapping='logical'><entity name='new_hotel'><all-attributes/><filter type='and'><condition attribute='new_cityid' operator='eq' value='" +crmForm.all.new_cityid.DataValue[0].id+"' /></filter></entity></fetch>";< /FONT>

posted @ mercoledì 23 maggio 2007 20:08

Print

Comments on this entry:

# re: [CRM] Prefiltrare il risultato di un campo Lookup

Left by he at 13/11/2014 17:49
Gravatar
computing platform networks check your credit score divergence sharply ebbs and flows credit report scores appeal rolling out 89841

# re: [CRM] Prefiltrare il risultato di un campo Lookup

Left by custom essay order at 16/07/2017 22:31
Gravatar
It's very simple website which have a lot of web development content with the help of code. I like to get a site which have custom essay order which have very reasonable price. Team of this site is very active.
Comments have been closed on this topic.
«aprile»
domlunmarmergiovensab
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011