danny118088
IS-IT--Management
Dear Experts...
I need help on producing monthly aging report with below logic/step:
1. I'm retrieving list of material movement with its value to get Total Inventory Balance for each material
2. Remove all negative values then sort material movement based on posting date
3. Based on the total from step one, we want to back into the total by using the most recent positive values. When we get to the total, we change the value of the oldest posted value, if needed, so that the totals match up with the total from step 1.
4. Report the aging values for the material based on the data from step 3.
I'm having problem with step 3 where it seems that we need to do some iteration logic. Any input on how to do this?
I'm using BI Query as source so stored procedure may not work.
Thank you in advance for the help.
cheers,
D
I need help on producing monthly aging report with below logic/step:
1. I'm retrieving list of material movement with its value to get Total Inventory Balance for each material
2. Remove all negative values then sort material movement based on posting date
3. Based on the total from step one, we want to back into the total by using the most recent positive values. When we get to the total, we change the value of the oldest posted value, if needed, so that the totals match up with the total from step 1.
4. Report the aging values for the material based on the data from step 3.
I'm having problem with step 3 where it seems that we need to do some iteration logic. Any input on how to do this?
I'm using BI Query as source so stored procedure may not work.
Thank you in advance for the help.
cheers,
D