what is this.getInstanceRelationType()


Please explain me about the method display DirPartyBaseType baseType() and

this.getInstanceRelationType() in Dirpartytable.

getInstanceRelationType() relates to table inheritance. DirPartyTable is a very general concept and it’s extended by many other child tables. getInstanceRelationType() tells you which entity the DirPartyTable record represents.

If you open baseType(), you’ll see that it simply says whether the current party is person or organization.

Right-click DirPartyTable and go to Add-Ins > Type hierarchy browser. That may help you understand what DirPartyTable can represent.