Hello all,
I just skimmed through 40 threads about the adjust cost - item entries batch job and did not see anything relating to my specific problem.
We are running 3.7 objects on a 5.0 executable in SQL 2005.
A user posted an item revaluation Journal in October against a Positive Adj. ILE from August. Value Entries have the August posting date, as expected from reading the online help files, BUT the G/L entry was posted by the Adjust Cost - Item Entries batch job in APRIL!! weird! :-k there are no item ledger entries before 8/5/08. Obviously, posting back to april from august is causing grief with the Auditors!

The batch job is running nightly via NAS (automatically) - it's posting date range is limited on User Setup. We have Automatic Cost Posting enabled on Inventory Setup.
Recap: I have an item journal entry posted 8/5/08. value entries posted 8/5/08. G/L entry posted 4/2/08.
any ideas?
kind of fell into this...
Comments
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
thanks in advance for any suggestions...
Nonetheless, if you set the Allow posting from on the general ledger setup, the ACIE process will not post before the date specified.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
the item in question has a BOM. it was produced via a job journal on 8/5/08. it has 4 components going into it.
The re-valuation was applied to the ILE related to the Job Journal posting (a positive adjustment).
does this info trigger any other ideas on what can be happening?
edit: we do use the Allow posting from - allow posting to dates in the user setup, as well as on the general setup. it still posted back to april.
edit: Costing Method: Average
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
where else can i look?
the revaluation journal posted before the 1 i am currently looking into appears to have posted correctly:
VE posting date 7/14/08
VE Valuation date 7/14/08
VE Document date 7/03/08
G/L posting date 8/13/08
the journal posted after the 1 i am looking into also appears to have posted correctly.
i use the word appears because maybe i do not know what i should be looking at. besides the VE and the ILE, what else should i be looking at when comparing to the G/L posting?
the adjust cost process is run by a NAS session, it's user date range was 8/5/08..10/31/08 when it was run on october 15. the G/L setup dates have also been locked down to the current month (essentially). at the time this cost routine was run, the g/l setup range was the month of october.
i have noticed that the accting team here does not close months - they will close a year when the time comes, but not the months as they pass.
so, i would therefore expect the following, please correct me if i misunderstand how the cost adjustment process works.
i post a sale oct 1 2008, VE, ILE, G/L postings are made.
In November, we revalue the product that was sold oct 1. since the accounting month is open, it will post the value entry back to the same day as the original sale - regardless of the user's allowable posting dates. The Post Cost to G/L routine runs and posts the G/L entries for the adjustment - but using which posting date? The NAS agent is supposed to look to see if the date the system wants to use is within the Users allowable range, and if not, it uses TODAY. It does not appear that worked here - unless somehow the server date was changed back 6 months?
edit: dumb question, but where can i get the article you mention? is it in customersource, or do i find it at microsoft.com? if it is only on partnersource, i cannot get at it.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
there is then this code OnAfterGetRecord for ItemValueEntry dataitem: the PostDate variable is the one set OnInitReport. there are no Item Ledger Entries for this item in April, so that is what has me very confused.
Check the reply by nancam. My guess is that this is your problem.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
Can you confirm that part of the problem is that they are not closing months as the year rolls along? The posting date on the batch jobs is only used if the system cannot post back to the original date, correct? i've already confirmed via change log that nobody altered the allow from/to posting dates to include April, but April was not 'closed' as a period. I have read the online help on this, as well as some knowledge base articles, but it gets confusing. I don't see how it posted G/L entries to April, when the user and system allow dates should have prevented that.