Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / Ens.Config.BusinessPartner
Private  Storage   

Ens.Config.BusinessPartner


persistent class Ens.Config.BusinessPartner extends
%Persistent, %XML.Adaptor

Defines data about an InterSystems IRIS Business Partner Profile.
A Business Partner is any organization or application that an production connects to. You can use the Business Partner table to hold additional information about such partners. The data in this data is informational only. It does has no effect on the running of the system.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 4 3 1 1


Summary


Properties
%Concurrency AlternativeContact Description PartnerName
PrimaryContact

Methods
%%OIDGet %1Check %AddJrnObjToSyncSet %AddToSaveSet
%AddToSyncSet %BMEBuilt %BindExport %BuildIndices
%BuildIndicesAsync %BuildIndicesAsyncResponse %BuildIndicesSegment %BuildObjectGraph
%CheckConstraints %CheckConstraintsForExtent %ClassIsLatestVersion %ClassName
%Close %ComposeOid %ConstructClone %Delete
%DeleteExtent %DeleteId %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %DowngradeConcurrency %ExecuteAfterTriggers %ExecuteBeforeTriggers
%Exists %ExistsId %Export %ExportAll
%Extends %FileIndices %FileIndicesBuffered %GUID
%GUIDSet %GetLock %GetParameter %GetSwizzleObject
%Id %Import %IncrementCount %InsertBatch
%IsA %IsModified %IsNull %JournalObject
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%PhysicalAddress %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %SQLAcquireLock %SQLAcquireTableLock
%SQLAfterTriggers %SQLBeforeTriggers %SQLBuildIndices %SQLBuildPurgeIndexForRow
%SQLBuildPurgeIndices %SQLCheckUnique %SQLCheckUniqueIndices %SQLCheckUniqueKeys
%SQLCopyIcolIntoName %SQLCopyNameIntoIcol %SQLCreateInsDelTables %SQLDefineiDjVars
%SQLDelete %SQLDeleteChildren %SQLDeleteTempStreams %SQLEExit
%SQLExists %SQLFKeyDelLock %SQLFastInsert %SQLFieldValidate
%SQLGetLock %SQLGetOld %SQLGetOldAll %SQLGetOldIndex
%SQLInsert %SQLInsertComputes %SQLInsertStreams %SQLInvalid
%SQLInvalid2 %SQLMVDelete %SQLMVIndexDelete %SQLMVIndexInsert
%SQLMVIndexUpdate %SQLMVInsert %SQLMVUpdate %SQLMissing
%SQLNormalizeCompFields %SQLNormalizeFields %SQLPurgeIndices %SQLQuickBulkInsert
%SQLQuickBulkLoad %SQLQuickBulkSave %SQLQuickBulkUpdate %SQLQuickDelete
%SQLQuickDeleteChildren %SQLQuickFindPKeyByRowID %SQLQuickFindRowIDByPKey %SQLQuickInsert
%SQLQuickLoad %SQLQuickLoadChildren %SQLQuickLogicalToOdbc %SQLQuickOdbcToLogical
%SQLQuickUpdate %SQLReleaseLock %SQLReleaseTableLock %SQLStorageValidation
%SQLTrigDelTab %SQLTrigInsTab %SQLUnlock %SQLUnlock2
%SQLUnlockError %SQLUnlockRef %SQLUpdate %SQLUpdateComputes
%SQLUpdateStreams %SQLValidateCompFields %SQLValidateFields %SQLicompView
%SQLnBuild %Save %SaveDirect %SaveIndices
%SerializeObject %SetModified %SortBegin %SortEnd
%SyncObjectIn %SyncTransport %UnlockExtent %UnlockId
%UpgradeConcurrency %ValidateIndices %ValidateObject %XMLGenerate
XMLAfterExport XMLBeforeExport XMLDTD XMLExport
XMLExportInternal XMLExportToStream XMLExportToString XMLGetSchemaImports
XMLImport XMLImportInternal XMLIsObjectEmpty XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType


Parameters


• parameter DOMAIN = "Ensemble";
Use our own domain for localization

Properties


• property AlternativeContact as Ens.Config.BusinessPartnerContact;
Details on the alternative contact for this Business Partner.
• property Description as %String(MAXLEN=5000,XMLPROJECTION="ELEMENT");
Description of this Business Partner.
• property PartnerName as %String(MAXLEN=255,XMLPROJECTION="ATTRIBUTE");
Name of this Business Partner. This must be unique.
• property PrimaryContact as Ens.Config.BusinessPartnerContact;
Details on the primary contact for this Business Partner.

Methods


• classmethod %Export(pName As %String, pFile As %String = "", pVerbose As %Boolean = 1) as %Status
Export a Business Partner definition to an xml file.
• classmethod %ExportAll(pFile As %String = "", pVerbose As %Boolean = 1) as %Status
Export all Business Partner definitions to an xml file.
• classmethod %Import(pFile As %String, pReplace As %Boolean = 0, pVerbose As %Boolean = 1, pKill As %Boolean = 0) as %Status
Import Business Partner definitions from an xml file.
If pReplace is true, replace an existing item with the same name.
If pVerbose is true, write status to the console.
If pKill is true, then delete all existing items before import!

Queries


• query List()
SQL Query :
Select PartnerName,Description,PrimaryContact_Name As PrimaryContact, PrimaryContact_PhoneNumber As Phone from Ens_Config.BusinessPartner

Indices


•index (PartnerName on PartnerName) [IdKey,PrimaryKey];