Hi,
I have the External ID in my Custom BO and using that i need to get the Product ID.
I was able to get the UUID of the Product using the below query but after that i am not able to get the product ID.
Code for getting UUID.
var query;
var resultData;
var selectionParams;
query = ObjectIdentifierMapping.QueryByElements;
selectionParams = query.CreateSelectionParams();
selectionParams.Add(query.RemoteObjectID.content, "I", "EQ", ExternalID);
selectionParams.Add(query.LocalObjectNodeReference.ObjectTypeCode.content, "I", "EQ", "1507");
resultData = query.Execute(selectionParams);
if (resultData.GetFirst().IsSet())
{
var externalSalesUnit = resultData.GetFirst().LocalObjectNodeReference.UUID.content;
}
When i checked in the Repository i don't find any query for getting the product ID using UUID.
Kindly suggest how i can get the product ID.
Thanks and Regards,
Ajith.