project BLF > class Database Component > method DataNew

Description

Create a new database instance in the class temp-tables. Existing contents of the class temp-tables will be discarded.


Parameters


oiReturnStatusoutputinteger


Internal usage


BLF
method BBaseDaemon.ApiSynchronise
method BBusinessComponent.CreateComponent
method BCompany.ApiSynchronise
method BCorrLog.CreateCorruption
method BDocumentLink.StoreDocument
method BEventDaemon.ApiUpdate
method BFcSession.CreateFcSessionRecord
method BQueryCache.RunQuery
method BReportDaemon.UpdateSocketInformation
method BReportVariant.SetReportCBF
method BScanDaemon.ApiUpdateDaemonConfiguration
method BScanDaemonPerfWorkItem.ApiProcessSingleScanDaemonQueue
method BStoredSearch.apiSaveStoredSearch
method BWorkClass.ApiUpdate
method BWorkObject.CreateDraftWorkObject
method BXmlDaemon.ApiUpdate

QadFinancials
method BAddressType.ApiStdMaintainTT
method BBankEntry.ApiStdMaintainTT
method BBankNumber.ApiStdMaintainTT
method BBLWICountry.ApiStdMaintainTT
method BBusinessRelation.ApiStdMaintainTT
method BCDocument.ApiStdMaintainTT
method BCInvoice.ApiStdMaintainTTWithExtPost
method BCompany.ApiStdMaintainTT
method BCostCentre.ApiStdMaintainTT
method BCountry.ApiStdMaintainTT
method BCreditor.ApiStdMaintainTTV01
method BCurrency.ApiStdMaintainTT
method BDDocument.ApiStdMaintainTT
method BDebtor.ApiStdMaintainTT
method BDebtorEndUser.ApiStdMaintainTT
method BDInvoice.ApiStdMaintainTTWithExtPost
method BDInvoice.StdMaintainTTWithExtPost
method BDivision.ApiStdMaintainTT
method BDomain.ApiSynchronise
method BExchangeRate.ApiStdMaintainTT
method BFixedAssetAsset.ApiStdMaintainTT
method BGL.ApiStdMaintainTT
method BGLMask.ApiStdMaintainTT
method BJournal.ApiStdMaintainTT
method BPosting.ApiStdMaintainTT
method BPosting.StdMaintainTT
method BLayer.ApiStdMaintainTT
method BPaymentCondition.ApiStdMaintainTT
method BPeriod.ApiStdMaintainTT
method BProfile.ApiStdMaintainTT
method BProject.ApiStdMaintainTT
method BProjectGroup.ApiStdMaintainTT
method BProjectStatus.ApiStdMaintainTT
method BRevaluation.LoadAndUpdateInstanceDataSimulate
method BSaf.ApiStdMaintainTT
method BSafConcept.ApiStdMaintainTT
method BSafStructure.ApiStdMaintainTT
method BSafStructureLink.ApiStdMaintainTT
method BSystem.ApiSetSystemPropertiesExtInvCert
method BSystemProperty.SetSystemProperties
method BSystemProperty.SetSystemPropertiesExtInvCert
method BVAT.ApiStdMaintainTT
method BVATGroup.ApiStdMaintainTT
method BYearClosing.ApiStdMaintainTT


program code (program1/database.p)

<M-3 run ClearData (Output viFcReturnSuper (oiReturnStatus)) in database>
if viFcReturnSuper <> 0
then oiReturnStatus = viFcReturnSuper.
if viFcReturnSuper < 0
then return.

if not vcFcComponentName begins "BCustom["
then do:
    <I-2 {bFcRun
         &PARAMETERS           = "output oiReturnStatus"
         &PROCEDURE            = "gipr_DataNew"}>
end.