Table of Contents

General.Contacts.PartyApplicableLegislations Entity

Namespace: General.Contacts

Specifies a legislation, which is applicable for a party. A single party can have more than one applicable legislations. Entity: Gen_Party_Applicable_Legislations (Introduced in version 19.1)

Renames

Old name: General.PartyApplicableLegislations
New name: General.Contacts.PartyApplicableLegislations
Version: 25.1.0.64
Case: 37169

Default Visualization

Default Display Text Format:
{Party.PartyName:T}
Default Search Members:
Party.PartyName
Name Data Member:
Party.PartyName
Category: Definitions
Show in UI: ShownByDefault

Track Changes

Min level: 0 - Do not track changes
Max level: 4 - Track object attribute and blob changes

Aggregate

An aggregate is a cluster of domain objects that can be treated as a single unit.

Aggregate Parent:
General.Contacts.Parties
Aggregate Root:
General.Contacts.Parties

Attributes

Name Type Description
ApplicableLegislation ApplicableLegislation A legislation, which applies to the specified party. The list of legislations is system defined, and contains legislations for which system rules are currently defined. For example: US, UK, EU, DE, FR, ES, IT, BG, MK, RO, GR, etc. Required Filter(multi eq) ORD
DisplayText string Uses the repository DisplayTextFormat to build the display text from the attributes and references of current object.
Id guid
Notes string (254) nullable Notes for this PartyApplicableLegislation. Filter(like)
ObjectVersion int32 The latest version of the extensible data object for the aggregate root for the time the object is loaded from the database. Can be used for optimistic locking.

References

Name Type Description
Party Parties The to which this PartyApplicableLegislation belongs. Required Filter(multi eq) Owner

Attribute Details

ApplicableLegislation

A legislation, which applies to the specified party. The list of legislations is system defined, and contains legislations for which system rules are currently defined. For example: US, UK, EU, DE, FR, ES, IT, BG, MK, RO, GR, etc. Required Filter(multi eq) ORD

Type: ApplicableLegislation
Category: System
Allowed values for the ApplicableLegislation(General.Contacts.PartyApplicableLegislations.md#applicablelegislation) data attribute
Allowed Values (General.Contacts.PartyApplicableLegislationsRepository.ApplicableLegislation Enum Members)

Value Description
UnitedArabEmirates UnitedArabEmirates value. Stored as 'AE'.
Database Value: 'AE'
Model Value: 0
Domain API Value: 'UnitedArabEmirates'
Australia Australia value. Stored as 'AU'.
Database Value: 'AU'
Model Value: 1
Domain API Value: 'Australia'
Bulgaria Bulgaria value. Stored as 'BG'.
Database Value: 'BG'
Model Value: 2
Domain API Value: 'Bulgaria'
Canada Canada value. Stored as 'CA'.
Database Value: 'CA'
Model Value: 3
Domain API Value: 'Canada'
China China value. Stored as 'CN'.
Database Value: 'CN'
Model Value: 4
Domain API Value: 'China'
CzechRepublic CzechRepublic value. Stored as 'CZ'.
Database Value: 'CZ'
Model Value: 5
Domain API Value: 'CzechRepublic'
Germany Germany value. Stored as 'DE'.
Database Value: 'DE'
Model Value: 6
Domain API Value: 'Germany'
Spain Spain value. Stored as 'ES'.
Database Value: 'ES'
Model Value: 7
Domain API Value: 'Spain'
EuropeanUnion EuropeanUnion value. Stored as 'EU'.
Database Value: 'EU'
Model Value: 8
Domain API Value: 'EuropeanUnion'
France France value. Stored as 'FR'.
Database Value: 'FR'
Model Value: 9
Domain API Value: 'France'
Greece Greece value. Stored as 'GR'.
Database Value: 'GR'
Model Value: 10
Domain API Value: 'Greece'
Hungary Hungary value. Stored as 'HU'.
Database Value: 'HU'
Model Value: 11
Domain API Value: 'Hungary'
India India value. Stored as 'IN'.
Database Value: 'IN'
Model Value: 12
Domain API Value: 'India'
Italy Italy value. Stored as 'IT'.
Database Value: 'IT'
Model Value: 13
Domain API Value: 'Italy'
Japan Japan value. Stored as 'JP'.
Database Value: 'JP'
Model Value: 14
Domain API Value: 'Japan'
Macedonia Macedonia value. Stored as 'MK'.
Database Value: 'MK'
Model Value: 15
Domain API Value: 'Macedonia'
Poland Poland value. Stored as 'PL'.
Database Value: 'PL'
Model Value: 16
Domain API Value: 'Poland'
Portugal Portugal value. Stored as 'PT'.
Database Value: 'PT'
Model Value: 17
Domain API Value: 'Portugal'
Romania Romania value. Stored as 'RO'.
Database Value: 'RO'
Model Value: 18
Domain API Value: 'Romania'
Serbia Serbia value. Stored as 'RS'.
Database Value: 'RS'
Model Value: 19
Domain API Value: 'Serbia'
Russia Russia value. Stored as 'RU'.
Database Value: 'RU'
Model Value: 20
Domain API Value: 'Russia'
Turkey Turkey value. Stored as 'TR'.
Database Value: 'TR'
Model Value: 21
Domain API Value: 'Turkey'
UnitedKingdom UnitedKingdom value. Stored as 'UK'.
Database Value: 'UK'
Model Value: 22
Domain API Value: 'UnitedKingdom'
UnitedStates UnitedStates value. Stored as 'US'.
Database Value: 'US'
Model Value: 23
Domain API Value: 'UnitedStates'
SouthAfrica SouthAfrica value. Stored as 'ZA'.
Database Value: 'ZA'
Model Value: 24
Domain API Value: 'SouthAfrica'

Supported Filters: Equals, EqualsIn
Supports Order By: True
Show in UI: ShownByDefault

DisplayText

Uses the repository DisplayTextFormat to build the display text from the attributes and references of current object.

Type: string
Category: Calculated Attributes
Supported Filters: NotFilterable
Supports Order By: ****
Show in UI: HiddenByDefault

Id

Type: guid
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Default Value: NewGuid
Show in UI: CannotBeShown

Notes

Notes for this PartyApplicableLegislation. Filter(like)

Type: string (254) nullable
Category: System
Supported Filters: Like
Supports Order By: False
Maximum Length: 254
Show in UI: ShownByDefault

ObjectVersion

The latest version of the extensible data object for the aggregate root for the time the object is loaded from the database. Can be used for optimistic locking.

Type: int32
Category: Extensible Data Object
Supported Filters: NotFilterable
Supports Order By: ****
Show in UI: HiddenByDefault

Reference Details

Party

The to which this PartyApplicableLegislation belongs. Required Filter(multi eq) Owner

Type: Parties
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Filterable Reference: True
Show in UI: ShownByDefault

API Methods

Methods that can be invoked in public APIs.

GetAllowedCustomPropertyValues

Gets the allowed values for the specified custom property for this entity object. If supported the result is ordered by property value. Some property value sources do not support ordering - in that case the result is not ordered.
Return Type: Collection Of CustomPropertyValue
Declaring Type: EntityObject
Domain API Request: GET

Parameters

  • customPropertyCode
    The code of the custom property
    Type: string

  • search
    The search text - searches by value or description. Can contain wildcard character %.
    Type: string
    Optional: True
    Default Value: null

  • exactMatch
    If true the search text should be equal to the property value
    Type: boolean
    Optional: True
    Default Value: False

  • orderByDescription
    If true the result is ordered by Description instead of Value. Note that ordering is not always possible.
    Type: boolean
    Optional: True
    Default Value: False

  • top
    The top clause - default is 10
    Type: int32
    Optional: True
    Default Value: 10

  • skip
    The skip clause - default is 0
    Type: int32
    Optional: True
    Default Value: 0

CreateNotification

Create a notification immediately in a separate transaction, and send a real-time event to the user.
Return Type: void
Declaring Type: EntityObject
Domain API Request: POST

Parameters

  • user
    The user.
    Type: Users

  • notificationClass
    The notification class.
    Type: string

  • subject
    The notification subject.
    Type: string

CreateCopy

Duplicates the object and its child objects belonging to the same aggregate. The duplicated objects are not saved to the data source but remain in the same transaction as the original object.
Return Type: EntityObject
Declaring Type: EntityObject
Domain API Request: POST

Business Rules

None

Front-End Business Rules

None

API

Domain API Query: https://demodb.my.erp.net/api/domain/odata/General_Contacts_PartyApplicableLegislations?$top=10

Domain API Query Builder: https://demodb.my.erp.net/api/domain/querybuilder#General_Contacts_PartyApplicableLegislations?$top=10