ssolberg
VIP Member
Running \"Sales Day End\" during the day
We've had requests to run P42800 (Sales Day End) more than just at night (in Sleeper). The company things to be updated during the day so I came up with (what I thought) the bright idea to have the Sales Update versions run (via Sleeper) during the day every hour. It has been runnning this way for a couple months and then I was getting some complaints of some "duplicate" AR and GL entries getting made and it appears as though I have tracked it back to sales stuff.
Even more work reveals that it appears to have started happening just about the same time as I started running P42800 during the day. In a nutshell, it appears as though it is picking up stuff from a Sales Order more than once (on random occasion), like it isn't updating the status' after it processes it once, it then gets picked up again an hour later and this may happen once or 20 times (again, random).
I made sure that all of the Day End stuff runs in a single threaded jobq along with P09800 following it up (just like we have done in the middle of the night for years) again in the same jobq.
Is anyone out there running P42800 during the day like I talk about? Anyone have any wild-hair ideas what might be causing it? I have been totally unable to find the culprit since it truly happens at totally random times. I find no joblogs on any processes either and other orders run thru the same "batch" are not duplicating so I can't seem to find the cause of the problem?
We've had requests to run P42800 (Sales Day End) more than just at night (in Sleeper). The company things to be updated during the day so I came up with (what I thought) the bright idea to have the Sales Update versions run (via Sleeper) during the day every hour. It has been runnning this way for a couple months and then I was getting some complaints of some "duplicate" AR and GL entries getting made and it appears as though I have tracked it back to sales stuff.
Even more work reveals that it appears to have started happening just about the same time as I started running P42800 during the day. In a nutshell, it appears as though it is picking up stuff from a Sales Order more than once (on random occasion), like it isn't updating the status' after it processes it once, it then gets picked up again an hour later and this may happen once or 20 times (again, random).
I made sure that all of the Day End stuff runs in a single threaded jobq along with P09800 following it up (just like we have done in the middle of the night for years) again in the same jobq.
Is anyone out there running P42800 during the day like I talk about? Anyone have any wild-hair ideas what might be causing it? I have been totally unable to find the culprit since it truly happens at totally random times. I find no joblogs on any processes either and other orders run thru the same "batch" are not duplicating so I can't seem to find the cause of the problem?