Skip to main content
All CollectionsBusiness System IntegrationsSage 300Errors
Sage 300 - [ERROR] Sage Error: Order Invalid characters put to field 'Terms Code'. - View: OE0520 Field: TERMS Value: xxx Error HRESULT E_FAIL has been returned from a call to a COM component.
Sage 300 - [ERROR] Sage Error: Order Invalid characters put to field 'Terms Code'. - View: OE0520 Field: TERMS Value: xxx Error HRESULT E_FAIL has been returned from a call to a COM component.
Micah A. Parker avatar
Written by Micah A. Parker
Updated over a year ago

Product: Sage 300

Error: Sage Error: Order Invalid characters put to field 'Terms Code'. - View: OE0520 Field: TERMS Value: xxx Error HRESULT E_FAIL has been returned from a call to a COM component.


Issue: When exporting an inbound Purchase Order (850) from your Trading Partner you receive the following error: 'Sage Error: Order Invalid characters put to field 'Terms Code'. - View: OE0520 Field: TERMS Value: xxx Error HRESULT E_FAIL has been returned from a call to a COM component.'

Reason: An invalid character typically refers to something such as a space or a symbol that's been entered into the Terms field - which is not valid for Sage 300

Solution


Remove any symbols (including spaces) that Sage 300 will not accept.

It's best to copy the Sage 300 Terms code directly from Sage 300 itself.

rev 1/4/2023

Did this answer your question?