JegasAPI - Jegas, LLC - Copyright(c)2016

All Functions and Procedures

Name Unit Description
bCreateAndLoadJMenuIntoDL uj_menusys

This function Instantiates and loads the the PASSED JFC_XDL class with the jmenu table from the default global connection information loaded and assigned to gaJCon in the jcore module.

Again - Call this function with a UN-INSTANTIATED JFC_XDL NOTE: To Properly Clean Up This JFC_XDL, Call the oppposite routine bEmptyAndDestroyJMenuDL which handles the house work. The house work has to do with the rtJMenu structure being allocated in memory dynamically, and the pointers are maintained in the JFC_XDL.Item_lpPtr.

bDBMasterUtility uj_dbtools

DBC - Main DB Connection (SOURCE) JDCon_JDConnection_UID: Database connection in source DB to use Name to use making a connection if JDCon_JDConnection_UID is ZERO on entry bLeadJet: If True treat as Master Database, otherwise like a JET database.

Makes New Master databses or Jet databases and also upgrades existing databases.

Make Tables (jtable info) or Alter NOTE: if not exist (Use JAS_Row_b Column Records for info) Add Rows or Update from master flagged JAS_Row_b Note: Tables without JAS_Row_b - Add rows (e.g. jasident, juserpref) TODO: Add VIEW SQL to jtable - for each DBMS - Use to make Views)

bDBM_DatabaseScrub uj_dbtools

 

bDeleteRecord uj_dbtools

Using this takes into account the configuration setting grJASConfig.bSafeDelete which decides if records get flagged as deleted or just deleted outright

bEmail_DataExportComplete uj_email

This is used to send email when a background export has completed launched from a Filter+Grid Screen. Note - UID is jfile UID. From there we get task, then person.

bEmail_Generic uj_email

This Allows Sending email to current user using the Work Email Address using content you specify.

bEmail_ProcessEvent uj_email

 

bEmail_ResetPassword uj_email

 

bEmail_ShareVideo uj_email

.?jasapi=email&type=sharevideo&videoid='+encodeURI(p_VideoUID)+'&email='+sEmail;

bEmail_TaskReminder uj_email

 

bEmail_ValidateUser uj_email

 

bEmptyAndDestroyJMenuDL uj_menusys

NOTE: This function does Check that the passed p_DL is not NILL upon entry and will return false (failed) if that is the case but the nature of pointers in general is that if you aren't caustious and call this function when the class wasn't instantiated properly you will bomb out of the program likely. See: bCreateAndLoadJMenuIntoDL

bGet_Installed_Instances_For_Given_Module_ID uj_modules

This function returns an instantiated JFC_XDL. Upon entry, if the p_XDL parameter is not nil a p_XDL.Destroy will be executed upon it assuming it is an instantiated JFC_XDL object. So be sure to set your JFC_XDL variable to nil before calling this function or expect an exception when this function tries to blast your unintialized pointer thinking it's an Instantiated JFC_XDL Object. The p_ReturnEnabledInstalledInstancesOnly parameter is how you indicate if you want the function to only return results for a given Installed Module instance if it's in fact enabled. If an error occurs, the p_XDL object will be destroyed and returned as nil. If this function returns True (No Error) - It WILL return an instantiated JFC_XDL object.. with ZERO items in it. JFC_XDL object.. with ZERO items in it. JFC_XDL.Item_saName = 'Name of Module' (which you already probably know) JFC_XDL.Item_saValue = jinstalled.JInst_JModule_UID Returns true if successful, false if not.

bGet_Installed_Instances_For_Given_Module_Name uj_modules

Returns the JModule.JModu_Name of the requested JModule.JModu_JModule_UID. Exact Match. This function returns an instantiated JFC_XDL. Upon entry, if the p_XDL parameter is not nil a p_XDL.Destroy will be executed upon it assuming it is an instantiated JFC_XDL object. So be sure to set your JFC_XDL variable to nil before calling this function or expect an exception when this function tries to blast your unintialized pointer thinking it's an Instantiated JFC_XDL Object. The p_ReturnEnabledInstalledInstancesOnly parameter is how you indicate if you want the function to only return results for a given Installed Module instance if it's in fact enabled. Returns true if successful, false if not.

bGet_ModuleConfig_Values_For_Given_Install uj_modules

Returns a Populated JFC_XDL object of all the settings for a given Module Install instance. This function returns actual configuration values for each setting. This function returns an instantiated JFC_XDL. Upon entry, if the p_XDL parameter is not nil a p_XDL.Destroy will be executed upon it assuming it is an instantiated JFC_XDL object. So be sure to set your JFC_XDL variable to nil before calling this function or expect an exception when this function tries to blast your unintialized pointer thinking it's an Instantiated JFC_XDL Object. Returns true if successful, false if not.

bGet_ModuleConfig_Value_For_Given_Install uj_modules

Returns specific setting's configuration value for a given Module Install instance and setting name combination. This function returns an instantiated JFC_XDL. Returns true if successful, false if not or if anything is missing. E.G. p_JInst_JInstalled_UID can't be found p_JMSet_Name can't be found or Actual setting value record can not be found.

bGet_Module_ID_With_Name uj_modules

Returns the JModule.JModu_JModule_UID of the requested JModule.JModu_Name. The search is exact. If data permits multiple rows that match the criteria, only the first row is returned. Duplicates should not be present. Returns true if successful, false if not.

bGet_Module_Name_With_ID uj_modules

Returns the JModule.JModu_Name of the requested JModule.JModu_JModule_UID. Exact Match. Returns true if successful, false if not.

bGet_Setting_List_For_Given_Module_ID uj_modules

Returns a Populated JFC_XDL object of all the settings possible for a given module ID. This doesn't return the setting values for a particular Module's Installation Instance.. just the settings the given Module has associated with it. This function returns an instantiated JFC_XDL. Upon entry, if the p_XDL parameter is not nil a p_XDL.Destroy will be executed upon it assuming it is an instantiated JFC_XDL object. So be sure to set your JFC_XDL variable to nil before calling this function or expect an exception when this function tries to blast your unintialized pointer thinking it's an Instantiated JFC_XDL Object. Returns true if successful, false if not. p_XDL.Item_i8User:=i8Val(rs.fields.Get_saValue('JMSet_JCaption_ID')); p_XDL.Item_saName:=rs.fields.Get_saValue('JMSet_Name'); p_XDL.Item_saValue:=rs.fields.Get_saValue('JMSet_JModuleSetting_UID'); p_XDL.Item_saDesc:=i8Val(rs.fields.Get_saValue('JMSet_JNote_ID'));

bGet_Setting_List_For_Given_Module_Name uj_modules

Returns a Populated JFC_XDL object of all the settings possible for a given module name. This doesn't return the setting values for a particular Module's Installation Instance.. just the settings the given Module has associated with it. This function returns an instantiated JFC_XDL. Upon entry, if the p_XDL parameter is not nil a p_XDL.Destroy will be executed upon it assuming it is an instantiated JFC_XDL object. So be sure to set your JFC_XDL variable to nil before calling this function or expect an exception when this function tries to blast your unintialized pointer thinking it's an Instantiated JFC_XDL Object. Returns true if successful, false if not.

bJASCaption uj_captions

This is a shorthand way to get a SPECIFIC Caption. This is not recommended when its conceivable that you can load a group of captions versus hitting this to many times in a row. HOWEVER when you Need a SPECIFIC caption based on language - THEN,NOW, is it there or not? This should work fine. It basically is a wrapper for the bJASLoadCaptionXXDL function with a focus on grabbing only ONE record and using this short hand version saves you the symantics of instantiating the XXDL class to load with a series of records

bJASLoadCaptionXXDL uj_captions

This function loads the (You must Instantiate) passed JFC_XXDL class with caption information for each record found to match the criteria:

XXDL.ID1=JCapt_JCaption_UID (Note: If you change this change the XXDL.ID2= comments below and over the function XXDL.ID3=JCapt_JCaptGrp_ID itself ) XXDL.saValue= JCapt_Value XXDL.saDesc= any logical returned data based on "Desired Language" if Not Empty or not found when searching by UID "Default Language (usually "en")" if not empty

bJASNote uj_notes

This function makes it realatively easy to get notes from the JAS database's jnote table.

bJASNoteSecure uj_notes

Language is taken into consideration!

This function makes it realatively easy to get notes from the JAS database's jnote table. providing the user has the security permission for the specified table and or table/row combination in JNote_Table_ID and the optional JNote_Row_ID

See Also JAS_GetNoteSecure in uxxj_application (where dispatched from) and uxxj_fileserv.pp

bJAS_ColumnExist uj_xml

return true or false if table's column exists for given connection Example:

bJAS_CreateSession uj_sessions

JASAPI function This function uses the following information from p_Context to decide if creating a session for a particular user will be attempted:

Required: p_Context.CGIENV.DataIn.FoundItem_saName('USERNAME',False)
Required: p_Context.CGIENV.DataIn.FoundItem_saName('PASSWORD',False)
Required: p_Context.CGIENV.ENVVAR.FoundItem_saName('REMOTE_ADDR',False)
Optional: p_Context.CGIENV.DataIn.FoundItem_saName('CHANGEPASSWORD',False)
Optional: p_Context.CGIENV.DataIn.FoundItem_saName('NEWPASSWORD1',False)
Optional: p_Context.CGIENV.DataIn.FoundItem_saName('NEWPASSWORD2',False)

Additionally, the user's AllowedSessions field in the juser table is taken into account. If the user's AllowedSessions field is set to 1, then if an existing session will be removed and the user is granted a new session.

IF a user is allowed numerous sessions, then a new session will be created unless they have exceeded their allowed number of logins. If they do exceed there AllowedSessions, then they will not be granted anymore.

We'd like to add a user interface so this scenario can be resolved by the user themselves but this is on our todo list. Systems such as VICI do not generally allow users multiple logins, and for telemarketing scenarios where VICI is used, it is easier to tie VICI logins to JAS users by limiting their AllowedSessions to one.

Above you might have noticed the IP address bit that this function analyzes. Basically if a request comes in from an IP address other than that of the session's originator - then access to the system is denied.

If the function returns true you are good to go. If you like, for instance an error is returned, you can interrogate what happened by getting the result code from: p_Context.rSession.i4ResultCode

Upon successful session creation, a cookie with the SESSION ID (jdconnection.JDCon_JDConnection_UID) is stored on the client named JSID. Note that form variables override COOKIE. So, it's actually cleaner to not send JSID yourself in forms posts etc unless you have a good reason. If you do not follow this advice, have a web page up and your session times out, you can not login in another page and then refresh the page you were at because you essentially hardcoded the session id into the webpage.

Values are defined in uxxj_definitions.pp Example: cnSession_PasswordsDoNotMatch

bJAS_CreateSession_Custom_Hook uj_custom

This function is called AFTER the internals of the bJAS_CreateSession function are completed. This hook is then called with TCONTEXT and the result of the bJAS_CreateSession that is about to be returned to the caller. Coding to this hook allows putting custom code into the JAS API directly without creating circular references which would occur if we tried to put this sort of code into the regular user_customization source files.

bJAS_DeleteRecord uj_locking

 

bJAS_GenerateSecKeys uj_sessions

This loads the jseckey table with BOTH public and private keys - 512 bytes saved as contiguas hex pairs per key. (1024 char/1K each key). One Row has two keys.

bJAS_HasPermission uj_permissions

Returns true if the user has permission with ID passed in the first parameter. OR if user is an administrator.

bJAS_Init uj_config

 

bJAS_LoadSessionData uj_sessions

this function saves session data Currently session data is database driven. Making a likely faster filebased session data mechanism is slated for developement.

bJAS_Load_jadodbms uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jadodriver uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jalias uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise. function bJAS_Load_jalias(p_Context: TCONTEXT; p_DBC: JADO_CONNECTION; var p_rJAlias: rtJAlias; p_bGetLock: boolean):boolean;

bJAS_Load_jblok uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jblokbutton uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jblokfield uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jbloktype uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jbuttontype uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jcaption uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jcase uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jcasecategory uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jcasepriority uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jcasesource uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jcasesubject uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jcasetype uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jcolumn uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jcompany uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jcompanypers uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jdconnection uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jdtype uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jfile uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jfiltersave uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jfiltersavedef uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jindexfile uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise. function bJAS_Load_jindexfile(p_Context: TCONTEXT; p_DBC: JADO_CONNECTION; var p_rJIndexFile: rtJIndexFile; p_bGetLock: boolean):boolean;

bJAS_Load_jindustry uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jinstalled uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jinterface uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jinvoice uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jinvoicelines uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jiplist uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise. function bJAS_Load_jiplist(p_Context: TCONTEXT; p_DBC: JADO_CONNECTION; var p_rJIPList: rtJIPList; p_bGetLock: boolean):boolean;

bJAS_Load_jiplistlu uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jipstat uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jjobq uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jlanguage uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise. function bJAS_Load_jlanguage(p_Context: TCONTEXT; p_DBC: JADO_CONNECTION; var p_rJLanguage: rtJLanguage; p_bGetLock: boolean):boolean;

bJAS_Load_jlead uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jleadsource uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jmail uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jmenu uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jmime uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise. function bJAS_Load_jmime(p_Context: TCONTEXT; p_DBC: JADO_CONNECTION; var p_rJMime: rtJMime; p_bGetLock: boolean):boolean;

bJAS_Load_jmodc uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jmodule uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jmoduleconfig uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jmodulesetting uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jnote uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jperson uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jpriority uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jproduct uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jproductgrp uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Load_jproductqty uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jproject uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jprojectcategory uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_JQuickLink uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jscreen uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jscreentype uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jsecgrp uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jsecgrplink uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jsecgrpuserlink uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jseckey uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jsecperm uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jsecpermuserlink uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jsession uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jsessiontype uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jstatus uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jsysmodule uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jtable uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jtabletype uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jtask uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jtaskcategory uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jteam uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jteammember uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jtestone uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jtheme uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jtimecard uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jtrak uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_juser uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_juserpref uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_juserpreflink uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Load_jvhost uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise. function bJAS_Load_jvhost(p_Context: TCONTEXT; p_DBC: JADO_CONNECTION; var p_rJVHost: rtJVHost; p_bGetLock: boolean):boolean;

bJAS_Load_jwidget uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_LockRecord uj_locking

Lock Works like this: PART 1-A: Blast ANY OLD LOCKS PART 1-B: Locks without corresponding Session ID's

PART 2: First TRY to LOCK entire Table - if can't - someone else has it. (Loop to try a couple times) (TABLE LOCK= TABLE ID, ROWID=0)

PART 3: Once Table Lock Established, IF ROWID=0 - see if other locks row level exist, if they do - lose the table lock... keeping table locked not permitted, others own rows.

PART 4: If a ROW ID is Specified, lock the ROW and then Lose the Table Lock.

PART 5: If a COL ID is Specified, lock the COL and then Lose the Table Lock.

PART 6: If a ROW and COL ID Are Specified, lock the COL and then Lose the Table Lock.

PART 7: return true or false to indicate lock granted

bJAS_MakeColumn uj_xml

returns true successful altering or creating DB column from data in the jcolumn table. Pass the Column UID of the column. Said column should be connected to an existing table and database connection.

bJAS_MakeTable uj_xml

make database table using data in jtable and jcolumn

bJAS_PurgeConnections uj_sessions

This function is what does the old session clean up, called internally by bJAS_ValidateSession.

bJAS_PurgeConnection_Custom_Hook uj_custom

This function is called DURING the bJAS_PurgeConnections call EACH TIME a Session (jsession table record) is slated to be removed. This hook is then called with TCONTEXT and the UID of the jsession record about to get destroyed. Coding to this hook allows putting custom code into the JAS API directly without creating circular references which would occur if we tried to put this sort of code into the regular user_customization source files.

bJAS_PurgeLocks uj_locking

like its name says - it purges locks older than p_iMinutesOld from jlock table

bJAS_PurgeOrphanedSessionData uj_sessions

this function purges orphaned session data. Currently session data is database driven. Making a likely faster filebased session data mechanism is slated for developement.

bJAS_RecordLockValid uj_locking

This function just validates that the LOCK indeed belongs to this session.

bJAS_RemoveSession uj_sessions

Removes current user's session - essentially logging them out.

bJAS_RemoveSession_Custom_Hook uj_custom

This function is called AFTER the internals of the bJAS_RemoveSession function are completed. This hook is then called with TCONTEXT and the result of the bJAS_RemoveSession that is about to be returned to the caller. Coding to this hook allows putting custom code into the JAS API directly without creating circular references which would occur if we tried to put this sort of code into the regular user_customization source files.

bJAS_RowExist uj_xml

 

bJAS_Run uj_core

This function is the main entry point for JAS.

bJAS_SaveSessionData uj_sessions

this function saves session data Currently session data is database driven. Making a likely faster filebased session data mechanism is slated for developement.

bJAS_Save_jadodbms uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jadodriver uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jalias uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jblok uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jblokbutton uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jblokfield uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jbloktype uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jbuttontype uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jcaption uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jcase uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jcasecategory uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jcasepriority uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jcasesource uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jcasesubject uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jcasetype uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jcolumn uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jcompany uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jcompanypers uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jdconnection uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jdtype uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jfile uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jfiltersave uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jfiltersavedef uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jindexfile uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jindustry uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jinstalled uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jinterface uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jinvoice uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jinvoicelines uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jiplist uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jiplistlu uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jipstat uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jjobq uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jlanguage uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jlead uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jleadsource uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jmail uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jmenu uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jmime uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jmodc uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jmodule uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jmoduleconfig uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jmodulesetting uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jnote uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jperson uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function) p_bHaveLock determines if the function attempts to lock the record before saving. Note: If a NEW record is created - this parameter is ignored and treated as if FALSE was passed.

bJAS_Save_jpriority uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jproduct uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Save_jproductgroup uj_tables_loadsave

Loads a single record from the database into jas structure (pascal record) you pass in. See uxxj_definitions.pp for table structure definitions. To use, you load up the UID field of your rtSomeStructure and then call the function. It will return true upon successfully loading the record from the database. False otherwise.

bJAS_Save_jproductqty uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jproject uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jprojectcategory uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_JQuickLink uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jscreen uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jscreentype uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jsecgrp uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jsecgrplink uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jsecgrpuserlink uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jseckey uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jsecperm uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jsecpermuserlink uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jsession uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jsessiontype uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jstatus uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jsysmodule uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jtable uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jtabletype uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_JTask uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jtaskcategory uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jteam uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jteammember uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jtestone uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jtheme uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jtimecard uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jtrak uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created.

bJAS_Save_juser uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_juserpref uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_juserpreflink uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jvhost uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Save_jwidget uj_tables_loadsave

Updates existing record in database or creates a new record. To use, you load up the jas structure (pascal record) with data and set the UID field to ZERO (though this field is typically a string, set it to '0') and a new record will be created. If you pass the UID field with the UID of a record in the table already, it will update the existing record with the data you loaded into the structure (second parameter of this function)

bJAS_Sendmail uj_email

Sends p_saMsg via Sendmail.

bJAS_ShutDown uj_config

 

bJAS_TableExist uj_xml

 

bJAS_TablePermission uj_permissions

Returns Security Flags for a given table/row combination. If the ROW passed is ZERO then the check is only for basic access to the table and not the extra BY row information.

Four TABLE Permissions: Add, View, Update, Delete

The other TABLE wide check that is made is related to the OwnerOnly Flag. If this Flag is true, than no access is given.

The Row Level check looks at the Table permission Column and checks if the user has the required permission to DO ANYTHING AT ALL with that Row.

If you Pass a ROW ID and a PermColumnID, then you save some database requests. If you pass the RowID ONLY then more work is required including a data request from the databse to get the columns permission value.

The Override that WILL grant permission ANYWAYS for all of these are the following:

MASTER DATABASE USER FLAGGED as Admin in thier User Record (juser)

Any Database (Jets) or client databases: Any User with the ADMIN permission.

All flags passed By Reference, so you must declare the flags and send them in the call to this routine.

Function returns true if successful, false if not due to errors usually from accessing the Database for one reason or another.

bJAS_UnlockRecord uj_locking

Do to the Nature of this function, the result is not as important as the lockrecord one. Note: that there are no protections in place from folks deleting records belonging to others and or other data connections so the responsibility of data integrity remains with the programmer.

bJAS_ValidateSession uj_sessions

Validate session does what it's name implies but it also removes old sessions from the database; in effect as the system is used, it takes care of itself. Validate Session gather the Session ID from either the request itself or from the cookie verifies the Session ID (jdconnection.JDCon_JDConnection_UID) exists.

If the remote ip address doesn't match the session creator's, then access is denied. If the session has gone beyond it's configured timeout period its removed BY this function before this function attempts to look it up so timeout periods are enforced.

bJAS_ValidateSessionPeek uj_sessions

This function allows "peeking" to see if a passed session id (JSession UID) is valid and returns the user name owning the session.

bJAS_ValidateSession_Custom_Hook uj_custom

This function is called AFTER the internals of the bJAS_ValidateSession function are completed. This hook is then called with TCONTEXT and the result of the bJAS_ValidateSession that is about to be returned to the caller. Coding to this hook allows putting custom code into the JAS API directly without creating circular references which would occur if we tried to put this sort of code into the regular user_customization source files.

bJMenuRender uj_menusys

This routine "primes the pump" for a recursive loop that does the traversing thorugh the menu hierarchy.

bLoadConfigurationFile uj_config

 

bPreDel_JBlok uj_dbtools

Delete JBlok children

bPreDel_JCase uj_dbtools

Delete JCase children

bPreDel_JCompany uj_dbtools

Delete JCompany Children

bPreDel_JFile uj_dbtools

Rename JFile Records File to Linux "hidden"; prepend period to name.

bPreDel_JFilterSave uj_dbtools

Delete JFilterSave Children (defaults)

bPreDel_JIconContext uj_dbtools

Delete JIconContext Children (jiconmaster)

bPreDel_JInstalled uj_dbtools

Delete JInstalled Children

bPreDel_JInvoice uj_dbtools

Delete JInvoice Children (jinvoicelines)

bPreDel_JLead uj_dbtools

Delete JLead Children

bPreDel_JModule uj_dbtools

Delete JModule Children

bPreDel_JModuleSetting uj_dbtools

Delete JModuleSetting Children

bPreDel_JPerson uj_dbtools

Delete JPerson Children

bPreDel_JProduct uj_dbtools

Delete JProduct Children

bPreDel_JProject uj_dbtools

Delete JProject Children

bPreDel_JScreen uj_dbtools

Delete JScreen children

bPreDel_JSecGrp uj_dbtools

Delete JSecGrp Children

bPreDel_JSecPerm uj_dbtools

Delete JSecPerm Children

bPreDel_JSession uj_dbtools

Delete JSession Children

bPreDel_JSysModule uj_dbtools

Delete JSysModule Children

bPreDel_JSysModuleLink uj_dbtools

Delete JSysModuleLink Children

bPreDel_JTable uj_dbtools

Delete JTable Children (columns)

bPreDel_JTask uj_dbtools

Delete JTask children

bPreDel_JTeam uj_dbtools

Delete JTeam Children

bPreDel_JUser uj_dbtools

Delete JUser Children

bSetDefaultSecuritySettings uj_dbtools

Make Default Security Settings

bUserAPI_Dispatch uj_jegas_customizations_jegas

Runs User API functions

bUserAPI_Dispatch uj_jegas_customizations_empty

Runs User API functions

bUserCustomizations uj_jegas_customizations_empty

 

bUserCustomizations uj_jegas_customizations_jegas

NOTE: bUserCustomations does not return success or failure: It is not an error flag. It just tells JAS that request was not off in left field, because if its way off for JAS and for the USEr Customizations, that might important from a security point of view. (They phishing/hacking?)

bUserCustomization should follow this rule by the customizer: return TRUE ONLY if you handled the request, e.g. "It was one of yours!"

clear_audit uj_definitions

 

clear_JADODBMS uj_definitions

 

clear_JADODriver uj_definitions

 

clear_JAlias uj_definitions

 

clear_JAliasLight uj_definitions

 

clear_JASSingle uj_definitions

SET TO ZERO (This value

clear_JBlok uj_definitions

 

clear_JBlokButton uj_definitions

 

clear_JBlokField uj_definitions

 

clear_JBlokType uj_definitions

 

clear_JButtonType uj_definitions

 

clear_JCaption uj_definitions

 

clear_JCase uj_definitions

 

clear_JCaseCategory uj_definitions

 

clear_JCasePriority uj_definitions

 

clear_JCaseSource uj_definitions

 

clear_JCaseSubject uj_definitions

 

clear_JCaseType uj_definitions

 

clear_JColumn uj_definitions

 

clear_JCompany uj_definitions

 

clear_JCompanyPers uj_definitions

 

clear_JDConnection uj_definitions

 

clear_JDebug uj_definitions

 

clear_JDType uj_definitions

 

clear_JFile uj_definitions

 

clear_JFilterSave uj_definitions

 

clear_JFilterSaveDef uj_definitions

 

clear_JHelp uj_definitions

 

clear_JIndexFile uj_definitions

 

clear_JIndexFileLight uj_definitions

 

clear_JIndustry uj_definitions

 

clear_JInstalled uj_definitions

 

clear_JInterface uj_definitions

 

clear_JInvoice uj_definitions

 

clear_JInvoiceLines uj_definitions

 

clear_JIPList uj_definitions

 

clear_JIPListLight uj_definitions

 

clear_JIPListLU uj_definitions

 

clear_JIPStat uj_definitions

Integer 02 bytes type

clear_JJobQ uj_definitions

 

clear_JLanguage uj_definitions

 

clear_JLanguageLight uj_definitions

 

clear_JLead uj_definitions

 

clear_JLeadSource uj_definitions

 

clear_JLock uj_definitions

 

clear_JLog uj_definitions

 

clear_JLookup uj_definitions

 

clear_jmail uj_definitions

 

clear_JMenu uj_definitions

 

clear_JMime uj_definitions

 

clear_JMimeLight uj_definitions

 

clear_JModC uj_definitions

 

clear_JModule uj_definitions

 

clear_JModuleConfig uj_definitions

 

clear_JModuleSetting uj_definitions

 

clear_JNote uj_definitions

 

clear_JPassword uj_definitions

 

clear_JPerson uj_definitions

 

clear_JPriority uj_definitions

 

clear_JProduct uj_definitions

 

clear_JProductGrp uj_definitions

 

clear_JProductQty uj_definitions

 

clear_JProject uj_definitions

 

clear_JProjectCategory uj_definitions

 

clear_JQuickLink uj_definitions

 

clear_JRedirect uj_definitions

 

clear_JScreen uj_definitions

 

clear_JScreenType uj_definitions

 

clear_JSecGrp uj_definitions

 

clear_JSecGrpLink uj_definitions

 

clear_JSecGrpUserLink uj_definitions

 

clear_JSecKey uj_definitions

 

clear_JSecPerm uj_definitions

 

clear_JSecPermUserLink uj_definitions

 

clear_JSession uj_definitions

 

clear_JSessionData uj_definitions

 

clear_JSessionType uj_definitions

 

clear_JStatus uj_definitions

 

clear_JSysModule uj_definitions

 

clear_JTable uj_definitions

 

clear_JTableType uj_definitions

 

clear_JTask uj_definitions

 

clear_JTaskCategory uj_definitions

 

clear_JTeam uj_definitions

 

clear_JTeamMember uj_definitions

 

clear_JTestOne uj_definitions

 

clear_jtheme uj_definitions

 

clear_jthemelight uj_definitions

 

clear_JTimecard uj_definitions

 

clear_JTrak uj_definitions

 

clear_JUser uj_definitions

 

clear_JUserPref uj_definitions

 

clear_JUserPrefLink uj_definitions

 

clear_JVHost uj_definitions

 

clear_JVHostLight uj_definitions

 

clear_JWidget uj_definitions

 

clear_JWidgetLink uj_definitions

 

clear_JWorkQueue uj_definitions

 

CSVImport uj_dbtools

First step int the CSV import process -starts here

CSVMapfields uj_dbtools

Routine To Handle the process of mapping fields from the CSV to the target table

CSVUpload uj_dbtools

Routine that does the actual importing of CSV files

DBM_DiffTool uj_dbtools

This procedure compares JAS Database info against actual database

DBM_EmptyTrash uj_dbtools

Delete all records in tables with _Deleted_b flag set to true.

DBM_FindDupeUID uj_dbtools

Diagnostic looking for Duplicate UID's. Shouldn't be any, but if there are, the table should be altered to have the UID column set as the primary key after the data is scrubbed accordingly.

DBM_FlagJasRow uj_dbtools

This function is only for the main JAS database and is for preparing for distribution of new upgrades, making new JAS databases and new Jet databases.

DBM_FlagJasRowExecute uj_dbtools

This function does the actual work that DBM_FlagJasRow commands.

DBM_JCaptionFlagOrphans uj_dbtools

 

DBM_JIPList uj_dbtools

Quick way to take immediate charge of the JIPLIST for banning, unbanning etc This effect both the database and memory. No Cycling. B = Ban P = Promote or Whitelist F = Forget or Remove from jiplist

DBM_JNoteFlagOrphans uj_dbtools

 

DBM_KillOrphans uj_dbtools

Delete all orphaned records in the database.

DBM_LearnTables uj_dbtools

This tool allows you to point to a connected database connection and select one or more tables and submit your selection. Once submitted this function will add table records and column records into JAS' meta data allowing you to later view them, and make screens for them from the JTable Search screen or from the record/detail view of any one of those tables.

DBM_RemoveJet uj_dbtools

 

DBM_SyncDBMSColumns uj_dbtools

This function goes thru DBMS schema and corrects jcolumn Records if it can EACH DBMS will need to be addressed as the techniques and data will vary. Starting with MySQL and using the information schema.

DBM_SyncScreenFields uj_dbtools

This function examines jblokfield records system wide. If they have a column associated with then (i.e. not a custom jblokfield) and the properties aren't set for max width, length and height - this function adjusts them based on the associated database columns.

DBM_UpdateJCompanyMember uj_dbtools

Updates jcompanymember by interrogating the jperson table and the jcompany table to find members that may not of been added.

DBM_WipeAllRecordLocks uj_dbtools

Delete all records in tables with _Deleted_b flag set to true.

DynamicScreen uj_ui_screen

This function is the first verion of JAS DynamicScreen functionality. Although to date it's been working great, we intend to make a newer version that is broken up into smaller modules and is not user interface specific as much, at least so the same code can be used to make screens using various user interfaces.

Note that this function is responsible for both displaying custom screens, editting data and viewing query results, as well as screen editting. The screen editting works in a WYSIWYG fashion. You Need ADMIN permissions to modify the Screens in JAS at this time. Eventually this will be a specific Permission that is appropriately named so you do not need to specifically be a system administrator to customize screens.

You can call up a screen and inadvertanly use this function by calling either: http://jas/?SCREENID=(SCREENID) or ?Screen=NameHEre Where screenid is the UID of the SCREEN you wish to view. If you call up a DETAIL screen in this manner without passing also the UID parameter for the record you wish to view/edit, clicking the save button will fail: no assumption is made that adding a record in this circumstance is desired. If you want to add a new record, try: // http://jas/?SCREENID=1&UID=0

You can call up screens by name as well: http://jas/?screen=jaddress%20Search

If you have the correct user permission, you will see a edit mode checkbox that will place the screen into edit mode so you can customize it as you see fit.

ExecuteCGI uj_executecgi

This function handles executing processes using the CGI standard. e.g. CGI, exe, CGI Perl, CGI PHP

ExecuteJASApplication uj_application

Dispatch of "Action" parameter to appropriate JAS App

FileDownload uj_dbtools

This function is for downloading files from the file repository and it takes permissions and ownership into consideration. Ownership first, if the user is not the Owner (Created By) then the user must have the permission assigned to the file. If they do not have the permission, or the permission is NULL or ZERO - then access is denied.

FileUpload uj_dbtools

handles uploaded files to system

getfile uj_fileserv

This is the internal function that serves all the webserver files. It works by simply passing in the filename you are after and you typically pass in a p_iHTTPResponse of 200 (see cnHTTP_RESPONSE_200 defined in uxxg_common.pp for sample response codes.) Upon return, the function returns the complete file as its result with a potentially different value in p_iHTTPResponse.

jasapi_bigtest uj_xml

JASAPIXML Function This is a JASAPI XML function that just produces a somewhat LARGE response just to cause a purposed heavy TRANSMISSION of data using the JASAPIXML function infrastructure.

JASAPI_ColumnExist uj_xml

JASAPI_ColumnExist is identical to bJAS_ColumnExist except that it is called using the JASAPI convention: jasapi=maketable

JASAPI_???? Tend to be in uxxj_xml.pp while other "JAS" functions (actions) can be anywhere and are not guaranteed to return xml, they can be entire "mini applications" etc with HTML UI etc.

JASAPI_CopyScreen uj_xml

URI Parameters: JTabl_JTable_UID = (SOURCE TABLE) JTable Record containing table or view you wish to make a copy of. Connection is figured out from this information. a data connection doesn't need to be active to make a screen for it.

Name = (DESTINATION [new] NAME)

This function might not belong in this unit - as it does it's task and returns an XML document - however because it is so integral to the User Interface - it's here.

TODO: Move this to the JASAPI side of things and make it work using the extensible xml mechanisms. e.g. i01j_api_xml.pp

jasapi_createsession uj_xml

JASAPIXML Function user login mechanism

JASAPI_CreateVirtualHost uj_xml

This is the JASAPI call that does the ENTIRE process of taking a JAS USER who DOES NOT have a JAS JET already and creates it start to finish and then emails the user with information to get in.

This will be normally invoked from the JobQueue - as it takes awhile. Certain requirements need to be met for this process to work:

Must have JAS Master Database User Account Account must have a JPerson record with a valid work email address.

PARAMETERS name = name of alias, dir, domain servername = business name or title of CRM fromemailaddress = used when system sends email. firstname, lastname, workemail

JASAPI_DBMasterUtility uj_xml

Parameters: JDCon_JDConnection_UID: Database connection in source DB to use Name to use making a connection if JDCon_JDConnection_UID is ZERO on entry bLeadJet: If True treat as Master Database, otherwise like a JET database.

Makes New Master databses or Jet databases and also upgrades existing databases.

JASAPI_Dispatch uj_xml

Runs JASAPIXML functions - This function is called automatically by JAS from uxxj_jcore when the MIME type is execute/jasapi internally. This MIME type is set internally when a parameter named JASAPI is passed in the URI or in the POST data. The value is expected to be the name of the JASAPI function you are calling. Note.. There are two sorts of JAS API functions. Those in binary and those used here which are for accessing binary functions over the wire, and should be thought of as JASAPIXML functions. They are akin to webservices.

See USERAPI_Dispatch for a similiar architecture and mechanism to make calls for user applications that work the same way.

JASAPI_DoesUserHaveJet uj_xml

Parameters: None Returns: link to user's JAS Jet CRM if they have one setup, blank otherwise

JASAPI_Email uj_email

Sends Specific kind of email: e.g. Task Reminder example: .?jasapi=email&type=taskreminder&uid=123456789

JASAPI_FilterSaveDef uj_xml

Makes a particular saved filter the users default by adding it to the jfiltersavedef table.

example: .?jasapi=filtersavedef&filtersave=1234

JASAPI_GetValue uj_xml

This JASAPI call performs the exact function that the TJADO or TCONNECTION classes offer. Session Validation is performed. Also, the user needs to have READ PERMISSION for the juserpref table or the call will fail.

jasapi_helloworld uj_xml

JASAPIXML Function sends out xml with the payload being simply "hello world" inside an xml file formatted to be iwf friendly.

JASAPI_JetBilling uj_xml

Handles daily updates to user records of folks owning JAS Jet's and on the first of the month turns values into the billable number of users to bill for the previous month. Note there is a Date Override for testing purposes.

Check if Date is the First. Note this method might be problematic if the code doesn't run on the 1st of the month. We can use the Date Override though. This will be harder if code doesn't run on 1st but runs on second, in either case we can run a query to rollback the accumulator for all the JETs and then run this function as if it was the first. Downside, without more SQL efforts, we lost a day of "user counting" which works in customer's favor if don't run a process to recount for the said day. Again this routine's data override will assist.

JASAPI_MakeColumn uj_xml

JASAPI_MakeColumn is identical to JAS_MakeColumn except that it takes jasapi=MakeColumn as then indication that is what is being requested versus cnAction_MakeColumn=56; The NAME (JASAPI) is kept to clearly indicate which functions use the JAS API, AJAX friendly paradigm to invoke them. JASAPI_???? Tend to be in uxxj_xml.pp while other "JAS" functions (actions) can be anywhere and are not guaranteed to return xml, they can be entire "mini applications" etc with HTML UI etc.

JASAPI_MakeTable uj_xml

make database table using data in jtable and jcolumn .?jasapi=maketable&JTabl_JTable_UID=1000

JASAPI_MoveQuickLink uj_xml

Used to allow a user to click a button in jas to move a quicklink up or down (really left or right)

JASAPI_NewConAndDB uj_xml

pas parameter: NAME in URL for the name of the user,password and database. Note the permissions only allow access from localhost - this is why password scheme works. Makes new user, password and database and makes a JAS connection for it using same info. This routin passes back the JDConnection UID when successful or a ZERO if it failed. Note the connection IS NOT ENABLED so the next step to make the database etc would be to load the info into an instance of JDCON, Doo all you have to do then SAVE the connection as ENABLED and send the Cycle command into the JobQueue of the Squadron Leader databse.

jasapi_register uj_xml

User Registration with Email Verification

jasapi_removesession uj_xml

JASAPIXML Function user logout mechanism

JASAPI_RenderQuickLinks uj_xml

RenderQuicklinks - returns the appropriate quicklinks rendered as an html unordered list with only the css class attribute of the top ul set to "jas-menu" (maybe jas-quicklinks if menu thing doesnt work out I'll make a special mod to all themes for the quicklink bit.) Current Session and Owner Ship of Links taken into account.

Random Note: about the end goal to bring the xml api under the hood error status etc exactly like the html rendered one - so the same file logging infrastructure is utilized. We're close.. just not "done" yet. here is how the quicklinks xml apirender function does it:

if the JAS_LOG hits this same field list.. then bring inline the same exact logging functions to the xml side and making those "error" or "codes" count systemically.. then - that's the right way.. so that's the direction for that. p_Context.bErrorCondition:=true; p_Context.u8ErrNo:=201012201638; p_Context.saErrMsg:='RenderQuickLinks - Trouble with Query.'; p_Context.saErrMsgMoreInfo:='Query: '+saQry;

One other reminder - remember to make the log stuff that get's thunked to the database for management quick response etc happens after the page is served (for performance) before thread is recycled.

JASAPI_RowExist uj_xml

example: .?jasapi=rowexist&UID=1000&JTabl_JTable_UID=1

JASAPI_SetDefaultSecuritySettings uj_xml

This routine IS Only for Squadron leaders who know what they are doing. This is 100% destructive to ALL security Settings! It Sets Up defaults, deletes all existing everything for security, and then adds the default security groups, adds a ton of permissions for screens and tables and then assigns ALL permissions to ALL GROUPS! (Leaving a lot of labor to Do for the bloke who fired this puppy OFF!

JASAPI_SetDisplayHeaders uj_xml

returns cookie JASDISPLAYHEADERS set to "on" or "off" based on value set. this ajax cookie stuff is more work than necessary as javascript could be used to handle such bits - but this approach allows for some neat things if they are stealing bandwidth etc during use to much.

JASAPI_SetDisplayQuickLinks uj_xml

returns cookie JASDISPLAYQUICKLINKS set to "on" or "off" based on value set. this ajax cookie stuff is more work than necessary as javascript could be used to handle such bits - but this approach allows for some neat things if they are stealing bandwidth etc during use to much.

JASAPI_SetIconTheme uj_xml

returns cookie JASICONTHEME set to one of the icon themes' names. this ajax cookie stuff is more work than necessary as javascript could be used to handle such bits - but this approach allows for some neat things if they are stealing bandwidth etc during use to much.

JASAPI_SetTheme uj_xml

Returns a Theme Cookie - pass jastheme=name

JASAPI_TableExist uj_xml

JASAPI_TableExist is identical to bJAS_TableExist except that its called using the JASAPI convention: jasapi=maketable which is AJAX friendly.

JASAPI_???? Tend to be in uxxj_xml.pp while other "JAS" functions (actions) can be anywhere and are not guaranteed to return xml, they can be entire "mini applications" etc with HTML UI etc.

JASAPI_UserPrefHelp uj_xml

This JASAPI call accepts a parameter named UID which is the UID for the juserpref table. In this table is the jhelp UID that we use to grab the html help for both the user and (if an admin) the admin help too, in the appropriate language for the user.

jasapi_validatesession uj_xml

JASAPIXML Function Takes information from CGIENV and ascertains if the "session" is valid/logged in.

JASSQLTool uj_ui_stock

This is a powerful tool for administrators to allow managing and analyzing data directly from any DBMS data source connected to JAS. To call it up: http://jas/?action=JASSQLTool

JASSync uj_dbtools

This function literally synchronizes Itself with another JAS Installation connected as a Datasource. It doesn't work over the web via some sort of webbrowser connection. A web browser is the default way to invoke the synchronization however.

JAS_Calendar uj_ui_stock

This function renders an interactive month calendar that shows colored dates where open items (tasks, meetings, and calls) exist. From it you can create new tasks, calls, meetings and jump to existing ones.

JAS_CopySecurityGroup uj_ui_stock

This function copies an existing security group's settings into a new security group, essentially using the source group as a template.

JAS_CreateJet uj_ui_stock

This function interactively works with the user to gather information needed to create a new JAS Jet (new system). this routine handles preventing duplicates and verifying the alias name is valid and that the from email address looks like a valid email address. This function also PREVENTS a USER from creating more than one system.

JAS_CreateScreensForTable uj_ui_stock

URI Parameters: JTabl_JTable_UID = JTable Record containing table or view you wish to make a search screen and a data screen for. Connection is figured out from this information. a data connection doesn't need to be active to make a screen for it. Name = If not passed resorts to JTable Table Name. Whether passed or not however, if the Screen Name + ' ' + 'Search' or Screen Name + ' ' + 'Data' already exists then an error is thrown.

This function might not belong in this unit - as it does it's task and returns an XML document - however because it is so integral to the User Interface - it's here.

TODO: Move this to the JASAPI side of things and make it work using the extensible xml mechanisms. e.g. i01j_api_xml.pp

JAS_DeleteRecordLocks uj_locking

This procedure is called primarily from the error page when a user encounters problems performing an action and chooses to try deleting their own record locks as a way of remedying a problem themselves before contacting their administrator. An error will result if the session is not valid. To Be clear: This function deletes all locks associated with the current session.

JAS_DeleteRecordLocks_StockUI uj_ui_stock

This function calls the JAS API call JAS_DeleteRecordLocks to delete the all the record locks owned by the currently logged in user. This function puts a face on it so there is output so that the user knows the action was performed.

JAS_DeleteScreen uj_ui_stock

URI Parameters: JScrn_JScreen_UID = JScreen UID you wish to delete

TODO: Move this to the JASAPI side of things and make it work using the extensible xml mechanisms. e.g. i01j_api_xml.pp

JAS_DeleteTable uj_ui_stock

 

JAS_DiagnosticHTMLDump uj_ui_stock

I was having trouble toggling the debug output today - verbose, verbose local, and things weren't revealing what was wrong aside from the fact I broke it. This diagnostic tool is an attempt to FORCE the issue and end up with a useful leftover tidbit for administrators needing to look about

JAS_EmptyCache uj_ui_stock

This removes all the files and directories from the configured cache folder usually found ./jas/cache/

JAS_Help uj_ui_stock

This function is part of the help frame work. When linked to from various pages throughout the system, a HELPID (Help_JHelp_UID) is passed which allows looking up the jhelp table to get language sensitive HTML text, and VIDEOS to assist users with the system.

JAS_Log uj_context

this appends to ErrorXXDL with information in TCONTEXT added to the info being recorded to help debugging things. Unit Test Created - Action 11 - cnAction_Test_JAS_LogThis

JAS_Log uj_context

this appends to ErrorXXDL with information in TCONTEXT added to the info being recorded to help debugging things. Unit Test Created - Action 11 - cnAction_Test_JAS_LogThis

JAS_Log uj_context

this appends to ErrorXXDL with information in TCONTEXT added to the info being recorded to help debugging things. Unit Test Created - Action 11 - cnAction_Test_JAS_LogThis

JAS_Log uj_context

this appends to ErrorXXDL with information in TCONTEXT added to the info being recorded to help debugging things. Unit Test Created - Action 11 - cnAction_Test_JAS_LogThis

JAS_MenuEditor uj_menueditor

This procedure is the main entry point for the JAS menu editor it's called from uxxj_jcore

JAS_MenuExport uj_menueditor

Exports a JAS Menu from any level.

JAS_MenuImport uj_menueditor

Imports a JAS Menu to the Main Root Node of the Menu System

JAS_Merge uj_ui_stock

Merges two records into one with interaction from user

JAS_NoteSecure uj_fileserv

returns Note providing session is valid and JNote_Table_ID points to jsecperm and JNote_Row_ID points to the required permission. If null or zero, no permission required to get it! So pay attention! LOL ;)

example: ?action=????&decodeuri=yes&uid=100

where UID = [JNote_JNote_UID]

Language is taken into consideration!

JAS_PromoteLead uj_ui_stock

Promotes a lead to appropriate Company and Person records, creating or merging as directed by user.

JAS_Register uj_ui_stock

This function toss out the sys_register.jas template which uses the jasapi call "register" so that dynamic toggle/hiding of the register button can be performed according to the JET's settings without needing GLOBAL SNR variables.

JAS_RenderMindMap uj_fileserv

 

JAS_ResetPassword uj_ui_stock

This routine facilitates resetting a password for a user automatically if they forgot their password.

JAS_verifyemail uj_ui_stock

This routine is used by the registration process to verify a user's email address

JAS_XmlTest uj_xml

JASAPIXML Function This function just returns a XML response using the CreateIWFXML function but note this function has a random "error" component. Odds 1 out of 100. This was created to facilitate testing "hitting" the JAS server and having it occasionally simulate errors. The error message clearly states the error was randomly generated so you know if a real error occurred or a fake one.

JIconHelper uj_iconhelper

============================================================================= ============================================================================= ***************************************************************************** ============================================================================= ***************************************************************************** !@!Declarations ***************************************************************************** ============================================================================= ***************************************************************************** ============================================================================= () cnAction_JIconHelper = 44 Sample usages: http://10.1.10.3:81/?Action=44&subaction=ICONTHEMECREATOR&name=test&placeholdericons=false http://10.1.10.3:81/?Action=44&subaction=ICONTHEMECREATOR&name=test2&placeholdericons=true http://10.1.10.3:81/?Action=44&subaction=ICONTHEMEANALYZER&name=test http://10.1.10.3:81/?Action=44&subaction=ICONTHEMEANALYZER&name=Nuvola

LoadJMenuPath uj_menusys

NOTE: This Menu PATH DL is not Related to the gJMenuDL or the rContext.JMenuDL (copies of the master gJMenuDL), and is actually for storing information about the full path of a given MENU ID. The storage mechanism is "Use a lean JFC_DL, but typecast the JFC_DL.Item_lpPTR field as an LongInt, and store the JMenu_JMenu_UID's there.

This function is recursive so it is important that the menu it's diciphering is correct or you get into an infinate loop. The menu needs to be hierarchial.

You need to call this procedure with: p_Context structure alive and well as done by JAS when creating CGI threads. p_PATHDL instantiated as JFC_DL to be loaded with menu ids in lpPTR field p_JMenuDL either NIL (Then it uses the p_Context.JMenuDL) or a JFC_DL instantiated specifically by the bCreateAndLoadJMenuIntoDL function. p_iMenuID to begin bottom up path interrogation.

Login uj_ui_stock

============================================================================= This function handles the userinterface and responses for the user login functionality for JAS. To cause ther code to fire directly use: http://jas/?action=Login But note that calling it alone won't do much UNLESS you are logged in when you call it. How this function works is internally it calls bJAS_CreateSession and if the session is valid upon it's return, Login redirects to the URL indicated in the (jas dir)/config/jas.cfg file's DefaultLoggedInPage's value.

Note this function does respond with context specific data in the form of text stuffed into the SNR mechanism in JAS. To see what these values are, the stock sys_login.jas html template has a fully functioning login dialog and is integrated with Login responses so they get to the user. For example: Invalid Password message See bJAS_CreateSession for more information.

LogOut uj_ui_stock

This function handles the userinterface for users logging out. Internally it calls bJAS_RemoveSession, if that function fails for any reason an error dialog is rendered. If it is successful, then the user is directed to the page indicated in the (jas dir)/config/jas.cfg file's DefaultLoggedOutPage's value.

MultipartUpload uj_application

Internal Test for uploading files to the system upload infrastructure is currently only a folder in [jasdir]upload

RenderHtmlErrorPage uj_ui_stock

Typically you call JASError first, the call this function if you have an HTML interface.

ReplaceJASMenuWithMenu uj_menusys

This function handles rendering and caching the global nav menu

Drawing method used for GlobalNav (S-N-R <!–@JAS-MENU-->) is method 3 Horizontal - 2 level Tab navigation (Worked with original JAS theme) Horizontal - 3 TRaditional Menu Navigation

saGetErrorPage uj_ui_stock

This function is used internally by JAS to serve error pages the server may have generated based on the circumstances of the request. Pages such as Error 404 - Page Not Found for example. The files it uses are located in the (jas dir)templates/en/error/ folder. Where "en" can be whatever the current language is. So expanding JAS' error pages to other languages or customizing them is possible and fairly striaght forward.

saGetPage uj_fileserv

This is a shorterhand method of using saGetPAge. See the other one for the full description of saGetPage's functionality.

NOTE: Caller parameter added so you can track who called the function when debugging. Optimizations could include compiler directives to electively compile without the extra debugging code - then again - its helpful when you're LIVE too!

saGetPage uj_fileserv

This Function Call Has become a litle advanced. At least in that its time to Explain how it works. In short - it takes parameters that tell it how to build a HTML page from templates. It does this and returns the compiled HTML.

p_saArea: is the HTMLRIPPER template filename without the file name extension. If nothing is passed then the filename specified in grJASConfig.saDefaultPage is used (This file MUST Exist even if it is not actually used for SECTION ONLY calls Explained below) First this file is searched for in the same directory the JEGAS CGI THIN CLIENT is launched from. Then it looks in the configured JAS HTML directory for it. If an AREA file (Default or otherwise) cannot be located and loaded - an error is returned to the user. (Case Sensitive. Lowercase .html presumed)

p_saPage: This is the HTML file that has the SECTION you wish to load. It first search for this file in the directory the JEGAS CGI THIN CLIENT was launched in. If it is not there, it looks in the configured JAS HTML directory. If the file cannot be loaded, an error is generated. (Case Sensitive. Lowercase .html presumed) (Note: IF ANYTHING AT ALL IS PASSED in the p_saCustomSection parameter, then this PARAMETER is IGNORED!)

p_saSection: This is the NAME of the SECTION you want to RIP out of the p_saPage template. Sections are discerned from HTML comments that look like: <!–SECTION SECTIONNAME BEGIN–> <!–SECTION SECTIONNAME END–>

The above "SECTIONAME" is where you name your section. Do not use spaces, USE ALL UPPERCASE. The parameter you pass to look for the the section does not need to be in uppercase. This is done for you.

If the SECTION cannont be found in the html template file you specified in p_saPage, then the whole p_saPage data is sent. This is usually undesired, so make your HTML templates carefully.

(Note: IF ANYTHING AT ALL IS PASSED in the p_saCustomSection parameter, then this PARAMETER is IGNORED!)

p_bSectionOnly: If this parameter is passed as true, this function only returns the HTML in between the SECTION TAGS explained above or the p_saCustomSection value.

(optional) p_saCustomSection: This parameter allows you to send HTML and have it inserted into the AREA template. Because this overrides the p_saPage and p_saSection parameters, and allows you to pass your own CUSTOM SECTION into an AREA (htmlripper) template, you can get silly results by setting the p_bSectionOnly flag to true. Simply put, if you do that (not likely you should) this function will simply return your passed custom section. NOTE: Caller parameter added so you can track who called the function when debugging. Optimizations could include compiler directives to electively compile without the extra debugging code - then again - its helpful when you're LIVE too!

saHtmlRipper uj_fileserv

HTMLRIPPER is the pet name for the JAS templating system. HTMLRIPPER was originally created as a tool to make creating websites easier by not needing to have repetitive HTML code throughout a website. It has since matured into a pretty powerful templating system. The core of this templating system is "Function saGetPage".

This saHTMLRIPPER function is a wrapper for the basic HTMLRIPPER usage where you can have an AREA (template) and load content from a "PAGE" and selectively display a certain "SECTION" in the page as needed.

NOTE: Caller parameter added so you can track who called the function when debugging. Optimizations could include compiler directives to electively compile without the extra debugging code - then again - its helpful when you're LIVE too!

saJASGetUserCacheDir uj_user

Takes information from CGIENV and ascertains if the "session" is valid/logged in.

In either case it returns the cache Directory for a given user. If the folder doesn't exist, it is created.

saJASUserPref uj_user

User Preferences function. Basically this code returns the user preference based on the specified user id. If the preference cannot be associated directly with the user, than the preference is sought from the default preferences instead, if the preference can not be found either way, a blank is returned. It is up to the caller to decide how to deal with a returned empty value.

saJAS_DecryptSingleKey uj_sessions

this function takes the encrypted data and the UID passed as saSecKey and loads the record from the jseckey table and uses the public key to call uxxg_jcrypt.saJegasEncryptSingleKey to decrypt the passed data.

saJAS_GetSessionKey uj_sessions

This is just a random number generator

saRenderMenuAsXML uj_menueditor

Returns XML of JMenu starting at node specified in Menu ID parameter named p_saMID

u8NewConAndDB uj_dbtools

Makes new user, password and database and makes a JAS connection for it using same info. This routin passes back the JDConnection UID when successful or a ZERO if it fails. Note the connection IS NOT ENABLED so the next step to make the database etc would be to load the info into an instance of JDCON, Doo all you have to do then SAVE the connection as ENABLED and send the Cycle command into the JobQueue of the Squadron Leader databse.

WidgetBoolean uj_webwidgets

Creates a widget that gets inserted into outgoing web pages via the JAS SNR mechanisms. So, if you make a widget named MyTest in code, then whan that page is served there will be the necessary code for that widget in the SNR list. When your outout is about to leave the server, any instance of [#MyTest#] will be replaced by the code created by this function. Additionally, if this widget is placed correctly, then when the user submits their page back the the server, you will have your MyTest's submitted value in the incoming post or get variables from the user.

WidgetComboBox uj_webwidgets

Creates a widget that gets inserted into outgoing web pages via the JAS SNR mechanisms. So, if you make a widget named MyTest in code, then whan that page is served there will be the necessary code for that widget in the SNR list. When your outout is about to leave the server, any instance of [#MyTest#] will be replaced by the code created by this function. Additionally, if this widget is placed correctly, then when the user submits their page back the the server, you will have your MyTest's submitted value in the incoming post or get variables from the user. XDL Reference reference: name=caption, value=returned, u8User bit flags: (b0)1=selectable, (b1)2=selected, (b2)4=default

WidgetDateTime uj_webwidgets

Creates a widget that gets inserted into outgoing web pages via the JAS SNR mechanisms. So, if you make a widget named MyTest in code, then whan that page is served there will be the necessary code for that widget in the SNR list. When your outout is about to leave the server, any instance of [#MyTest#] will be replaced by the code created by this function. Additionally, if this widget is placed correctly, then when the user submits their page back the the server, you will have your MyTest's submitted value in the incoming post or get variables from the user.

WidgetDropDown uj_webwidgets

Creates a widget that gets inserted into outgoing web pages via the JAS SNR mechanisms. So, if you make a widget named MyTest in code, then whan that page is served there will be the necessary code for that widget in the SNR list. When your outout is about to leave the server, any instance of [#MyTest#] will be replaced by the code created by this function. Additionally, if this widget is placed correctly, then when the user submits their page back the the server, you will have your MyTest's submitted value in the incoming post or get variables from the user. XDL Reference reference: name=caption, value=returned, u8User bit flags: (b0)1=selectable, (b1)2=selected, (b2)4=default

WidgetEMail uj_webwidgets

Creates a widget that gets inserted into outgoing web pages via the JAS SNR mechanisms. So, if you make a widget named MyTest in code, then whan that page is served there will be the necessary code for that widget in the SNR list. When your outout is about to leave the server, any instance of [#MyTest#] will be replaced by the code created by this function. Additionally, if this widget is placed correctly, then when the user submits their page back the the server, you will have your MyTest's submitted value in the incoming post or get variables from the user.

WidgetHidden uj_webwidgets

Creates a widget that gets inserted into outgoing web pages via the JAS SNR mechanisms. So, if you make a widget named MyTest in code, then whan that page is served there will be the necessary code for that widget in the SNR list. When your outout is about to leave the server, any instance of [#MyTest#] will be replaced by the code created by this function. Additionally, if this widget is placed correctly, then when the user submits their page back the the server, you will have your MyTest's submitted value in the incoming post or get variables from the user. Use to make hidden input elements.

WidgetInputBox uj_webwidgets

Creates a widget that gets inserted into outgoing web pages via the JAS SNR mechanisms. So, if you make a widget named MyTest in code, then whan that page is served there will be the necessary code for that widget in the SNR list. When your outout is about to leave the server, any instance of [#MyTest#] will be replaced by the code created by this function. Additionally, if this widget is placed correctly, then when the user submits their page back the the server, you will have your MyTest's submitted value in the incoming post or get variables from the user.

WidgetList uj_webwidgets

Creates a widget that gets inserted into outgoing web pages via the JAS SNR mechanisms. So, if you make a widget named MyTest in code, then whan that page is served there will be the necessary code for that widget in the SNR list. When your outout is about to leave the server, any instance of [#MyTest#] will be replaced by the code created by this function. Additionally, if this widget is placed correctly, then when the user submits their page back the the server, you will have your MyTest's submitted value in the incoming post or get variables from the user. XDL Reference reference: name=caption, value=returned, i8User bit flags: (b0)1=selectable, (b1)2=selected, (b2)4=default

WidgetPhone uj_webwidgets

Creates a widget that gets inserted into outgoing web pages via the JAS SNR mechanisms. So, if you make a widget named MyTest in code, then whan that page is served there will be the necessary code for that widget in the SNR list. When your outout is about to leave the server, any instance of [#MyTest#] will be replaced by the code created by this function. Additionally, if this widget is placed correctly, then when the user submits their page back the the server, you will have your MyTest's submitted value in the incoming post or get variables from the user.

WidgetTextArea uj_webwidgets

Creates a widget that gets inserted into outgoing web pages via the JAS SNR mechanisms. So, if you make a widget named MyTest in code, then whan that page is served there will be the necessary code for that widget in the SNR list. When your outout is about to leave the server, any instance of [#MyTest#] will be replaced by the code created by this function. Additionally, if this widget is placed correctly, then when the user submits their page back the the server, you will have your MyTest's submitted value in the incoming post or get variables from the user. This Version places the Caption OVER the datafield.

WidgetURL uj_webwidgets

Creates a widget that gets inserted into outgoing web pages via the JAS SNR mechanisms. So, if you make a widget named MyTest in code, then whan that page is served there will be the necessary code for that widget in the SNR list. When your outout is about to leave the server, any instance of [#MyTest#] will be replaced by the code created by this function. Additionally, if this widget is placed correctly, then when the user submits their page back the the server, you will have your MyTest's submitted value in the incoming post or get variables from the user.

http://www.jegas.com
Generated by PasDoc 0.14.0.