Class Reference
  [ENSLIB] >  [Ens] >  [Config] >  [BusinessPartner]
Private  Storage

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.


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


AlternativeContact Description PartnerName PrimaryContact

%AddToSaveSet %AddToSyncSet %BMEBuilt %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Export %ExportAll %Extends
%GUID %GUIDSet %GetLock %GetParameter
%GetSwizzleObject %Id %Import %InsertBatch
%IsA %IsModified %IsNull %KillExtent
%KillExtentData %LoadFromMemory %LockExtent %LockId
%New %NormalizeObject %ObjectIsNull %ObjectModified
%Oid %OnBeforeAddToSync %OnDetermineClass %Open
%OpenId %OriginalNamespace %PackageName %PhysicalAddress
%PurgeIndices %Reload %RemoveFromSaveSet %ResolveConcurrencyConflict
%RollBack %Save %SaveDirect %SaveIndices
%SerializeObject %SetModified %SortBegin %SortEnd
%SyncObjectIn %SyncTransport %UnlockExtent %UnlockId
%ValidateIndices %ValidateObject XMLDTD XMLExport
XMLExportToStream XMLExportToString XMLNew XMLSchema
XMLSchemaNamespace XMLSchemaType


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


• 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.


• 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!


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


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

Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.