Query about passing BC instance as function argument - Siebel eScript
Hello,
I am looking for a few clarifications related to passing business component instance as an argument to a function, in Siebel eScript.
When there is a requirement to operate on the same business component in multiple functions of a business service, which is the best way?
With the below assumptions set, I will proceed with my question.
-> Function1 is the calling-function with a BC instance "oBCCon".
-> Somewhere in Function1, there is a call to Function2, the called-function.
I understand that when a BC instance is passed as argument for a function, it is considered "Pass by Reference", which means, only the BC instance's reference is passed and all the operations performed on the BC in Function2 will actually be done on the original instance and the results of the BC instance operation is carried onto Function1.