MailboxX12Delimiters()


Update a Mailbox override values for Segment Terminator, Element Separator and Subelement Separator.

Public Function MailboxX12Delimiters(ByVal SessionID As String, _
                                    
ByVal MailboxID As Integer, _
                                     ByVal SegTerm As Byte, _
                                     
ByVal ElmSep As Byte, _
                                     
ByVal SubElmSep As Byte) _
                                    
As Boolean

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.
MailboxID
Integer
The ECGrid MailboxID assigned to the ID on the specified network. 
SegTerm
Byte (0-127)
The decimal representation of an ASCII character an X12 Segment Terminator. The value of 0 is used to signify no translation.
ElmSep
Byte (0-127)
The decimal representation of an ASCII character an X12 Element Separator. The value of 0 is used to signify no translation.
SubElmSep
Byte (0-127)
The decimal representation of an ASCII character an X12 Subelement Separator. The value of 0 is used to signify no translation.

Returns

Boolean 
True if successful, false on failure.

Remarks

ECGrid has the ability to normalize X12 delimiters for all inbound Parcels. By changing the value from zero (0) to any value 1 to 127, the matching ASCII character will be substituted for the specific delimiter.

By default, all values are set to zero (0) and no translation occurs.

Always leave these values as zero (0) if you plan to transfer non-EDI data over ECGrid. These values will have no effect on EDIFACT interchanges.

This has no affect on outbound Parcels.

Example

Visual Basic
[insert code sample]

EventID: 2111

See Also

Parcels


© 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.