The product represents a stock-keeping unit (SKU). Products are the ones that are available on the PWR Apps Market to subscribe
Publishers can create a product with a published application version. One application can be used in multiple products for example Timesheet application can be used in products namely Timesheet Admin User, Timesheet Logs, and Timesheet API
When subscribers purchase/downgrade/upgrade any product based on the license template available on the product, license calculation will be done
The Trial License Template will be used to maintain usage of features from the first day of product subscription after the trial period License Template will be used to maintain usage of feature usage
Trial license Template
The product has a trial license template to maintain trial usage
Trial license template
For example Timesheet Admin User product can have a trial license template as follows
[{name: "orektic__timehseetAdminUser", users: 5}]
License Template
Product has license template to maintain billable usage
For example Timesheet Admin User product can have a license template as follows
[{name: "orektic__timehseetAdminUser", users: 1, usersCalculation: 'fixed'}, {name: "orektic__timehseetProjects", users: 1, usersCalculation: 'per qty', amount: 5, amountCalculation: 'fixed'}]
Feature on License
The product record will also define features to be used after the subscription
For example Timesheet Admin User product can have the following feature
[{name: 'orektic__timesheet', type: 'checkbox', scope:'instance'}]