DirParty Class [AX 2012]
The DirParty class is used to perform an operation on an Address book record.
Syntax
class DirParty
Run On
Called
Methods
Method | Description | |
---|---|---|
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
checkDuplicate | Checks whether there are any duplicate address book records for the current instance of the DirParty class. | |
createOrUpdateContactInfo | ||
createOrUpdatePostalAddress | ||
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
getContactInfo | ||
getPartyRecId | Retrieves the record ID from the party record that is represented by the current instance of the DirParty class. | |
getPostalAddress | ||
getPrimaryElectronicAddressLocation | ||
getPrimaryPostalAddressLocation | ||
getRecId | Retrieves the record ID from the record that is represented by the current instance of the DirParty class. | |
getTableId | Retrieves the TableId value of the record that is represented by the current instance of the DirParty class. | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
initFromDirOrganization | Initializes the current instance of the DirParty class by using a record in the DirOrganization table. | |
initFromDirPartyTable | Initializes the current instance from a record in the DirPartyTable table. | |
initFromDirPerson | Initializes the current instance from a record in the DirPerson table. | |
initializeAddressInfo | Initializes the address information for the current instance of the DirParty class. | |
initializeCommInfo | Initializes electronic communication information for the current instance of the DirParty class. | |
initializeOrganizationInfo | Initializes the organization specifics for the current instance of the DirParty class. | |
initializePersonInfo | Initializes the person-specific details for the current instance of the DirParty class. | |
insert | ||
new | ||
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) | |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
parmABC | Gets or sets the ABC parameter. | |
parmAddressBooks | Gets or sets the AddressBooks parameter. | |
parmChildrenNames | Gets or sets the ChildrenNames parameter. | |
parmCommunicationInfo | Gets or sets the CommunicationInfo parameter. | |
parmECommunicationTypes | Gets or sets the ECommunicationTypes parameter. | |
parmFirstName | Gets or sets the FirstName parameter. | |
parmGender | Gets or sets the Gender parameter. | |
parmHobbies | Gets or sets the Hobbies parameter. | |
parmInitials | Gets or sets the Initials parameter. | |
parmKnownAs | Gets or sets the KnownAs parameter. | |
parmLanguageId | Gets or sets the LanguageId parameter. | |
parmLastName | Gets or sets the LastName parameter. | |
parmMaritalStatus | Gets or sets the MaritalStatus parameter. | |
parmMCRFirst4Street | Gets or sets the MCRFirst4Street parameter. | |
parmMemo | Gets or sets the Memo parameter. | |
parmMiddleName | Gets or sets the MiddleName parameter. | |
parmName | Gets or sets the Name parameter. | |
parmNameAlias | Gets or sets the NameAlias parameter. | |
parmNameSequence | Gets or sets the NameSequence parameter. | |
parmNickName | Gets or sets the NickName parameter. | |
parmNumberOfEmployees | Gets or sets the NumberOfEmployees parameter. | |
parmOrganizationNumber | Gets or sets the OrganizationNumber parameter. | |
parmPartyNumber | Gets or sets the PartyNumber parameter. | |
parmPartyRecord | Gets or sets the PartyRecord parameter. | |
parmPersonalSuffixRecId | Gets or sets the PersonalSuffixRecId parameter. | |
parmPersonalTitleRecId | Gets or sets the PersonalTitleRecId parameter. | |
parmPersonInfo | Gets or sets the PersonInfo parameter. | |
parmPhoneticFirstName | Gets or sets the PhoneticFirstName parameter. | |
parmPhoneticLastName | Gets or sets the PhoneticLastName parameter. | |
parmPhoneticMiddleName | Gets or sets the PhoneticMiddleName parameter. | |
parmPhoneticName | Gets or sets the PhoneticName parameter. | |
parmProfessionalSuffix | Gets or sets the ProfessionalSuffix parameter. | |
parmProfessionalTitle | Gets or sets the ProfessionalTitle parameter. | |
parmTransDateTime | Gets or sets the TransDateTime parameter. | |
parmType | Gets or sets the Type parameter. | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
update | ||
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
wait | Pauses a process. (Inherited from Object.) | |
write | ||
writeCommon | ||
xml | Returns an XML string that represents the current object. (Inherited from Object.) | |
::addLocation | ||
::autoDeleteParty | Deletes an address book party at the backend automatically if it is not referenced. | |
::canDeleteParty | Determines whether an address book party can be deleted. | |
::constructFromCommon | Creates a new instance of the DirParty class from an address book entity that is represented by the _common parameter. | |
::constructFromPartyNumber | Creates a new instance of the DirParty class by using the entity that corresponds to the specified _dirPartyNumber parameter. | |
::constructFromPartyRecId | Creates a new instance of the DirParty class by using the entity that corresponds to the specified DirPartyRecId object. | |
::electronicAddressLocatorsByRole | Retrieves the electronic locator for a party and role. | |
::findElectronicAddressByRole | Finds the contact information for a party of a certain type and purpose. | |
::findPostalAddressByRole | Finds a postal address for a party of a certain purpose. | |
::getAddress | ||
::getPartyFieldId | ||
::getPostalAddressByType | ||
::jumpRefFromCommon | Displays the main table from the address book entities. | |
::location | ||
::oneTimeAddressRecIds | Finds the address that is associated with a party. | |
::postalAddress | ||
::primaryElectronicAddress | ||
::primaryElectronicAddressLocation | ||
::primaryElectronicAddressLocationRecId | ||
::primaryElectronicAddressLocationTable | ||
::primaryElectronicAddressLocator | Retrieves the primary electronic address locator. | |
::primaryPostalAddress | ||
::primaryPostalAddressLocation | ||
::primaryPostalAddressLocationRecId | ||
::primaryPostalAddressLocationTable | ||
::relatedParty | ||
::relatedTables | Retrieves the list of tables that are related to the address book. | |
::setPrimaryAddressLocation | ||
::setPrimaryElectronicAddressLocation | ||
::showHideMessageBar | Displays or hides a message bar on the address book entity forms. | |
::showPartyMatchIcon | Retrieves the icon numbers that are used for the message bar on the address book entity forms. | |
::tableList | Retrieves the list of tables which can represent an address book role. | |
::toolTip | Retrieves the tool tip text that is used for the message bar on the address book entity forms. | |
::transactionOneTimeAddresses | Finds the addresses that are associated with the specified transaction |
Top
Remarks
This class provides abstraction for various global address book roles.
Inheritance Hierarchy
Object Class
DirParty Class
CustomerEntity Class
DirParty_Person Class
VendorEntity Class