View erp.COMPIERE.C_INVOICE_HEADER_VT |
Generated by SchemaSpy |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
View SQL:
| SELECT i.AD_Client_ID, i.AD_Org_ID, i.IsActive, i.Created, i.CreatedBy, i.Updated, i.UpdatedBy, dt.AD_Language, i.C_Invoice_ID, i.IsSOTrx, i.DocumentNo, i.DocStatus, i.C_DocType_ID, i.C_BPartner_ID, bp.Value AS BPValue, bp.TaxID AS BPTaxID, bp.NAICS, bp.DUNS, oi.C_Location_ID AS Org_Location_ID, oi.TaxID, dt.PrintName AS DocumentType, dt.DocumentNote AS DocumentTypeNote, i.C_Order_ID, i.SalesRep_ID, COALESCE(ubp.Name, u.Name) AS SalesRep_Name, i.DateInvoiced, bpg.Greeting AS BPGreeting, bp.Name, bp.Name2, bpcg.Greeting AS BPContactGreeting, bpc.Title, bpc.Phone, NULLIF (bpc.Name, bp.Name) AS ContactName, bpl.C_Location_ID, bp.ReferenceNo, i.Description, i.POReference, i.DateOrdered, i.C_Currency_ID, pt.Name AS PaymentTerm, pt.DocumentNote AS PaymentTermNote, i.C_Charge_ID, i.ChargeAmt, i.TotalLines, i.GrandTotal, i.GrandTotal AS AmtInWords, i.M_PriceList_ID, i.IsTaxIncluded, i.C_Campaign_ID, i.C_Project_ID, i.C_Activity_ID, i.IsPaid FROM C_Invoice i INNER JOIN C_DocType_Trl dt ON (i.C_DocType_ID=dt.C_DocType_ID) INNER JOIN C_PaymentTerm_Trl pt ON (i.C_PaymentTerm_ID=pt.C_PaymentTerm_ID AND dt.AD_Language=pt.AD_Language) INNER JOIN C_BPartner bp ON (i.C_BPartner_ID=bp.C_BPartner_ID) LEFT OUTER JOIN C_Greeting_Trl bpg on (bp.C_Greeting_ID=bpg.C_Greeting_ID AND dt.AD_Language=bpg.AD_Language) INNER JOIN C_BPartner_Location bpl ON (i.C_BPartner_Location_ID=bpl.C_BPartner_Location_ID) LEFT OUTER JOIN AD_User bpc ON (i.AD_User_ID=bpc.AD_User_ID) LEFT OUTER JOIN C_Greeting_Trl bpcg on (bpc.C_Greeting_ID=bpcg.C_Greeting_ID AND dt.AD_Language=bpcg.AD_Language) INNER JOIN AD_OrgInfo oi ON (i.AD_Org_ID=oi.AD_Org_ID) LEFT OUTER JOIN AD_User u ON (i.SalesRep_ID=u.AD_User_ID) LEFT OUTER JOIN C_BPartner ubp ON (u.C_BPartner_ID=ubp.C_BPartner_ID) |
SchemaSpy was unable to generate a graphical representation of table relationships.
An appropriate version of dot must be in your path when generating these pages.
Requires dot version 2.2.1 or versions greater than 2.4 from www.graphviz.org.