project BLF > include bFcCloseInstance.i

Description

After running a logical set of methods (without any user interaction between the different calls) in an
instance of a business component, communication to the instance must be closed.


include parameters


&CLASSclass short name
&ERROR-STATEMENTAction to take when an error occurred.


Internal usage


BLF
method business.SetPublicData
method database.ApiForcePublish
method database.DataSave
method database.ExitInstance
method database.ReadObjectSecurity
method database.UpdateWorkobject
method database.WriteObjectSecurity
method BBaseDaemon.ValidateComponent
method BBaseDaemonProcessor.SwitchSessionCy
method BCompany.AdditionalUpdates
method BCustomField.AdditionalUpdates
method BCustomField.ValReturnField
method BDomain.AdditionalUpdates
method BDomain.SetDomainTypeAsSystem
method BDomain.ValidateComponent
method BReportDaemonProcessor.PerformWorkItem
method BReportRequest.AdditionalUpdates
method BResource.ApiSynchronize
method BRole.AdditionalUpdates
method BSettingConfiguration.AdditionalUpdates
method BSODCategoryExclusion.AdditionalUpdates
method BSODPolicyException.AdditionalUpdates
method BSODViolationRule1.CheckRule1
method BSODViolationRule1.DeleteFinish
method BSODViolationRule2.CheckRule2
method BSODViolationRule2.DeleteFinish
method BStoredSearch.GetFields
method BSystem.AdditionalUpdates
method BSystem.ApiDumpDefaultSecurity
method BSystem.ApiSynchronise
method BSystem.ValidateComponent
method BUDCConfiguration.AdditionalUpdates
method BUser.AdditionalUpdates
method BUserRole.AdditionalUpdates
method BWorkObject.PostSave

QadFinancials
method database.IsOperationalReplicationEnabled
method BAccountingInterface.FillProDsChartOfAccnt
method BAccountingInterface.GetAlternateInfo
method BAllocationBatch.ExecuteAllocationBatch
method BAPMatching.AddAPMatchingLn
method BAPMatching.StopExternalInstances
method BAPMatching.CreateMatchingPosting
method BAPMatching.DefaultValuesInvoiceAmount
method BAPMatching.GetPendingVouchers
method BAPMatching.LoadMatchingPosting
method BAPMatching.PostSave
method BAPMatching.PostSaveUpdateOperationals
method BAPMatching.UpdateCInvoiceFromUIAPM
method BAPMatching.ValidateComponentPost
method BAPMatching.ValidateComponentPre
method BAPMatching.ValidateComponentPreAPMCInvoice
method BBankEntry.AdditionalUpdates
method BBankEntry.StopExternalInstances
method BBankEntry.AdditionalUpdatesInvDeductions
method BBankEntry.AdditionalUpdatesInvInstanceValidate
method BBankEntry.AdditionalUpdatesValidationsLC
method BBankEntry.CreatePostingHeader
method BBankEntry.GetJournalEntryBalance
method BBankEntry.GetPossibleAllocationsCInvoice
method BBankEntry.GetPostingAmount
method BBankEntry.GetPostingAmountLC
method BBankEntry.LoadBEPosting
method BBankEntry.RemovePosting
method BBankEntry.UpdatePostingHeader
method BBankImport.ApiEDIImportBankImport
method BBankImportLine.AdditionalUpdates
method BBankImportLine.ProcessBankImpLineCDocStatusChg
method BBankImportLine.ProcessBankImpLineConfirm
method BBankImportLine.ProcessBankImpLineDDocStatusChg
method BBankImportLine.ProcessBankImpLineNewBankEntry
method BBankImportLine.ProcessBankImpLineNewDDocument
method BBankImportLine.ProcessBankImpLineOther
method BBankImportLine.StopAndCloseExternalInstances
method BBankImportLineProcess.GetBankImpLineByFilter
method BBankImportLineProcess.SaveAndProcess
method BBankStateImport.AdditionalUpdatesBankStatement
method BBudget.AdditionalUpdCreateSafStructureLink
method BBudget.ApiCheckBudget
method BBudgetLinkActual.AdditionalUpdatesCreateDelete
method BBudgetLinkCommitment.AdditionalUpdatesCreateDelete
method BBudgetRebuild.ApiRebuildBudget
method BBusinessComponent.AdditionalUpdates
method BBusinessRelation.AdditionalUpdates
method BBusinessRelation.ValidateComponentDelete
method BBusinessRelation.ValidateComponentExternalAddress
method BBusinessRelation.ValidateComponentPostAddress
method BCashBox.UpdateJournal
method BCDocument.AdditionalUpdatesCInvoice
method BCDocument.AdditionalUpdatesPostingCrossCy
method BCDocument.AdditionalUpdatesWHT
method BCDocument.ApiSetCDocumentStatusChange
method BCDocument.CalculateAllWhtGetData
method BCDocument.CreateVoidedDocument
method BCDocument.GetPossibleAllocationsByBank
method BCDocument.ValidateComponentPreCInvoice
method BCDocument.ValidateComponentPreCreditor
method BCDocumentReport.CDocumentReportAllSub
method BCDocumentReport.CDocumentReportCheque
method BCDocumentReport.CDocumentReportDraft
method BCInvoice.StopExternalInstances
method BCInvoice.AdditionalUpdatesAllQCInvoiceMovement
method BCInvoice.ApiStdMaintainTTV01
method BCInvoice.ClearAllData
method BCInvoice.ClearMFPosting
method BCInvoice.CreateCInvoiceMovements
method BCInvoice.CreateCInvoicesPayment
method BCInvoice.CreateCIPosting
method BCInvoice.CreateCIPosting2
method BCInvoice.CreateCIPostingControl
method BCInvoice.CreateMFPosting
method BCInvoice.DefaultValuesGeneralInfo
method BCInvoice.LoadCIAndMFPosting
method BCInvoice.PreSave
method BCInvoice.PreSaveValidate
method BCInvoice.ReInitializeEverything
method BCInvoice.ReInitializePostings
method BCInvoice.ReplaceCInvoice
method BCInvoice.ReplaceCInvoicePosting
method BCInvoice.ReverseCInvoicePosting
method BCInvoice.UpdateJournalInPostingInstance
method BCInvoice.ValidateComponent
method BCInvoice.ValidateComponentPost
method BCInvoiceAPMatching.CreateCInvoice
method BCInvoiceAPMatching.CreateCInvoiceAPMatchingGetCInvoiceData
method BCInvoiceJournalEntry.ApiStdMaintainTTV01
method BCMask.Copy
method BCOAMaskCC.ApiLoadCOAMaskCC
method BCOAMaskCC.DataLoadByInput
method BCOAMaskCC.InitialValues
method BCOAMaskCC.InitUI
method BCOAMaskCC.SetNewStatus
method BCOAMaskCC.ValidateComponentPost
method BCOAMaskCC.ValidateComponentPre
method BCOAMaskDiv.ApiLoadCOAMaskDiv
method BCOAMaskDiv.DataLoadByInput
method BCOAMaskDiv.InitialValues
method BCOAMaskDiv.InitUI
method BCOAMaskDiv.SetNewStatus
method BCOAMaskDiv.ValidateComponentPost
method BCOAMaskDiv.ValidateComponentPre
method BCOAMaskProj.ApiLoadCOAMaskProj
method BCOAMaskProj.DataLoadByInput
method BCOAMaskProj.InitialValues
method BCOAMaskProj.InitUI
method BCOAMaskProj.SetNewStatus
method BCOAMaskProj.ValidateComponentPost
method BCOAMaskProj.ValidateComponentPre
method BCompany.AdditionalUpdates
method BCompany.DataLoadByInput
method BCompany.ValidateCompanyCode
method BCompanyProperty.CreateInterCoAccounts
method BCompanyProperty.SwitchPrimaryCompany
method BCompanyProperty.ValidateComponent
method BConCheck.AdditionalUpdates
method BConCheckProcessor.ConCheckProcessDet
method BConsolid.AdditionalUpdatesDelete
method BConsolid.AdditionalUpdatesPosting
method BCostCentre.AdditionalUpdates
method BCostCentre.UpdateSafStructureLink
method BCountry.AdditionalUpdates
method BCreditor.Calculate
method BCreditor.CloseExternalInstances
method BCreditor.ValidateComponent
method BCreditorReport.CreditorWHTCertificate
method BCurrency.AdditionalUpdates
method BDDocument.AdditionalUpdatesDeductions
method BDDocument.AdditionalUpdatesPostingDeduction
method BDDocument.ApiSetDDocumentStatusChange
method BDDocument.ValidateComponentPreDebtor
method BDDocument.ValidateComponentPreDInvoice
method BDebtor.Calculate
method BDebtor.CloseExternalInstances
method BDebtor.ValidateComponent
method BDebtorEndUser.AdditionalUpdates
method BDebtorEndUser.ApiReplicateFromDaemon
method BDebtorEndUser.CloseExternalInstances
method BDebtorEndUser.DataLoadByInput
method BDebtorEndUser.ValidateComponent
method BDebtorEndUser.ValidateComponentUpdateAllSharedEndusers
method BDebtorFinanceCharge.FCDInvoiceCommit
method BDebtorReport.GetBusinessFields2
method BDebtorReport.GetBusinessFields3
method BDebtorShipTo.AdditionalUpdates
method BDebtorShipTo.ApiReplicateFromDaemon
method BDebtorShipTo.CloseExternalInstances
method BDebtorShipTo.DataLoadByInput
method BDebtorShipTo.ValidateComponent
method BDebtorShipTo.ValidateComponentUpdateAllSharedShiptos
method BDInvoice.StopExternalInstances
method BDInvoice.AdditionalUpdatesAllBill
method BDInvoice.AdditionalUpdatesAllQDInvoiceMovement
method BDInvoice.CancelTax
method BDInvoice.CreateDInvoiceMovements
method BDInvoice.CreateDInvoicesDeduction
method BDInvoice.CreateDIPosting
method BDInvoice.CreateDIPostingSales
method BDInvoice.CreateDIPostingSetMessage
method BDInvoice.DefaultValuesGeneralInfo
method BDInvoice.InitInstance
method BDInvoice.LoadDIPosting
method BDInvoice.PostTaxCommit
method BDInvoice.PreSave
method BDInvoice.PreSaveValidate
method BDInvoice.ReInitializeEverything
method BDInvoice.UpdateDeductionDetailPosting
method BDInvoice.ValidateComponentAllBank
method BDInvoiceJournalEntry.ApiStdMaintainTT
method BDInvoiceMultiCy.UpdateDeductionDetailCy
method BDInvoiceMultiCy.UpdateDeductionDetailCyV01
method BDivision.AdditionalUpdates
method BDivision.ApiLoadDivision
method BDivision.PostSave
method BDivision.ValidateComponentPreCOAMask
method BDomain.AdditionalUpdates
method BDomain.AdditionalUpdatesReplication
method BDomain.ApiSynchronise
method BDomain.DataLoadByInput
method BDomain.ValDomainCode
method BDomain.ValidateComponent
method BDomainProperty.CreateInterCoAccounts
method BDomainProperty.ValidateComponentPostNumbers
method BDPaymentSelection.AdditionalUpdates
method BDPaymentSelection.AdditionalUpdatesDCollection
method BDPaymentSelection.AdditionalUpdatesDDocument
method BDPaymentSelection.AdditionalUpdatesDInvoice
method BDPaymentSelection.GetListAllowedDocStatus
method BEmployee.CloseExternalInstances
method BERSProcessor.ERSProcessAPMatchingPrice
method BERSProcessor.ERSProcessFinishERS
method BERSProcessor.ERSProcessFinishERSLine
method BERSProcessor.ERSProcessFinishPvo
method BExchangeRate.AdditionalUpdates
method BExpenseNote.APIExpNoteRegister
method BFixedAssetCapital.AdditionalUpdatesFAAsset
method BFixedAssetDepreciation.AdditionalUpdatesFAAssetBook
method BFixedAssetDepreciation.AdditionalUpdatesPosting
method BFixedAssetDisposal.AdditionalUpdatesFAAsset
method BFixedAssetDisposal.AdditionalUpdatesPosting
method BFixedAssetRevaluation.AdditionalUpdatesFAAsset
method BFixedAssetRevaluation.AdditionalUpdatesPosting
method BFRWAnalysisCode.AdditionalUpdatesReportTree
method BGL.AdditionalUpdates
method BGL.CreateExchangeRateTypeInFlight
method BGL.UpdateSafStructureLink
method BGLCalendar.AdditionalUpdates
method BGLMask.AdditionalUpdates
method BGLReport.AccTransJournal
method BGLReport.AltAccBalanceTOT
method BGLReport.AltSubLedgeReport
method BGLReport.AltVATPayableLedger
method BGLReport.CalAltCOAStructWBSForBS
method BGLReport.CalAltCOAStructWBSForIS
method BGLReport.CBPaymentJournal
method BGLReport.CBReceiptJournal
method BGLReport.ForeignCurrJournal
method BGLReport.GeneralGLJournal
method BGLReport.GLReport
method BJournal.AdditionalUpdates
method BJournal.ValidateComponent
method BPosting.AdditionalUpdatesBQBudgetActual
method BPosting.AdditionalUpdatesFACapital
method BPosting.AddPostingHeader
method BPosting.ApiStdMaintainMultiTT
method BPosting.PreSaveValidate
method BPosting.StdMaintainTT
method BPosting.UpdateInvoiceNumbers
method BPosting.ValidateComponentPost
method BPosting.ValidateComponentPreAssignPosting1
method BJournalEntry.ApiSetPostingStatusChange
method BJournalEntry.CheckForCorrectionPeriod
method BJournalEntry.UpdateJournalDateInPostingInstance
method BJournalEntryMultiCy.CreateMultiCyPostings
method BLanguage.AdditionalUpdates
method BMassLayerTransfer.ApiExecuteLayerTransferV01
method MfgDatabaseComponent.IsReplicationEnabled
method MfgDatabaseComponent.ProcessSharedSetToMfg
method BMfgAddress.ApiReplicateFromFinancialsBusRel
method BMfgAddress.ApiReplicateFromFinancialsShipTo
method BMfgAddress.MaintainDataBusinessRelation
method BMfgAddress.MaintainDataCreditor
method BMfgAddress.MaintainDataDebtor
method BMfgAddress.MaintainDataDebtorShipto
method BMfgAddress.MaintainDataEndUser
method BMfgAddressListDetail.MaintainDataCreditor
method BMfgAddressListDetail.MaintainDataDebtor
method BMfgAddressListDetail.MaintainDataDebtorEnduser
method BMfgAddressListDetail.MaintainDataDebtorShipto
method BMfgBatchNumber.AdditionalUpdates
method BMfgCountry.DeleteMfgData
method BMfgCreditTerms.MaintainData
method BMfgCurrency.AdditionalUpdates
method BMfgCustomer.CloseExternalInstances
method BMfgDomain.AdditionalUpdates
method BMfgEndUser.ApiReplicateFromFinancials
method BMfgEndUser.CloseExternalInstances
method BMfgEndUser.MaintainDataBusinessRelation
method BMfgEndUser.PerformMfgUpdate
method BMfgEntity.SwitchPrimaryEntity
method BMfgLocation.AdditionalUpdates
method BMfgSupplier.CloseExternalInstances
method BOpenItemAdjustment.OIAdjApplyFilterCreditor
method BOpenItemAdjustment.OIAdjCommitSub
method BOpenItemAdjustment.OIAdjCommitSubCInvoice
method BOpenItemAdjustment.OIAdjCommitSubCInvoiceDiscount
method BOpenItemAdjustment.OIAdjCommitSubDInvoice
method BOpenItemAdjustment.OIAdjCommitSubDInvoiceDiscount
method BOpenItemAdjustment.OIAdjCommitSubOpenItemAdj
method BOpenItemAdjustment.OIAdjCreatePosting
method BOpenItemAdjustment.OIAdjJournalEntryBalance
method BOpenItemAdjustment.StopExternalInstancesExceptBJE
method BPaymentCondition.AdditionalUpdates
method BPaymentSelection.AdditionalUpdates
method BPaymentSelection.AdditionalUpdatesRegister
method BPaymentSelection.AdditionalUpdatesUnconfirm
method BPaymentSelection.APITransferPayments
method BPaymentSelection.DefaultValuesForApiConfirm
method BPaymentSelection.GetInvWithCommonPayAttributes
method BPaymentSelection.GetToPayObjectsForCInvoice
method BPaymentSelection.ValidateComponent
method BPaymentSelection.ValidateComponentPreBankPayFormat
method BPeriod.AdditionalUpdates
method BPeriod.ApiUpdatePeriodStatus
method BPeriod.UpdatePeriodMark
method BPeriod.ValidateComponentPost
method BPostingHist.UpdatePostingHist
method BProfile.AdditionalUpdates
method BProject.AdditionalUpdates
method BProject.UpdateSafStructureLinkRef
method BProject.ValidateComponent
method BQBudgetActual.AdditonalUpdatesDelete
method BQBudgetActual.ApiDeleteQBudgetLinkActual
method BQBudgetCommitment.AdditionalUpdatesDelete
method BQBudgetCommitment.ApiDeleteQBudgetLinkCommit
method BQCInvoiceMovement.AdditionalUpdates
method BQCInvoiceMovement.ApiProcessQCInvoiceMovement
method BQCrossCyPosting.ApiProcessQCrossCyPosting
method BQCrossCyPosting.ApiProcessQCrossCyPostingForCI
method BQCrossCyPosting.ApiProcessQCrossCyPostingForDI
method BQCrossCyPosting.ApiProcessQCrossCyPostingForReverse
method BQCrossCyPosting.ApiProcessQCrossCyPostingLogging
method BQDInvoiceMovement.AdditionalUpdates
method BQDInvoiceMovement.ApiProcessQDInvoiceMovement
method BQPosting.AdditionalUpdates
method BQPosting.ApiProcessQPostingLineSaf
method BRecurringEntry.ApiPostRecEntryCommit
method BReportTree.DataLoadByInput
method BRevaluation.AdditionalUpdates
method BRevaluation.AdditionalUpdatesPosting
method BRole.AdditionalUpdates
method BRole.ApiCreateCIApproveRole
method BRoundingMethod.AdditionalUpdates
method BSelfBill.ApiCreateInvPrepayPayment
method BSelfBill.ApiCreateInvPrepayPaymentSub
method BSharedSetMerge.MergeFinish
method BSharedSetMerge.MergeInit
method BSystem.ApiSetSystemPropertiesExtInvCert
method BSystem.ApiSynchroniseSyst
method BUser.AdditionalUpdates
method BUserRole.AdditionalUpdates
method BYearClosing.AdditionalUpdatesClosePeriods
method BYearClosing.AdditionalUpdatesCreatePeriods
method BYearClosing.AdditionalUpdatesPosting
method BYearClosing.GetNumberingDateForYearClosing
method MfgNotification.IsReplicationEnabled
method BFRWChart.AdditionalUpdateBudgetCompany
method BFRWChart.AdditionalUpdateCOACrossRef


include code

run BusinessClassActions in {&TARGETPROCEDURE}
   (input        "{&CLASS}":U,
    input        "CLOSE":U,
    input        no,
    &IF "{&CLASS-REF}" = ""
    &THEN
    input-output vi{&CLASS}OC,
    input-output vh{&CLASS}Inst,
    input-output vi{&CLASS}Id,
    &ELSE
    input-output vi{&CLASS-REF}OC,
    input-output vh{&CLASS-REF}Inst,
    input-output vi{&CLASS-REF}Id,
    &ENDIF
    input        "",
    input        "",
    output viFcIncludeReturn).
if viFcIncludeReturn <> 0
then oiReturnStatus = viFcIncludeReturn.
if viFcIncludeReturn < 0
then do:
    &IF "{&ERROR-STATEMENT}" = ""
    &THEN
    return ?.
    &ELSE
    {&ERROR-STATEMENT}
    &ENDIF
end.