Agreements Data Model
The Agreement (Master Subscription Agreement) is the foundational legal contract between SureInk and a Customer.
Entity Relationship Diagram
Core Entities
Master Subscription Agreement (com.sureink.cloudmsa.model.subscription.MasterSubscriptionAgreement)
The top-level contract entity.
- Key Fields:
name: The name of the agreement (often matches the Salesforce Contract Number).customerCode: Links the agreement to a specific Customer.startDate/endDate: The effective period of the agreement.renewalAllowed: Flag indicating if the agreement can be auto-renewed.msaContractId: The Salesforce Contract ID.priceSchema: Defines the pricing model applicable to this agreement.
Relationships
Agreement -> Subscription
- Type: One-to-Many
- Description: An Agreement acts as a container for multiple Subscriptions. All subscriptions under an agreement typically share the same legal terms and effective dates.
Agreement -> External System
- Type: One-to-One
- Description: Links the internal Agreement to the corresponding Contract record in Salesforce.