
31/10/2008, 06:58
|
| | Fecha de Ingreso: octubre-2008
Mensajes: 1
Antigüedad: 16 años, 5 meses Puntos: 0 | |
Changepoint & .NET Hola !!
No se si me podreis ayudarme, estoy intentando crear un proyecto usando unas APIS que tiene ChangePoint en .Net, pero no hay manera !!
El problema es que no se generar el tipo de datos Identity. Vease:
Dim myCon As New Changepoint.ChangepointAPI2.ApiConnection()
myCon.LoginId = "cpadmin"
myCon.LoginPassword = "demodb"
myCon.ConnectionString = sConnstr
Dim myUser As Changepoint.ChangepointAPI2.ApiUser = myCon.Login()
Dim myPrj As New Changepoint.ChangepointAPI2.ApiProject()
With myPrj
.Name = "Dataload Test"
.Currency = "EUR"
.Engagement = New Changepoint.Base.BusinessBase.Identity("{4EC600C3-211A-4A22-905C-C5045A5D880A }")
.FirstStatus = "01/01/2009"
.PlannedFinish = "31/12/2009"
.PlannedHours = 230
.PlannedStart = "01/01/2009"
.ProjectStatus = "A"
.ProjectType = "SR"
.....
.StatusFrequency = 1
.CPConnection = myCon
End With
Dim retId As String = ""
Dim ret As Int32 = myPrj.Add(retId)
Return retId
Alguien ha trabajo con estas APIS de Changepoint y me puede ayudar ?? |