You can call functions in expressions by entering the function name followed by the parameters enclosed in parenthesis '()'. If there are no parameters to the function you must still include the parenthesis. String parameters must be enclosed in either single or double quotes. Numeric parameters should not be enclosed in quotes. True/False parameters may be entered as true or false without quotes or as 0 or 1 (0=false). Function names are not case sensitive, so, gotolastrecord() is the same as GotoLastRecord().
To call a function in an event on a form, or control, precede the function call with an equal '=' sign. For example, if you want to close the active window when the user clicks a button, enter =CloseActiveWindow() in the On push attribute.
If you want to call more than one function, you can connect the functions with operators like the plus '+' sign. For example, if you want to close the active window and open the 'Customer' form when the user clicks a button, enter =CloseActiveWindow() + Open( 'form', 'Customer' ) in the On push attribute.
The following table lists all the functions in alphabetical order.
Function | What it does... |
---|---|
abs | Get the absolute value of the given number. If the number is null, a DataNumber with the value null is returned. If the number is blank, 0 is returned. |
addDataSource | Add a new data source to the system configuration. |
addMultipleRows | Add multiple rows to an open form based on a list or combo box |
addRow | Insert a row in a table for a given list of sites that do not already have the row. |
addSystemEventListener | Add the listener in the given class to the list of system event listeners. |
addThisSiteToCentral | Call the central web service to add this remote site to the central database. |
applyEffectiveMasterDataTrans | Queries the audit table for committed transactions on master data tables whose effective date has arrived and calls the appropriate master data change listener for each transaction then changes the status of the transaction to Successful. |
ascii | Converts the first character of a string to an ASCII value |
asciiToChar | Converts an ASCII code to a character |
attachMasterTables | Attach tables from an existing database so it can be edited |
attachRemoteTable | Attach a table from an existing database so it can be edited |
attachTable | Attach tables from an existing database so it can be edited |
callEvaluateExpressionWebMethod | Call the EvaluateExpression web method. |
cancelEvent | Cancels current event on the active form. |
changePackageStatus | Change status of the transactions for sites in a package to a new status. |
changePassword | Change the current user's password. |
clearSessionPackage | Remove the selected session package on the client to users have to select a package when making changes. |
close | Closes the specified open object window (form view, design view, or print preview). |
closeActiveWindow | Closes the active window. |
commitTransactions | Commit packages of transactions so they are sent to selected locations |
configureApplicationVersions | Configure known versions of application data sources. |
copy | Copies an object to the clipboard. |
copyAndRefreshSiteData | Copy data for selected tables from one site to other sites and refresh the tables at the other sites on the effective date. |
copyCompany | Create a new company by copying the configuration of an existing company. |
copyConfigurationVersionData | Copy the data from one configuration version to another version of the same configuration overwriting any existing data. |
copyFoodCostPeriodData | Copy food cost data from one period to another. |
copyLocationData | Copy site data for a list of tables to other sites. DEPRECATED Use copySiteData instead. |
copySelectedObject | Copies the application objected selected on the main menu to the clipboard. |
copySiteData | Copy data for selected tables from one location to another location |
copySiteSubscriptions | Copy the configuration version subscriptions from one site to other sites leaving the version ID null. If the source site has no subscriptions or the list of configuration ID's to copy is empty, do nothing. |
copyVersionData | Copy the data from one version to another version for all configurations overwriting any existing data. |
createConfigurationVersionDataSite | Creates a data site to hold version data for configuration version. The ID of the new site will be an unused, negative site number. The name of the site will be the name of the configuration plus a hyphen plus the name of the version. Each table in the configuration type will be added to the list of managed site tables. If there is a previous version of the configuration then the data from the previous version will be copied to the new version. |
createConfigurationVersionsCmd | Create configuration versions for the given configuration type and configuration. |
createRemoteInstaller | Create an installation program that can be downloaded and used to install EDM at a remote site with pre-configured settings for the current company. |
createTransactionTriggers | Create SQL scripts so triggers on application tables at remote sites can generate EDM transactions. |
cut | Cuts an object to the clipboard. |
cutSelectedObject | Cuts the application objected selected on the main menu to the clipboard. |
date | Get current date. |
dateToNumber | Converts a date to a number |
dateToString | Converts a date to a character string |
dateToTimestamp | Converts a date to a timestamp |
day | Returns the day value of a date |
delete | Deletes an object. |
deleteConfiguration | Delete a configuration with the given configuration type and configuration. Deletes are cascaded to all associated Configuration Versions and DataSites. |
deleteDataSource | Delete the data source with the given name from the list of data sources for this company. |
deleteFoodCostPeriodData | Delete food cost data for one period in a fiscal year. |
deleteLocationData | Delete all data from selected tables at selected locations. |
deleteOrphanedRecords | Delete menus, attachments, prices, and category links that refer to non-existent items. |
deleteRecord | Deletes the selected records (or the current record if none selected) on the active form. |
deleteRow | Delete a row or rows from a table for a given list of sites that match the given columns and values in the table with the given name. |
deleteSelectedObject | Deletes the application objected selected on the main menu. |
deleteTable | Deletes a table. |
deleteTableList | Delete a table list. |
deleteTransactionFilesFromAmazon | Delete transaction files (*.xml and *.fil) from the Amazon Simple Storage Service (S3). |
deployMasterChanges | Deploy master data to application tables in the table map. |
design | Opens an object in design view. |
designForm | Opens a form in design view. |
designNew | Opens a new object in design view. |
disableControls | Disable the controls with the given names on the active form. |
disableFormControls | Disable the controls with the given names on the given form. |
displayHelp | Display help for the specified topic. |
dumpEmmaCoverageData | Dump Emma coverage data into the specified file |
dumpProfile | Disable profiling and write profile report to log. |
editCommitListeners | Edit list of email addresses to be notified when packages are committed. |
editConfigurationSubscriptions | Edit Configuration Subscriptions. |
editConfigurationTypes | Edit Configuration Types. |
editConfigurationVersions | Edit Configuration Versions. |
editEmailList | Edit a named list of email addresses. |
editFileSharing | View and modify table sharing among locations. |
editIrisConfig | Edit IRIS configuration. |
editIrisConfigGroups | Edit IRIS config groups. |
editIrisItemMenus | Edit IRIS item menus and buttons. |
editIrisMenus | Edit IRIS menus and buttons. |
editIrisTaxRules | Edit IRIS tax rules. |
EditMobileCategoryItemSequence | Edit Mobile Category Item Display Sequence. |
EditMobileCategorySequence | Edit Mobile Category Display Sequence. |
EditMobileModifierSequence | Edit Mobile Modifier Display Sequence. |
editRoles | View and modify roles to which system users may be assigned. |
editScheduledTasks | Open form to edit tasks scheduled on the server. |
editServerTextFile | Edit a text file on the server. |
editSharedTableGroups | Edit groups of tables that are shared together. |
editSharing | View and modify table sharing among locations. |
editUsers | View and modify system users. |
editVersions | Edit Versions. |
editVersionSubscriptions | Edit Version Subscriptions. |
enableControls | Enable the controls with the given names on the active form. |
enableFormControls | Enable the controls with the given names on the given form. |
enableProfile | Enable profiling. |
encryptAmazonCredentials | Encrypt a property file containing Amazon Web Services (AWS) credentials. |
evaluateExpressionAtRemoteSites | Send an expression to a list of remote sites which will evaluate the expression on the server. Only server-side functions may be included in the expression. |
executeDirectSQL | Directly execute the given SQL statement on the given data source and return the results in a DataSet. If query is not a select statement, execute the SQL statement and return empty DataSet. Use caution to avoid exceeding available memory. |
exit | Exits from the program. |
exportData | Exports data from a table or query to a text file. |
exportFoodCostFiles | Create ascii export files for CKE food cost system |
exportSecurityPolicyToXml | Export users, roles, and other security settings to XML file. |
exportSelectedDataToFile | Exports data from a table or query to a text file. Can be run unattended. |
extractTestDatabaseChanges | Extract changes to a test database to transaction files |
findNextRecord | Finds next record on the current form or spreadsheet using current search options. |
findRecord | Finds record on the current form or spreadsheet. |
generateFunctionHelp | Generate HTML help file for a list of PluginLoader classes. |
generateSnapshot | Generate snapshot of data in snapshot tables |
generateTestDatabase | Generate a test database with data from selected locations |
getAppObject | Returns application object with specified type and name or null if not found. |
getBackgroundProcessViewer | See a window of processes that are running. |
getClientPropertyBoolean | Gets a client property associated with the given property name. |
getClientPropertyInteger | Gets a client property associated with the given property name. |
getClientPropertyString | Gets a client property associated with the given property name. |
getCompanyName | Returns the name of the currently selected company. |
getConfigProperty | Get configuration property value. |
getConfigPropertyWithDefault | Get configuration property value. |
getControlValueRow | Create row with column values from the given list of controls on the active form. |
getCurrentUserId | Return the ID of the user that is currently logged in or \"\" if no user is logged in. |
getEffectiveDate | Get date/time transactions becomes effective for the active form. |
getEstimatedRowCount | Get estimated number of rows in the data source of the given form. Will use active form is no form name given. |
getForceProcessing | Get flag for whether transactions for the active form should be processed when only processing forced transactions. |
getFormNamedControlValues | Get a string containing the names and values of a list of controls from a form. Example: "name1","value1","name2","value2",... |
getFormValue | Gets the value of the given control on the given form. |
getIniValue | Returns value for the given key from the given ini file or null if not found. |
getLastDeploymentInfo | Get the last deployment date and user name with the given deployment type. |
getLastVersionChangeInfo | Get the last change date and user name with the given version. |
getMasterTableConfigurationType | Gets the Configuration Type for the given table with the given name. |
getNamedControlValues | Get a string containing the names and values of a list of controls from the active form. Example: "name1","value1","name2","value2",... |
getNextUnusedId | Gets the next unused ID for the given table and column, optionally within a range. |
getNumberOfAssignedSites | Get the number of sites assigned to the given version. |
getNumberOfUnassignedSites | Get the number of sites that are not assigned to the given version. |
getPackageDescription | Get description of package that contains transaction for the active form. |
getPackageName | Get name of package that contains transaction for the active form. |
getPropertyFileValue | Get the value of a property in a property file. |
getSchemaVersions | Returns a list of known application database schemas supported by the system. |
getSelectedSites | Get the selected sites for the active form. |
getServerCallsPerSecond | Returns the average number of calls per second that can be made to the server after sending as many calls to the server as possible for 5 seconds. |
getServerFile | Return the bytes of a file from the server. |
getServerFileList | Gets a list of files in the specified directory on the server. |
getServerTime | Returns the current system time on the server in milliseconds since 1/1/1970 UTC. |
getSessionPackageName | Returns the name of the currently selected package. |
getSessionPackageVersionID | Returns the ID of the currently selected package's version or null if there is no selected package or if the selected package doesn't have a version. |
getSessionPackageVersionName | Returns the name of the currently selected package's version or null if there is no selected package or if the selected package doesn't have a version. |
getSessions | Returns a list of the current active sessions on the server. |
getSystemProperty | Get the value of a property in the system.properties file. |
getTableAndQueryList | Get a sorted list of tables and queries in this application separated by semicolons. |
getTableList | Get a sorted list of tables in this application separated by semicolons. |
getTerminationDate | Get date/time transactions terminate for the active form. |
getText | Returns the text from the given control. |
getTransactionViewer | See a dialog of recent file transactions that are either in yellow or red status. |
getUnupdatableSites | Return comma-delimited list of unupdatable sites for the active form. |
getUpdatableSites | Return comma-delimited list of updatable sites for the active form. |
getUserInput | Prompts user to enter a value. |
getValue | Gets data for the specified identifier. |
getValueListOfUsersWithRole | Get a value list of users with a given role separated by semicolons. |
getVersion | Return the current version of EDM |
gotoControl | Moves cursor to a control. |
gotoFirstRecord | Moves cursor to the first record on the active form. |
gotoFormControl | Moves cursor to a control. |
gotoLastRecord | Moves cursor to the last record on the active form. |
gotoNewRecord | Moves cursor to the new empty record on the active form. |
gotoNextRecord | Moves cursor to the next record on the active form. |
gotoPrevRecord | Moves cursor to the previous record on the active form. |
gotoRecord | Moves cursor to a specific record on the active form. |
greatest | Returns the greater of two numbers |
hasPermission | Returns true if the current user has the given permission type for the given object type and name. |
iif | Returns one of two values bases on expression |
importData | Imports a text file to a table. |
importFoodCostProducts | Import ascii file containing products for the food cost system. |
importSitesInFileList | Import sites listed in given siteIdFile from given company. |
importTableRelations | Import table relations from a text file |
importTransactionsFromFile | Import transactions from a CSV file. |
insertTableList | Insert a new table list. |
isFormValueSelected | Gets whether or not a checkbox, radio button, or toggle button control is currently selected on a form with the given name. |
isOnNewRow | True if the currently active form is on a new row, else False. |
isValueSelected | Gets whether or not a checkbox, radio button, or toggle button control is currently selected. |
least | Returns the lesser of two numbers |
left | Returns the leftmost characters of a string |
len | Gets the length of a string |
loadAllTableData | Load data for the specified location from all tables in the table list |
loadCentralData | Load schema for a central database table |
loadCentralSchema | Load schema for a central database table |
loadPicture | Loads a GIF, JPEG, or PNG image from the specified file |
login | Log a user into the system. |
logout | Logs the current user out of the system. |
lower | Changes each letter of a string to lower case |
maximizeContentArea | Maximizes the content area in the main EDM window. |
mod | Divides two values and returns the remainder |
month | Returns the month value of a date |
moveTransactions | Moves transactions for the specified locations from the local send directory to the specified directory. |
msg | Displays a message box. |
notifyClients | Send a notification to connected clients. |
nullValue | Return a null value which can be used in other functions. If you want to set the value of a form control to null, use setFormValueToNull() or setValueToNull(). |
numberToDate | Converts a number to a date |
numberToInt | Returns the integer part of a number string. |
numberToString | Converts a number to a string |
numberToTime | Converts a number to a time |
numberToTimestamp | Converts a number to a timestamp |
open | Opens an object. |
openForm | Ask server to open a form. All parameters must be complete, user will be prompted for routing information if necessary. |
openRowSetForm | Open form to edit row sets to restrict which table rows and columns users may edit. |
openSitePropertyValueEditor | Open the Site Property Values form. |
partitionTable | Partition a table and set a new partition expression and reorganize the rows into the correct partitions. |
paste | Pastes an object from the clipboard. |
playbackTestScript | Play a test script back. |
pow | Raises a number to a power |
processForcedTransactions | Receive and apply pending transactions whose effective date has arrived and whose Force flag is true for all sites. |
processTransactions | Receive and apply pending transactions from selected locations whose effective date has arrived |
promptForTransactionReport | Display dialog for users to set filters and run transaction report. |
publishMasterDataTableList | Publish data from the central database, with open and future transactions rolled back, to .csv files in the given directory. Data is published for each site in share groups using the site’s real ID. |
publishMasterDataTables | Publish data from the central database, with open and future transactions rolled back, to .csv files in the given directory. Data is published for each site in share groups using the site’s real ID. |
publishXCEDataTableList | Publish data from the central database, with open and future transactions rolled back, to .csv files in the given directory. Share groups are included in the published data with the associated data site IDs. |
publishXCEDataTables | Publish data from the central database, with open and future transactions rolled back, to .csv files in the given directory. Share groups are included in the published data with the associated data site IDs. |
queryAvg | Gets the average of the values of a column in a table or query using a where clause. |
queryCount | Gets the count of the values of a column in a table or query using a where clause. |
queryFirst | Gets the first value of a column in a table or query using a where clause. |
queryLast | Gets the last value of a column in a table or query using a where clause. |
queryMax | Gets the maximum value of a column in a table or query using a where clause. |
queryMin | Gets the minimum value of a column in a table or query using a where clause. |
querySum | Gets the sum of the values of a column in a table or query using a where clause. |
queryValue | Directly execute an SQL statement and return the value of the first column in the first row. If query is not a select statement, execute the SQL statement and return a blank string. Use caution to avoid exceeding available memory. |
random | Returns a random number between 0 and the passed number |
receiveSiteFilesViaWeb | Receive transaction files over HTTP web connection. |
receiveTransactionFilesFromAmazon | Receive transaction files from Amazon Simple Storage Service (S3). |
receiveTransactionFilesFromJMS | Receive files from the configured JMS queue into the local incoming folder. |
reloadCachedData | Reload cached data such as configuration, site list, etc. |
rename | Renames an object to a new name. |
replaceAll | Replaces each substring of this string that matches the given regular expression with the given replacement. |
replaceTransWithRefresh | Replaces transaction files for the selected locations with a refresh table transaction using the specified snapshot. |
requery | Requeries the records on the active form. |
requeryControl | Requeries the records of the control's source on the active form. |
requestDatedTableRefresh | Send request to location to send table data to replace existing data |
requestFile | Copy a file to other locations |
requestTableRefresh | Send request to location to send table data to replace existing data |
resetSite | Deprecated - use resetSites instead. Send Reset transaction to reset a site to its newly installed state. |
resetSites | Send transactions to reset remote sites to their newly installed state and commit the transactions. |
restoreContentArea | Restores the content area in the main EDM window. |
restoreTestCheckpoint | Disconnect all database connections, restore checkpoint 1, and re-initialize server |
retryTest | Retry a test that failed during runTest. |
right | Returns the rightmost characters of a string |
round | Rounds a number at the specified number of digits past the decimal |
runApp | Runs an application as if from the command line. For example, to open the config.xml file in notepad when transactions are processed, set the filespec to c:\windows\system32\notepad.exe , the arguments to c:\edmweb\config.xml , and the wait flag to false . To run a batch file you could set the filespec to cmd and the arguments to /c c:\edmweb\go.bat and the wait flag to false . |
runJUnitTest | Run the JUnit tests in the given class. |
runPriceChangeByPriceGroupReport | Run price change by price group report with user-specified filters and sorting. |
runPriceChangeByPriceReport | Run price change by price report with user-specified filters and sorting. |
runPriceChangeReport | Run price report with user-specified filters and sorting. |
runReport | Run a report. |
runSQL | Runs an SQL statement. |
runTaxChangeReport | Run tax change report with user-specified filters and sorting. |
runTest | Invoke each method whose name starts with 'test' in the given test class. |
runTestMethod | Invoke the given test method. |
runTestMethodDirect | Invoke the given test method. |
runTestMethods | Invoke the given test method and all methods that follow it in the given class. |
runTestUI | Invoke each method whose name starts with 'test' in the given test class. |
saveRecord | Saves changes to the current record on the active form. |
scheduleVersionAssignments | Schedules a version of site subscriptions. Only sites having the Site Property Name and Value will be schedulable. |
select | Selects either an open object or an object in the application window. |
selectAllRecords | Selects all records on the active form. |
selectLocation | Select one remote location from the list of remote locations maintained in a central database. |
selectLocations | Prompt user to select locations from a location tree. |
selectLocationsAndPackage | Prompt user to select locations from a location tree and a package for transactions. |
selectPackage | Prompt user to select from a list of transaction packages or create a new one. |
selectRecord | Selects current record on the active form. |
selectSessionPackage | Specify the package to use for all changes until a different session package is selected. |
sendAddSchemasTransaction | Send an transaction to update the table list and schema at selected sites. |
sendDatedTableRefresh | Send table data to locations to replace existing data |
sendDeleteFileTransaction | Send transaction to delete a file. |
sendEvaluateTransaction | Send a transaction to cause the receiver to evaluate an expression. |
sendExecuteTransaction | Send transaction to execute an operation system command at selected sites. |
sendFile | Send a file to other locations |
sendGetSchemasTransaction | Send a transaction to get the table list and schema from selected sites. |
sendRefreshToTestSite | Send table refresh transaction from a site to a lab/test site. |
sendRemoteFiles | Send files listed in remote files table to sites. |
sendRenameFileTransaction | Send transaction to rename a file. |
sendSiteFilesViaWeb | Send transaction files over HTTP web connection. |
sendSynchronizeDirectoryTransaction | Send a transaction to synchronize a local directory with a directory at other sites. |
sendTableRefresh | Send table data to locations to replace existing data |
sendTransactionFilesToAmazon | Send transaction files to Amazon Simple Storage Service (S3). |
sendTransactionFilesToJMS | Send outgoing files for the given sites to a JMS queue. |
setClientPropertyBoolean | Sets a client property value with the given name. |
setClientPropertyInteger | Sets a client property value with the given name. |
setClientPropertyString | Sets a client property value with the given name. |
setConfigProperty | Set configuration property value. |
setControlProperty | Sets a property value for a control on the active form. |
setFormControlProperty | Sets a property value for a control on a form. |
setFormRowSource | Sets the row source value for a control on the active form. |
setFormSiteValue | Sets site specific data for a control on the specified form. |
setFormSiteValueToNull | Sets site specific data for a control on the specified form to null. |
setFormValue | Sets data for a control on a form. |
setFormValueToNull | Sets data for controls on a form to null. |
setLastReceivedTranFileNumberToIncoming | Set the last received transaction file number for a site to the lowest transaction file number in the incoming directory - 1. |
setLogConsoleLevel | Sets level of log messages written to console. |
setLogFileLevel | Sets level of log messages written to log file. |
setPropertyFileValue | Set the value of a property in a property file. |
setRecordModified | Sets the current record as modified so that it will be saved. |
setRowSource | Sets the row source value for a control on the active form. |
setSiteValue | Sets site specific data for a control on the active form. |
setSiteValueToNull | Sets site specific data for a control on the active form to null. |
setValue | Sets data for a control on the active form. |
setValueToNull | Sets data for a control on the active form to null. |
shareLocationData | Share data for selected tables from one location to another location |
showAboutDialog | Displays the About dialog with system name and copyright info. |
showCopySiteSubscriptionsForm | Show the UI for selecting a source site, target sites, and configurations. |
showCreateSiteSubscriptionsForm | Show the UI for creating site subscriptions. |
showDocument | Display a document in a browser window. Applets can only display documents on the same server they were started from. |
showErrors | Turn error messages on or off |
showLdapPropertyForm | Displays the LDAP configuration form. |
showSiteManager | Display site manager window. |
showWarnings | Turn warning messages on or off |
sleep | Causes thread to sleep for the specified number of milliseconds. |
space | Creates a string of blanks |
startRecordingTestScript | Tell server to start recording test script with the next login command. |
stopRecordingTestScript | Tell server to stop recording test script. |
stringToDate | Converts a date string to a date value |
stringToInt | Converts a string to an integer. |
stringToNumber | Converts a string to a number |
stringToTime | Converts a time string to a time value |
stringToTimestamp | Converts a timestamp string to a timestamp value |
substring | Returns characters from the middle of a string |
synchronizeSitePropertyValues | Imort and sync the site property values from an outside data source |
time | Gets current time of day |
timestamp | Get current date and time. |
timestampToDate | Converts a timestamp to a date |
timestampToNumber | Converts a timestamp to a number |
timestampToString | Converts a timestamp to a character string |
timestampToTime | Converts a timestamp to a time |
timeToNumber | Converts a time to a number |
timeToString | Converts a time to a character string |
timeToTimestamp | Converts a time to a timestamp |
transferLocationFilesViaFTP | Transfer files over FTP connection. |
transferLocationFilesViaRAS | Transfer files over network connection. |
transferLocationFilesViaWeb | Transfer files over HTTP web connection. |
transferSiteFilesViaFTP | Transfer transaction files over FTP connection. |
transferSiteFilesViaRAS | Transfer transaction files over network connection. |
transferSiteFilesViaWeb | Transfer transaction files over HTTP web connection. |
trim | Trims the blanks from both ends of a string |
trimLeft | Trims the blanks from the left end of a string |
trimRight | Trims the blanks from the right end of a string |
undo | Performs undo operation in the active window. |
unlockAppObjects | Prompt user to unlock selected application objects that are locked while there design is being edited. |
unshareLocationData | Stop sharing data for selected tables from one location to another location |
updateAmazonDirToMatchLocalDir | Update an Amazon S3 directory to match a local directory. |
updateLocalDirToMatchAmazonDir | Update a local directory to match a directory on Amazon S3. |
updateLocalDirToMatchWebDir | Update a local directory to match a directory on the EDM web server. |
updateRows | Update selected rows for selected sites and generate transactions for the changes. |
updateTableList | Update a table list. |
updateTransferSettings | Save the given transfer host, user ID, password, and company name used to connect to a central EDM server |
updateWebDirToMatchLocalDir | Update an directory on the EDM web server to match a local directory. |
upper | Changes each letter of a string to upper case |
validateTableList | Validate references between tables |
validateTables | Validate references between tables |
view | Opens an Table, Query, or Form on the client. |
viewForm | Ask server to open a form on the client that is visible in its default view. All parameters must be complete, user will be prompted for routing information if necessary. |
waitForServerJobs | Wait for all server jobs to complete. If not server jobs are running when the method is called, wait up to one second for server jobs to start. After waiting for a server job to finish, wait up to one second for another server job to start. Total minimum wait time is two seconds. |
year | Returns the year value of a date |
Function | What it does... |
---|---|
ascii | Converts the first character of a string to an ASCII value |
asciiToChar | Converts an ASCII code to a character |
getVersion | Return the current version of EDM |
left | Returns the leftmost characters of a string |
len | Gets the length of a string |
lower | Changes each letter of a string to lower case |
replaceAll | Replaces each substring of this string that matches the given regular expression with the given replacement. |
right | Returns the rightmost characters of a string |
space | Creates a string of blanks |
substring | Returns characters from the middle of a string |
trim | Trims the blanks from both ends of a string |
trimLeft | Trims the blanks from the left end of a string |
trimRight | Trims the blanks from the right end of a string |
upper | Changes each letter of a string to upper case |
Function | What it does... |
---|---|
abs | Get the absolute value of the given number. If the number is null, a DataNumber with the value null is returned. If the number is blank, 0 is returned. |
greatest | Returns the greater of two numbers |
least | Returns the lesser of two numbers |
mod | Divides two values and returns the remainder |
pow | Raises a number to a power |
random | Returns a random number between 0 and the passed number |
round | Rounds a number at the specified number of digits past the decimal |
Function | What it does... |
---|---|
date | Get current date. |
day | Returns the day value of a date |
month | Returns the month value of a date |
time | Gets current time of day |
timestamp | Get current date and time. |
year | Returns the year value of a date |
Function | What it does... |
---|---|
dateToNumber | Converts a date to a number |
dateToString | Converts a date to a character string |
dateToTimestamp | Converts a date to a timestamp |
numberToDate | Converts a number to a date |
numberToInt | Returns the integer part of a number string. |
numberToString | Converts a number to a string |
numberToTime | Converts a number to a time |
numberToTimestamp | Converts a number to a timestamp |
stringToDate | Converts a date string to a date value |
stringToInt | Converts a string to an integer. |
stringToNumber | Converts a string to a number |
stringToTime | Converts a time string to a time value |
stringToTimestamp | Converts a timestamp string to a timestamp value |
timestampToDate | Converts a timestamp to a date |
timestampToNumber | Converts a timestamp to a number |
timestampToString | Converts a timestamp to a character string |
timestampToTime | Converts a timestamp to a time |
timeToNumber | Converts a time to a number |
timeToString | Converts a time to a character string |
timeToTimestamp | Converts a time to a timestamp |
Function | What it does... |
---|---|
close | Closes the specified open object window (form view, design view, or print preview). |
closeActiveWindow | Closes the active window. |
copy | Copies an object to the clipboard. |
copySelectedObject | Copies the application objected selected on the main menu to the clipboard. |
cut | Cuts an object to the clipboard. |
cutSelectedObject | Cuts the application objected selected on the main menu to the clipboard. |
delete | Deletes an object. |
deleteSelectedObject | Deletes the application objected selected on the main menu. |
deleteTable | Deletes a table. |
design | Opens an object in design view. |
designForm | Opens a form in design view. |
designNew | Opens a new object in design view. |
getAppObject | Returns application object with specified type and name or null if not found. |
open | Opens an object. |
paste | Pastes an object from the clipboard. |
rename | Renames an object to a new name. |
select | Selects either an open object or an object in the application window. |
unlockAppObjects | Prompt user to unlock selected application objects that are locked while there design is being edited. |
view | Opens an Table, Query, or Form on the client. |
Function | What it does... |
---|---|
deleteRecord | Deletes the selected records (or the current record if none selected) on the active form. |
findNextRecord | Finds next record on the current form or spreadsheet using current search options. |
findRecord | Finds record on the current form or spreadsheet. |
gotoFirstRecord | Moves cursor to the first record on the active form. |
gotoLastRecord | Moves cursor to the last record on the active form. |
gotoNewRecord | Moves cursor to the new empty record on the active form. |
gotoNextRecord | Moves cursor to the next record on the active form. |
gotoPrevRecord | Moves cursor to the previous record on the active form. |
gotoRecord | Moves cursor to a specific record on the active form. |
saveRecord | Saves changes to the current record on the active form. |
selectAllRecords | Selects all records on the active form. |
selectRecord | Selects current record on the active form. |
Function | What it does... |
---|---|
addMultipleRows | Add multiple rows to an open form based on a list or combo box |
cancelEvent | Cancels current event on the active form. |
deleteOrphanedRecords | Delete menus, attachments, prices, and category links that refer to non-existent items. |
editIrisConfig | Edit IRIS configuration. |
editIrisConfigGroups | Edit IRIS config groups. |
editIrisItemMenus | Edit IRIS item menus and buttons. |
editIrisMenus | Edit IRIS menus and buttons. |
editIrisTaxRules | Edit IRIS tax rules. |
getClientPropertyBoolean | Gets a client property associated with the given property name. |
getClientPropertyInteger | Gets a client property associated with the given property name. |
getClientPropertyString | Gets a client property associated with the given property name. |
getEstimatedRowCount | Get estimated number of rows in the data source of the given form. Will use active form is no form name given. |
getFormNamedControlValues | Get a string containing the names and values of a list of controls from a form. Example: "name1","value1","name2","value2",... |
getFormValue | Gets the value of the given control on the given form. |
getNamedControlValues | Get a string containing the names and values of a list of controls from the active form. Example: "name1","value1","name2","value2",... |
getText | Returns the text from the given control. |
getValue | Gets data for the specified identifier. |
gotoControl | Moves cursor to a control. |
gotoFormControl | Moves cursor to a control. |
isFormValueSelected | Gets whether or not a checkbox, radio button, or toggle button control is currently selected on a form with the given name. |
isValueSelected | Gets whether or not a checkbox, radio button, or toggle button control is currently selected. |
requery | Requeries the records on the active form. |
requeryControl | Requeries the records of the control's source on the active form. |
runPriceChangeByPriceGroupReport | Run price change by price group report with user-specified filters and sorting. |
runPriceChangeByPriceReport | Run price change by price report with user-specified filters and sorting. |
runPriceChangeReport | Run price report with user-specified filters and sorting. |
runTaxChangeReport | Run tax change report with user-specified filters and sorting. |
setClientPropertyBoolean | Sets a client property value with the given name. |
setClientPropertyInteger | Sets a client property value with the given name. |
setClientPropertyString | Sets a client property value with the given name. |
setControlProperty | Sets a property value for a control on the active form. |
setFormControlProperty | Sets a property value for a control on a form. |
setFormRowSource | Sets the row source value for a control on the active form. |
setFormSiteValue | Sets site specific data for a control on the specified form. |
setFormSiteValueToNull | Sets site specific data for a control on the specified form to null. |
setFormValue | Sets data for a control on a form. |
setFormValueToNull | Sets data for controls on a form to null. |
setRecordModified | Sets the current record as modified so that it will be saved. |
setRowSource | Sets the row source value for a control on the active form. |
setSiteValue | Sets site specific data for a control on the active form. |
setSiteValueToNull | Sets site specific data for a control on the active form to null. |
setValue | Sets data for a control on the active form. |
setValueToNull | Sets data for a control on the active form to null. |
undo | Performs undo operation in the active window. |
Function | What it does... |
---|---|
queryAvg | Gets the average of the values of a column in a table or query using a where clause. |
queryCount | Gets the count of the values of a column in a table or query using a where clause. |
queryFirst | Gets the first value of a column in a table or query using a where clause. |
queryLast | Gets the last value of a column in a table or query using a where clause. |
queryMax | Gets the maximum value of a column in a table or query using a where clause. |
queryMin | Gets the minimum value of a column in a table or query using a where clause. |
querySum | Gets the sum of the values of a column in a table or query using a where clause. |
Function | What it does... |
---|---|
addRow | Insert a row in a table for a given list of sites that do not already have the row. |
addSystemEventListener | Add the listener in the given class to the list of system event listeners. |
addThisSiteToCentral | Call the central web service to add this remote site to the central database. |
attachMasterTables | Attach tables from an existing database so it can be edited |
attachTable | Attach tables from an existing database so it can be edited |
callEvaluateExpressionWebMethod | Call the EvaluateExpression web method. |
createTransactionTriggers | Create SQL scripts so triggers on application tables at remote sites can generate EDM transactions. |
deleteRow | Delete a row or rows from a table for a given list of sites that match the given columns and values in the table with the given name. |
deleteTableList | Delete a table list. |
displayHelp | Display help for the specified topic. |
dumpEmmaCoverageData | Dump Emma coverage data into the specified file |
dumpProfile | Disable profiling and write profile report to log. |
editEmailList | Edit a named list of email addresses. |
enableProfile | Enable profiling. |
evaluateExpressionAtRemoteSites | Send an expression to a list of remote sites which will evaluate the expression on the server. Only server-side functions may be included in the expression. |
executeDirectSQL | Directly execute the given SQL statement on the given data source and return the results in a DataSet. If query is not a select statement, execute the SQL statement and return empty DataSet. Use caution to avoid exceeding available memory. |
exit | Exits from the program. |
exportData | Exports data from a table or query to a text file. |
exportSecurityPolicyToXml | Export users, roles, and other security settings to XML file. |
getBackgroundProcessViewer | See a window of processes that are running. |
getCurrentUserId | Return the ID of the user that is currently logged in or \"\" if no user is logged in. |
getIniValue | Returns value for the given key from the given ini file or null if not found. |
getServerCallsPerSecond | Returns the average number of calls per second that can be made to the server after sending as many calls to the server as possible for 5 seconds. |
getServerFile | Return the bytes of a file from the server. |
getServerFileList | Gets a list of files in the specified directory on the server. |
getServerTime | Returns the current system time on the server in milliseconds since 1/1/1970 UTC. |
getSessions | Returns a list of the current active sessions on the server. |
getSystemProperty | Get the value of a property in the system.properties file. |
getTableAndQueryList | Get a sorted list of tables and queries in this application separated by semicolons. |
getTableList | Get a sorted list of tables in this application separated by semicolons. |
getTransactionViewer | See a dialog of recent file transactions that are either in yellow or red status. |
getUserInput | Prompts user to enter a value. |
hasPermission | Returns true if the current user has the given permission type for the given object type and name. |
iif | Returns one of two values bases on expression |
importData | Imports a text file to a table. |
importTransactionsFromFile | Import transactions from a CSV file. |
insertTableList | Insert a new table list. |
loadPicture | Loads a GIF, JPEG, or PNG image from the specified file |
login | Log a user into the system. |
logout | Logs the current user out of the system. |
msg | Displays a message box. |
openSitePropertyValueEditor | Open the Site Property Values form. |
partitionTable | Partition a table and set a new partition expression and reorganize the rows into the correct partitions. |
playbackTestScript | Play a test script back. |
queryValue | Directly execute an SQL statement and return the value of the first column in the first row. If query is not a select statement, execute the SQL statement and return a blank string. Use caution to avoid exceeding available memory. |
retryTest | Retry a test that failed during runTest. |
runApp | Runs an application as if from the command line. For example, to open the config.xml file in notepad when transactions are processed, set the filespec to c:\windows\system32\notepad.exe , the arguments to c:\edmweb\config.xml , and the wait flag to false . To run a batch file you could set the filespec to cmd and the arguments to /c c:\edmweb\go.bat and the wait flag to false . |
runJUnitTest | Run the JUnit tests in the given class. |
runReport | Run a report. |
runSQL | Runs an SQL statement. |
runTest | Invoke each method whose name starts with 'test' in the given test class. |
runTestMethod | Invoke the given test method. |
runTestMethodDirect | Invoke the given test method. |
runTestMethods | Invoke the given test method and all methods that follow it in the given class. |
runTestUI | Invoke each method whose name starts with 'test' in the given test class. |
selectLocation | Select one remote location from the list of remote locations maintained in a central database. |
setLogConsoleLevel | Sets level of log messages written to console. |
setLogFileLevel | Sets level of log messages written to log file. |
showAboutDialog | Displays the About dialog with system name and copyright info. |
showDocument | Display a document in a browser window. Applets can only display documents on the same server they were started from. |
showErrors | Turn error messages on or off |
showLdapPropertyForm | Displays the LDAP configuration form. |
showWarnings | Turn warning messages on or off |
sleep | Causes thread to sleep for the specified number of milliseconds. |
startRecordingTestScript | Tell server to start recording test script with the next login command. |
stopRecordingTestScript | Tell server to stop recording test script. |
updateTableList | Update a table list. |
waitForServerJobs | Wait for all server jobs to complete. If not server jobs are running when the method is called, wait up to one second for server jobs to start. After waiting for a server job to finish, wait up to one second for another server job to start. Total minimum wait time is two seconds. |
Function | What it does... |
---|---|
addDataSource | Add a new data source to the system configuration. |
attachRemoteTable | Attach a table from an existing database so it can be edited |
changePackageStatus | Change status of the transactions for sites in a package to a new status. |
changePassword | Change the current user's password. |
clearSessionPackage | Remove the selected session package on the client to users have to select a package when making changes. |
commitTransactions | Commit packages of transactions so they are sent to selected locations |
configureApplicationVersions | Configure known versions of application data sources. |
copyAndRefreshSiteData | Copy data for selected tables from one site to other sites and refresh the tables at the other sites on the effective date. |
copyCompany | Create a new company by copying the configuration of an existing company. |
copyFoodCostPeriodData | Copy food cost data from one period to another. |
copyLocationData | Copy site data for a list of tables to other sites. DEPRECATED Use copySiteData instead. |
copySiteData | Copy data for selected tables from one location to another location |
createRemoteInstaller | Create an installation program that can be downloaded and used to install EDM at a remote site with pre-configured settings for the current company. |
deleteDataSource | Delete the data source with the given name from the list of data sources for this company. |
deleteFoodCostPeriodData | Delete food cost data for one period in a fiscal year. |
deleteLocationData | Delete all data from selected tables at selected locations. |
deleteTransactionFilesFromAmazon | Delete transaction files (*.xml and *.fil) from the Amazon Simple Storage Service (S3). |
disableControls | Disable the controls with the given names on the active form. |
disableFormControls | Disable the controls with the given names on the given form. |
editCommitListeners | Edit list of email addresses to be notified when packages are committed. |
editFileSharing | View and modify table sharing among locations. |
EditMobileCategoryItemSequence | Edit Mobile Category Item Display Sequence. |
EditMobileCategorySequence | Edit Mobile Category Display Sequence. |
EditMobileModifierSequence | Edit Mobile Modifier Display Sequence. |
editRoles | View and modify roles to which system users may be assigned. |
editScheduledTasks | Open form to edit tasks scheduled on the server. |
editServerTextFile | Edit a text file on the server. |
editSharedTableGroups | Edit groups of tables that are shared together. |
editSharing | View and modify table sharing among locations. |
editUsers | View and modify system users. |
enableControls | Enable the controls with the given names on the active form. |
enableFormControls | Enable the controls with the given names on the given form. |
encryptAmazonCredentials | Encrypt a property file containing Amazon Web Services (AWS) credentials. |
exportFoodCostFiles | Create ascii export files for CKE food cost system |
exportSelectedDataToFile | Exports data from a table or query to a text file. Can be run unattended. |
extractTestDatabaseChanges | Extract changes to a test database to transaction files |
generateFunctionHelp | Generate HTML help file for a list of PluginLoader classes. |
generateSnapshot | Generate snapshot of data in snapshot tables |
generateTestDatabase | Generate a test database with data from selected locations |
getCompanyName | Returns the name of the currently selected company. |
getConfigProperty | Get configuration property value. |
getConfigPropertyWithDefault | Get configuration property value. |
getControlValueRow | Create row with column values from the given list of controls on the active form. |
getEffectiveDate | Get date/time transactions becomes effective for the active form. |
getForceProcessing | Get flag for whether transactions for the active form should be processed when only processing forced transactions. |
getNextUnusedId | Gets the next unused ID for the given table and column, optionally within a range. |
getPackageDescription | Get description of package that contains transaction for the active form. |
getPackageName | Get name of package that contains transaction for the active form. |
getPropertyFileValue | Get the value of a property in a property file. |
getSchemaVersions | Returns a list of known application database schemas supported by the system. |
getSelectedSites | Get the selected sites for the active form. |
getSessionPackageName | Returns the name of the currently selected package. |
getSessionPackageVersionID | Returns the ID of the currently selected package's version or null if there is no selected package or if the selected package doesn't have a version. |
getSessionPackageVersionName | Returns the name of the currently selected package's version or null if there is no selected package or if the selected package doesn't have a version. |
getTerminationDate | Get date/time transactions terminate for the active form. |
getUnupdatableSites | Return comma-delimited list of unupdatable sites for the active form. |
getUpdatableSites | Return comma-delimited list of updatable sites for the active form. |
getValueListOfUsersWithRole | Get a value list of users with a given role separated by semicolons. |
importFoodCostProducts | Import ascii file containing products for the food cost system. |
importSitesInFileList | Import sites listed in given siteIdFile from given company. |
importTableRelations | Import table relations from a text file |
isOnNewRow | True if the currently active form is on a new row, else False. |
loadAllTableData | Load data for the specified location from all tables in the table list |
loadCentralData | Load schema for a central database table |
loadCentralSchema | Load schema for a central database table |
maximizeContentArea | Maximizes the content area in the main EDM window. |
moveTransactions | Moves transactions for the specified locations from the local send directory to the specified directory. |
notifyClients | Send a notification to connected clients. |
nullValue | Return a null value which can be used in other functions. If you want to set the value of a form control to null, use setFormValueToNull() or setValueToNull(). |
openForm | Ask server to open a form. All parameters must be complete, user will be prompted for routing information if necessary. |
openRowSetForm | Open form to edit row sets to restrict which table rows and columns users may edit. |
processForcedTransactions | Receive and apply pending transactions whose effective date has arrived and whose Force flag is true for all sites. |
processTransactions | Receive and apply pending transactions from selected locations whose effective date has arrived |
promptForTransactionReport | Display dialog for users to set filters and run transaction report. |
receiveSiteFilesViaWeb | Receive transaction files over HTTP web connection. |
receiveTransactionFilesFromAmazon | Receive transaction files from Amazon Simple Storage Service (S3). |
receiveTransactionFilesFromJMS | Receive files from the configured JMS queue into the local incoming folder. |
reloadCachedData | Reload cached data such as configuration, site list, etc. |
replaceTransWithRefresh | Replaces transaction files for the selected locations with a refresh table transaction using the specified snapshot. |
requestDatedTableRefresh | Send request to location to send table data to replace existing data |
requestFile | Copy a file to other locations |
requestTableRefresh | Send request to location to send table data to replace existing data |
resetSite | Deprecated - use resetSites instead. Send Reset transaction to reset a site to its newly installed state. |
resetSites | Send transactions to reset remote sites to their newly installed state and commit the transactions. |
restoreContentArea | Restores the content area in the main EDM window. |
restoreTestCheckpoint | Disconnect all database connections, restore checkpoint 1, and re-initialize server |
selectLocations | Prompt user to select locations from a location tree. |
selectLocationsAndPackage | Prompt user to select locations from a location tree and a package for transactions. |
selectPackage | Prompt user to select from a list of transaction packages or create a new one. |
selectSessionPackage | Specify the package to use for all changes until a different session package is selected. |
sendAddSchemasTransaction | Send an transaction to update the table list and schema at selected sites. |
sendDatedTableRefresh | Send table data to locations to replace existing data |
sendDeleteFileTransaction | Send transaction to delete a file. |
sendEvaluateTransaction | Send a transaction to cause the receiver to evaluate an expression. |
sendExecuteTransaction | Send transaction to execute an operation system command at selected sites. |
sendFile | Send a file to other locations |
sendGetSchemasTransaction | Send a transaction to get the table list and schema from selected sites. |
sendRefreshToTestSite | Send table refresh transaction from a site to a lab/test site. |
sendRemoteFiles | Send files listed in remote files table to sites. |
sendRenameFileTransaction | Send transaction to rename a file. |
sendSiteFilesViaWeb | Send transaction files over HTTP web connection. |
sendSynchronizeDirectoryTransaction | Send a transaction to synchronize a local directory with a directory at other sites. |
sendTableRefresh | Send table data to locations to replace existing data |
sendTransactionFilesToAmazon | Send transaction files to Amazon Simple Storage Service (S3). |
sendTransactionFilesToJMS | Send outgoing files for the given sites to a JMS queue. |
setConfigProperty | Set configuration property value. |
setLastReceivedTranFileNumberToIncoming | Set the last received transaction file number for a site to the lowest transaction file number in the incoming directory - 1. |
setPropertyFileValue | Set the value of a property in a property file. |
shareLocationData | Share data for selected tables from one location to another location |
showSiteManager | Display site manager window. |
synchronizeSitePropertyValues | Imort and sync the site property values from an outside data source |
transferLocationFilesViaFTP | Transfer files over FTP connection. |
transferLocationFilesViaRAS | Transfer files over network connection. |
transferLocationFilesViaWeb | Transfer files over HTTP web connection. |
transferSiteFilesViaFTP | Transfer transaction files over FTP connection. |
transferSiteFilesViaRAS | Transfer transaction files over network connection. |
transferSiteFilesViaWeb | Transfer transaction files over HTTP web connection. |
unshareLocationData | Stop sharing data for selected tables from one location to another location |
updateAmazonDirToMatchLocalDir | Update an Amazon S3 directory to match a local directory. |
updateLocalDirToMatchAmazonDir | Update a local directory to match a directory on Amazon S3. |
updateLocalDirToMatchWebDir | Update a local directory to match a directory on the EDM web server. |
updateRows | Update selected rows for selected sites and generate transactions for the changes. |
updateTransferSettings | Save the given transfer host, user ID, password, and company name used to connect to a central EDM server |
updateWebDirToMatchLocalDir | Update an directory on the EDM web server to match a local directory. |
validateTableList | Validate references between tables |
validateTables | Validate references between tables |
viewForm | Ask server to open a form on the client that is visible in its default view. All parameters must be complete, user will be prompted for routing information if necessary. |
Function | What it does... |
---|---|
applyEffectiveMasterDataTrans | Queries the audit table for committed transactions on master data tables whose effective date has arrived and calls the appropriate master data change listener for each transaction then changes the status of the transaction to Successful. |
copyConfigurationVersionData | Copy the data from one configuration version to another version of the same configuration overwriting any existing data. |
copySiteSubscriptions | Copy the configuration version subscriptions from one site to other sites leaving the version ID null. If the source site has no subscriptions or the list of configuration ID's to copy is empty, do nothing. |
copyVersionData | Copy the data from one version to another version for all configurations overwriting any existing data. |
createConfigurationVersionDataSite | Creates a data site to hold version data for configuration version. The ID of the new site will be an unused, negative site number. The name of the site will be the name of the configuration plus a hyphen plus the name of the version. Each table in the configuration type will be added to the list of managed site tables. If there is a previous version of the configuration then the data from the previous version will be copied to the new version. |
createConfigurationVersionsCmd | Create configuration versions for the given configuration type and configuration. |
deleteConfiguration | Delete a configuration with the given configuration type and configuration. Deletes are cascaded to all associated Configuration Versions and DataSites. |
deployMasterChanges | Deploy master data to application tables in the table map. |
editConfigurationSubscriptions | Edit Configuration Subscriptions. |
editConfigurationTypes | Edit Configuration Types. |
editConfigurationVersions | Edit Configuration Versions. |
editVersions | Edit Versions. |
editVersionSubscriptions | Edit Version Subscriptions. |
getLastDeploymentInfo | Get the last deployment date and user name with the given deployment type. |
getLastVersionChangeInfo | Get the last change date and user name with the given version. |
getMasterTableConfigurationType | Gets the Configuration Type for the given table with the given name. |
getNumberOfAssignedSites | Get the number of sites assigned to the given version. |
getNumberOfUnassignedSites | Get the number of sites that are not assigned to the given version. |
publishMasterDataTableList | Publish data from the central database, with open and future transactions rolled back, to .csv files in the given directory. Data is published for each site in share groups using the site’s real ID. |
publishMasterDataTables | Publish data from the central database, with open and future transactions rolled back, to .csv files in the given directory. Data is published for each site in share groups using the site’s real ID. |
publishXCEDataTableList | Publish data from the central database, with open and future transactions rolled back, to .csv files in the given directory. Share groups are included in the published data with the associated data site IDs. |
publishXCEDataTables | Publish data from the central database, with open and future transactions rolled back, to .csv files in the given directory. Share groups are included in the published data with the associated data site IDs. |
scheduleVersionAssignments | Schedules a version of site subscriptions. Only sites having the Site Property Name and Value will be schedulable. |
showCopySiteSubscriptionsForm | Show the UI for selecting a source site, target sites, and configurations. |
showCreateSiteSubscriptionsForm | Show the UI for creating site subscriptions. |
Get the absolute value of the given number. If the number is null, a DataNumber with the value null is returned. If the number is blank, 0 is returned.
Add a new data source to the system configuration.
Add multiple rows to an open form based on a list or combo box
Insert a row in a table for a given list of sites that do not already have the row.
For example, when entering a product, this function can be called in the AfterInsert event to add a row to the product type table. For example, to add rows to the TNG_dbo_ProductTypes table after the user inserts a row in the TNG_dbo_Products table, set the afterInsert property of the Product form to: "=addRow( 'TNG_dbo_ProductTypes', getNamedControlValues( 'id,name,description' ), getSelectedSites() )"Add the listener in the given class to the list of system event listeners.
Call the central web service to add this remote site to the central database.
If the site does not exist in the central database it will be added. If it is the first site in the company, a table list will be requested. If the site data has not been loaded then a table refresh will be requested.Queries the audit table for committed transactions on master data tables whose effective date has arrived and calls the appropriate master data change listener for each transaction then changes the status of the transaction to Successful.
Converts the first character of a string to an ASCII value
Converts an ASCII code to a character
Attach tables from an existing database so it can be edited
Attaches master tables by creating a central table with the CDMLOCID column added to the table and all indexes. Adds a remote table record for the central site with a version of '1'. Adds a remote table record for every remote site with a version of null so transactions are not generated to the site. Adds a remote data source version for the central site of '1'. Adds a remote data source version for every remote site of '0'. Adds the tables to a table list called 'Attached Master Tables'. Adds a data source version 0 to the convert file and a version 1 which adds all the tables to the convert file.Attach a table from an existing database so it can be edited
Attach tables from an existing database so it can be edited
Call the EvaluateExpression web method.
Cancels current event on the active form.
Change status of the transactions for sites in a package to a new status.
Change the current user's password.
Remove the selected session package on the client to users have to select a package when making changes.
Closes the specified open object window (form view, design view, or print preview).
Closes the active window.
Commit packages of transactions so they are sent to selected locations
Configure known versions of application data sources.
Copies an object to the clipboard.
Copy data for selected tables from one site to other sites and refresh the tables at the other sites on the effective date.
Create a new company by copying the configuration of an existing company.
A unique company ID is calculated by removing all characters from the company name except letters, digits, and underscores and adding digits if needed to make the name unique.
The configuration files for the company are copied from the sub-directory of the classes directory with the same name as the template company ID.
The company database is named EDMHQ_ + companyId.
NOTE: The system data source in the config file template must not contain a connect string because it contains the database name which is not replaced.
The company's security information (users, roles, etc) will be loaded from the policy file in the default company files directory.
There must be a role called 'Company Administrator' in the policy.xml file.
Copy the data from one configuration version to another version of the same configuration overwriting any existing data.
Copy food cost data from one period to another.
Copy site data for a list of tables to other sites. DEPRECATED Use copySiteData instead.
Copies the application objected selected on the main menu to the clipboard.
Copy data for selected tables from one location to another location
Copy the configuration version subscriptions from one site to other sites leaving the version ID null. If the source site has no subscriptions or the list of configuration ID's to copy is empty, do nothing.
Copy the data from one version to another version for all configurations overwriting any existing data.
Creates a data site to hold version data for configuration version. The ID of the new site will be an unused, negative site number. The name of the site will be the name of the configuration plus a hyphen plus the name of the version. Each table in the configuration type will be added to the list of managed site tables. If there is a previous version of the configuration then the data from the previous version will be copied to the new version.
Create configuration versions for the given configuration type and configuration.
Create an installation program that can be downloaded and used to install EDM at a remote site with pre-configured settings for the current company.
The function copies CompileInfo.txt from webapps/edm/company/[companyId]/RemoteInstaller to webapps/edm/WEB-INF/RemoteInstaller then executes webapps/edm/WEB-INF/RemoteInstaller/build.bat.The CompileInfo.txt file in each company directory contains company-specific information needed to create the remote installation program.
See the Xpient wiki page "Automated Setup of New Remote Sites" in the "EDM Documentation" section for more information.
Create SQL scripts so triggers on application tables at remote sites can generate EDM transactions.
Creates a SQL script called EDM_Transaction_Functions.sql that creates functions in the EDM database that can be called by triggers in the remote application database to generate transactions. Also creates a script called App_Transaction_Triggers.sql to create triggers on the tables in the given table list that generate transactions in the EDM audit table on insert, update, and delete. Currently this function only supports SQL Server databases.Cuts an object to the clipboard.
Cuts the application objected selected on the main menu to the clipboard.
Get current date.
Converts a date to a number
Converts a date to a character string
Converts a date to a timestamp
Returns the day value of a date
Deletes an object.
Delete a configuration with the given configuration type and configuration. Deletes are cascaded to all associated Configuration Versions and DataSites.
Delete the data source with the given name from the list of data sources for this company.
Delete food cost data for one period in a fiscal year.
Delete all data from selected tables at selected locations.
Delete menus, attachments, prices, and category links that refer to non-existent items.
Deletes the selected records (or the current record if none selected) on the active form.
Delete a row or rows from a table for a given list of sites that match the given columns and values in the table with the given name.
This function can be called in the AfterDelete event to delete a row in the product type table. For example, to delete rows in the TNG_dbo_ProductTypes table after the user inserts a row in the TNG_dbo_Products table, set the afterInsert property of the Product form to: "=addRow( 'TNG_dbo_ProductTypes', getNamedControlValues( 'id,name,description' ), getSelectedSites() )"Deletes the application objected selected on the main menu.
Deletes a table.
Delete a table list.
Delete transaction files (*.xml and *.fil) from the Amazon Simple Storage Service (S3).
Deploy master data to application tables in the table map.
Opens an object in design view.
Opens a form in design view.
Opens a new object in design view.
Disable the controls with the given names on the active form.
Disable the controls with the given names on the given form.
Display help for the specified topic.
Dump Emma coverage data into the specified file
Disable profiling and write profile report to log.
Edit list of email addresses to be notified when packages are committed.
Edit Configuration Subscriptions.
Edit Configuration Types.
Edit Configuration Versions.
Edit a named list of email addresses.
View and modify table sharing among locations.
Edit IRIS configuration.
Edit IRIS config groups.
Edit IRIS item menus and buttons.
Edit IRIS menus and buttons.
Edit IRIS tax rules.
Edit Mobile Category Item Display Sequence.
Edit Mobile Category Display Sequence.
Edit Mobile Modifier Display Sequence.
View and modify roles to which system users may be assigned.
Open form to edit tasks scheduled on the server.
Edit a text file on the server.
Edit groups of tables that are shared together.
View and modify table sharing among locations.
View and modify system users.
Edit Versions.
Edit Version Subscriptions.
Enable the controls with the given names on the active form.
Enable the controls with the given names on the given form.
Enable profiling.
Encrypt a property file containing Amazon Web Services (AWS) credentials.
Send an expression to a list of remote sites which will evaluate the expression on the server. Only server-side functions may be included in the expression.
Directly execute the given SQL statement on the given data source and return the results in a DataSet. If query is not a select statement, execute the SQL statement and return empty DataSet. Use caution to avoid exceeding available memory.
Exits from the program.
Exports data from a table or query to a text file.
Create ascii export files for CKE food cost system
Export users, roles, and other security settings to XML file.
Exports data from a table or query to a text file. Can be run unattended.
Extract changes to a test database to transaction files
Finds next record on the current form or spreadsheet using current search options.
Finds record on the current form or spreadsheet.
Generate HTML help file for a list of PluginLoader classes.
Generate snapshot of data in snapshot tables
Generate a test database with data from selected locations
Returns application object with specified type and name or null if not found.
See a window of processes that are running.
Gets a client property associated with the given property name.
Gets a client property associated with the given property name.
Gets a client property associated with the given property name.
Returns the name of the currently selected company.
Get configuration property value.
Get value of the property in the configuration file with the given case-sensitive name or null if not found.Get configuration property value.
Get value of the property in the configuration file with the given case-sensitive name or the given default value if not found.Create row with column values from the given list of controls on the active form.
Return the ID of the user that is currently logged in or \"\" if no user is logged in.
Get date/time transactions becomes effective for the active form.
Get estimated number of rows in the data source of the given form. Will use active form is no form name given.
Get flag for whether transactions for the active form should be processed when only processing forced transactions.
Get a string containing the names and values of a list of controls from a form. Example: "name1","value1","name2","value2",...
Gets the value of the given control on the given form.
Returns value for the given key from the given ini file or null if not found.
Get the last deployment date and user name with the given deployment type.
Get the last change date and user name with the given version.
Gets the Configuration Type for the given table with the given name.
Get a string containing the names and values of a list of controls from the active form. Example: "name1","value1","name2","value2",...
Gets the next unused ID for the given table and column, optionally within a range.
Get the number of sites assigned to the given version.
Get the number of sites that are not assigned to the given version.
Get description of package that contains transaction for the active form.
Get name of package that contains transaction for the active form.
Get the value of a property in a property file.
Returns a list of known application database schemas supported by the system.
Get the selected sites for the active form.
Returns the average number of calls per second that can be made to the server after sending as many calls to the server as possible for 5 seconds.
Return the bytes of a file from the server.
Gets a list of files in the specified directory on the server.
Returns the current system time on the server in milliseconds since 1/1/1970 UTC.
Returns the name of the currently selected package.
Returns the ID of the currently selected package's version or null if there is no selected package or if the selected package doesn't have a version.
Returns the name of the currently selected package's version or null if there is no selected package or if the selected package doesn't have a version.
Returns a list of the current active sessions on the server.
Get the value of a property in the system.properties file.
Get a sorted list of tables and queries in this application separated by semicolons.
Get a sorted list of tables in this application separated by semicolons.
Get date/time transactions terminate for the active form.
Returns the text from the given control.
See a dialog of recent file transactions that are either in yellow or red status.
Return comma-delimited list of unupdatable sites for the active form.
Return comma-delimited list of updatable sites for the active form.
Prompts user to enter a value.
Gets data for the specified identifier.
Get a value list of users with a given role separated by semicolons.
Return the current version of EDM
Moves cursor to a control.
Moves cursor to the first record on the active form.
Moves cursor to a control.
Moves cursor to the last record on the active form.
Moves cursor to the new empty record on the active form.
Moves cursor to the next record on the active form.
Moves cursor to the previous record on the active form.
Moves cursor to a specific record on the active form.
Returns the greater of two numbers
Returns true if the current user has the given permission type for the given object type and name.
Returns one of two values bases on expression
Imports a text file to a table.
Import ascii file containing products for the food cost system.
Import sites listed in given siteIdFile from given company.
Import table relations from a text file
Import transactions from a CSV file.
Insert a new table list.
Gets whether or not a checkbox, radio button, or toggle button control is currently selected on a form with the given name.
True if the currently active form is on a new row, else False.
Gets whether or not a checkbox, radio button, or toggle button control is currently selected.
Returns the lesser of two numbers
Returns the leftmost characters of a string
Gets the length of a string
Load data for the specified location from all tables in the table list
Load schema for a central database table
Load schema for a central database table
Loads a GIF, JPEG, or PNG image from the specified file
Log a user into the system.
Logs the current user out of the system.
Changes each letter of a string to lower case
Maximizes the content area in the main EDM window.
Divides two values and returns the remainder
Returns the month value of a date
Moves transactions for the specified locations from the local send directory to the specified directory.
Displays a message box.
Send a notification to connected clients.
Return a null value which can be used in other functions. If you want to set the value of a form control to null, use setFormValueToNull() or setValueToNull().
Converts a number to a date
Returns the integer part of a number string.
Converts a number to a string
Converts a number to a time
Converts a number to a timestamp
Opens an object.
Ask server to open a form. All parameters must be complete, user will be prompted for routing information if necessary.
Open form to edit row sets to restrict which table rows and columns users may edit.
Open the Site Property Values form.
Partition a table and set a new partition expression and reorganize the rows into the correct partitions.
The audit table can now be partitioned across multiple database servers which process queries in parallel for much faster performance. Transaction records are divided among the partitions based on a partitioning expression. Queries on the audit table are sent to each partition server for parallel processing and the results are merged by EDM so that the partitioning is transparent to EDM users.The primary partition will continue to reside in the EDM central database, additional partitions can be stored on other servers.
To partition the audit table into three parts take the following steps:
After partitioning the audit table, if you have regular backups of your system database, you should include the new partition databases in your backup schedule.
Pastes an object from the clipboard.
Play a test script back.
Raises a number to a power
Receive and apply pending transactions whose effective date has arrived and whose Force flag is true for all sites.
Receive and apply pending transactions from selected locations whose effective date has arrived
Display dialog for users to set filters and run transaction report.
Publish data from the central database, with open and future transactions rolled back, to .csv files in the given directory. Data is published for each site in share groups using the site’s real ID.
Publish data from the central database, with open and future transactions rolled back, to .csv files in the given directory. Data is published for each site in share groups using the site’s real ID.
Publish data from the central database, with open and future transactions rolled back, to .csv files in the given directory. Share groups are included in the published data with the associated data site IDs.
Publish data from the central database, with open and future transactions rolled back, to .csv files in the given directory. Share groups are included in the published data with the associated data site IDs.
Gets the average of the values of a column in a table or query using a where clause.
Gets the count of the values of a column in a table or query using a where clause.
Gets the first value of a column in a table or query using a where clause.
Gets the last value of a column in a table or query using a where clause.
Gets the maximum value of a column in a table or query using a where clause.
Gets the minimum value of a column in a table or query using a where clause.
Gets the sum of the values of a column in a table or query using a where clause.
Directly execute an SQL statement and return the value of the first column in the first row. If query is not a select statement, execute the SQL statement and return a blank string. Use caution to avoid exceeding available memory.
Returns a random number between 0 and the passed number
Receive transaction files over HTTP web connection.
Receive transaction files from Amazon Simple Storage Service (S3).
Receive files from the configured JMS queue into the local incoming folder.
Reload cached data such as configuration, site list, etc.
Renames an object to a new name.
Replaces each substring of this string that matches the given regular expression with the given replacement.
Note that backslashes (\) and dollar signs ($) in the replacement string may cause the results to be different than if it were being treated as a literal replacement string.Replaces transaction files for the selected locations with a refresh table transaction using the specified snapshot.
Requeries the records on the active form.
Requeries the records of the control's source on the active form.
Send request to location to send table data to replace existing data
Copy a file to other locations
Send request to location to send table data to replace existing data
Deprecated - use resetSites instead. Send Reset transaction to reset a site to its newly installed state.
Send transactions to reset remote sites to their newly installed state and commit the transactions.
Restores the content area in the main EDM window.
Disconnect all database connections, restore checkpoint 1, and re-initialize server
Retry a test that failed during runTest.
Returns the rightmost characters of a string
Rounds a number at the specified number of digits past the decimal
Runs an application as if from the command line. For example, to open the config.xml file in notepad when transactions are processed, set the filespec to c:\windows\system32\notepad.exe
, the arguments to c:\edmweb\config.xml
, and the wait flag to false
. To run a batch file you could set the filespec to cmd
and the arguments to /c c:\edmweb\go.bat
and the wait flag to false
.
Run the JUnit tests in the given class.
Run price change by price group report with user-specified filters and sorting.
Run price change by price report with user-specified filters and sorting.
Run price report with user-specified filters and sorting.
Run a report.
Runs an SQL statement.
Run tax change report with user-specified filters and sorting.
Invoke each method whose name starts with 'test' in the given test class.
Invoke the given test method.
Invoke the given test method.
Invoke the given test method and all methods that follow it in the given class.
Invoke each method whose name starts with 'test' in the given test class.
Saves changes to the current record on the active form.
Schedules a version of site subscriptions. Only sites having the Site Property Name and Value will be schedulable.
Selects either an open object or an object in the application window.
Selects all records on the active form.
Select one remote location from the list of remote locations maintained in a central database.
Prompt user to select locations from a location tree.
Prompt user to select locations from a location tree and a package for transactions.
Prompt user to select from a list of transaction packages or create a new one.
Selects current record on the active form.
Specify the package to use for all changes until a different session package is selected.
Send an transaction to update the table list and schema at selected sites.
Send table data to locations to replace existing data
Send transaction to delete a file.
Send a transaction to cause the receiver to evaluate an expression.
Send transaction to execute an operation system command at selected sites.
Send a file to other locations
Send a transaction to get the table list and schema from selected sites.
Send table refresh transaction from a site to a lab/test site.
Send files listed in remote files table to sites.
Send transaction to rename a file.
Send transaction files over HTTP web connection.
Send a transaction to synchronize a local directory with a directory at other sites.
Send table data to locations to replace existing data
Send transaction files to Amazon Simple Storage Service (S3).
Send outgoing files for the given sites to a JMS queue.
Sets a client property value with the given name.
Sets a client property value with the given name.
Sets a client property value with the given name.
Set configuration property value.
Set value of the property in the configuration file with the given case-sensitive name.Sets a property value for a control on the active form.
Sets a property value for a control on a form.
Sets the row source value for a control on the active form.
Sets site specific data for a control on the specified form.
Sets site specific data for a control on the specified form to null.
Sets data for a control on a form.
Sets data for controls on a form to null.
Set the last received transaction file number for a site to the lowest transaction file number in the incoming directory - 1.
Sets level of log messages written to console.
Sets level of log messages written to log file.
Set the value of a property in a property file.
Sets the current record as modified so that it will be saved.
Sets the row source value for a control on the active form.
Sets site specific data for a control on the active form.
Sets site specific data for a control on the active form to null.
Sets data for a control on the active form.
Sets data for a control on the active form to null.
Share data for selected tables from one location to another location
Displays the About dialog with system name and copyright info.
Show the UI for selecting a source site, target sites, and configurations.
Show the UI for creating site subscriptions.
Display a document in a browser window. Applets can only display documents on the same server they were started from.
Turn error messages on or off
Displays the LDAP configuration form.
Display site manager window.
Turn warning messages on or off
Causes thread to sleep for the specified number of milliseconds.
Creates a string of blanks
Tell server to start recording test script with the next login command.
Tell server to stop recording test script.
Converts a date string to a date value
Converts a string to an integer.
Converts a string to a number
Converts a time string to a time value
Converts a timestamp string to a timestamp value
Returns characters from the middle of a string
Imort and sync the site property values from an outside data source
Gets current time of day
Get current date and time.
Converts a timestamp to a date
Converts a timestamp to a number
Converts a timestamp to a character string
Converts a timestamp to a time
Converts a time to a number
Converts a time to a character string
Converts a time to a timestamp
Transfer files over FTP connection.
Transfer files over network connection.
Transfer files over HTTP web connection.
Transfer transaction files over FTP connection.
Transfer transaction files over network connection.
Transfer transaction files over HTTP web connection.
Trims the blanks from both ends of a string
Trims the blanks from the left end of a string
Trims the blanks from the right end of a string
Performs undo operation in the active window.
Prompt user to unlock selected application objects that are locked while there design is being edited.
Stop sharing data for selected tables from one location to another location
Update an Amazon S3 directory to match a local directory.
Update a local directory to match a directory on Amazon S3.
Update a local directory to match a directory on the EDM web server.
Update selected rows for selected sites and generate transactions for the changes.
Update a table list.
Save the given transfer host, user ID, password, and company name used to connect to a central EDM server
The updateTransferSettings function updates the transfer host, user ID, password, and company name on the central site record. This information is used when connecting to the central system to transfer transaction files. To have the information automatically saved when the system starts up, the function can be called in the onStartupProperty of config.xml as shown in the following example.
onStartup = "updateTransferSettings( 'localhost:8080/edm', 'remote', 'remote', 'HQ' )"
Update an directory on the EDM web server to match a local directory.
Changes each letter of a string to upper case
Validate references between tables
Validate references between tables
Opens an Table, Query, or Form on the client.
Ask server to open a form on the client that is visible in its default view. All parameters must be complete, user will be prompted for routing information if necessary.
Wait for all server jobs to complete. If not server jobs are running when the method is called, wait up to one second for server jobs to start. After waiting for a server job to finish, wait up to one second for another server job to start. Total minimum wait time is two seconds.
Returns the year value of a date