project BLF > class Business Component > method StartPersistence

Description

Start the persistence component, if not yet running.
The component will be run only once and will be kept into memory until the server shuts down (stateless) or the user disconnects (state-reset).


Parameters


ohPersistenceoutputhandleHandle to the correct persistence component.
oiReturnStatusoutputintegerReturn status of the method.


Internal usage


BLF
method business.ExitInstance
method business.GetCustomFieldValues
method business.InitInstance
method business.StoreState
method database.ApiForcePublish
method database.ApiGetIdentification
method database.DataLoad
method database.DataSave
method database.DataSaveWorker
method database.GetActivitiesForObject
method database.PostSave
method BBaseDaemonProcessor.IterationEnd
method BBaseDaemonQueue.ApiClearDaemonQueue
method BControlProperty.DataLoadByWindowActivity
method BControlProperty.DeleteControlProperty
method BControlProperty.RemoveCustomFieldFromUI
method BCustomField.BusinessFieldIsInUse
method BCustomField.BusinessFieldValueIsInUse
method BCustomField.PostSave
method BDocumentLink.SaveDocumentList
method BFcTranslation.ApiLoadBusinessTranslations
method BNumber.CommitNumber
method BNumber.GetNumber
method BNumber.ReleaseNumber
method BNumber.StoreNumber
method BQueryCache.ApiDeleteQuery
method BQueryCache.RunQuery
method BReportVariant.XmlObjectDetail
method BStoredSearch.XmlObjectDetail
method BSystem.ApiResetClientCacheIndication
method BSystem.PostTransaction
method BTimeOutDaemonProcessor.PerformWorkItem
method Session.ApplicationLogin
method Session.DeleteAsExternalControl
method Session.ExitInstance
method Session.IsTimedOut
method Session.MarkAsExternalControl
method Session.SetDebugLevel
method Transaction.CommitTransaction

QadFinancials
method BAutoNumber.GetAutoNumber
method BBaseDaemonProcessor.LoopForWorkAutoRecoverDaemons
method BBaseDaemonProcessor.UpdateSessionTimeStamps
method BBalanceDaemonQueue.CreateBalanceDaemonQueue
method BBankImportLine.ProcessBankImpLineAction
method BBill.PostSave
method BBill.SetBillDate
method BBudgetRebuild.ApiRebuildBudget
method BBudgetRebuild.ApiRebuildBudgetDIRECT
method BCInvoice.PostSaveDynamicCreations
method BCInvoice.PostSaveLegalDocument
method BCInvoice.PreSave
method BCInvoice.UpdateCInvoicesPaymentReference
method BCubeDaemonQueue.CreateFRWCubeDaemonQueue
method BDebtor.ApiUpdateOpenOrderTotal
method BDebtorBalance.PreSave
method BDInvoice.PostSave
method BDInvoice.PostSaveDynamicCreations
method BDInvoice.PreSave
method BDPaymentSelection.AdditionalUpdatesDInvoice
method BDPaymentSelection.DeleteDPaySelLine
method BExpenseNote.MyDataLoad
method BHistoryDaemonProcessor.PerformWorkItemDIRECT
method BHistoryDaemonQueue.CreateHistoryDaemonQueue
method BPosting.GetPostingIDsForXLSIntegration
method BPosting.MyDataLoad
method BPosting.PostSave
method BPosting.PostSaveDynamicCreations
method BPosting.PreSave
method BJournalEntry.ApiSetPostingStatusChange
method BJournalEntry.AutoUpdatePostingVatVatGroups
method MfgDatabaseComponent.GetNextOidValue
method BMfgDomain.PreSave
method BPaymentSelection.ApiChangePaymentSelInProcessing
method BPaymentSelection.ChangeStatusPaymentSelInBatch
method BPaymentSelection.ChangeStatusPaymentSelInProcessing
method BPaymentSelection.UpdatesCInvoiceIsSelected
method BPostingHist.PostSaveCreateDIRECT
method BPostingHist.RebuildHistory
method BPostingHist.UpdatePostingHistDataLoad
method BPostingTemplate.UpdateOrCreateTemplate
method BPostingTemplate.UpdateTemplateTimesUsed
method BQCrossCyPosting.ApiProcessQCrossCyPostingJE
method BReportingJournal.ApiUpdateReportingJournal
method BReportTree.DataLoadByInput
method BResource.ApiSynchronizeCustom
method BRevaluation.RevaluationPostDataLoad
method BSharedSetMerge.MergeBeforeMerge
method BSharedSetMerge.MergeFinish
method BSharedSetMerge.MergeInitClearReferencesSameTable
method BSharedSetMerge.MergeProfiles
method BStoredSearch.DataLoadByInputDIRECT
method BSharedSetMerge.MergeBeforeMergeGL


program code (program1/business.p)

run StartPersistenceInPool (input ih_Target,
                            output ohPersistence,
                            output oiReturnStatus).
if oiReturnStatus < 0 then return.

vhFcPersistence = ohPersistence.