Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
nameblue

Fields

This tag is used to define a field on the page. A field can be a filter, a summary field, or both.

...

NameDescriptionValues
fieldfunctionThe value that the field will take.Valid SQL field or statement
fieldnameThe value that the field will take if there is no fieldfunction tag is not defined. / the The name of the variable that will hold the field's value if fieldfunction tag is defined.Valid SQL field / Any
captionThe name that will appear on the label next to the filter box if it's a filter field and/or on the top of the column if it's a summary field.Any
filterDefines if the field is a filter field or nottrue or false
summaryDefines if the field is a summary field or not.true or false
filteravailableDefines if the field is available to be added/removed from the filters in the preferences section.true or false
availableDefines if the summary field is available to be added/removed from the summary fields in the preferences section.true or false
filterlookupnameDefines the search file that will be used to search for available values for the field.[[datapathdataset;containing_folder.search_filepage;search_field;display_field]] *****
mouseoverDefines if the field will appear when you hover the mouse over the field that links to the data entry page.true or false
expandDefines if the field will appear when the expand button is clicked.true or false
fieldtypeDefines the data type of the field.integer, string, date,  label, float, datetime, sharednote
filtercaseinsensitiveDefines if the field is case insensitive or not.true or false
filtertextoptionDefines if the filter field must begin with a value, end with a value, be equal to value, between two values, like a value, contain a value, show a checkbox and filter with value 1 when is checked or show a checkbox and filter by 0=unchecked, 1=checkedbeginwith, endwith, equal, range, ge, le, like, contains, checkbox, checkboxonoff
linkTurns the field into a link. If it has no prefix it opens in the current browser window. If it has the newwindow prefix it opens in a new window. If it has the drilldown prefix it opens a drilldown xml under the selected row. If it has the drilldownwithparentparams it passes all the filters of the parent xml to the drilldown.[[prefix:path;*****]]
fixedlookupUsed to retrieve the value options for the field and put them in a drop down list.'[[class.method]]' : '(All,N/A)' *****
filterconditionFilters the results of the filter.Valid SQL statement
filteronexpandDefines if the filter field will appear when the expand button is clicked.true or false
dateonlyDefines if the field will be of date type only and ignore the time.true or false
labelThe name that will appear on the field's link.Any
formattingThe field formatting setting.

For fieldtype double - the number of digits

For fieldtype string - "glossary" to translate the field's value

For fieldtype date - "persian" to convert to Persian date (Jalali), "msec" to convert the date to milliseconds

caseinsensitivefieldnameThe case insensitive field name (applies only to fields that have a case insensitive field name)A valid field name

Examples

Expand
titlefieldfunction
Code Block
themeEclipse
languagexml
titlefieldfunction
<field>
	<fieldname>PRICEPLAN_FILTER<<fieldname>NAME</fieldname>
	<fieldfunction>PRODUCTS.PRODID</fieldfunction><fieldfunction> 
	<caption>PriceCASE Plan</caption>
	<filter>true</filter>
	<filteravailable>true</filteravailable>
	<fieldtype>string</fieldtype>
	<filtercaseinsensitive>false</filtercaseinsensitive>
	<filtercondition>
		PRODUCTS.PRODID IN (
					SELECT PRICEPLANRATES.PRICEPLANRATEPRODID
					FROM  PRICEPLANRATES
					WHERE PRICEPLANRATES.PRICEPLANID IN ('#1') 
					AND PRICEPLANRATES.PRICEPLANRATEDELETED = 0 
		)
	</filtercondition>
	<filteronexpand>true</filteronexpand>			
	<filterlookupname>dataset;priceplan.load;priceplanid;priceplanname</filterlookupname>		WHEN CONTACTINFORMATION.CITYPE = 'COMPANY' 
		THEN CONTACTINFORMATION.CICOMPANYNAME
		WHEN CONTACTINFODEFINITIONS.CIDEFNAMEGENRULE = 1 
		THEN CONTACTINFORMATION.CIFIRSTNAME SQL_+ ' ' SQL_+ CONTACTINFORMATION.CILASTNAME 
		WHEN CONTACTINFODEFINITIONS.CIDEFNAMEGENRULE = 2 
		THEN CONTACTINFORMATION.CILASTNAME SQL_+ ' ' SQL_+ CONTACTINFORMATION.CIFIRSTNAME 
		WHEN CONTACTINFODEFINITIONS.CIDEFNAMEGENRULE = 3 
		THEN CONTACTINFORMATION.CIFIRSTNAME SQL_+ ' ' SQL_+ 
			COALESCE (CONTACTINFORMATION.CIMIDDLENAME SQL_+ ' ','') SQL_+ '' SQL_+ CONTACTINFORMATION.CILASTNAME 
		WHEN CONTACTINFODEFINITIONS.CIDEFNAMEGENRULE = 4 
		THEN CONTACTINFORMATION.CILASTNAME SQL_+ ' ' SQL_+ 
			COALESCE (CONTACTINFORMATION.CIMIDDLENAME SQL_+ ' ','') SQL_+ '' SQL_+ CONTACTINFORMATION.CIFIRSTNAME 
	END
	</fieldfunction>
	<caption>key_name</caption>
	<filter>true</filter>
	<filtercaseinsensitive>true</filtercaseinsensitive>
	<filtertextoption>contains</filtertextoption>
</field>
Expand
titlefieldname
Code Block
themeEclipse
languagexml
titlefieldname
<field>
	<fieldname>CONTACTINFORMATION<fieldname>TRN_RENTALS.CIIDNUM<RENTALNOTES</fieldname>
	<caption>ID No.<<caption>key_notes</caption>
	<summary>true</summary>
	<filter>true<<filteravailable>true</filter>filteravailable>
</field>
Expand
titlecaption
Code Block
themeEclipse
languagexml
titlecaption
<field>
	<fieldname>RENTAL_TYPE</fieldname>
	<fieldname>WAREHOUSE<fieldfunction>TRN_RENTALTYPES.WRHDESC<RENTTYPENAME</fieldname>fieldfunction>
	<caption>Description<<caption>key_rental_type</caption>
	<summary>true</summary>
	<filter>true</filter>
</field>
Expand
titlefilter
Code Block
themeEclipse
languagexml
titlefilter
<field>
	<fieldname>CREATEDBY<fieldname>RENTAL_TYPE_FILTER</fieldname>
	<fieldfunction>CREATEDBY<fieldfunction>TRN_RENTALTYPES.USERID<RENTTYPENAME</fieldfunction>
	<caption>Created By<<caption>key_rental_type</caption>
	<filter>true</filter>
	<filteronexpand>true</filteronexpand>
	<filterlookupname>dataset;usersrentals.loadloadtypes;useridrenttypeid;username<renttypename</filterlookupname>
</field>
Expand
titlesummary
Code Block
themeEclipse
languagexml
titlesummary
<field>
	<fieldname>REPLACEDPRICEPLANNAME<<fieldname>RENTAL_TYPE</fieldname>
	<fieldfunction>REPLACEDPRICEPLANS<fieldfunction>TRN_RENTALTYPES.PRICEPLANNAME<RENTTYPENAME</fieldfunction>
	<caption>Replaced Price Plan<<caption>key_rental_type</caption>
	<summary>true</summary>
</field>
Expand
titlefilteravailable
Code Block
themeEclipse
languagexml
titlefilteravailable
<field>
	<fieldname>CONTACTINFORMATION<fieldname>TRN_RENTALS.CIPASSPORTNUM<RENTALNOTES</fieldname>
	<caption>Passport No.<<caption>key_notes</caption>			
	<available>true</available>
	<filteravailable>true</filteravailable>
	<filteronexpand>true<<mousover>true</filteronexpand>mousover>
</field>
Expand
titleavailable
Code Block
themeEclipse
languagexml
titleavailable
<field>
	<fieldname>CONTACTINFORMATION<fieldname>TRN_RENTALS.PRIVACYLEVELID<RENTALNOTES</fieldname>
	<caption>Privacy Level<<caption>key_notes</caption>			
	<available>true</available>
	<filteravailable>true</filteravailable>
	<filteronexpand>true<<mousover>true</filteronexpand>mousover>
</field>
Expand
titlefilterlookupname
Code Block
themeEclipse
languagexml
titlefilterlookupname
<field>			
	<fieldname>NEXTBILLRUNID<<fieldname>CREATEDBY_FILTER</fieldname>
	<fieldfunction>NEXTNORMALBILLINGRUN<fieldfunction>CREATEDBY.BILLRUNID<USERID</fieldfunction>
	<caption>Next Billing Run<<caption>key_created_by_user</caption>
	<filter>true</filter>
	<filteronexpand>true</filteronexpand>
	<filterlookupname>dataset;billingusers.loadnormalbillingrunsload;billruniduserid;billrunnum<username:name</filterlookupname>
</field>
Expand
titlemouseover
Code Block
themeEclipse
languagexml
titlemouseover
<field>
	<fieldname>FINTRANSACTIONS<fieldname>TRN_RENTALS.FINTRXNNUM<RENTALNOTES</fieldname>
	<caption>No.<<caption>key_notes</caption>
	<summary>true<<available>true</summary>available>
	<mouseover>true</mouseover>
	<filter>true</filter>
	<filteravailable>true</filteravailable>
	<fieldtype>string</fieldtype>
	<filtertextoption>beginwith</filtertextoption>
	<filtersearchonchange>true</filtersearchonchange><mouseover>true</mouseover>
</field>
Expand
titleexpand
Code Block
themeEclipse
languagexml
titleexpand
<field>
	<fieldname>SUBSCRIPTIONS.SUBNUM</fieldname>
	<caption>Subscription<<fieldname>UPDATEDBYUNITOUUNAME</fieldname>
	<fieldfunction>UPDATEDBYUNIT.OUUNAME</fieldfunction>
	<caption>key_updated_by_unit</caption>
	<expand>true</expand>
</field>
Expand
titlefieldtype
Code Block
themeEclipse
languagexml
titlefieldtype
<field>
	<fieldname>PRODUCTS<fieldname>TRN_RENTALS.PRODDATECREATED<RENTALEFFECTIVEDATE</fieldname>
	<caption>Date Created<<caption>key_effective_date</caption>
	<expand>true</expand>
	<filter>true</filter>
	<fieldtype>date</fieldtype>
	<filtertextoption>range</filtertextoption>
	<filteronexpand>true</filteronexpand>
	<dateonly>true</dateonly>
</field>
Expand
titlefiltercaseinsensitive
Code Block
themeEclipse
languagexml
titlefiltercaseinsensitive
<field>
	<fieldname>NAME</fieldname>
	<fieldfunction> 
	CASE 
		WHEN CONTACTINFORMATION.CIISCOMPANY = 1 
		THEN CONTACTINFORMATION.CICOMPANYNAME
	 	WHEN CONTACTINFODEFINITIONS.CIDEFNAMEGENRULE = 1 
		THEN CONTACTINFORMATION.CIFIRSTNAME || ' ' || CONTACTINFORMATION.CILASTNAME 
	 	WHEN CONTACTINFODEFINITIONS.CIDEFNAMEGENRULE = 2 
		THEN CONTACTINFORMATION.CILASTNAME|| ' ' || CONTACTINFORMATION.CIFIRSTNAME 
	 	WHEN CONTACTINFODEFINITIONS.CIDEFNAMEGENRULE = 3 
		THEN CONTACTINFORMATION.CIFIRSTNAME || ' ' || 
			COALESCE (CONTACTINFORMATION.CIMIDDLENAME || ' ','') || '' || CONTACTINFORMATION.CILASTNAME 
	 	WHEN CONTACTINFODEFINITIONS.CIDEFNAMEGENRULE = 4 
		THEN CONTACTINFORMATION.CILASTNAME|| ' ' || 
			COALESCE (CONTACTINFORMATION.CIMIDDLENAME || ' ','') || '' || CONTACTINFORMATION.CIFIRSTNAME 
	END
	</fieldfunction>
	<caption>Name</caption>
	<summary>true</summary>
	<mouseover>true</mouseover>
	<filter>true</filter>
	<filteravailable>true</filteravailable>
	<filtercaseinsensitive>true</filtercaseinsensitive>
	<filtertextoption>contains</filtertextoption>
	<link>page.do?xml=contactinfo/contactInformation&amp;act=itm&amp;bh=bind&amp;fc=loadForm&amp;jndi=ejb/CRMUIContactInformation&amp;pv0=((CONTACTINFORMATION.CIID))&amp;pvc=1</link>
</field>
Expand
titlefiltertextoption
Code Block
themeEclipse
languagexml
titlefiltertextoption
<field>
	<fieldname>ACCOUNTSRECEIVABLE<fieldname>TRN_RENTITEMS.ACCRECID<RENTALID</fieldname>
	<filtertextoption>equal</filtertextoption>
</field>
Expand
titlelink
Code Block
themeEclipse
languagexml
titlelink
<field>
	<fieldname>SUBSCRIPTIONS<fieldname>TRN_RENTALS.SUBNUM<RENTALNUM</fieldname>
	<caption>No.<<caption>key_number</caption>
	<summary>true</summary>
	<mouseover>true</mouseover>
	<expand>false</expand>
	<filter>true</filter>
	<fieldtype>string</fieldtype>
	<filtercaseinsensitive>false</filtercaseinsensitive>
	<filtertextoption>equals</filtertextoption>
	<link>page.do?xml=subscriptionsrentals/subscriptionrental&amp;act=itm&amp;jndi=ejb/CRMUISubscriptionCUSTOMCRMUIRental&amp;fc=loadForm&amp;pv0=((SUBSCRIPTIONSTRN_RENTALS.SUBIDRENTALID))&amp;pvc=1</link>
</field>
Expand
titlefixedlookup
Code Block
themeEclipse
languagexml
titlefixedlookup
<field>
	<fieldname>LIFECYCLESTATE<fieldname>STATE_FILTER</fieldname>
	<fieldfunction>REWARDOFFERS<fieldfunction>TRN_RENTALS.LIFECYCLESTATE<RENTALSTATE</fieldfunction>
	<caption>Life Cycle State</caption><caption>key_state</caption>
	<summary>false</summary>
	<filter>true</filter>
	<filtertextoption>equal</filtertextoption>
	<fixedlookup>ejb/CRMUIRewardOfferCUSTOMCRMUIRental.getLifeCycleStateOptionsgetStateOptions:All<key_all</fixedlookup>
</field>
Expand
titlefiltercondition
Code Block
themeEclipse
languagexml
titlefiltercondition
<field>
	<fieldname>COMMUNITY<<fieldname>CONTACT_INFO_PHONE_FILTER</fieldname>
	<fieldfunction>''<<fieldfunction>CONTACTINFORMATION.CIID</fieldfunction>
	<caption>Community<<caption>key_phone_number</caption>
	<filter>true</filter>
	<filteravailable>true</filteravailable>
	<filtercaseinsensitive>true</filtercaseinsensitive>
	<filtercondition>
		OUUNITS.OUGID<filtercondition> 
	CONTACTINFORMATION.CIID IN (
			(SELECT OUUNITSCONTACTINFOPHONES.OUUIDCIID 
				FROM OUGROUPS CONTACTINFOPHONES
				INNER JOIN OUCOMMUNITIES OUC ON OUC.OUCID = OUGROUPS.OUCID 
					AND OUC.OUCDELETED = 0
					AND OUC.OUCID WHERE CONTACTINFOPHONES.CIPHONEID IN ('#1') 
				WHEREAND OUUNITSCONTACTINFOPHONES.OUUDELETEDCIPHONEDELETED = 0
	)
	</filtercondition>
	<filterlookupname>dataset;networkmanagementcontactinfo.loadcommunitiesloadphones;oucid;oucname:oucnum:oucdesc<ciphoneid;ciphonenum</filterlookupname>
</field>
Expand
titlefilteronexpand
Code Block
themeEclipse
languagexml
titlefilteronexpand
<field>
	<fieldname>JOBS<fieldname>TRN_RENTALS.JOBDESC<RENTALEFFECTIVEDATE</fieldname>
	<caption>Description<<caption>key_effective_date</caption>
	<summary>true<<expand>true</summary>expand>
	<expand>false<<filter>true</expand>filter>
	<available>true<<fieldtype>date</available>fieldtype>
	<filter>true<<filtertextoption>range</filter>filtertextoption>
	<filteronexpand>true</filteronexpand>
	<dateonly>true</dateonly>
</field>
Expand
titledateonly
Code Block
themeEclipse
languagexml
titledateonly
<field>
	<fieldname>CURRENTBILLINGTERMS<fieldname>TRN_RENTALS.BTAGREEMENTDATE<RENTALEFFECTIVEDATE</fieldname>
	<caption>Agreement <caption>key_effective_date</caption>
	<summary>false<<expand>true</summary>expand>
	<available>true</available>
	<filter>true</filter>
	<filteravailable>true</filteravailable>
	<fieldtype>date</fieldtype>
	<filtertextoption>range</filtertextoption>
	<filteronexpand>true</filteronexpand>
	<dateonly>true</dateonly>
</field>
Expand
titlelabel
Code Block
themeEclipse
languagexml
titlelabel
<field>
	<fieldname>ADDRESSES<<fieldname>ITEMS</fieldname>
	<fieldfunction>''</fieldfunction>
	<caption>Addresses<<caption>key_items</caption>
	<summary>true</summary>
	<fieldtype>label</fieldtype>
	<label>Addresses<<label>key_items</label>
	<link>drilldown:contactinforentals/contactInfoActiveAddressesitems;hidefilters~true~CONTACTINFOADDRESSEShidefilters~true~TRN_RENTITEMS.CIID~RENTALID~((CONTACTINFORMATIONTRN_RENTALS.CIIDRENTALID))</link>
</field>
Expand
titleformatting
Code Block
themeEclipse
languagexml
titleformatting
<field>
	<fieldname>BALANCE</fieldname>
	<caption>key_balance</caption>
	<formatting>2</formatting>
	<summary>true</summary>
</field>