ParcelInBox()
Current InBox for the Session Network/Mailbox.
Public Function ParcelInBox(ByVal SessionID As
String)
_
As ParcelIDInfo() |
Parameters
- SessionID
String - GUID
- The current session's GUID in string format. This is a 32-character
hexidecimal string in the format:
00000000-0000-0000-0000-000000000000. This
is the value returned by the Login() function.
Returns
- ParcelID
Long
- The value assigned to track a specific Parcel on ECGrid.
- ParcelBytes
Integer
- The total number of bytes in the Parcel. This includes all interchanges and any
X12.56 mailbag segments if present in the Parcel.
- ParcelDate
Date
- The date/time the Parcel was uploaded
or created on ECGrid (UTC).
- NetworkIDFrom
Integer
- The NetworkID where
the Parcel originated.
- NetworkNameFrom
String(3,40)
- The descriptive name of the Network.
- MailboxIDFrom
Integer
- The MailboxID where
theParcel originated.
- NetworkIDTo
Integer
- The Parcel destination NetworkID.
- NetworkNameTo
String(3,40)
- The descriptive name of the Network.
- MailboxIDTo
Integer
- The Parcel destination MailboxID.
- FileName
String(1,127)
- The file name assigned to a Parcel. It will be stored on disk with this
name.
- MailbagControlID
String(0,9)
- The X12.56 Mailbag Number if applied to this Parcel.
- StatusDate
Date
- The date/time this status was assigned (UTC).
- StatusCode
String
- The current status code associated with this Parcel. The 'M' prefix refers to the Parcel
(Mailbag). The suffix is a
Short.
- StatusMessage
String
- The description of the Status Code.
- LocalStatus
Short - This is a status set by the developer to indicate
local disposition of the
Parcel . The default is 0. Values 0-31
are reserved for ECGridOS designated common values.
- Valid
Short - ECGridOSv0200.ParcelValid
ENUM
- Indicating whether this Parcel was able to be processed completely.
- Direction
Short - ECGridOSv0200.Direction
ENUM
- Indicating whether this Parcel was posted to an InBox or OutBox.
- Interchanges
Object Collection - InterchangeIDInfo
- The list of Interchanges within the Parcel.
- InterchangeID
Long
- A value representing a specific Interchange within ECGrid.
- InterchangeProcessDate
Date
- The Date/Time an Interchange was processed into
ECGrid.
- NetworkIDFrom
Integer
- The NetworkID where the Parcel originated.
- NetworkIDTo
Integer
- The Parcel
destination NetworkID.
- Standard
String
- The standard used for the outside envelope: X12 (ISA) or EDIFACT (UNB).
- Bytes
Integer
- The total number of bytes in the Interchange. This includes the
envelope, but will not include any X12.56 mailbag segments if present in the
Parcel.
- InterchangeControlID
String
- For X12 and EDIFACT this will be the control number
- InterchangeDateTime
Date
- The Date/Time of an Interchange derived from the Interchange Envelope
ISA or UNB segment.
- StatusDate
Date
- The date/time this status was assigned (UTC).
- StatusCode
String
- The current status code associated with this Interchange. The 'E' prefix
refers to the Interchange (Envelope). The suffix is a
Short.
- StatusMessage
String
- The description of the Status Code.
- DocumentType
-
String- A listing of document type(s) in an interchange
(e.g. 810, 850, INVOIC, ORDERS, etc.)
- Header
String
- The complete X12 ISA or EDIFACT UNB for the interchange.
- TPFrom
Object - ECGridIDInfo
- An ECGridIDInfo Object for the Interchange Sender.
- TPTo
Object - ECGridIDInfo
- An ECGridIDInfo Object for the Interchange Receiver.
Remarks
A list of all Parcels
pending download in the Session Network/Mailbox.
Use ParcelDownload() or ParcelDownloadInner() to download
the Parcels through
ECGridOS. Alternatively, they may be accessed through other communications
channels such as FTP or AS2.
Use ParcelDownloadConfirm() to confirm
successful download of a Parcel through ECGridOS and remove it from the
pending list.
To list Parcels from a specified Network/Mailbox
use ParcelInBoxEx().
Example
| Visual Basic |
[insert code sample] |
EventID: 6001
See Also
Parcels
ParcelDownload()
ParcelDownloadInner()
ParcelInBoxEx()
Session Network/Mailbox
© 2008-2011, Loren Data Corp. All rights
reserved. |
ECGrid is a registered service
mark of Loren Data Corp. ECGridOS is a service mark of Loren Data
Corp. |
|