NF12 Escape Sequence For Context Variable

From iDempiere en

Feature: Implement escape sequence for text with context variable

Goal: Functional

Developer: Takacs Peter, Hengsin

Feature Ticket: IDEMPIERE-6116

Description

We use a pair of @ character for context variable, for e.g @C_Order_ID@. This create a problem when we need to use text literal with @ character (for e.g email address) together with context variable.For e.g, the mail text template below:

Hello @Name@

Here is some text

Contact us at: test@test.com

or to this another mail test2@test.com

To solve this problem, this ticket implement the '@@' escape sequence to support the use of single @ character.

Hello @Name@

Here is some text

Contact us at: test@@test.com

or to this another mail test2@@test.com


Note for logic expression

The escape sequence is not needed for logic expression (display logic, readonly logic, etc).
For logic expression, you use “@EMail@=test@idempiere.com” or “@EMail@='test@idempiere.com'“, not “@EMail@=test@@idempiere.com”

Cookies help us deliver our services. By using our services, you agree to our use of cookies.