- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Sales order invoice batch in use
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-06-2010 12:19 PM
MAS 90 v 4.3
Client had a workstation crash while in a sales order invoice entry.
The batch that the person was in now indicates that the batch is IN USE even though it is not. Can't access the batch to update it because of this. Obvious answer is the a flag on the batch did not get reset. After much hunting I found the batch control record in of all places - GL! GL_CompanyActiveBatch.m4t
Looking at the record in question, although there is a field for batch status, it is blank for all batches in the file whether in use or not. Apparently this field is not used anymore?
In any event, I can't figure out how the batch is flagged as in use unless its based upon a windows level record lock, in which case a reboot of the server will probably resolve it (have advised the client to do so at the next opportunity).
Or possibly it has something to do with files in the LOCK directory.
Anyone have any insights on this?
Target System Technology, Inc. - Spokane, WA -
The best solution often comes not from answering the question asked, but understanding WHY the question was asked.
Solved! Go to Solution.
Re: Sales order invoice batch in use
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-07-2010 06:22 PM
Tom,
There may be a SO01<batch no>.LCK file in the MAS90\LOCK\_<company code> folder that is still locked. MAS90 locks a batch by locking that file.
Natasha
Sr. Software Engineer
Sage 100 ERP
Re: Sales order invoice batch in use
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-08-2010 06:15 AM
thanks!
Target System Technology, Inc. - Spokane, WA -
The best solution often comes not from answering the question asked, but understanding WHY the question was asked.
Re: Sales order invoice batch in use
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-30-2011 08:42 AM
Natasha,
We are in this same situation now, but our batch has a status of "Print/Update." I see the lock file (SO0103697.LCK). What am I supposed to do with it? Delete it? Rename it? I am prevented from doing either; a message pops up saying that the action cannot be completed because the file is open in another program. Right now, I am assuming that I will be able to delete or rename it at the end of the day when everyone exits MAS 200 (v. 4.4). Thanks for any advice you can give us!
SC2 Inc.
Re: Sales order invoice batch in use
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-30-2011 08:46 AM
You can use MS Process Explorer to find the process holding that file open.
Steve
MAS200 V4.30.21
Re: Sales order invoice batch in use
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-30-2011 12:36 PM
Thanks, Steve. I installed Process Explorer on my workstation, but how would I use it to find the process holding the file open when the file is on the server?
SC2 Inc.
Re: Sales order invoice batch in use
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-30-2011 04:29 PM
Use the "Find" feature. You can "find" a filename with the search button. Search for the lock file. The results will show the PID, and you can use task manager to kill the task.
Steve
MAS200 V4.30.21
Re: Sales order invoice batch in use
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
06-30-2011 04:30 PM
Ooops! You want to run Process Explorer on the server...
Re: Sales order invoice batch in use
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-01-2011 06:37 AM
Thanks. At the end of the day, I was able to rename the lock file with a BAK extension. Then, when I went into Daily Sales Reports/Updates to reset the status on that batch, I found that I didn't need to. It was already marked as Available and was enabled to be selected.
SC2 Inc.
Re: Sales order invoice batch in use
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
07-01-2011 10:48 AM
Interesting. The process must have released the file for you to be able to do that.
Safe & happy 4th!
Steve
MAS200 V4.30.21


