PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
  • Properties specific to the description of saasSubscription variables
  • Functions that use the saasSubscription type
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The saasSubscription type is used to define the advanced characteristics regarding the subscription of a SaaS client account to a pricing.
The characteristics of this subscription can be defined and modified using different WLanguage properties.
Remark: See Declaring a variable for more details on the declaration of this type of variable and the use of WLanguage properties.
Example
MySite is saasSite
MySite = SaaSAdminFindSite("Managing cars")
 
Pricing is saasPricing
Pricing = SaaSAdminFindPricing("Premium Offer", MySite)
 
User is saasUser
User = SaaSAdminFindUser("mark@jet-tames.com")
 
SaaSAdminAddSubscription( Tariff, User.Customer, 1)
 
Sub is saasSubscription
Ab = SaaSAdminFindSubscription( Tariff, User.Customer)
Sub..NbLicenses++
 
SaaSAdminModifySubscription(Sub)
Remarks

Properties specific to the description of saasSubscription variables

The following properties can be used to handle the subscription of a SaaS client account to a pricing:
NameType usedEffect
ClientsaasClient variableClient who took the subscription.
This property is available in read-only.
StartDateString or DateTime variableStart date of subscription.
This property is used to calculate the cost.
EndDateCharacter string
or DateTime variable
of Character String constant
End date of subscription.
For a subscription without end date, this property corresponds to the saasUnlimitedDuration constant.
NbLicensesInteger or Integer constantNumber of licenses bought by this subscription.
For a flat rate pricing, this property takes the value of the saasUnlimitedLicenses constant.
PricingsaasPricing variableReference toward the pricing to which the client has subscribed.
This property is available in read-only.

Functions that use the saasSubscription type

SaaSAdminAddSubscriptionAdds a subscription to a pricing of a SaaS site for a client account.
SaaSAdminDeleteSubscriptionDeletes a SaaS subscription.
SaaSAdminFindSubscriptionFinds a SaaS subscription.
SaaSAdminModifySubscriptionModifies a SaaS subscription.
SaaSAdminSubscriptionAllocateLicenseAssigns a subscriber license to a SaaS user.
SaaSAdminSubscriptionDeallocateLicenseCancels a subscription license for a SaaS user.
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment