Finance.Vat.BGVATDeclaringPersons Entity
Namespace: Finance.Vat
National data: Contains the persons, which are authorized to issue and sign VAT declarations. Entity: Nat_BG_VAT_Declaring_Persons
Default Visualization
Default Display Text Format:
{EnterpriseCompany.Company.PartyName:T}
Default Search Members:
EnterpriseCompany.Company.PartyName
Name Data Member:
EnterpriseCompany.Company.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.EnterpriseCompanies
Aggregate Root:
General.EnterpriseCompanies
Attributes
Name | Type | Description |
---|---|---|
DeclarerType | DeclarerType | Type of the declaring person. A=Attorney, R=Representative. Required Filter(eq) |
DeclaringPersonAddress | string (150) | Address for correspondence of the declaring person. Required |
DeclaringPersonCity | string (50) | City from the address for correspondence of the declaring person. Required |
DeclaringPersonPosition | string (50) nullable | Position of the declaring person in the enterprise company. |
DeclaringPersonPostcode | string (4) | Postcode from the address for correspondence of the declaring person. Required |
DisplayText | string | Uses the repository DisplayTextFormat to build the display text from the attributes and references of current object. |
Id | guid | |
IsDefault | boolean | True if this is the default person, which issues VAT declarations for this Enterprise Company. Required Default(true) |
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 |
---|---|---|
EnterpriseCompany | EnterpriseCompanies | The enterprise company for which the person is presenting the declaration. Required Filter(multi eq) Owner |
Person | Persons | The person that is presenting the declaration. Required Filter(multi eq) |
Attribute Details
DeclarerType
Type of the declaring person. A=Attorney, R=Representative. Required
Filter(eq)
Type: DeclarerType
Category: System
Allowed values for the DeclarerType
(Finance.Vat.BGVATDeclaringPersons.md#declarertype) data attribute
Allowed Values (Finance.Vat.BGVATDeclaringPersonsRepository.DeclarerType Enum Members)
Value | Description |
---|---|
Attorney | Attorney value. Stored as 'A'. Database Value: 'A' Model Value: 0 Domain API Value: 'Attorney' |
Representative | Representative value. Stored as 'R'. Database Value: 'R' Model Value: 1 Domain API Value: 'Representative' |
Supported Filters: Equals
Supports Order By: False
Show in UI: ShownByDefault
DeclaringPersonAddress
Address for correspondence of the declaring person. Required
Type: string (150)
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Maximum Length: 150
Show in UI: ShownByDefault
Front-End Recalc Expressions:
obj.Person.GetValidAddress( ).Name
DeclaringPersonCity
City from the address for correspondence of the declaring person. Required
Type: string (50)
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Maximum Length: 50
Show in UI: ShownByDefault
DeclaringPersonPosition
Position of the declaring person in the enterprise company.
Type: string (50) nullable
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Maximum Length: 50
Show in UI: ShownByDefault
DeclaringPersonPostcode
Postcode from the address for correspondence of the declaring person. Required
Type: string (4)
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Maximum Length: 4
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
IsDefault
True if this is the default person, which issues VAT declarations for this Enterprise Company. Required
Default(true)
Type: boolean
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Default Value: True
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
EnterpriseCompany
The enterprise company for which the person is presenting the declaration. Required
Filter(multi eq)
Owner
Type: EnterpriseCompanies
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Filterable Reference: True
Show in UI: HiddenByDefault
Person
The person that is presenting the declaration. Required
Filter(multi eq)
Type: Persons
Category: System
Supported Filters: Equals, EqualsIn
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: stringsearch
The search text - searches by value or description. Can contain wildcard character %.
Type: string
Optional: True
Default Value: nullexactMatch
If true the search text should be equal to the property value
Type: boolean
Optional: True
Default Value: FalseorderByDescription
If true the result is ordered by Description instead of Value. Note that ordering is not always possible.
Type: boolean
Optional: True
Default Value: Falsetop
The top clause - default is 10
Type: int32
Optional: True
Default Value: 10skip
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: UsersnotificationClass
The notification class.
Type: stringsubject
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
API
Domain API Query: https://demodb.my.erp.net/api/domain/odata/Finance_Vat_BGVATDeclaringPersons?$top=10
Domain API Query Builder: https://demodb.my.erp.net/api/domain/querybuilder#Finance_Vat_BGVATDeclaringPersons?$top=10