- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Unable to print Transfer Orders
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-05-2011 07:29 AM
Hi folks...
It seems our ability to print Transfer Orders has stopped working entirely. If you are in "Enter Transfer Orders", load a transfer order and click the "Print" icon on the toolbar, you get the following message box error...
MODULE: COMPANY: XXX APPNAME: General Report
Error 6 occurred at frmPrintReqs in Procedure IInitializeReport
Overflow
This application will now close
I then tried printing a transfer from the "Print Transfer Orders" menu item. This generates no error but just beeps and then no application screen is displayed.
I have a ticket open on this already but I am wondering if anyone has run across this before??
I am at a loss on this one...
Heritage IT Department
5130 Executive Blvd
Fort Wayne IN 46808
Phone 260-496-7624
Cell 260-602-0654
Fax 866-417-1231
Solved! Go to Solution.
Re: Unable to print Transfer Orders
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-05-2011 08:00 AM
Could be that you have a integer value that's greater than 32754 (or there abouts). Sometimes variables are defined as Integer in VB which only goes up to 32754 (or so) signed. SQL allows 2 billion and some. I'm guessing though.
John
Re: Unable to print Transfer Orders
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-05-2011 08:09 AM
I would typically agree... but this happens on ANY order. I would think that the scenario you are describing would hold true for a specific order... (please tell me if I am misunderstanding...)
We literally can't print any transfer orders at all right now.
Heritage IT Department
5130 Executive Blvd
Fort Wayne IN 46808
Phone 260-496-7624
Cell 260-602-0654
Fax 866-417-1231
Re: Unable to print Transfer Orders
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-05-2011 08:20 AM
Does this happen on every computer? Any new printers added lately?
MAS500, Principal Designer
Irvine, CA
Re: Unable to print Transfer Orders
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-05-2011 08:24 AM
We are running in a Citrix environment with approximately 26 client servers dedicated to Mas 500. It is happening on all of them.
Heritage IT Department
5130 Executive Blvd
Fort Wayne IN 46808
Phone 260-496-7624
Cell 260-602-0654
Fax 866-417-1231
Re: Unable to print Transfer Orders
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-05-2011 08:26 AM
as far as new printers... none. and no updates over the weekend to any of the servers (this was working fine Friday).
Heritage IT Department
5130 Executive Blvd
Fort Wayne IN 46808
Phone 260-496-7624
Cell 260-602-0654
Fax 866-417-1231
Re: Unable to print Transfer Orders
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-05-2011 08:31 AM
Just for kicks, I decided to take a look at our "max" TrnsfrOrderkey value since this seemed to be a likely culprit. Right now that value is 36131. I am seriously hoping that this integer value in particular, isn't the case ![]()
I am actually thinking this value is too high to be the culprit all of a sudden...
Heritage IT Department
5130 Executive Blvd
Fort Wayne IN 46808
Phone 260-496-7624
Cell 260-602-0654
Fax 866-417-1231
Re: Unable to print Transfer Orders
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-05-2011 08:54 AM
Sounds to me like the variable for the key is defined as an integer instead of a long. If this is the case, you'll need a code fix -- I see you've already reported this to CS.
Jenny
Principal Software Engineer
Sage 500 ERP
Re: Unable to print Transfer Orders
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-05-2011 09:45 AM
I agree that it is a bad variable declaration. Probably not related to the transfer order key though. I would assume that is from the key that is used for the session id for the report. Can you tell me what the value of NextKey is from the following query:
SELECT * FROM tciSurrogateKey
WHERE TableName = 'timPrintTrnsfrWrk'
If that is over 32767, then there is most likely a variable handling that value defined as an INT that should be a long. And that will need a code change to correct.
Eric
Re: Unable to print Transfer Orders
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-05-2011 10:06 AM
timPrintTrnsfrWrk = 6427
Heritage IT Department
5130 Executive Blvd
Fort Wayne IN 46808
Phone 260-496-7624
Cell 260-602-0654
Fax 866-417-1231


