ECGrid Forums  

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

ECGridOS Developer Development related posts.

Reply
 
Thread Tools Display Modes
  #1  
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
X12.56:
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*|
Status: (1105) INVALID ISA SYNTAX


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

Thanks
Reply With Quote
  #2  
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: 285
Send a message via Skype™ to Todd Gould
Default

Jason,

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.

-=tg=-
Reply With Quote
  #3  
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
Reply

Tags
parceluploadex


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 03:28 AM.


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