We have a Custom Entity that we are generating via an app using the SDK. The entity has 2 different owners. OwnerId , Which is designed in the system to be referred to the Team and an pc_targetownerindividual which is intended to be the user. In the app I'm showing where the IndividualOwnerId is being mapped correctly but I actually don't see OwnerId being mapped at all. I believe this is resulting in the ownerId being defaulted to the User. However, when I added the field to be mapped it generates an error when trying to generate due to having an incorrect OwnerIdType. Which makes sense, it needs to know that it needs to be a 9 instead of an 8. However, I don't see anywhere to set the type code as the OwnerIdType isn't available in the Xrm.cs. I do see where 10018 is referenced but it is an entity type not an owner type. Does anyone have any information that might can help me understand what I'm doing wrong?
↧






