Table of Contents

Crm.Pos.ProductTypeTaxGroups Entity

Namespace: Crm.Pos

Contains the tax group codes for the product types. The tax group codes are used when sales documents are printed to fiscal printers or exported to fiscal authorities. Entity: Pos_Product_Type_Tax_Groups (Introduced in version 19.1)

Default Visualization

Default Display Text Format:
{ProductType.Name:T}
Default Search Members:
ProductType.Name
Name Data Member:
ProductType.Name
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.Products.ProductTypes
Aggregate Root:
General.Products.ProductTypes

Attributes

Name Type Description
ApplicableLegislation ApplicableLegislation The legislation, for which the tax group is applicable. Required Filter(multi eq)
DisplayText string Uses the repository DisplayTextFormat to build the display text from the attributes and references of current object.
Id guid
Notes string (max) nullable Notes for this ProductTypeTaxGroup. Filter(eq;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.
TaxGroup TaxGroup The tax group of the product type within the specified applicable legislation. Required Filter(multi eq)

References

Name Type Description
ProductType ProductTypes The product type for which the tax group is specified. Required Filter(multi eq) Owner

Attribute Details

ApplicableLegislation

The legislation, for which the tax group is applicable. Required Filter(multi eq)

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: False
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 ProductTypeTaxGroup. Filter(eq;like)

Type: string (max) nullable
Category: System
Supported Filters: Equals, Like
Supports Order By: False
Maximum Length: 2147483647
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

TaxGroup

The tax group of the product type within the specified applicable legislation. Required Filter(multi eq)

Type: TaxGroup
Category: System
Allowed values for the TaxGroup(Crm.Pos.ProductTypeTaxGroups.md#taxgroup) data attribute
Allowed Values (Crm.Pos.ProductTypeTaxGroupsRepository.TaxGroup Enum Members)

Value Description
Zero Zero value. Stored as 0.
Database Value: 0
Model Value: 0
Domain API Value: 'Zero'
One One value. Stored as 1.
Database Value: 1
Model Value: 1
Domain API Value: 'One'
Two Two value. Stored as 2.
Database Value: 2
Model Value: 2
Domain API Value: 'Two'
Three Three value. Stored as 3.
Database Value: 3
Model Value: 3
Domain API Value: 'Three'
Four Four value. Stored as 4.
Database Value: 4
Model Value: 4
Domain API Value: 'Four'
Five Five value. Stored as 5.
Database Value: 5
Model Value: 5
Domain API Value: 'Five'
Six Six value. Stored as 6.
Database Value: 6
Model Value: 6
Domain API Value: 'Six'
Seven Seven value. Stored as 7.
Database Value: 7
Model Value: 7
Domain API Value: 'Seven'
Eight Eight value. Stored as 8.
Database Value: 8
Model Value: 8
Domain API Value: 'Eight'

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

Reference Details

ProductType

The product type for which the tax group is specified. Required Filter(multi eq) Owner

Type: ProductTypes
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/Crm_Pos_ProductTypeTaxGroups?$top=10

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