Re: [idempiere] Question about scope of beanshell scripting within a Rule for a Callout

120 views
Skip to first unread message
Message has been deleted

Carlos Antonio Ruiz Gomez

unread,
Apr 28, 2015, 4:28:58 PM4/28/15
to idem...@googlegroups.com
Hi Carlin, there is a sample code at the end of the page.

Basically what you can do with java - you can do it there.


On 28/04/15 a las 15:07, Carlin Reed wrote:
I found this link very interesting: http://wiki.idempiere.org/en/Script_Callout

But I think I might not understand the possible syntax very well?

It gives me this much information:

  • Window context variables start with a W_ prefix
  • Login context variables start with G_ prefix
  • Parameters for callout start with A_ prefix
    • A_WindowNo
    • A_Tab
    • A_Field
    • A_Value
    • A_OldValue
    • A_Ctx

But what I want to know, is there any way to access values here from another table?

For example, if I am in Sales Order and wanted to be able to compare one of its field values (A_Value) to another field value from the AD_OrgInfo table... 

is that possible within the scope of this beanshell scripting for callouts?

Thanks,
Carlin

Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages