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 that License Template will be used to maintain usage of the feature
License define which all feature of the product is accessible to the subscriberLicense
The trial license template and license template can be calculated on the basis of 4 fields:
Amount:
Amount of license can be assigned
Amount Calculation:
Amount calculation can be calculated as follows:
Per quantity: Defines number of licenses can be assign per quantity
Fixed: Defines number of license can be assigned
User:
The license can be assigned to user
User Calculation:
User calculation can be calculated as follows:
Per quantity: Defines number of licenses can be assign per quantity to user
Fixed: Defines number of license can be assigned to user
Trial license Template
The Trial License Template will be used to maintain usage of features from the first day of product subscription
For example, the PWR Forms product can have a trial license template as follows
[{name: "layout_designer", users: 3, usersCalculation: 'fixed'}]
i.e layout_designer license can be assigned to 3 users
License Template
After the trial period License Template will be used to maintain usage of the feature
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'}]
i.e orektic__timehseetAdminUser can be assigned to 1 user and user calculation will be fixed for that license, orektic__timehseetProjects can be assigned to 1 user per quantity, amount will be 5 and amount calculation will be 5