TPSuspend()


Suspend an ECGridID entry.

Public Function TPSuspend(ByVal SessionID As String, _
                         
ByVal ECGridID As Integer) _
                         
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.
ECGridID
Integer
A value representing a routeable address on ECGrid. See ECGridIDs.

Returns

Boolean 
True if successful, false on failure.

Remarks

Trading Partners that are suspended will not have traffic routed to them; it will be held in a suspense queue for up to 30 days. If the entry is reactivated with TPActivate() any interchanges in the suspense queue will be immediately delivered to the InBox.

Qualifier/IDs of an Trading Partner that is suspended cannot be assigned to another Network/Mailbox by TPAdd(), TPAddVAN() or TPAddEx(); however, they can be moved using TPMove() or TPMoveEx().

To permanently remove a Trading Partner Qualifier/ID from a Network/Mailbox us TPTerminate().

Example

Visual Basic
[insert code sample]

EventID: 3011

See Also

TPActivate()
TPTerminate()


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