PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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 pricing.
Remarks:
  • To use this function, a SaaS management session must have been started previously with SaaSAdminConnect.
  • Versions 16 and later
    The use of this function is reserved to the SaaS administrator. A manager of client accounts cannot use this function.
    New in version 16
    The use of this function is reserved to the SaaS administrator. A manager of client accounts cannot use this function.
    The use of this function is reserved to the SaaS administrator. A manager of client accounts cannot use this function.
Example
// Finds the pricing to modify
S is dynamic saasSite
P is dynamic saasPricing
 
S = SaaSAdminFindSite("Forum")
P = SaaSAdminFindPricing("Promo 2010", S)
 
// Lower the price by 20€
P.Price -= 20
 
SaaSAdminModifyPricing(P)
Syntax
<Result> = SaaSAdminModifyPricing(<Pricing>)
<Result>: Boolean
  • True if the modification was performed,
  • False otherwise. To get the details of the error, use ErrorInfo.
<Pricing>: saasPricing variable
Name of the saasPricing variable corresponding to the pricing that must be modified in the SaaS database.
Remarks
The modification of a pricing directly impacts all the subscriptions linked to this pricing. For example, if the pricing is lowered, all the currents subscriptions will be affected retroactively.
To perform a non-retroactive modification, you must:
Component: wd270com.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment