One of our customer has used Report 798 - Date Compress Item Ledger and now they have a lot of problems. The worst problem is that they can't run Report 795 - Adjust Cost - Item Entries as it gives an error message that "Item Ledger Entry Entry No. XXXXX does not exist". They can't restore previous backup as they have already made a lot of entries after that. They are using version is 4.0 SP2.
As I understand the problem comes from Item Application Entry table that has still detailed information about item ledger entries but in item ledger entry table are entries already compressed. Could someone suggest solution how to fix it.
I would really aprecciate your help,
Anti
0
Comments
Found out that there are still references to T:339 (Item Application Entry).
So, if you delete that "missing" entry, it should work. Since compression deletes item entries, therefore can not be used any more. Those entries are closed and it should be a bug in date comp. batch.
My first "solution" was to copy missing Item Entries and referenced Value entries from backed up database. That made no odd postings.
Also deleting entry in T:339 had no influence to postings.
Method used is FIFO.
So, make a backup, try on test database and check values on specific item(s).
Entry No.|ILE No.|Inb.ILE No.|Outb.ILE No.|Quantity|Date |Transf.from Entry|Cost Application|Completely Invd. Date|
604794 563390 465056 563390 -4 07.01.08 0 Yes 07.01.08
877173 814916 465056 814916 -10 05.08.08 0 Yes 05.08.08
- clear missing links in t339 and modify Cost adjustment code against rounding problem.
- restore missing entries to another table and modify related code.
Next facing problem will be rounding entries.