Hi All,
I am creating an Integration Object Items as part of an implementation and i am getting an issue when accessing the items via backoffice. The issue occurs when i use the same type in my Integration Object Item. I looked at the code and it seems Hybris is literally looking to have an Unique item -
public static Map<ComposedTypeModel, List<AbstractListItemDTO>> convertIntegrationObjectToDTOMap(ReadService readService, IntegrationObjectModel integrationObject) {<br> return (Map)integrationObject.getItems().stream().collect(Collectors.toMap(IntegrationObjectItemModel::getType, (item) -> {<br> return getItemDTOS(readService, item);<br> }));<br>}
Example :
INSERT_UPDATE IntegrationObjectItem; integrationObject(code)[unique = true]; code[unique = true] ; type(code) ; root[default = false]
; Inbound ; TestIO; TestIO;
; Inbound ; Address ; Address ; true
; Inbound ; ResAddress ; Address