Missing association property in the fetchplan

Hi all,
Please I need assistance with this:
Why is the association property (itemsGroup) not shown in the fetch plan? See the images below.

See the abridged version of the Item DTO entity below. itemsGroup is a singleValue associated field

As a result, I am not able to resolve reference to itemsGroup on the browser xml.

Both Item and ItemGroup entities are DTO entities both using a custom datastore

@Store(name = "sapb1-rest-api-ds")
@JmixEntity(name = "spm_Item")
public class Item {
    @JmixId
    private String id;

    @JmixProperty(mandatory = true)
    @NotNull
    private String itemCode;

    @JmixProperty(mandatory = true)
    @NotNull
    private String itemName;

    @SystemLevel
    private Integer itemsGroupCode;

    @JsonIgnore
    @DependsOnProperties({"itemsGroupCode"})
    private ItemGroup itemsGroup;
}

See both images below

image

image

Thanks

Hi all,
I was able to resolve this. For reference to work perfectly, your associated entity must be put in a different data store different from the primary entity when you are using custom datastore DTO.

Thanks