Good evening/morning, depending on your time zone.
I don't want to get into an introduction, so I'll get straight to the point.
I have a problem with the attached file code.
This is code for calculating the cost of goods using the FIFO method.
The code works well, but it has a serious problem.
There are some records or invoices that are not being calculated, resulting in incorrect inventory balances and incorrect results.
I need help resolving this problem.
Among the samples with a clear problem are item number 356, item number 3, item number 19, and many others, unfortunately.
I want a solution to this problem and to understand its cause.
------------------------------------------------------------------------
Note: There is a form attached and a button labeled "Start FIFO Code."
When you click on it, you must wait for the calculation cycle to complete.
------------------------------------------------------------------------
Thank you very much.
I don't want to get into an introduction, so I'll get straight to the point.
I have a problem with the attached file code.
This is code for calculating the cost of goods using the FIFO method.
The code works well, but it has a serious problem.
There are some records or invoices that are not being calculated, resulting in incorrect inventory balances and incorrect results.
I need help resolving this problem.
Among the samples with a clear problem are item number 356, item number 3, item number 19, and many others, unfortunately.
I want a solution to this problem and to understand its cause.
------------------------------------------------------------------------
Note: There is a form attached and a button labeled "Start FIFO Code."
When you click on it, you must wait for the calculation cycle to complete.
------------------------------------------------------------------------
Thank you very much.