project BLF > class Persistence Layer > method GetNextValue

function returns integer

Description

Lookup next-value of a database sequence


Parameters


icSequenceinputcharacterdatabase sequence name

It is possible to provide extra sequences not known in the application database by extending the persistence layer class and adding a method named 'Next<icSequence>' which will be responsible for returning a unique value.


Internal usage


BLF
method BQueryCache.RunQuery
method Progress.LoadDraftInstance
method Progress.WriteCopy

QadFinancials
method BBudgetRebuild.ApiRebuildBudgetDIRECT
method BCInvoice.PostSaveDynamicCreations
method BDInvoice.PostSaveDynamicCreations
method BHistoryDaemonProcessor.PerformWorkItemDIRECTCreatePostingSafCombined
method BHistoryDaemonProcessor.PerformWorkItemDIRECTUpdPHist
method BHistoryDaemonProcessor.PerformWorkItemDIRECTUpdPHistFRW
method BPosting.GetPostingIDsForXLSIntegration
method BPosting.PostSaveDynamicCreations
method BJournalEntry.LoadTemplate
method BPostingHist.PostSaveCreateDIRECT
method BPostingHist.RebuildHistory
method BStoredSearch.DataLoadByInputDIRECT
method Progress.NextMfgIehHist
method Progress.NextMfgOid
method Progress.NextMfgSodresId
method TConvertInstalNETXML.SetOutputData


program code (program1/persistence.p)