Relating Objects Between Custom and Imported Models
As we can see from the MANAGE > Metamodelpage, there is an association between the two different models for business rules and an imported model.
Let’s make some of these references with the custom model, MyCompany Business Rules, and an imported model (DW Staging).
On the object page of MyCompany Business Rules, click A Purchase Order must precede the Payment of an Invoice to go to its object page and click +ADD to the right of Relationships and select is Measured By.
Select both of the columns CustomerPurchaseOrderNumber and InvoiceNumber in the table InvoiceAssociationtoPurchaseOrder table.
Click OK.
To see the link in the other direction, click the column CustomerPurchaseOrderNumber.
Now, we see that this column is a Measure for the Business Rule.
We can see this in a worksheet query, as well.
Go to WORKSHEETS > Business Rules > Business Rule to produce a worksheet and click on Columns to add the reference to Is Measured By.