Class SY_LineEntryHeader_bus

Inherits

SY_Maint

Properties

PROPERTY BatchEnabled   * Read Only *
PROPERTY Lines  
PROPERTY ScriptPreTotalsDone  

Methods

FUNCTION ActivityLogOverride()  

Method returns whether override logging has been activated for this line entry class. Primarily used from detail/tier classes.

Returns [numeric] returns value for cActivityLogWrite from SY_Maint
FUNCTION ActivityLogPrepare(nActionType, level$, levelKey$, summInfo$)  
FUNCTION ActivityLogPrepare(sActionType$, level$, levelKey$, summInfo$)  

Overload method from SY_Maint with additional parameters to track different levels of changes under one controlling header class

ParameterDescription
nActionType [input, numeric] Indicator of the type of activity to audit. Constants for this value are found in SY_Maint
sActionType$ [input, string] One character type to indicate different activity types. A-Added, D-Deleted, M-Modified, R-Renumbered, N-New, U-Updated. These flags will reflect the rowStatus variable for detail lines
level$ [input, string] One character type to indicate the level of activity. H-Header, L-Lines, T-Tier
levelKey$ [input, string] Formatted value of the key of the record for the entry. For detail lines this is Headerky-lineSeqNo-LineKey format.
summInfo$ [input, string] Accumulated information on the change including the from and to values of modifications to a record
Returns Always returns retSUCCESS
FUNCTION AddLine()  
FUNCTION AFMapTotalColumns(tmpRec$, tmpDestIOL$, tmpMultiplier)  
FUNCTION CLEAR()  
FUNCTION CommitLines()  
FUNCTION DELETE()  
FUNCTION Delete(key$)  
FUNCTION DeleteLine()  
FUNCTION DeleteLine(detailKey$)  
FUNCTION EditLine(detailKey$)  
FUNCTION InsertLine(insPoint$)  
FUNCTION MoveFirst()  
FUNCTION MoveLast()  
FUNCTION MoveNext()  
FUNCTION MovePrevious()  
FUNCTION ResetLine(detailKey$)  
FUNCTION ScriptPreTotals()  
FUNCTION SetCurrentKey(K$)  
FUNCTION SetHeader(header$)  
FUNCTION Write()  
FUNCTION WriteLine()  
FUNCTION LOCAL ActivityLogCreateFile(fileName$)  

Overridden method of the same method in SY_Maint. Used to create the log file entries from new memory file introduced to capture both header and line activity

ParameterDescription
logFileName$ [output, string] Name of logfile created for system activity log
Returns [boolean] retSUCCESS if file created successfully, retFAILURE if file not created
FUNCTION LOCAL ActivityLogWasLineRenumbered(level$, logKey$)  

Function scans through recorded cActivtiyLogAuditLineFH memory table looking for the same line key of the record that was deleted. If found then this record was renumbered. This method is used when creating the logfile and on deleted entries will scan for renumbered possibilities.

ParameterDescription
level$ [input, string] level of activity. H-header, L-line, T-Tier
logKey$ [input, string] key of entry that we are scanning for.
Returns [boolean] retSUCCESS if renumbered key is found, retFAILURE if no renumbered key found
FUNCTION LOCAL ClearLastRecord()  

Properties inherited from: SY_Maint

cActionWrite, cActionDelete, cActivityLogFilePrefix$, DocDateWarnDisplayed, DocDateWarnStatus, EditState, RecordChanged, FirstFailure$, DocumentTotal, ReadOnlyReason$, UDTValidation$, ViewOnly, CurrentPrecision, DocDateWarnForceOff, DocDateWarnObject, ScriptObject, ImportTest

Methods inherited from: SY_Maint

ChangedRecordCompare(), ChangedRecordInfo(), Clear(), ClearRecord(), ConfirmDelete(), CopyFrom(), ExportToCSV(), GetColumnInfo(), GetColumnProperties$(), GetDefaults(), GetOrigRecord$(), GetPropertyValue(), GetValidationGroups$(), ResetDocDateWarnState(), SetCopyKeyValue(), SetDocDateWarnDisplayed(), SetDocDateWarnOff(), SetKey(), SetKeyValue(), SetPartialRecord(), SetRecord(), SetToReadOnly(), SetValue(), SetValues(), Write(), ActivityLogCreateFile(), ActivityLogPrepare(), ActivityLogSetMessage$(), ActivityLogWrite(), CallScript(), CheckForAdvancedFieldSettings(), CheckForScripts(), CheckNullRequiredField(), PERFORM ChildValidate(), ClassValidateDate(), ClassValidateTelephoneNo(), ClearSetFiles(), ColInfoInitAll(), ColInfoInitDefaults(), CommitRow(), GetPropertyCommon(), InitColInfo(), InitScriptEngine(), InitWorkTable(), IsColInIOList(), IsValid(), LoadColInfo(), OpenMainTable(), ParseExtField(), RemoveColToSkip(), ResetRow(), RetrieveColInfo(), SetDefaults(), SetFilter(), SetMode(), SetParentHandle(), SetValueNoValidate(), StoreColToSkip(), ValidateAll(), ValidateAllRecord(), ValidateColInfo(), ValidateRule()