Inventory Adjustment commit after each period

Get our Free Newletter

Don't you have the time to be online here at DUG every day? So how do you follow what is going on in the Dynamics industry and community?
If you subscribe to the DUG Newsletter then you can relax! We will make sure that you don't miss the big news!

Check out our
Newsletter Subscription Center
page a complete list of our different newsletters.

Solution (Verified) This post has 1 verified solution | 9 Replies | 1 Follower

27 Posts
335 Points
Joined: 2011-8-12
Last Online:
2013-5-21 22:58
Location: ...
rriinnoo posted on 2012-10-2 10:00

Hello to all,

I've this scenario.

Retail company.

Nav 5.0 SP1

Item with Variant with million of ILE

Costing MEthod Average, period = Month

 

I've already a smarter version that COMMIT after each item has been calculated.

As a next step i was thinking to COMMIT after the calculation of each period.

(I need that cause I've some ILE backposted and I need to calculate since 14 period ago costing  ~50hours)

Is something feasable that someone has already done ?

If yes who can address me to the right direction.

 

Thank you to all,

 

Solution (Verified) Verified Solution

Male
31 Posts
330 Points
Joined: 2012-9-16
Last Online:
2013-5-11 9:51
Location: Denmark
Solution (Verified) Palle Arentoft replied on 2012-10-3 20:14
Verified by Erik P. Ernst

Hello

There is more than one solution here. Your main problem is that you are running out of time - so you want to split it up and let it run for a number of days.

You have to options without to much programming.

First option is to do the adjusting pr. period - with 14 periods you have to run the report 15 times (the 15th a full adjustment - just to be sure). Peik has written a example of doing correctly depending on the posting dates - take a peek at


Best Regards

Palle Arentoft,
Dynamics NAV Specialist

www.NAVspecialist.dk

- One have to fully understand the question in order to give the right answer. So always try to be as precise as possible when asking for help!


All Replies

Male
2,211 Posts
32,695 Points
Joined: 2006-4-10
Last Online:
2013-5-22 10:22
Location: Pune India
Moderator
Amol replied on 2012-10-2 12:03

You can close the Inventory period for which adjustment is already done.

Why you want to change in default program?

-Amol

http://dynamicsuser.net/blogs/amol

Don't forget to  the post(s) that solved your problem

27 Posts
335 Points
Joined: 2011-8-12
Last Online:
2013-5-21 22:58
Location: ...
rriinnoo replied on 2012-10-2 12:36

Probably I haven't exposed my issue very well.

I've "Avg. Cost Adjmt. Entry Point" with 14 period open to be calculated for a specific item with variant.

Calculate a period (in my case Month) can cost about 6/7 hours and the standard report R795 commit only at the end.

My native idea was to commit after the calculation Avg calculation of each period.

 

 

 

Male
2,211 Posts
32,695 Points
Joined: 2006-4-10
Last Online:
2013-5-22 10:22
Location: Pune India
Moderator
Amol replied on 2012-10-3 4:25

Commit should be always at the end of process because if anything goes wrong in between then it will rollback the entire process. I suggest just look at the performance parameter rather than changing the standard functionality. It may lead to unwanted result and can make you system vulnerable.

Just think!!

 

-Amol

http://dynamicsuser.net/blogs/amol

Don't forget to  the post(s) that solved your problem

27 Posts
335 Points
Joined: 2011-8-12
Last Online:
2013-5-21 22:58
Location: ...
rriinnoo replied on 2012-10-3 11:00

Probably I'm not so skilled about the Costing Method, but reading the MS white paper there is no link beetween each period.

This make reasonable in my opinion commit after the calculation of each single step. (dividi et impera) (doing that also the performace might increase)

what do you think ? does exist somebody that already did it or rather check the feasability ?

 

 

 

Male
2,211 Posts
32,695 Points
Joined: 2006-4-10
Last Online:
2013-5-22 10:22
Location: Pune India
Moderator
Amol replied on 2012-10-3 11:29

I would rather check on performance by doing some database tuning and optimization rather than changing the default functionality /programs.

Just think twice before changing the process.

-Amol

http://dynamicsuser.net/blogs/amol

Don't forget to  the post(s) that solved your problem

Male
31 Posts
330 Points
Joined: 2012-9-16
Last Online:
2013-5-11 9:51
Location: Denmark
Solution (Verified) Palle Arentoft replied on 2012-10-3 20:14
Verified by Erik P. Ernst

Hello

There is more than one solution here. Your main problem is that you are running out of time - so you want to split it up and let it run for a number of days.

You have to options without to much programming.

First option is to do the adjusting pr. period - with 14 periods you have to run the report 15 times (the 15th a full adjustment - just to be sure). Peik has written a example of doing correctly depending on the posting dates - take a peek at


Best Regards

Palle Arentoft,
Dynamics NAV Specialist

www.NAVspecialist.dk

- One have to fully understand the question in order to give the right answer. So always try to be as precise as possible when asking for help!


27 Posts
335 Points
Joined: 2011-8-12
Last Online:
2013-5-21 22:58
Location: ...
rriinnoo replied on 2012-10-5 20:46

Hello Palle,

I found your reply very interesting and inspiring (in fact  I've just coded an ACIE modules that commit after each period :)

Thank you,

 

Male
18 Posts
145 Points
Joined: 2011-1-8
Last Online:
2012-12-16 9:34
Location: Bangalore, India
Pradeep K replied on 2012-10-25 21:44

hi rriinnoo,

what is the modification u have done to commit after each period, i am facing the same issue. some items are taken more than 2 days to complete.

please give me code.

Regards

Pradeep K

 

Male
18 Posts
145 Points
Joined: 2011-1-8
Last Online:
2012-12-16 9:34
Location: Bangalore, India
Pradeep K replied on 2012-11-26 18:31

Hi,

I found your reply is very instresting. could u please tell me how to solve this issue at my database. bcz i am facing the same issue.

Regards

Pradeep K

 

 

Page 1 of 1 (10 items) | Get this RSS feed | Bookmark and Share