Constants (TCTrkConst.pas)
Return to Introduction  Previous page  Next page
This file contains the constant definitions for the API. Some of the important ones are:

Issue Types

it_Bug       = 1;  
it_Todo       = 2;  
it_Enhancement    = 4;  
it_Task       = 8;  
it_WorkRequest    = 16;  
it_InfoRequest    = 32;  
it_ChangeRequest    = 64;  
it_Requirement    = 128;  
it_Idea       = 256;  

Field Types

ftUDString    = 0;  
ftUDInteger    = 1;  
ftUDDate    = 2;  
ftUDFloat    = 3;  

Error Codes

Err_OK             = 0;  
Err_InsufficientAccess       = 14;  
Err_InvalidName          = 39;  
Err_ObjectNotFound          = 40;  
Err_NotLoggedIn          = 48;  
Err_ConnectionNotDefined       = 49;  
Err_ObjectNameAlreadyInUse    = 54;  
Err_Offline             = 59;  
Err_ServerError          = 61;  
Err_PersonalLicense       = 74;  
Err_NoLicenses          = 75;  
Err_CouldNotCreateFile       = 76;  
Err_InvalidConnection       = 78;  
Err_AlreadyConnected       = 79;  
Err_NotConnected          = 80;  
Err_CouldNotConnectToServer    = 81;  
Err_TCNotInstalled          = 101;  
Err_ErrorUpdatingImage       = 102;  
Err_ErrorUpdatingObject       = 103;  
Err_ObjectAlreadyIncluded       = 104;  
Err_ErrorUpdatingIssue       = 105;  
Err_InvalidRecordSize       = 106;  
Err_AddinPreventedModification    = 107;  
Err_AddinPreventedDeletion    = 108;  
Err_InvalidFieldName       = 109;  
Err_InvalidFieldValue       = 110;  
Err_CannotModifyField       = 111;  
Err_ErrorUpdatingFile       = 112;  
Err_InvalidUsername       = 113;  
Err_OwnerNotDefined       = 114;  
Err_ProjectNotDefined       = 115;  
Err_NoDescription          = 116;  
 
Err_InvalidServerVersion       = 150;  
Err_UnknownUserOrLeaseExpired    = 151;  

 


© 1995-2018 MCN Software