Company Class |
Namespace: Aloe.EnterpriseOne.Model.General.Contacts
The Company type exposes the following members.
| Name | Description | |
|---|---|---|
| Company | Initializes a new instance of the Company class with specific ObjectTransaction |
| Name | Description | |
|---|---|---|
| ActivityTimeIntervals | List of ActivityTimeInterval child objects, based on the General.Contacts.ActivityTimeInterval.Party back reference (Inherited from Party.) | |
| AdministrativeRegion | The administrative region in which the party is situated. (Inherited from Party.) | |
| ApplicableLegislations | List of PartyApplicableLegislation child objects, based on the Party back reference (Inherited from Party.) | |
| Area | The area in which the party is situated. (Inherited from Party.) | |
| BankAccounts | List of PartyBankAccount child objects, based on the General.Contacts.PartyBankAccount.Party back reference (Inherited from Party.) | |
| BranchNumber | Branch number of the company. Companies with equal names and/or registration numbers can be inserted only if their branch numbers are different. [Required] [Default(0)] [Filter(eq)] | |
| ChangingAttributes |
Gets the attributes that are currently changing. Can be used in attribute change event handler to prevent stack overflow.
(Inherited from EditableDomainObject.) | |
| City | The city in which the company is registered. [Filter(like)] | |
| ContactMechanisms | List of PartyContactMechanism child objects, based on the General.Contacts.PartyContactMechanism.Party back reference (Inherited from Party.) | |
| Country | The country, where the company is registered. [Filter(multi eq)] | |
| CreationTime | Date and time when the Company was created. [Filter(ge;le)] [ReadOnly] | |
| CreationUser | Login name of the user, who created the Company. [Filter(like)] [ReadOnly] | |
| Customers | List of Customer child objects, based on the Crm.Customer.Party back reference (Inherited from Party.) | |
| CustomProperties |
Gets the custom properties of the object.
(Inherited from EnterpriseOneEntityObject.) | |
| Dealers | List of Dealer child objects, based on the Crm.Dealer.Party back reference (Inherited from Party.) | |
| DefaultContactMechanism |
Gets the default contact mechanism of the party.
(Inherited from Party.) | |
| DefaultProductCodingSystem | When not null, specifies coding system for products, which is required by the party. The coding system is used primarily for document printouts and document import/exports. (Inherited from Party.) | |
| Departments | List of CompanyDepartment child objects, based on the General.Contacts.CompanyDepartment.Company back reference | |
| Distributors | List of Distributor child objects, based on the Crm.Distributor.Party back reference (Inherited from Party.) | |
| ExtendedProperties |
Extended properties contain temporary (not persisted) values in the object instance.
(Inherited from EntityObject.) | |
| GLN | Global Location Number used by EDI systems (Inherited from Party.) | |
| Id |
The unique Id of the entity object
(Inherited from EntityObject.) | |
| IsActive | Specifies whether the current party is active in the system or not [Required] (Inherited from Party.) | |
| IsGhost |
Returns true when the object is a ghost object
(Inherited from EntityObject.) | |
| IsLoaded | Gets a value indicating whether the associated data for this domain object is loaded. (Overrides PartyIsLoaded.) | |
| IsVATCashReportingRegistered | When true, specifies that the company uses the special VAT Cash Reporting Mode. [Required] [Default(false)] | |
| IsVATRegistered | Determines wheather the company is included in VAT registers. [Required] [Default(false)] | |
| ItemString |
Gets or sets the value of a data attribute
(Inherited from DomainObject.) | |
| ItemIDataAttribute |
Gets or sets the value of a data attribute
(Inherited from DomainObject.) | |
| Name | The name of this Company. [Filter(eq;like)] [ORD] | |
| NoEvents |
Turns on "No events" mode and returns a class, that will turn it off when Disposed. See remarks for more info.
(Inherited from DomainObject.) | |
| ObjectState | Gets the state of the domain object. (Overrides PartyObjectState.) | |
| ParentParty | Organizational unit (branch from the hierarchy of all parties) to which this party is referred to (Inherited from Party.) | |
| PartyCode | The unique code of the Party [Required] (Inherited from Party.) | |
| PartyCreationTime | Date and time when the Party was created. (Inherited from Party.) | |
| PartyCreationUser | Login name of the user, who created the Party. (Inherited from Party.) | |
| PartyId |
Gets the Id of the party row, related to the domain object
(Inherited from Party.) | |
| PartyName | The name of the party [Required] (Inherited from Party.) | |
| PartyNotes | Notes for this Party (Inherited from Party.) | |
| PartyType | Type of party. Currently supported are P=Person, C=Company, S=Store, L=Company Location, V=Division [Required] (Inherited from Party.) | |
| PartyUniqueNumber | Unique number of the party (National number for persons, Registration number for companies) (Inherited from Party.) | |
| PartyUpdateTime | Date and time when the Party was last updated. (Inherited from Party.) | |
| PartyUpdateUser | Login name of the user, who last updated the Party. (Inherited from Party.) | |
| Pictures | List of PartyPicture child objects, based on the General.Contacts.PartyPicture.Party back reference (Inherited from Party.) | |
| RegistrationNumber | Unique, government-assigned registration number. null means unknown. [Filter(eq;like)] [ORD] | |
| RegistrationPrimaryAddress | The primary registration address of the company. [Filter(like)] | |
| RegistrationResponsiblePerson | The personal record of the primary responsible person as per registration. null means unknown. [Filter(multi eq)] | |
| RegistrationType | Legal registration type - like LTD., PLC, etc. null means unknown. [Filter(eq)] | |
| RegistrationVATNumber | VAT registration number where applicable. null means that VAT number is not applicable or unknown. [Filter(eq)] [ORD] | |
| Repository | Provides access to CompaniesRepository repository methods | |
| ResponsiblePersonName | Primary responsible person of the company. null means unknown. [Filter(like)] | |
| Suppliers | List of Supplier child objects, based on the Logistics.Procurement.Supplier.Party back reference (Inherited from Party.) | |
| TargetGroupMembers | List of TargetGroupMember child objects, based on the Crm.Marketing.TargetGroupMember.Party back reference (Inherited from Party.) | |
| Transaction |
The EnterpriseOne transaction to which this object is attached.
(Inherited from EnterpriseOneEntityObject.) | |
| UpdateTime | Date and time when the Company was last updated. [Filter(ge;le)] [ReadOnly] | |
| UpdateUser | Login name of the user, who last updated the Company. [Filter(like)] [ReadOnly] |
| Name | Description | |
|---|---|---|
| Delete | Deletes the domain object. (Overrides PartyDelete.) | |
| DuplicateObject |
Creates a copy of the object.
(Inherited from EntityObject.) | |
| Equals(Object) |
Determines whether the specified Object, is equal to this instance.
(Inherited from EntityObject.) | |
| Equals(EntityObject) |
Indicates whether the current object is equal to another object of the same type.
(Inherited from EntityObject.) | |
| ExecuteBusinessRules |
Executes all business rules for the object for the specified BusinessEvent.
The validation fails are saved in the event.
(Inherited from EditableDomainObject.) | |
| GetAggregateParent |
Gets the aggregate parent of this entity object. If this is the aggregate root the return value is null.
(Inherited from EntityObject.) | |
| GetAggregateRoot |
Gets the aggregate root entity object.
If the entity does not have aggregate parent reference aggregate root is this entity object.
(Inherited from EntityObject.) | |
| GetHashCode |
Returns a hash code for this instance.
(Inherited from EntityObject.) | |
| GetPartyType | Returns the party type of the Party inheritor. (Overrides PartyGetPartyType.) | |
| GetRelatedObjectsForValidation |
Gets the related objects which would need validation upon validation of this object.
(Inherited from EntityObject.) | |
| IssueWarning(String) |
Issues a warning with the specified message.
(Inherited from EditableDomainObject.) | |
| IssueWarning(ExpressionFuncString, Object) |
Issues a warning with the specified message. The message can contain standard string placeholders.
(Inherited from EditableDomainObject.) | |
| MatchesFilter(DataAccessFilter) |
Returns true if this entity object matches the specified filter.
(Inherited from EnterpriseOneEntityObject.) | |
| MatchesFilter(DataAccessFilter, IBufferRow) |
Matches the filter against the specified row and returns the result of the match.
(Inherited from EnterpriseOneEntityObject.) | |
| ObtainParentParty |
Returns the parent of the party based on inheritor's logic.
(Inherited from Party.) | |
| ObtainPartyName |
Returns the name of the party based on inheritor's logic.
(Overrides PartyObtainPartyName.) | |
| ObtainPartyUniqueNumber | Returns the party unique number based on inheritor's logic. (Overrides PartyObtainPartyUniqueNumber.) | |
| Refresh |
Refreshes this instance with data from data source.
Only objects with ObjectState equal to Unchanged are refreshed.
(Inherited from EntityObject.) | |
| ToString |
Returns a String that represents this instance.
(Inherited from EntityObject.) | |
| ToString(String) |
Returns a String that represents this instance.
(Inherited from EntityObject.) | |
| TryGet |
Tries to get the specified attribute and returns it or null, when it is not found.
(Inherited from DomainObject.) |
| Name | Description | |
|---|---|---|
| FillAggregateMissingDefaults |
Recalculates the default values for all objects in the aggregate.
(Defined by EntityObjectExtensions.) | |
| FillMissingDefaults |
Executes the late default expression defined in each attribute (if any) if the current value is null or equal to a constant default.
(Defined by EntityObjectExtensions.) | |
| FormatString |
Converts the object to string based on the format specified.
(Defined by FormatStringExtensions.) | |
| GetCustomer |
Finds a Customer with the specified Party, which is valid for the specified Enterprise company. If more than one Customers are found,
they are ordered by Enterprise Company in a descending order.
(Defined by PartyExtensions.) | |
| GetExtensibleDataObject |
Gets the extensible data object related to the entity object.
Can return null if such ExtensibleDataObject doesn't exist.
(Defined by ExtensibleDataObjectExtensions.) | |
| GetOrCreateExtensibleDataObject |
Returns an ExtensibleDataObject related to the entity object.
If such object doesn't exist the object is created in the same transaction.
(Defined by ExtensibleDataObjectExtensions.) | |
| IsBulgariaApplicableLegislation |
Determines whether Bulgaria is applicable legislation for the specified party.
(Defined by LegislationExtensions.) | |
| RecalculateMasterAttributes |
Recalculates the values of a master attributes in a master-detail relationship.
(Defined by EntityObjectExtensions.) | |
| RecalculateMissingValues |
Recalculates the missing values using the first reactive expression of the attributes.
(Defined by EntityObjectExtensions.) |