Getting errors on Incoming SMTP


(Jose C Gomez) #1

Hello,
Seeing the errors below on incoming SMTP
Version v2.0.0.beta3 +235

Any ideas?


(Matt Palmer) #2

Without seeing the rest of the error details (such as the full and complete e-mail being processed, and the full backtrace), nobody’s going to have much luck fixing this.


(Jose C Gomez) #3

This starting happening a day ago. I’m upgrading to the latest commit as we speak. Just wonder if anyone had seen this.
Headers

Return-Path: <<myEmailAddress@redacted.com>>
Received: from SIXS-EXCH2016.myCompany.local (69.17.187.74 [69.17.187.74]) by mx.zohomail.com with SMTPS id 1520379843597240.60055087448825; Tue, 06 Mar 2018 15:44:03 -0800
Received: from myCompany-EXCH2016.myCompany.local (10.1.2.15) by myCompany-EXCH2016.myCompany.local (10.1.2.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.32; Tue, 06 Mar 2018 18:44:00 -0500
Received: from myCompany-EXCH2016.myCompany.local ([::1]) by myCompany-EXCH2016.myCompany.local ([::1]) with mapi id 15.01.0669.032; Tue, 06 Mar 2018 18:44:00 -0500
Date: Tue, 06 Mar 2018 23:44:00 +0000
From: Jose Gomez <<myEmailAddress@redacted.com>>
To: Epicor Help Forum <forum+57f9c09bf58ee0808f69f419acfccd1b@e10help.com>
Message-ID: <1C4C27AB-997F-40F4-8A4E-985769D81196@myCompanypartners.com>
In-Reply-To: <01000161fd83b50c-5361f230-1d95-48ed-be30-8469df58aa85-000000@email.amazonses.com>
References: <topic/43176@e10help.com>
 <topic/43176/174231@e10help.com>,<01000161fd83b50c-5361f230-1d95-48ed-be30-8469df58aa85-000000@email.amazonses.com>
Subject: Re: [Epicor Help Forum] [E10] Updateable BAQ
Mime-Version: 1.0
Content-Type: multipart/alternative;
 boundary=_000_1C4C27AB997F40F48A4E985769D81196myCompanypartnerscom_
Delivered-To: forum+57f9c09bf58ee0808f69f419acfccd1b@e10help.com
Received-SPF: none (zoho.com: 69.17.187.74 is neither permitted nor denied by
 domain of myCompanypartners.com) client-ip=69.17.187.74;
 envelope-from=<myEmailAddress@redacted.com>; helo=myCompany-EXCH2016.myCompany.local;
Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 69.17.187.74 is
 neither permitted nor denied by domain of myCompanypartners.com)
 smtp.mailfrom=<myEmailAddress@redacted.com>
Thr3ad-Topic: [Epicor Help Forum] [E10] Updateable BAQ
Thr3ad-Index: AQHTtZ3BMWrNS0ySjEC9S9we9pQjNaPD3sUB
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-gfi-smtp-submission: 1
x-gfi-smtp-hellodomain: myCompany-EXCH2016.myCompany.local
x-gfi-smtp-remoteip: 10.1.2.15
X-ZohoMail: RSF_4 Z_634553104 SPT_1 Z_634553103 SPT_1 UDT_7 RF_0

Body:

Regardless this pre processing BPM should only throw an exception don't do the actual updating let epicor do that like normal (if you don't throw an exception then epicors logic will run)

-Jose

On Mar 6, 2018, at 5:52 PM, Ken Nash <forum@e10help.com<mailto:forum@e10help.com>> wrote:

[https://e10help.com/letter_avatar_proxy/v2/letter/k/ac91a4/45.png]     knash<https://e10help.com/u/knash> Ken Nash<https://e10help.com/u/knash>
March 6

ok closer.

Getting a type error on the following line. Is there a trick to do the compare?
if (ttResult.OrderRel_SysRevID == OrdRel.SysRevID)

Error CS0019: Operator '==' cannot be applied to operands of type 'long' and 'byte[]'

foreach (var ttResult in ttResults.Where(row => !string.IsNullOrEmpty(row.RowMod) && row.RowMod != "P").Select(row => row) )...

Rejection Response:

We're sorry, but your email message to ["forum+57f9c09bf58ee0808f69f419acfccd1b@e10help.com"] (titled Re: [Epicor Help Forum] [E10] Updateable BAQ) didn't work.

There was an unrecognized error while processing your email and it wasn't posted. You should try again, or [contact a staff member](https://e10help.com/about).

Here is the full email (Copy Paste)

Not sure why it thinks that's a byte array.... That's weird 
Investigating
-Jose

On Mar 6, 2018, at 4:39 PM, Ken Nash <forum@e10help.com> wrote:
 
knash Ken Nash 
March 6 
I am going to assume I can do this for OrderRel as well. I am not seeing where the tt is being set and used in the update. It looks like the whole query ds is being processed.
Should I even care about the trace log? I see my change. But I also see the queryDS being sent with more records than I updated.
  <paramDataSet name="queryResultDataset" useDataSetNbr="0">
      <changedValue tableName="Results" rowState="Modified" rowNum="0" colName="OrderRel_Character02"><![CDATA[hi]]></changedValue>
    </paramDataSet>
Partial
  <paramDataSetChanges>
    <paramDataSet name="queryDS" useDataSetNbr="0">
      <changedValue tableName="QueryWhereItem" rowState="Added" rowNum="0" colName="Company"><![CDATA[EmbedTek]]></changedValue>
      <changedValue tableName="QueryWhereItem" rowState="Added" rowNum="0" colName="QueryID"><![CDATA[ETK_SchedShipments]]></changedValue>
      <changedValue tableName="QueryWhereItem" rowState="Added" rowNum="0" colName="SubQueryID"><![CDATA[f740c4f3-ed25-45ba-8373-340d4ac725b7]]></changedValue>
      <changedValue tableN....
  <changedValue tableName="QueryWhereItem" rowState="Added" rowNum="12" colName="ToTableID"><![CDATA[]]></changedValue>
  <changedValue tableName="QueryWhereItem" rowState="Added" rowNum="12" colName="ToFieldName"><![CDATA[]]></changedValue>
  <changedValue tableName="QueryWhereItem" rowState="Added" rowNum="12" colName="ToDataType"><![CDATA[]]></changedValue>
  <changedValue tableName="QueryWhereItem" rowState="Added" rowNum="12" colName="RValue"><![CDATA[_where-8587318048684276459]]></changedValue>
  <changedValue tableName="QueryWhereItem" rowState="Added" rowNum="12" colName="ExtSecurity"><![CDATA[False]]></changedValue>
  <changedValue tableName="QueryWhereItem" rowState="Added" rowNum="12" colName="SysRevID"><![CDATA[252276533]]></changedValue>
  <changedValue tableName="QueryWhereItem" rowState="Added" rowNum="12" colName="SysRowID"><![CDATA[d937b8f2-98a7-425b-8768-bc54a3cdcdfc]]></changedValue>
  <changedValue tableName="QueryWhereItem" rowState="Added" rowNum="12" colName="BitFlag"><![CDATA[0]]></changedValue>
  <changedValue tableName="QueryWhereItem" rowState="Added" rowNum="12" colName="RowMod"><![CDATA[]]></changedValue>
</paramDataSet>
________________________________________
Visit Topic or reply to this email to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, click here.

(Régis Hanol) #4

Update to latest, it has been recently fixed


(Régis Hanol) #5

This topic was automatically closed after 22 hours. New replies are no longer allowed.