Method ItemTypeValidForApplication(TableId: integer, ApplCode: string): boolean
Description
Checks whether a certain TableId may be used to link documents in the specified application. The "Document item options" settings in the AutoCAD, Inventor and SolidWorks tabs of the Engineering Settings form (F1161) will be taken into account.
TableId
Table ID
ApplCode
Application code; this must be present in the table T_Application. For the standard links the following values are possible: ACAD, INV and SW.
Result
Item Type is (= TRUE) / not (= FALSE) allowed for the application code.