Skip to content

Foreign Key Relationship Documentation #6

@Pauldro

Description

@Pauldro

Go through the schema.xml file

Look through every table for each class if you see the tag foreign-key Make a note in that class of that Foreign Key relationship.

Example: ApInvoiceDetail

dplus-model/schema.xml

Lines 46 to 48 in 6598d40

<foreign-key foreignTable="ap_vend_mast" name="vendor">
<reference local="ApveVendId" foreign="ApveVendId"/>
</foreign-key>

You see the relationship to the foreignTable ap_vend_mast, you find out what class it is in the schema.xml in this case it's the Vendor class

Then in the ApInvoiceDetail Class file you're going to add Documenation after the Description:

NOTE: Foreign Key Relationship to Vendor

Do this to all the classes that have foreign key elements and for each

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions