Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
account_schema [2019/01/29 10:58] kcifreo |
account_schema [2019/01/30 11:57] kcifreo |
||
---|---|---|---|
Line 6: | Line 6: | ||
* AccountContact | * AccountContact | ||
- | linked on Account.ID = AccountContact.AccountID | + | < |
- | backlink on Account.PrimaryContactID = AccountContact.ID | + | < |
- | backlink on Account.BillingContactID = AccountContact.ID | + | < |
* AccountContactUserField | * AccountContactUserField | ||
- | linked on AccountContact.ID = AccountContactUserField.ID | + | < |
* Address | * Address | ||
- | linked on AccountContact.BillingAddressID = Address.ID | + | < |
- | linked on AccountContact.ShippingAddressID = Address.ID | + | < |
* AddressLink | * AddressLink | ||
- | linked on AccountContact.ID = AddressLink.ParentID and AccountContact.ClassTypeID = AddressLink.ParentClassTypeID | + | < |
* Address | * Address | ||
- | linked on AddressLink.AddressID = Address.ID | + | < |
* PhoneNumber | * PhoneNumber | ||
- | linked on AccountContact.MainPhoneNumberID = PhoneNumber.ID | + | < |
- | linked on AccountContact.MainFaxNumberID = PhoneNumber.ID | + | < |
* Employee (used when using separate sales people for contacts) | * Employee (used when using separate sales people for contacts) | ||
- | linked on Account.SalespersonID1 = Employee.ID | + | < |
- | linked on Account.SalespersonID2 = Employee.ID | + | < |
- | linked on Account.SalespersonID3 = Employee.ID | + | < |
* AccountUserField | * AccountUserField | ||
- | linked on Account.ID = AccountUserField.ID | + | < |
* Address | * Address | ||
- | linked on AccountContact.BillingAddressID = Address.ID | + | < |
- | linked on AccountContact.ShippingAddressID = Address.ID | + | < |
* AddressLink | * AddressLink | ||
- | linked on Account.ID = AddressLink.ParentID and Account.ClassTypeID = AddressLink.ParentClassTypeID | + | < |
* Address | * Address | ||
- | linked on AddressLink.AddressID = Address.ID | + | < |
* PhoneNumber | * PhoneNumber | ||
- | linked on Account.MainPhoneNumberID = PhoneNumber.ID | + | < |
- | linked on Account.MainFaxNumberID = PhoneNumber.ID | + | < |
* PricingLevel | * PricingLevel | ||
- | linked on Account.PricingLevelID = PricingLevel.ID | + | < |
* Promotion | * Promotion | ||
- | linked on Account.PromotionID = Promotion.ID | + | < |
* PaymentTerms | * PaymentTerms | ||
- | linked on Account.PaymentTermsID = PaymentTerm.ID | + | < |
* TaxClass | * TaxClass | ||
- | linked on Account.ClassTypeID = ClassType.ID | + | < |
* Employee | * Employee | ||
- | linked on Account.SalespersonID1 = Employee.ID | + | < |
- | linked on Account.SalespersonID2 = Employee.ID | + | < |
- | linked on Account.SalespersonID3 = Employee.ID | + | < |
* Account (self-reference for parent/ | * Account (self-reference for parent/ | ||
- | linked on Account.ParentID = Account.ID | + | < |
- | ==== Source | + | =Source= |
Contributor: | Contributor: |