Monday, 15 July 2013

Difference between rendered, renderAs and reRender in Visualforce page

Difference between rendered, renderAs and reRender in Visualforce page

render - Boolean value (if it is true, it displays the block else it will be hidden)

reRender - ID. Particular block will be refreshed.

renderAs - Display the page as pdf, excel, etc...

Wednesday, 3 July 2013

Convertible Amount field

Today while working on one of the task just got to know about this feature so thought to share with you.

While writing any formula field if you make that field's return type as a currency then for reporting you will get one more field which always shows you values in USD format.

For Example:

If you have created a field called 'Sales Amount' and its formula field. If I make the return type as a Currency then I will get one more field in reporting called 'Sales Amount (Convertible)' where we always get Amount values in USD format.

Why to use Database.Stateful()?

Database Stateful is interface. It is used in batch classes to maintain the state of the class across transactions i.e. if you want to use ...