|
|
|
BlueCielo Meridian Enterprise 2012 Developer's Guide | BlueCielo ECM Solutions |
Following is recommended documentation to be provided with any custom task extension. It provides all of the details necessary to maintain the task extension code and use the extension with the Task Server.
Name: AMSampleTask Customer Information update.
File: AMSampleTask.dll
Version: 1.0
Task.Submit parameters:
Type (ProgID): AMSampleTask.SetCustomerInfo
FSObject: The document that will be updated
StartAt: Not used
Automatic (re)scheduling (aka RunAgain): Not implemented
Description:
This task extension can be used to update Meridian Enterprise properties with information from an external database. It can be used without any Visual Basic customization (user interface extensions). It demonstrates a solution for synchronization from an external database that can be used from any Meridian Enterprise client, including Web Access.
Its functionality is two-fold.
When a new document is created, the user should select a Customer Name value from the wizard. The task uses the selected name to find the customer record in the database.
For an existing document, the customer information may have changed in the database (including the name). If the name cannot be resolved, the task will use the ID field from the Customer table to update the properties.
Dependencies:
This task extension uses Microsoft ActiveX Data Object (ADO) version 2.5 or higher.
In the CustomerProperties.bas module, the following information must be set correctly:
This task assumes that the following Meridian Enterprise properties exist in the vault.
The source code of this task is available as a programming example.
A vault configuration is available to demonstrate the usage of this task extension.
A customer database is provided with the sample.
Named Parameters:
The value of either CustomerName or CustomerID must be available in the database to find the correct customer information.
Copyright © 2000-2012 BlueCielo ECM Solutions |