Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Project Server 2012 + AX 2012 integration problems

$
0
0

Hi.

I'm having troubles getting the integration work between Project Server 2010 and AX 2012. I'm using this code to sync ProjId from AX to Project Server:

syncIntegratedFields.AppId = _appId;
syncIntegratedFields.AppType = SyncAppType::ProjectServer;
syncIntegratedFields.SimpleTypeId = SyncSimpleEntity::ProjectHeader;
syncIntegratedFields.TableName = tablestr(ProjTable);
syncIntegratedFields.FieldName = fieldstr(ProjTable, ProjId);
syncIntegratedFields.FieldType = SyncFieldType::Custom;
syncIntegratedFields.daxExternalName = "DAX_Project_09_ProjId";
syncIntegratedFields.IsSystem_AX = NoYes::No;
syncIntegratedFields.IsSystem_External = NoYes::No;
syncIntegratedFields.IsRequired = NoYes::No;
syncIntegratedFields.CustomFieldType = ProjServerCustomType::Text;
syncIntegratedFields.CustomFieldRollupType = ProjServerCustomRollupType::None;
syncIntegratedFields.insert();

The DAX_Project_09_ProjId field gets created on Project Server but the content is empty. Any ideas?

I would also appriciate if someone provides me an example of how to sync from Project Server to AX. I've been fighting with these for too long now.

Thanks.


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>