All,
I was wondering [and maybe this has be answered before] ,but does the order of the rules in the when clause matter?
For example I have the following:
rtvHeader : RtvHeader( headerRtvNumber : rtvNumber )
repaymentCode : RepaymentCode( actualCode : code, matchApprv != "Y" )
lineCharge : HeaderAdditionalCharge( rtvNumber == headerRtvNumber, originalRepaymentCode == actualCode )
In my case there is a higher likelihood that I will have more RepaymentCodes than RtvHeaders [1 of these guys] and likely less HeaderAdditionalCharge objects. So should the order be more like:
rtvHeader : RtvHeader( headerRtvNumber : rtvNumber )
lineCharge : HeaderAdditionalCharge( rtvNumber == headerRtvNumber, originalRepaymentCode : originalRepaymentCode)
repaymentCode : RepaymentCode( actualCode == originalRepaymentCode, matchApprv != "Y" )
Or does it not really matter?
Thanks in advance,
Ron