Class CM_Customizer_Svc

Inherits

SY_Constant

Properties

LOCAL cNomadsOrigIOL$=CPL("IOLIST User$, Date$, Key$, DBlist$, DBXlat$")  
PROPERTY AllCode$   * Read Only *
PROPERTY CurrentUser$   * Read Only *
PROPERTY CurrentCompany$   * Read Only *
PROPERTY CompDBLoad$   * Read Only *
PROPERTY CompDBXlat$   * Read Only *
PROPERTY CompDBPath$   * Read Only *
PROPERTY CompNone   * Read Only *
PROPERTY ModuleFH   * Read Only *
PROPERTY ModuleCodes$   * Read Only *
PROPERTY ModuleCodesAlbert$   * Read Only *
PROPERTY ModuleCodesLegacy$   * Read Only *
PROPERTY ModuleDirs$   * Read Only *
PROPERTY ModuleList$   * Read Only *
PROPERTY LockFH   * Read Only *
PROPERTY LogFH   * Read Only *
PROPERTY OptsFH   * Read Only *
PROPERTY UdfFH   * Read Only *
PROPERTY UdfEntityFH   * Read Only *
PROPERTY UdfIolistFH   * Read Only *
PROPERTY UdfOptionsFH   * Read Only *
PROPERTY ScriptFH   * Read Only *
PROPERTY ScriptLinkFH   * Read Only *
PROPERTY ScriptSettingsFH   * Read Only *
PROPERTY UIScriptLinkFH   * Read Only *
PROPERTY UIScriptSettingsFH   * Read Only *
PROPERTY oPvxDax  
PROPERTY oSelector  
PROPERTY LegacyUDFMapFH   * Read Only *
PROPERTY LibExtensionAlbert$=".M4L"  
PROPERTY PanelNameLength=12  

Methods

FUNCTION CleanupUDF()  

Cleanup UDF information in work file for current entity - delete all records that have not been modified

Returns [boolean] retSUCCESS(1)
FUNCTION CompareChanges(srcRec$, udfRec$, status$)  

Compare two UDF records to identify changes

ParameterDescription
srcRec$ [string, in] source record of data for user defined field
udfRec$ [string, in] existing record (in CM_UDF) of data for user defined field
status$ [string, out] status of field ("Mod" if changes are found)
Returns retSUCCESS(1) to display row, retFAILURE(0) to skip field
FUNCTION CompareWithPublished(srcRec$, status$)  
FUNCTION CompareWithPublished(srcRec$, status$, seq$)  

Compare data for user defined field to published definition

ParameterDescription
srcRec$ [string, in] source record of data for user defined field
status$ [string, out] status of field
seq$ [string, out] *Optional* Sequence number associated with published record
Returns retSUCCESS(1) to display row, retFAILURE(0) to skip field
Status Codes
ValueDescription
Add Addition
Del Delete
Mod Modified
FUNCTION CreateLib(library$)  
FUNCTION CreateOpenUDF(entity$, desc$, outFH)  

Open UDF Work file; create file, if necessary

ParameterDescription
entity$ [string, in] Entity code for UDF
desc$ [string, in] Description of Entity for UDF
outFH [int, out] file handle for opened file
Returns [boolean] retSUCCESS(1) if file open/create succeeded, otherwise retFAILURE(0)
FUNCTION DefineUndoFile(root$, FH, name$)  
FUNCTION DefineWorkFile(root$, ext$, FH, name$)  
FUNCTION DeleteCurrentUDFWorkTable()  

Delete User UDF Work file for current active entity

Returns [boolean] retSUCCESS(1) if delete succeeded, otherwise retFAILURE(0)
FUNCTION DeleteUDFWorkTable(entity$)  

Delete UDF Work file for specified entity

Returns [boolean] retSUCCESS(1) if delete succeeded, otherwise retFAILURE(0)
FUNCTION EntityFieldStatus(tmpFH, tmpRec$, status$)  

Get status for user defined field (compare Attribute and DataSource information to published definition)

ParameterDescription
tmpFH [int, in] file handle for the source table (temporary work file)
tmpRec$ [string, in] record of data from temporary work file for user defined field
status$ [string, out] status of field
Returns retSUCCESS(1) to display row, retFAILURE(0) to skip field
Status Codes
ValueDescription
+ Addition
- Delete
* Modified
FUNCTION EntityHasChanges()  

Get status of all user defined fields for current entity

Returns [boolean] retSUCCESS(1) is changes exist, otherwise retFAILURE (0)
FUNCTION EntityUndoChanges(tmpFH, entity$, field$)  

Undo pending changes for entity field

ParameterDescription
tmpFH [int, in] file handle for the source table (temporary work file)
entity$ [string, in] Entity code for UDF
field$ [string, out] Entity field
Returns retSUCCESS(1) if published version exists and can undo changes, otherwise retFAILURE(0)
FUNCTION FetchCustomDirectories()  
FUNCTION FetchCustomLibs(dirList$)  
FUNCTION FetchDataDirectories(module$)  
FUNCTION FetchLegacyUDFMap$(legacyENT$, opt$)  
FUNCTION FetchMirrorTables$()  
FUNCTION FetchOrig$(nomadsOrig$, code$)  
FUNCTION FetchTableCols$(table$)  
FUNCTION FetchTableCols$(table$, opt$)  
FUNCTION FetchTableCompany$(table$)  
FUNCTION FileInfoForUDF(entity$, filename$, path$)  

Get name and path for file to store user defined fields for an entity

ParameterDescription
entity$ [string, in] Entity code for UDF
filename$ [string, out] File name user to store user defined fields for entity
path$ [string, out] Path to use for file
Returns retSUCCESS(1)
FUNCTION FormDescription$(form$, library$)  
FUNCTION FormDescription$(form$, libFH)  
FUNCTION FormNameFormatted$(form$)  
FUNCTION FormNameFormatted$(form$, extension$)  
FUNCTION GetGridColumns$(libName$, gridName$, level$)  
FUNCTION GetGridColumns$(libName$, gridName$)  

Get the list of column names defined for a grid in a certain Library.

ParameterDescription
[input, string] libName$ - Name of the library
[input, string] gridName$ - Name of the grid control
[input, string, optional] level$ - Factory level of the desired grid set. Default will resolve to B, then Y, and last Z.
Returns [string]
ValueDescription
SEP delimited list of column names found in SY_GridDefinition.
FUNCTION GetKeyColumns$(table$)  
FUNCTION LibDescription$(libPath$)  
FUNCTION LibDescription$(libFH)  
FUNCTION LibLocked(libPath$)  
FUNCTION LibLocked(libPath$, form$)  
FUNCTION LibModifiedDate$(libFH)  
FUNCTION LockOut(option$)  
FUNCTION LockOut(option$, type$, entity$, desc$, retMsg$)  
FUNCTION LogClear(lib$, form$, user$, comp$)  
FUNCTION LogPurge()  
FUNCTION LogWrite(lib$, form$, user$, comp$, path$)  
FUNCTION MergePublishedIntoPending(pubFH, pndFH, entity$, bytes)  

Get name and path for file to store user defined fields for an entity

ParameterDescription
pubFH [input, FileHandle] FileHandle of published information (CM_UDF)
pndFH [input, FileHandle] FileHandle of pending information (Pending file or *MEMORY*)
entity$ [input, string] Entity code for UDF
bytes [output, int] total number of bytes for UDF fields and data source records
Returns retSUCCESS(1)
FUNCTION OpenFiles()  
FUNCTION Options(key$, rcd$, option$)  
FUNCTION ParseUserComp(lib$, user$, comp$)  
FUNCTION ParseUserComp(lib$, user$, comp$, libRaw$, libPth$)  
FUNCTION PvxScriptCheck()  
FUNCTION SetCode$(option$)  
FUNCTION SetCode$(option$, code$)  
FUNCTION SetCurrentUserCompany(user$, company$)  
FUNCTION SetTitle(title$)  
FUNCTION TaskInUse()  
FUNCTION TempFile$(fileName$, suffix$)  
FUNCTION UDTCreate(name$, desc$, keyName$, keyDesc$, keySize)  
FUNCTION UpdateOrig(nomadsOrig$, key$)  
FUNCTION UpdateOrig(nomadsOrig$, key$, dbL$, dbX$)  

Properties inherited from: SY_Constant

retFAILURE, retSUCCESS, retNEW, retWARNING, retCANCEL, retYES, retNO, msgYES$, msgNO$, msgCANCEL$, msgOK$, msgRETRY$, msgABORT$, msgIGNORE$, msgNOTONFILE$, msgTIMEOUT$, msgDISABLE, msgACTIVE, msgLinkHELP$, msgLinkMSG$, isFALSE, isTRUE, isYES$, isNO$, isBUSY$, edtNONE, edtEXISTS, edtNEW, ctlDISABLE, ctlENABLE, ctlSHOW, ctlHIDE, ctlLOCK, ctlUNLOCK, ctlLOCKORDISABLE, ctlUNLOCKORENABLE, popHIDE, popDISABLE, popSHOW, popSHOWCHECKED, grdMODEVIEW, grdMODEMAINT, grdMODEADD, filCREATE, filLOCK, filCREATELOCK, filGLOBAL, filCREATEGLOBAL, filLOCKGLOBAL, filCREATELOCKGLOBAL, filCHANNEL, filRAW, filPURGE, filLOAD, filINPUT, filNOOBJECT, filPVX, filREFRESH, filPVX4$, filPVX5$, pthCOMPANY$, pthOTHERCOMPANY$, pthPRCOMPANY$, pthOTHERPRCOMPANY$, pthSYSTEM$, pthUSER$, pthSOA$, pthHOME$, pthROOT$, pthDICTIONARY$, pthTEXTOUT$, pthLOCK$, pthLOCKSYS$, pthPREFIX$, pthARCHIVE$, pthLOGFILES$, folderCOMMONPROGRAMFILES, folderCOMMONAPPLICATIONDATA, errOBJECT, errSYSTEMLOCK, errCONTINUE, errEMBEDDEDIO, errSYSLOCK, extSQLCREATETABLE$, extSQLALLOWNULLDATES$, dbALL$, dbNONE$, dateTOSTRINGFORMAT$, dateLONGMASK$, dateSHORTFMT, dateLONGFMT, dateYEARFIRST, dateMONTHFIRST, dateDAYFIRST, timeMINUTESMASK$, timeMINUTES24MASK$, timeSECONDSMASK$, timeSECONDS24MASK$, idxPRIMARY$, idxBATCH$, idxDISPLAY$, dirFIRST, dirLAST, dirNEXT, dirPREVIOUS, typALPHANUM, typZEROFILL, typCHARNUM, typMASTERNUM, typALPHANUMNF, typMASTERNUMC, typALPHA$, typNUMBERS$, typALPHANUM$, typALPHANUMNF$, typCHARNUM$, typMASTERNUM$, typMASTERNUMCLEN, modTASKOTFDISALLOW$, logALLACTIVITY$, logACTIVITY$, logERROR$, logACTNEWCUSTOMER$, logACTDATASYNC$, logACTDATAIMPORT$, logACTOPTIONCHANGED$, logACTPROGRAMLAUNCH$, logDFDM$, logSECURITY$, logTASKSCHEDULER$, logWEBERROR$, logVISUALINTEGRATOR$, logEntryIDLength, chkOFF$, chkON$, chkGRAYED$, secVIEWONLY, secCREATEONLY, secMODIFYONLY, secCREATEMODIFY, secDELETEONLY, secCREATEDELETE, secMODIFYDELETE, secFULLACCESS, secDEFAULTUSER$, secDEFAULTROLE$, regHKEY_CLASSES_ROOT, regHKEY_CURRENT_USER, regHKEY_LOCAL_MACHINE, regHKEY_USERS, regHKEY_CURRENT_CONFIG, regODBC_PATH$, regMAS_PATH$, E3_MYHANDLE, E3_TASK, E3_QUIT, E3_COCHANGE, E3_DATECHANGE, E3_USERCHANGE, E3_SRVRPATH, E3_HELPFILE, E3_TECHSUPPORT, E3_QUERYTOQUIT, E3_SUPERVISOR, E3_CUSTOMIZE, E3_SWITCHMODULE, E3_DISABLEWIN, E3_CURSOR, E3_USERID, E3_PRIVATETASK, E3_CHAT, E3_BROADCAST, E3_RELOAD, E3_PASSTHROUGH, E3_EXECUTE, E3_EXPCOCHANGE, E3_EXPTASK, E3_EXPLAUNCH, E3_SILENT, E3_DIRECT, E3_NODELIST, E3_OCXITEM, E3_MODULEID, E3_CUSTFAV, E3_HOMEPAGE, E3_MINIMIZE, E3_UNDOCKED, E3_DOCKED, E3_PUBLICTASK, E3_LAUNCHURL, E3_BTNCHANGE, E3_STDBTNRELOAD, E3_MYBUSINESS, E3_REGLOADED, E3_LOADED, E3_V4TASK, E3_PUBMODIFY, E3_TASKRELOAD, E3_SETAUTOHIDE, E3_COCHANGE2, E3_TASK_NC, E3_V4TASK_NC, E3_TASK_ALTC, E3_V4TASK_ALTC, E3_PASSWORD, E3_LAUNCHVIEW, E3_LAUNCHBIETASK, E3_CLEANUPBIE, E3_STARTVIEW, E3_BIE_ADMIN, E3_HELPPATH, E3_CUSTOMERID, E3_MASVERSION, E3_LAUNCHEMBEDDED, E3_LAUNCHERMENU, E3_APP_POINTSIZE, E3_LAUNCHERVERSION, E3_DISABLE, E3_ENABLE, E3_SHOW, E3_HIDE, E3_REFRESH, E3_LIBMASTER, WM_COPY, wtsINITIALPROGRAM, wtsAPPLICATIONNAME, wtsWORKINGDIRECTORY, wtsOEMID, wtsSESSIONID, wtsUSERNAME, wtsWINSTATIONNAME, wtsDOMAINNAME, wtsCONNECTSTATE, wtsCLIENTBUILDNUMBER, wtsCLIENTNAME, wtsCLIENTDIRECTORY, wtsCLIENTPRODUCTID, wtsCLIENTHARDWAREID, wtsCLIENTADDRESS, wtsCLIENTDISPLAY, wtsCLIENTPROTOCOLTYPE, thmNORMAL, thmMETAL, thmOLIVE, rptREPORTTYPESTD, rptREPORTTYPELABEL, rptREPORTTYPEMULTCOL, rptISTRUE, rptISFALSE, rptISDEFAULT, rptPORTRAIT, rptLANDSCAPE, rptASCENDING, rptDESCENDING, rptRIGHTALIGN, rptLEFTALIGN, rptHORCENTERALIGN, rptLSSINGLELINE, rptSTSUM, rptSTAVERAGE, rptSTCOUNT, rptDFLTHSPACING, rptDFLTVSPACING, rptDFLTFONTSIZE, rptDFLTLEFT, rptDFLTTOP, rptTWIPSPERCHARW, rptTWIPSPERCHARH, rptSVTREPORTTITLE, rptEDTDISKFILE, rptGCANYVALUE, rptGCDAILY, rptCRDATEFIELD, rptCRDATETIMEFIELD, crEFTCrystalReport, crEFTRichText, crEFTWordForWindows, crEFTExcel, crEFTPortableDocFormat, crEFTHTML32, crEFTHTML40, crEFTExcelRecord, crEFTText, crEFTCharacterSeparatedValues, crEFTTabSeparatedText, crEFTEditableRTF, crEFTXml, crEFTRPTR, crEFTExcelWorkbook, cContextKeyLen1, cContextKeyLen2, cContextKeyLen3, adCmdText, adCmdStoredProc, adClipString, adExecuteNoRecords, adVarChar, adInteger, adParamInput, adParamOutput, adParamInputOutput, adParamReturnValue, adTextNoRecords, adOpenForwardOnly, adOpenStatic, adLockReadOnly, adUseServer, adUseClient, dbTMP$, dbTEMPDB$, dbSYSDB$, dbPVXDDF, dbPVXDB, dbMYSQL, dbADO, dbSQL, LastErrorMsg$, LastErrorNum$, SageCloudAppDesc$, IolNomads$

Methods inherited from: SY_Constant

GetNOMADSIolist$(), MaskString(), RawString(), ClassValidateEMailAddress(), dateTODAY$(), Element$(), fmtMODCODE$(), fmtMODPREFIX$(), PERFORM FunctionBreak(), GetExceptionMsg$(), GetFileName(), GetJobTitles(), GetPrinterProps(), GetRecordCount(), isALPHA(), isDATE(), isNUMERIC(), MsgPath$(), ParseString(), ParseTagField(), Position(), QUO$(), ValidateFormatType(), ZeroFill$()