Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 7846

Creating BO instance

$
0
0

Hi, everyone.

     This is some code in my reuse library function.

WriteReuse1.absl

 

var dataOpportunity : elementsof Reuse_Test;

var nodeRef;

dataOpportunity.reuse1=Param2;

dataOpportunity.reuse2=Param3;
nodeRef =Reuse_Test.Create(dataOpportunity);

 

I call that function from my CallingBO with this code in BeforeSave.absl.

 

 

ReuseLibrary1.WriteReuse1(this.callingBO_reuse1,this.callingBO_reuse2);

 

But there is some problem I can't figure out while running the code.

I don't understand why reuse2's value changes to "test1", the value of reuse1.

 

Regards,

May t.

function2.png


Viewing all articles
Browse latest Browse all 7846

Trending Articles