Versions Compared

Key

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

...

      2. Define the exception in the messages.xml file. Use a unique key for the expression tag.  For more information on customising messages metadata, go to Customise Messages Metadata.

Code Block
languagexml
titlemessages.xml
collapsetrue
<messages>
	<message>
		<code>COM.CRM.EXCEPTION.ACCOUNTS.ACCOUNTTERMINATIONEXCEPTION</code>
		<expression>key_com_crm_exception_accounts_accountterminationexception</expression>
		<description>You are not allowed to terminate the accounts receivable. This is only allowed for Active or Suspended accounts.</description>
	</message>
	.
	.
	.
</messages>

...

      3. Define the question code in metadata messages filein metadata messages file.

Code Block
themeEclipse
languagejava
titlemessages.xml
collapsetrue
 	<message>
         <code>CONFIRM_FINANCIAL_TRANSACTION_SAVED_AS_POSTED</code>
         <expression>key_confirm_financial_transaction_saved_as_posted</expression>
         <description>Confirm Action</description>
    </message>

...

      3. Define the message code in metadata messages filein metadata messages file.

Code Block
themeEclipse
languagejava
titlemessages.xml
collapsetrue
	<message>
        <code>LOGOUT_INFO_MSG</code>
        <expression>key_logout_info_msg</expression>
        <description>Logout to apply the changes</description>
    </message>

...