PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

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
Modifies a SaaS subscription.
Notes:
  • To use this function, a SaaS management session must have been started beforehand by SaaSAdminConnect.
  • Versions 16 and later
    The SaaS administrator manages all subscriptions. A manager of client accounts can only modify a subscription for his own account.
    New in version 16
    The SaaS administrator manages all subscriptions. A manager of client accounts can only modify a subscription for his own account.
    The SaaS administrator manages all subscriptions. A manager of client accounts can only modify a subscription for his own account.
Example
S is SaaSSite dynamic
P is SaaSPricing dynamic
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 find out the error details, use ErrorInfo.
<SaaS subscription>: saasSubscription variable
Name of saasSubscription variable corresponding to the subscription that will 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.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230com.dll
Linux wd230com.so
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment