I’m getting:a Customer on Credit Hold warning when they are not
A server side error message shows when Create Invoice is selected
If Create Invoice Is unchecked:
I get the Credit Hold message:
I select YES
New Pack Slip message appears
The “Print Packing Slip/Labels” form appears
I submit the report and close the Print window
Focus returns to the Order Entry window, and it updates to show the order is closed.
If Create Invoice Is NOT checked:
I get the Credit Hold message:
I select YES
I get the following server side message:
with the details being
Details
Server Side Exception
A server error occurred. Review the server event logs for details.
Exception caught in: Epicor.ServiceModel
Error Detail
============
Description: A server error occurred. Review the server event logs for details.
Program: Epicor.System.dll
Method: ProvideFault
Line Number: 32
Column Number: 13
Server Trace Stack: at Epicor.Hosting.Wcf.ErrorHandler.ProvideFault(Exception error, MessageVersion version, Message& fault) in C:\_Releases\ICE\ICE3.2.300.23\Source\Framework\Epicor.System\Hosting\Wcf\ErrorHandler.cs:line 32
at System.ServiceModel.Dispatcher.ErrorBehavior.ProvideFault(Exception e, FaultConverter faultConverter, ErrorHandlerFaultInfo& faultInfo)
...
Event Viewer on the App Server shows:
System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details. ---> System.Data.SqlClient.SqlException: String or binary data would be truncated.
After closing the Server Side Error message, neither the popup stating the Packer was created, nor the “Print Packing Slip/Labels” form appear.
Focus returns to the Order Entry window, and it updates to show the order is closed (both create Packer and Create Invoice are checked).
I open that order with Order Tracker, and it finds the Shipment, but not the invoice.
The fact that it is successful when Create Invoice is NOT selected, makes me think it is something with making the invoice. But the fact that neither the message that a Packer was created, nor the Print Packer window show, makes me think it is something prior to the invoice creation.
That exception you are getting is generally because the field size in the DB is smaller than what the datamodel allows for. This can happen in a number of ways, but I would see if you can figure out what field it is yelling about and compare the datamodel size to the actual DB field.
If I re-create that order (but not as a counter sale), and manually process it, I have no problem making, printing or shipping the packer. Nor any issue making, printing or posting the invoice.
Making it Counter Sale but with just Create Packer, it runs, and I can create the invoice manually.
I do have 6 UD fields on OrderHed and InvcHead (none are related, i.e. nooderhead UDs are copied to InvcHead UD’s). Should I focus on those?
This may be completely unrelated, but we had an issue where we upgraded from 10.0.700.4 to 10.2.300 last year where the counter sales errored out. Root cause was the counter sales invoice prefix field was limited to 2 characters in 10.2.300 in the underlying code, and we were using ‘CS-’. Can’t hurt to double check that…