Some entities in Business Central have a "dual field" primary key. One example is Job Task.

Document Attachment is extendable with events to add support for more owner tables. But is missing support for owner tables with "dual field" primary code.

Suggestion: Add a new field "No. 2" to the table and add that field to the primary key to support tables with identifiers like that.

This will prevent ISV and custom solutions creating their own document tables.
Needs Votes
Ideas Administrator

Thank you for your feedback. Currently this is not in our roadmap; however, we are tracking it and if we get more feedback and votes, we may consider it in the future. Sincerely, Business Central Team