![]() |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
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=- |
|
#3
|
|||
|
|||
|
Awesome! That was it.
|
![]() |
| Tags |
| parceluploadex |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|