Hello,
I Need to SUM weeks qty's for a part No. I have it working now with this Business Rule on the BO.
BO Rule:
IF BO1 IS NEW
THEN BO1.week01Demand=SUM BO2.Week01 WHERE(BO2.StartWeek=SystemSettings.ThisWeek AND BO2.PartNo=BO1.PartNo)
This is repeats 45 times for weeks 1-25 and Months 1-17 for the current week Then repeats again for Lastweeks Weeks 1-25 and Months 1-17
My question is after I create the record for BO1 would it perform better if I did all the SUMS in the process?
Does it take longer to perform these steps when they are in a Business Rule?
Regards,
Roger