TPAddEx()


Add a Trading Partner ID to specified Network/Mailbox.

Public Function TPAddEx(ByVal SessionID As String, _
                        ByVal NetworkID As Integer, _
                        ByVal MailboxID As Integer, _
                       
ByVal Qualifier As String, _
                        ByVal ID As String, _
                        ByVal Description As String) _
                       
As Integer

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.
NetworkID
Integer
The ECGrid NetworkID assigned to the network.
MailboxID
Integer
The ECGrid MailboxID assigned to the ID on the specified network. 
Qualifier
String(0,3)
The X12 or EDIFACT ID Qualifier for the ISA and UNB segments.
ID
String(1,35)
The X12 or EDIFACT ID for the ISA and UNB segments. 
Description
String(3,35)
The name associated with a Qualifier/ID pair. 

Returns

ECGridID
Integer
The ECGridID is a unique identifier on the ECGrid Network specifying a handle to a specific Qualifier/ID pair on a specific Network/Mailbox.

Remarks

The system will check for duplicates in the specified Network/Mailbox and if the Qualifier/ID pair (QID) exists in a different Network/Mailbox, throwing an appropriate Soap Exception if found. Use IDMove() or IDMoveEx() to move a QID from one Network/Mailbox to another.

A sufficient AuthorizationLevel is required in order to use TPAddEx().

Use TPAdd() to add QIDs to the Session Network/Mailbox and TPAddVAN() to add QIDs to Value Added Networks.

Example

Visual Basic
[insert code sample]

EventID: 3003

See Also

TPAdd()
TPAddVAN()
TPMove()
TPMoveEx()
ECGridID
Networks & Mailboxes


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