ParentId in PrintMgmtIdentificationText table

Hello, friends

I need to extract the value form the field identificationText of system table PrintMgmtIdentificationText. The table have method find which returns the identificationText value. However, the method has parameter ParentId which is one of the tables fields (Please see attachment). The field have many values but its not a container type as well. It seems from the table code that the field value of ParentId is somehow constructed from RecId values.

It would be nice if you could explain what is the ParentId and how its constructed.

    public static PrintMgmtIdentificationText find(
        RefRecId _parentId,
        LanguageId _languageId ,
        boolean                 _forupdate = false,
        ConcurrencyModel        _concurrencyModel = ConcurrencyModel::Auto)
    {
        PrintMgmtIdentificationText printMgmtIdentificationText;
        ;

        printMgmtIdentificationText.selectForUpdate(_forupdate);
        if (_forupdate  && _concurrencyModel != ConcurrencyModel::Auto)
        {
            printMgmtIdentificationText.concurrencyModel(_concurrencyModel);
        }

        select firstonly
            printMgmtIdentificationText
            where
            printMgmtIdentificationText.ParentId == _parentId &&
                    printMgmtIdentificationText.LanguageId == _languageId;

        return printMgmtIdentificationText;
    }

Kind regards,

Roberts

Just look at the relation - you’ll see it’s RecId of a PrintMgmtSettings record.

By the way, I removed (dfo365) from the title and attached D365FO as a tag. Then I added more information to the title, because the title ParentId? wasn’t very specific.

And in PrintMgmtSettings the field is related to PrintMgmtDocInstance. However in PrintMgmtDocInstance the track ends. There is no method or field which returns ParentId value. it would be nice if you could help me out in this.

Best regards,

Roberts

Solved it, thank you!

Best regards,

Roberts