Question regarding Doc 1668366.1
Hi Experts,
As per the change notified in the document 1668366.1 I would like to know how the following scenario will be treated.
In Account BusComp declaration section I have written the following code:
var sBO:BusObject;
In Account - BusComp_WriteRecord event I have used the above object
try
{
...
sBO = TheApplication().GetBusObject("Contact");
...
}
catch (e) { throw e; }
finally
{
sBO = null;
}
In my business service script, I'm querying on the BC "Account" to get a field value.
As per the change mentioned in the document, object "sBO" will be instantiated when I instantiate the "Account" BC in my BS script but will never be destroyed since I'm destroying the object only in WriteRecorrd event. Please confirm.