Greetings experts,
I am trying to find an alternative way to calculate the summary aging of a vendor without using the detailed vendor ledger entry.
My goal is to create an alternative report to the system report since i want to add one more period before the "..after" period.
I have checked the system report and after investigating the code, i was able to add another period and the code worked perfectly, but my senior has suggested to create my own code from scratch to get familiar more with arrays and flow fields used which I did using the detailed vendor ledger entry and the code worked but i had some fixes to make, but my senior pointed out that there should be an alternative to it like using the balance due in the vendor which should make my code faster.
After checking the original system report (vendor summary aging) i noticed that they did use the vendor but only to get the "..before" period which is everything before the filter starting date. I wondered why they would only use that once if it is faster, so i tried to replicate the code for all the periods and i think i just found why they did not.
If my junior testing skills are anything to go by, if we use the vendor balance due with a timeframe from 5/1/2023 till 10/1/2023, it will still include the balance due of 4/1/2023 meaning that i will have a wrong calculation.
My question remains, is there any alternative to calculating the balance due on each period that is faster than using the detailed vendor ledger entry ?
Hope my question is not very idiotic, and my knowledge is still limited so any exposure would be greatly appreciated.
Thank you in advance!
Hello,
Best probably is to ask you partner for additional assistance on this matter.
Thank you.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156