After you develop a script in ACL Analytics, use the server-based processing power of Analytics Exchange to schedule and run the script.
To complete this quick start, you need the following:
Note
By default, the sample data projects are installed at C:\Users\username\Documents\ACL Data\Sample Data Files on your local file system.
Start by creating a destination collection and folder in the Working directory of AX Server. A collection is a high level container for project folders in Analytics Exchange:
Name the collection something meaningful so that your projects and audit content are easily found in AX Server.
This folder is the target for your project import, so use a name that identifies the source ACL project.
Next, create an analytic script in an existing ACL project so that you can import the project into the folder you created on AX Server:
To allow an ACL script to run on AX Server, you must add an analytic header:
Name your script analytic_test.
COMMENT //ANALYTIC Sort the Demo table This analytic sorts the Demo table on Amount descending //DATA Demo_Sorted END SET SAFETY OFF OPEN DEMO SORT ON Amount D TO "Demo_Sorted.FIL" CLOSE DEMO SET SAFETY ON
Tip
The analytic header (lines 1 to 5) is required to convert a script to an analytic and allow it to run on AX Server. Without this header, the script would not be an analytic.
Finally, import the prepared ACL project into AX Server and schedule the analytic you created to run at a specific time on a specific day:
Result the project is imported to the target folder and appears in the Analysis Apps sub-folder. The project's tables appear in the Data sub-folder.
Result the analytic is scheduled and will run on the day and time you specified.