Data entity
TaxOnNaturalResourcesEntity
Holds natural resource tax transactions used for Latvia. Each line is identified by a line ID. It records the item, quantity, packing material and unit, tax group, tax base, tax amount, voucher and date.
- Entity name
TaxOnNaturalResourcesEntity- Public entity name
NRTaxTrans- OData collection
NRTaxTrans- Category
Reference- Module
Tax- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
LineId- Staging table
TaxOnNaturalResourcesStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/NRTaxTrans- Dataverse virtual table
mserp_taxonnaturalresourcesentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
LvNRTaxTrans· root
Fields (26)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
BOMLineYes/No value showing whether the transaction is for a BOM line. | EnumBOMLine
| No | Yes | LvNRTaxTrans.BOMLine | |
DimensionNumberID of the inventory dimension combination. | String (20)InventDimId | Yes | Yes | LvNRTaxTrans.InventDimId | |
InventTransIdLot ID linking to the inventory transaction origin. | String (20)InventTransId | No | Yes | InventTransOrigin.InventTransId | LvNRTaxTrans.InventTransId |
InvoiceInvoice number. | String (50)InvoiceId | No | Yes | LvNRTaxTrans.InvoiceId | |
InventTransTypeReferenceKind of inventory transaction, such as sales order, production or purchase order. | Enum
| No | Yes | LvNRTaxTrans.InventTransType | |
ItemNumberItem the transaction is for. | String (20)ItemId | Yes | Yes | InventTable.ItemId | LvNRTaxTrans.ItemId |
ItemQtyQuantity of the item. | RealQty | No | Yes | LvNRTaxTrans.ItemQty | |
NRTaxGroupNatural resources tax group of the transaction. | StringLvNRTaxGroup | No | Yes | LvNRTaxItemGroupHeading.GroupId | LvNRTaxTrans.NRTaxGroup |
PackingMaterialCodePacking material code. | StringInventPackingMaterialCode | No | Yes | InventPackagingMaterialCode.PackMaterialCode | LvNRTaxTrans.PackingMaterialCode |
PackingUnitPacking unit. | StringInventPackingUnit | No | Yes | LvNRTaxTrans.PackingUnit | |
PackingQtyPacking quantity. | RealQty | No | Yes | LvNRTaxTrans.PackingQty | |
PackingUnitQtyQuantity of packaging units. | RealQty | No | Yes | LvNRTaxTrans.PackingUnitQty | |
PackingUnitWeightWeight of one packing unit. | RealInventPackingUnitWeight | No | Yes | LvNRTaxTrans.PackingUnitWeight | |
PackingWeightWeight of the packing. | RealInventPackagingWeight | No | Yes | LvNRTaxTrans.PackingWeight | |
SalesTaxGroupSales tax group of the transaction. | StringTaxGroup | No | Yes | TaxGroupHeading.TaxGroup | LvNRTaxTrans.SalesTaxGroup |
TaxAmountTax amount. | RealTaxAmount | No | Yes | LvNRTaxTrans.TaxAmount | |
TaxBaseAmountAmount that the tax is based on. | RealTaxBase | No | Yes | LvNRTaxTrans.TaxBaseAmount | |
TaxCodeSales tax code. | StringTaxCode | No | Yes | TaxTable.TaxCode | LvNRTaxTrans.TaxCode |
TaxValueTax value, such as the rate. | RealTaxValue | No | Yes | LvNRTaxTrans.TaxValue | |
TransDateDate of the transaction. | DateTransDate | Yes | Yes | LvNRTaxTrans.TransDate | |
TransTypeType of tax: on dangerous items or on packing materials. | Enum
| Yes | Yes | LvNRTaxTrans.TransType | |
VoucherVoucher number of the transaction. | String (20)Voucher | No | Yes | LvNRTaxTrans.Voucher | |
LineIdUnique GUID of the line. | GuidSysGuid | No | Yes | LvNRTaxTrans.LineId | |
NumberNumber of the document that the inventory transaction refers to. | String (20)InventTransRefId | No | Yes | LvNRTaxTrans.InventTransRefId | |
ReferenceTableIDID of the table of the source record. | IntegerRefTableId | No | Yes | LvNRTaxTrans.TransTableId | |
TransRecIdReferenceSystem record ID of the source record, such as a customer invoice line. | Int64RefRecId | No | Yes | LvNRTaxTrans.TransRecId |
Foreign keys (6)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
InventTransId→InventTransOrigin.InventTransId(key of InventTransOrigin)Many LvNRTaxTrans records → zero or one InventTransOrigin record
InventTransOrigin details: see WHSOrderCommittedLicensePlateReservationEntity, InventTransOriginBiEntity, InventTransOriginCDREntity
ItemNumber→InventTable.ItemId(key of InventTable)One or more LvNRTaxTrans records → exactly one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
NRTaxGroup→LvNRTaxItemGroupHeading.GroupId(key of LvNRTaxItemGroupHeading)Many LvNRTaxTrans records → exactly one LvNRTaxItemGroupHeading record
LvNRTaxItemGroupHeading details: see NaturalRresourcesTaxGroupEntity
PackingMaterialCode→InventPackagingMaterialCode.PackMaterialCode(key of InventPackagingMaterialCode)Many LvNRTaxTrans records → exactly one InventPackagingMaterialCode record
Not exposed by a public entity.
SalesTaxGroup→TaxGroupHeading.TaxGroup(key of TaxGroupHeading)Many LvNRTaxTrans records → exactly one TaxGroupHeading record
TaxGroupHeading details: see TrvExpMobileTaxGroupEntity, TaxGroupEntity, BusinessDocumentTaxGroupHeadingEntity
TaxCode→TaxTable.TaxCode(key of TaxTable)Many LvNRTaxTrans records → zero or one TaxTable record
TaxTable details: see TaxCodeEntity, BusinessDocumentTaxTableEntity, TNVEDToCustomsPaymentsRelationsEntity
Need help with TaxOnNaturalResourcesEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.