Ok I having a some trouble getting this to "go" correctly
2 BO's
MerchantPayment
SalesMember
The MerchantPayment BO contains attributes such as AmountPaid, SaleCode, CommEarned and others. When a MerchantPayment is applied i need to take the SalesCode attribute and find the matching value in the SaleMember BO to get the value of the attribute SaleMember.CommisionRate.
From there I would calculate the value for the CommEarned attribute in the MerchantPayment BO
After writing PHP and such I am having a hard time getting my head around doing this one - any suggestions would be great!