TPAddVAN()
Add a Trading Partner ID to a Value Added Network (VAN)
connection.
Public Function TPAddVAN(ByVal SessionID As
String,
_ ByVal NetworkID 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 Value
Added Network.
- No MailboxID is required as all VANs operate with a single Mailbox.
- 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 same VAN and if the Qualifier/ID
pair (QID) exists in a different Network/Mailbox, throwing an appropriate Soap Exception
if found. Use TPMove() or TPMoveEx() to move a QID
from one Network/Mailbox to another.
Use TPAdd() and TPAddEx() to add QIDs to
other Network/Mailboxes.
Example
| Visual Basic |
[insert code sample] |
EventID: 3002
See Also
TPAdd()
TPAddEx()
TPMove()
TPMoveEx()
ECGridID
Networks
& Mailboxes
Value Added Networks
© 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. |
|