[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Comparing values within a collection

  • Thread starter Thread starter meijsberg
  • Start date Start date
Status
Not open for further replies.
M

meijsberg

Guest
Hi Branden, I am afraid that I do not understand your problem to give a clear solution. I will try, but I’m doing some assumption that might be incorrect. What I do notice is your technical approach to your solution (iteration, using ID’s). Since you’re using a rule engine instead of a programming language, I suppose you can reduce some complexity by using the vocabulary more to its advantage. Suppose you have two entities: 1. PersonCompany -attribute: PersonId -attribute: CompanyId -relation: 1 to n to details 2. Details -Amount Then you could use a single rulesheet with the following scope PersonCompany - Credit (Details) - - Amount - NonCredit (Details) - - Amount Filter for Credit: Amount = 0 What is left are the PersonCompany instances with both Credit and NonCredit Details. You can apply any action you want. I hope this will help, Regards, Matthijs

Continue reading...
 
Status
Not open for further replies.
Back
Top