Class FL_Options_bus

Inherits

SY_Maint

Properties

LOCAL cIsSysDB=isFALSE  
LOCAL cMainTable$="FL_Options"  
LOCAL cModuleCode$="F/L"  
LOCAL cBookDefinitionNone$="00"  
PROPERTY BookDefinitionFieldList$   * Read Only *
PROPERTY FiscalPeriodEndDateList$   * Read Only *
PROPERTY FiscalPeriodList$   * Read Only *
PROPERTY FiscalYearList$   * Read Only *
PROPERTY NumberOfFiscalPeriods   * Read Only *
PROPERTY PostingBookList$   * Read Only *
PROPERTY NumberOfPostingBooks   * Read Only *
PROPERTY APIsSetup   * Read Only *
PROPERTY POIsSetup   * Read Only *
PROPERTY SFADataOutOfSync   * Read Only *
PROPERTY SkipPostWriteRec  

Methods

FUNCTION CalculatePeriodEndDates(fromPeriod)  
FUNCTION CheckSFACompanyId(id$)  

Checks if a SFA Company Id is valid without opening a connection I.e. coFALink'SetCompany(id$)

ParameterDescription
id$ [input, string] The SFA company id to check
Returns [boolean] Success if the Id is found in SFA, otherwise false.
FUNCTION ClearCompany()  

Function used by the UI to clear the SFA Company if it is no longer valid.

Returns [boolean] Success.
FUNCTION ClearDatabase()  

Function used by the UI to clear the SFA Database and Company if they are no longer valid.

Returns [boolean] Success.
FUNCTION CompleteConfiguration()  

Wrapper method to the FL_FALink'CompleteConfiguration() method, provided for the UI to ensure the workstation has completed any steps necessary to process this module.

FUNCTION Delete(key$)  
FUNCTION DropSFALink()  
FUNCTION GetCompanyBooks()  
FUNCTION GetCompanyBooks(sfaComp$)  

Function used to get a collection of posting books for the current SFA Company (includes closed books)

ParameterDescription
sfaComp$ [input, string] Optional SFA Company id.
Returns [object] A Collection of all posting books with their id and status for the current SFA Company
FUNCTION GetCompanyList$()  
FUNCTION GetDatabaseList$()  
FUNCTION InitSFALink()  
FUNCTION PopulateAssetTemplates()  
FUNCTION SetDefaults()  
FUNCTION SetPeriodEndDate(date$)  
FUNCTION Write()  

Properties inherited from: SY_Maint

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

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()