Unhandled exception has occurred in a component in your...

Expand / Collapse
 

Unhandled exception has occurred in a component in your...


Symptom

'Unhandled exception has occurred in a component in your application' error message is displayed on entry to the sequencer as shown:



Cause

This error occurs because the field name present in the ORDER MATCH(Field Name) classification typically defined in the 'MaterialControl_prtdf.inc' file is not defined in the 'Orders' table in the 'Preactor.prtdf' file.

Resolution

There are two options available for resolving this error. 

Option 1

Look at the 'Order No.' field in the 'Bill of Materials' and 'Co-products' tables of the 'MaterialControl_prtdf.inc' file and see what field is specified on the ORDER MATCH classification and add that field to the 'Orders' table definition in the 'Preactor.prtdf' file.  For example:

BoM Match Order No.,-1,STRING,
  INHERIT FROM PARENT
  FREE FORMAT
  HIDDEN:

If you choose this option, you need to make sure that any import script that imports order data, imports 'Order No.' data into the 'BoM Match Order No.' field otherwise SMC will not peg.

Option 2

Change the field name specified in the ORDER MATCH classification in the 'Bill of Materials' and 'Co-Products' database of the 'MaterialControl_prtdf.inc' file, for example:

ORDER MATCH(Order No.)

(assuming that a field called 'Order No.' exists in the Preactor.prtdf' file).



Rate this Article:
     

Add Your Comments


Name: *
Email Address:
Web Address:
 

Details
Last Modified:5th December 2011
Last Modified By: Dawn Platt
Type: ERRMSG
Level: Intermediate
Article not rated yet.
Article has been viewed 218 times.
Options