Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Folks,
Good day!
I would like to request for your help on my problem:
I have the following requirements:
1. If itemGroupId are all +, add all, and get the items from the first item
2. If itemGroupId are all -, load them as is.
3. If itemGroupId are both + and -, equate them, and get the other fields on the first item.
And the source is this:
I somehow manage to achieve this by the below logic:
And the result is this:
The problems with this logic are the following:
1. How can I extract the aggregated level?
2. On 708157001, it was not all summed up because the 2 of 3 of the items have the same sign, which should be added up based on the 3rd requirement.
3. How can I get the other fields from the first item only for 1st and 3rd requirement? because there were other fields aside from those 2.
Badly needed your help. Please let me know if you need more info.
Thank you so much!
Thank you so much @rhall . Have solved the other issues posted here but still have new problems while going on the succeeding process. Will be posting on other topic.
Thanks for posting in new topics. It makes it so much easier for people to find solutions when the problems are separated out.