Accessing Objects in eScript
The following table shows how to access the BC or BO objects depending on the object that the event handler or function is in:
Object: Applet/Control
Target Object Syntax
Current Applet this.
Current BusComp this.BusComp( )
Current BusObject this.BusObject( )
Object: BusComp
Target Object Syntax
Current BusComp this.
Current BusObject this.BusObject( )
PickList BusComp this.PickListBusComp(…)
Associate BusComp this.AssociateBusComp(…)
Parent BusComp this.ParentBusComp( )
MVG BusComp this.MVGBusComp(…)
hai thanks for your details
Hi,
Thanks for the info, I had a query regarding instantiating BC’s, please refer to the following pseudocode :
Instantiate BO
Instantiate BC
{
Query BC with SearchSpec1
if (FirstRec())
{
Query the same BC with SearchSpec2
}
}
The problem i’m facing is that the data returned by the 1st query is possibly getting overwritten by the 2nd Query.
Any ideas ?