dx Generation works in conjunction with LeasePak's Automated Lease Doc (Document Generation, DocGen) module. Once you have created a DocGen template (such as an invoice or letter template), you can use dxGeneration to schedule and automate the data merge and print processes. You can print documents directly or save them to a user-specified location.
To get started with dxGeneration, you must first create a DocGen template. Then start the program, and, if this is the first time, enter the Registration Code. Next, set up the Data Directory in the Options window. Then set up at least one User Profile. Finally, set up and schedule at least one Task. When a task executes, it will produce the records for each SQL.
The content of the primary key depends on the Document Type. Following are some of the commonly used keys for the different type of documents:
| Key | Document Type |
|---|---|
| cus_s + grp_s | Customer/Group |
| app_s | Application |
| lse_s | Lease |
| invo_s | Invoice |
| les_s | Lessee |
In order to use dxGeneration you will need to own the Automated Lease Doc module.
In order to use dxGeneration a Windows service will be created and installed. Therefore the dxGenService will require Administrator privileges to start and stop the dxGenService.
When first started, the dxGeneration displays configuration utility. Once setup is complete, clicking on
User Profiles,
Tasks, or
Scheduled Taskswill display existing users, tasks, or scheduled tasks, respectively. You can determine which list the configuration utility is showing by the icon displayed immediately below the File menu in the upper left corner.

From the list of users, tasks, or scheduled tasks, select a list item by clicking on it. You can then click
to make changes to the item's setup or click
to delete the item.
User Profile Field Descriptions
Tasks Field Descriptions
Schedule Tasks Field Descriptions
SettingsBefore completing any other setups or running tasks, you must first provide a location for the Data Directory on the Settings
screen. To access the Settings screen, select Tools, Settings from the menu or click
.

Type the setup information and click OK to save or Cancel to abandon changes.
to increase or
decrease the number of seconds displayed. The Polling Interval determines how often dxGeneration checks to see if a task is
scheduled to run.
to browse. dxGeneration uses this
directory for internal setup files, including user profile, task, and scheduled task setups.
User ProfilesCreate one or more users to log on the LeasePak database and perform queries of the data. You can define multiple User Profiles to allow different tasks to run on different databases and environments (for example, Test and Production environments). After typing the information for the user, click OK to save or Cancel to abandon changes.


TasksCreate one or more tasks specifying data and templates to be merged into finished documents. After typing in the task information, click OK to save or Cancel to abandon changes.

to select a valid user for the task.
Tasks require user profile information to connect to the LeasePak database.
to browse.
to browse.
The files in this directory must be removed after the documents have been printed from the print directory. Existence of the files in this folder consumes storage space.
to browse.
ChannelIT users: provide a location for this directory.


Scheduled TasksYou can create periodic schedules for defined tasks. Tasks can be set to run once, one or more times weekly, or on a certain day of one or more months each year. For each schedule you will need to complete the following fields:
for a list of valid defined tasks.Select the One Time option to schedule the task to run once at a future date or time.

to change the time displayed.
to change the
date displayed.Select the Weekly option to schedule the task to run at a certain time one or more days each week. You can set the task to run Monday through Friday or every day to create a daily task.

to change the time displayed.Select the Monthly option to schedule the task to run at a certain time on a certain day of one or more months. You can set the task to run certain months to create an annual, semiannual, quarterly, etc., or monthly task.

to change the time displayed.
to change the day
displayed.
Setting this field to 31 will not process tasks on the last day
of the month. Instead, NetSol recommends scheduling an end of month task to run very early on the first day of the month.
SettingsBefore completing any other setups or running tasks, you must first provide a location for the Data Directory on the Settings
screen. To access the Settings screen, select Tools, Settings from the menu or click
.

Type the setup information and click OK to save or Cancel to abandon changes.
to increase or
decrease the number of seconds displayed. The Polling Interval determines how often dxGeneration checks to see if a task is
scheduled to run.
to browse. dxGeneration uses this
directory for internal setup files, including user profile, task, and scheduled task setups.To open the Windows Services console, (In older versions this was called Service management console), goto the Windows Start menu and chose the option Run. From this console we can start or stop a service and also set the service start type to automatic/manual/disabled etc. The run command to open services console is services.msc


Look for the service called dxGenService and then double click the entry to configure the service.

From the dxGenService you can control the run state for creating new documents. This service can be placed in the following run states: Start, Stop, Pause, or Resume.
In order to determine the current run state of the dxGenService, one can always launch the dxGeneration Configuration Utility and check the run state. The dxGeneration configuration utility will display the current system status of the dxGenService in the lower bottom corner. Here are the three run states:
Currently, dxGeneration uses Microsoft Office automation to aid in the documentation generation via a Windows Service. Microsoft does not recommend or support server-side Automation of Office. Because dxGeneration is dependent on Microsoft, your mileage may vary.
In order to run dxGeneration as a service on Windows Server, all or some of configurations below may or may not be required:
The following directories should be present and writable for the account that is going to run dxGenService.
In some cases the Microsoft Word 97 - 2003 Document component service needs to be configured in order to use the local account that is going to run dxGenService.




LeasePak Documentation Suite
©
by NetSol Technologies Inc. All rights reserved.
The information contained in this document is the property of NetSol Technologies Inc. Use of the information contained herein is restricted. Conditions of use are subject to change without notice. NetSol Technologies Inc. assumes no liability for any inaccuracy that may appear in this document; the contents of this document do not constitute a promise or warranty. The software described in this document is furnished under license and may be used or copied only in accordance with the terms of said license. Unauthorized use, alteration, or reproduction of this document without the written consent of NetSol Technologies Inc. is prohibited.
This message should disappear within 5-15 seconds, depending on the size of the document and the speed of your connection to the Documentation Suite.
If you can still see this message after 20 seconds, try clicking the Refresh or Reload button on your Web browser.
If your document still does not load, refer to Document Load Troubleshooting for instructions on how to fix possible problems with either your Documentation Suite installation or Web browser setup.
If you do not have read access to the parent docsuite directory, you will not be able to load the Document Load Troubleshooting document. In this case, contact your network administrator for assistance.