Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 5 Next »

The new entity xreference identifiers could be inserted into the RULESDBO.ENTITY_XREFERENCE DB table.

For inserted the new identifiers only the 'Find 1st Match' mode of Entity Resolution logic can be used.

New identifiers for adding do not define the value of another Entity Id in Entity Xreference DB table.

Insert New Entity Record

To add the entity identifiers for the new Entity Id specify the identifiers in incoming message together with Entity Id element (if the Entity Id is null, it will be generated). For example (the part of incoming message):

<entityId>ENT001</entityId>
<entityName>ENT001</entityName>
<entityType>PORT</entityType>
<entityXrefs>
	<entityXref>
		<xrefAccountId>TST_ADD01</xrefAccountId>
		<xrefAccountIdType>XREF_TYPE1</xrefAccountIdType>
		<xrefClassCode>TF1</xrefClassCode>
	</entityXref>
	<entityXref>
		<xrefAccountId>TST_ADD02</xrefAccountId>
		<xrefAccountIdType>XREF_TYPE2</xrefAccountIdType>
		<xrefClassCode>TF2</xrefClassCode>
	</entityXref>
</entityXrefs>

The entity batting order and entity resolution option can be null.

Update the Entity Record

To add the entity identifiers for the existing Entity Id specify the new identifiers in incoming message together with Entity Id or entity identifiers which defined the Entity Id by entity resolution logic. For example, update the Entity record above (the part of incoming message):

<entityId>ENT001</entityId>
<entityName>ENT001</entityName>
<entityType>PORT</entityType>
<entityXrefs>
	<entityXref>
		<xrefAccountId>TST_ADD01</xrefAccountId>
		<xrefAccountIdType>XREF_TYPE1</xrefAccountIdType>
		<xrefClassCode>TF1</xrefClassCode>
	</entityXref>
	<entityXref>
		<xrefAccountId>TST_ADD02</xrefAccountId>
		<xrefAccountIdType>XREF_TYPE2</xrefAccountIdType>
		<xrefClassCode>TF2</xrefClassCode>
	</entityXref>
</entityXrefs>

The new entity xreference inedtifier 'TST_ADD03/XREF_TYPE3' will be added for the calculated Entity Id = 'ENT001' by other identifiers.

  • No labels