Table of Contents

Finance.Excise.MeasuringTransactions Entity

Namespace: Finance.Excise

Transaction of product input or output, measured with specialized measuring device for excise purposes. Entity: Exc_Measuring_Transactions (Introduced in version 21.1.1.9)

Default Visualization

Default Display Text Format:
{TransactionNumber}: {MeasuringDeviceCode}
Default Search Members:
MeasuringDeviceCode
Code Data Member:
MeasuringDeviceCode
Category: Views
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 Tree

Attributes

Name Type Description
AlcoholDegree decimal (5, 2) nullable For alcoholic products, contains the percentage of pure alcohol. null when the transaction is not for alcoholic products. Filter(multi eq;ge;le)
AlcoholDensity int32 nullable For alcoholic products, contains the average density for the whole transaction. The measurement unit is dependent on the applicable legislation. null for non-alcoholic products. Filter(multi eq;ge;le)
AlcoholTemperature int32 nullable For alcoholic products, contains the temperature of the fluid, when Alcohol Degree was calculated. The measurement unit is dependent on the national regulation (usually Celsius). null for non-alcoholic products. Filter(multi eq;ge;le)
Direction Direction The direction of the transaction - IN/OUT. Required
DisplayText string Uses the repository DisplayTextFormat to build the display text from the attributes and references of current object.
EndTimeUtc datetime Ending time of the transaction (in UTC time). Required Filter(eq;ge;le)
Id guid
MeasuringDeviceCode string (32) The code of the measuring device, used to measure the transaction. Required Filter(multi eq;like) ORD
Notes string (max) nullable Notes for this MeasuringTransaction.
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.
Quantity Quantity (12, 3) The quantity of the product, measured with this transaction. Unit: QuantityUnit Required Filter(eq;ge;le)
StartTimeUtc datetime Starting time of the transaction (in UTC time). Required Filter(eq;ge;le)
TotalCounterEnd decimal (12, 3) nullable Total counter value at the end of the transaction. Introduced in version 23.1.1.42
TotalCounterStart decimal (12, 3) nullable Total counter value at the start of the transaction. Introduced in version 23.1.1.42
TransactionNumber string (32) Transaction number, unique for the measuring device. Required Filter(multi eq;like)

References

Name Type Description
Product Products The product, which was being measured. Required Filter(multi eq)
QuantityUnit MeasurementUnits The measurement unit of Quantity. Required Filter(multi eq)
TaxWarehouse TaxWarehouses The tax warehouse, where the transaction occurred. Required Filter(multi eq)

Attribute Details

AlcoholDegree

For alcoholic products, contains the percentage of pure alcohol. null when the transaction is not for alcoholic products. Filter(multi eq;ge;le)

Type: decimal (5, 2) nullable
Category: System
Supported Filters: Equals, GreaterThanOrLessThan, EqualsIn
Supports Order By: False
Show in UI: ShownByDefault

AlcoholDensity

For alcoholic products, contains the average density for the whole transaction. The measurement unit is dependent on the applicable legislation. null for non-alcoholic products. Filter(multi eq;ge;le)

Type: int32 nullable
Category: System
Supported Filters: Equals, GreaterThanOrLessThan, EqualsIn
Supports Order By: False
Show in UI: ShownByDefault

AlcoholTemperature

For alcoholic products, contains the temperature of the fluid, when Alcohol Degree was calculated. The measurement unit is dependent on the national regulation (usually Celsius). null for non-alcoholic products. Filter(multi eq;ge;le)

Type: int32 nullable
Category: System
Supported Filters: Equals, GreaterThanOrLessThan, EqualsIn
Supports Order By: False
Show in UI: ShownByDefault

Direction

The direction of the transaction - IN/OUT. Required

Type: Direction
Category: System
Allowed values for the Direction(Finance.Excise.MeasuringTransactions.md#direction) data attribute
Allowed Values (Finance.Excise.MeasuringTransactionsRepository.Direction Enum Members)

Value Description
IN IN value. Stored as 'I'.
Database Value: 'I'
Model Value: 0
Domain API Value: 'IN'
OUT OUT value. Stored as 'O'.
Database Value: 'O'
Model Value: 1
Domain API Value: 'OUT'

Supported Filters: NotFilterable
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

EndTimeUtc

Ending time of the transaction (in UTC time). Required Filter(eq;ge;le)

Type: datetime
Category: System
Supported Filters: Equals, GreaterThanOrLessThan
Supports Order By: False
Show in UI: ShownByDefault

Id

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

MeasuringDeviceCode

The code of the measuring device, used to measure the transaction. Required Filter(multi eq;like) ORD

Type: string (32)
Indexed: True
Category: System
Supported Filters: Equals, Like, EqualsIn
Supports Order By: True
Maximum Length: 32
Show in UI: ShownByDefault

Notes

Notes for this MeasuringTransaction.

Type: string (max) nullable
Category: System
Supported Filters: NotFilterable
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

Quantity

The quantity of the product, measured with this transaction. Unit: QuantityUnit Required Filter(eq;ge;le)

Type: Quantity (12, 3)
Category: System
Supported Filters: Equals, GreaterThanOrLessThan
Supports Order By: False
Show in UI: ShownByDefault

StartTimeUtc

Starting time of the transaction (in UTC time). Required Filter(eq;ge;le)

Type: datetime
Category: System
Supported Filters: Equals, GreaterThanOrLessThan
Supports Order By: False
Show in UI: ShownByDefault

TotalCounterEnd

Total counter value at the end of the transaction. Introduced in version 23.1.1.42

Type: decimal (12, 3) nullable
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Show in UI: ShownByDefault

TotalCounterStart

Total counter value at the start of the transaction. Introduced in version 23.1.1.42

Type: decimal (12, 3) nullable
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Show in UI: ShownByDefault

TransactionNumber

Transaction number, unique for the measuring device. Required Filter(multi eq;like)

Type: string (32)
Category: System
Supported Filters: Equals, Like, EqualsIn
Supports Order By: False
Maximum Length: 32
Show in UI: ShownByDefault

Reference Details

Product

The product, which was being measured. Required Filter(multi eq)

Type: Products
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault

QuantityUnit

The measurement unit of Quantity. Required Filter(multi eq)

Type: MeasurementUnits
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault

TaxWarehouse

The tax warehouse, where the transaction occurred. Required Filter(multi eq)

Type: TaxWarehouses
Indexed: True
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: 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/Finance_Excise_MeasuringTransactions?$top=10

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