ECGrid Forums  

Go Back   ECGrid Forums > Electronic Commerce > ECGridOS > ECGridOS Developer

ECGridOS Developer Development related posts.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-04-2012, 04:20 PM
edewsnap edewsnap is offline
New Member
 
Join Date: Apr 2012
Posts: 5
Default Move TPID from one Mailbox to another Mailbox

Looking for the API that will allow me to move the TPID to another mailbox.
I tried TPListEx,TPMove but do not see the TPID parameter.
Reply With Quote
  #2  
Old 07-05-2012, 11:49 AM
Todd Gould's Avatar
Todd Gould Todd Gould is offline
Loren Data Corp.
 
Join Date: May 2005
Location: Loren Data Corp.
Posts: 303
Send a message via Skype™ to Todd Gould
Default

For TPMove() to work properly in v2.3, you need to be logged as a user in the Mailbox where you want the ECGridID to move to, and have authorization to move the ECGridID.

In hind sight, that is broken logic.

The proper function would be TPMoveEx() with NetworkAdmin authority as long as the ECGridID was moving from one MailboxID to another in the same Network. However, in v2.3 that requires NetOps authority as it was written.

The authority problem for TPMoveEx() has been fixed for v3.0 (pre-Alpha). I'll see if I can get an interim update for v2.3 in place. In the meantime I have a work around.

1) Use TPTerminate() for the ECGridID in the wrong mailbox.
2) Use TPAddEx() to create a new entry with the same Qualifier/ID (QID) in the correct mailbox.

Even if by chance data comes in for that QID in between the two calls, it will just be suspended then forwarded when the new entry is in place.

-=tg=-
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do we move a customer to ECGrid in praxis? JesCar ECGridOS Developer 2 06-22-2011 12:29 AM


All times are GMT -4. The time now is 07:28 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
ECGrid® is a registered service mark of Loren Data Corp.