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!
_________________
|| Christopher ||
Gettin' that data from the BO
-
- Posts: 304
- Joined: Fri Jun 22, 2007 8:26 pm
Gettin' that data from the BO
Cheers,
Christopher
Christopher
-
- Posts: 304
- Joined: Fri Jun 22, 2007 8:26 pm
Sorry Christopher,
With existing data in MerchantPayment.SalesCode you will need to set up a new attribute similar to SalesCode & use that new attribute as a peer relationship. You'll then have to use a 1 time process to use the old SalesCode text data to build the relationships in the new attribute.
Tom
With existing data in MerchantPayment.SalesCode you will need to set up a new attribute similar to SalesCode & use that new attribute as a peer relationship. You'll then have to use a 1 time process to use the old SalesCode text data to build the relationships in the new attribute.
Tom