A subscription is a record/agreement to use the application and features for a specific period of time .as the product
When a user subscribes or installs to any product its subscription record gets created on the subscriber instance. It will help us to Subscription can be upscale or downscale subscriptions. subscription records will hold the product name, subscriber instance name, name of the publisher instance, expires on, status, isExpired, and instance
License calculation will be done using a subscription record of that product
Subscription record will have the following details
Product
Name of the product subscriber has subscribed
Subscriber Instance
Instance id of the subscriber
Publisher Instance
Instance id of the publisher
Expires On
The expiry date of the product subscription
Status
Status of the product eg. active or inactive
isExpired
Boolean type of field defines product is expired or not