ECGrid Forums  

Go Back   ECGrid Forums > Electronic Commerce > ECGridOS > ECGridOS Developer

ECGridOS Developer Development related posts.

Thread Tools Display Modes
Old 05-01-2012, 01:54 PM
haleyjason haleyjason is offline
New Member
Join Date: Apr 2012
Posts: 4
Cool Testing ParcelUploadEx

I'm kind of new to the EDI thing, so I hope this isn't a dumb question ...

I just added some code to upload a simple text file (not an EDI file) using some code that calls ParcelUploadEx() ... but I'm gettting an email that has the following:

ECGrid has encountered problems with the following mailbag due to one or more errors:

Network: 99
Mailbox: 2052851619
MBID: 156557904
Date: 5/1/2012 5:42:00 PM

File Name: TestSend.txt
File Date: 5/1/2012 5:42:56 PM
File Size: 39

Status Code: 2103
Description: ECGRID-IN: Parcel Structure Validation ERROR

Interchange Detail:

ISA*ZZ*ECGRIDOS *ZZ*UPLOADEX *840*2068616906 *850*2068616906 *120501*0542*U*99999*156557904*0*P*|

I'm just trying to test my code before I try it on something real. Any tips on what I'm doing wrong?

Reply With Quote
Old 05-01-2012, 03:40 PM
Todd Gould's Avatar
Todd Gould Todd Gould is offline
Loren Data Corp.
Join Date: May 2005
Location: Loren Data Corp.
Posts: 303
Send a message via Skype™ to Todd Gould


Great job getting so far along with the limited EDI knowledge, and thank you for a very complete posting.

The issue here is that X12 only allows a 2-digit Qualifier, but EDIFACT allows 3-digits. The test QIDs (Qualifier/IDs) you set up were 3-digit (840 and 850), so the system choked when trying to validate the ISA segment we use to wrap non-EDI data.

I will be putting in a validation check for ParcelUploadEx() so this is trapped in the future.

For now, just create test IDs using 2-digit qualifiers. If you look into X12, there is only a small set of valid 2-digit qualifiers; however, ECGrid will allow for any letter/number combination. For testing you can stick with something like XX which is not valid in the real world, so will make sure you don't interfere with any live QIDs.

Thank you for using the forum and ECGridOS.

Reply With Quote
Old 05-01-2012, 07:41 PM
haleyjason haleyjason is offline
New Member
Join Date: Apr 2012
Posts: 4
Default Works

Awesome! That was it.
Reply With Quote


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 10:32 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
ECGrid® is a registered service mark of Loren Data Corp.