.ENV VIEW LICENSE INFO
This subroutine displays the APPX license info for the current application.
Usage:
GOSUB --- .ENV VIEW LICENSE INFO
* Check for errors
IF --- .ENV VIEW LICENSE INFO NE
Description:
This subroutine displays the APPX license info for the current application. No parameters are required, however, the user must be running the Desktop Client or an error will be returned.
The license information for the current application will be displayed. If the license has not yet been accepted, an 'Accept' button will be displayed for the user to accept the license terms. If the license was previously accepted, the date/time it was accepted and the user id that accepted it will be displayed instead.
License information for an application is entered via Application Design, Application Properties, then click the 'Licensing Info' button. You can also clear previously accepted license terms on that screen.
To check if the license terms have been accepted or not, you can use the following code:
SET --- NEXT APPLICATION = <your application>
SET --- NEXT VERSION = <your version>
OPEN 0AD DOCUMENT SHARE? Y FAIL 0 CACHE? N
SET 0AD DOCUMENT TYPE = 6
SET 0AD DOCUMENT ID = ACCEPTED
SET 0AD DOCUMENT SNO = 100
READ 0AD DOCUMENT HOLD 0 FT 0 BY DOCUMENT KEY
F SET --- TEMP 80 = <not accepted>
T SET --- TEMP 80 = <accepted>
Comments:
Read what other users have said about this page or add your own comments.
--
JeanNeron - 2012-01-27