December 4, 2013

Querying List Of Values BC in eScript

Many times we come across situations where in we need to perform query on List Of Values BC to get a value. What we usually do is by instantiating BO and BC then perform query.

There is a vanilla method for querying List of Values.

TheApplication.InvokeMethod("LookupValue", type, lang_inde_cd);
//it returns 'Value'

var LOV_Val=TheApplication().InvokeMethod("LookupValue","SR_SUBAREA","WASIN");

No comments:

Post a Comment