ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / SaaS functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Modifies a SaaS subscription.
Remarks:
  • To use this function, a SaaS management session must have been started previously with SaaSAdminConnect.
  • The SaaS administrator manages all subscriptions. A manager of client accounts can only modify a subscription for his own account.
Example
S is dynamic saasSite
P is dynamic saasPricing
C is saasClient dynamic
Sub is saasSubscription dynamic
 
S = SaaSAdminFindSite("Forum")
P = SaaSAdminFindPricing("Promo 2010", S)
C = SaaSAdminFindClient("Hybrid")
 
Sub = SaaSAdminFindSubscription(P, C)
Sub.NbLicenses = 3
 
// The Hybrid client now contains 3 user licenses for the Promo 2010 of Forum
SaaSAdminModifySubscription(Sub, P, C)
Syntax
<Result> = SaaSAdminModifySubscription(<SaaS subscription>)
<Result>: Boolean
  • True if the modification was performed,
  • False otherwise. To get more details on the error, use ErrorInfo.
<SaaS subscription>: saasSubscription variable
Name of the saasSubscription variable corresponding to the subscription that must be modified in the SaaS database.
Remarks
Any modification mode to a subscription is presented on the reports as follows:
  • End of subscription,
  • Beginning of a new subscription (with the same name) with the new characteristics.
This is required in order to automatically calculate the prices according to the number of licenses and to the use durations.
Component: wd290com.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help