Implement solving indirect context

Description

This is to explore the idea annotated on IDEMPIERE-528:

Expand the context parsing and evaluation to allow indirect references. I mean instead of just using @AD_User_ID@ I would like to be able to use something like @AD_User_ID.Password@ for the context meaning that we want to get the AD_User.Password based on AD_User_ID - this could be applicable for all the "logic" fields (display, readonly, mandatory, default) and that would make it very powerful.

Regards,

Carlos Ruiz

Environment

None

Attachments

3

Activity

Henrique Soares da Silva 
June 25, 2020 at 5:56 AM

Triaged by Henrique Soares da Silva.

Last patch was not applied (suport for tabs). Everything else works as expected.

Tomáš Švikruha 
August 25, 2015 at 9:57 AM

Added patch IDEMPIERE-701_support_for_tabs.patch for support same behaviour on tab Display & Read logic.

Tomáš Švikruha 
May 1, 2015 at 9:31 AM
(edited)

Hi,

I've just discovered this feature and it is very helpful, thanks! I tried to use it in Process Parameters and here it doesn't work because gridTab is null and referenced table couldn't be identified. I created patch IDEMPIERE-701_support_process_params.patch to get it work, please review it, it could be also very helpful for Process Parameters Display & Read Only Logic

Heng Sin Low 
September 4, 2013 at 1:17 PM

Please review, thanks.

Heng Sin Low 
September 4, 2013 at 1:16 PM

Patch to add indirect reference ( e.g @C_DocType_ID.IsSOTrx@ ) support for readonly, mandatory and display logic.

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created March 7, 2013 at 3:35 AM
Updated November 1, 2021 at 8:19 PM
Resolved August 24, 2021 at 1:39 PM