Table

LvNRTaxTrans

Natural resources tax transactions

Transactions for natural resources tax. Each row holds the item, warehouse, packing details, tax base, tax rate and tax amount. It links to a source record such as a customer invoice line. The type shows whether the tax is on dangerous items or on packing materials.

Table name
LvNRTaxTrans
Module
Tax
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (32)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BOMLineYes/No value showing whether the transaction is for a BOM line.Enum
BOMLine
NoYes (enum)
NoTaxOnNaturalResourcesEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventDimIdID of the inventory dimension combination.String (20)
InventDimId
YesTaxOnNaturalResourcesEntity
InventLocationIdWarehouse of the transaction.String
InventLocationId
NoInventLocation.InventLocationIdNone
InventTransIdLot ID linking to the inventory transaction origin.String (20)
InventTransId
NoInventTransOrigin.InventTransIdTaxOnNaturalResourcesEntity
InventTransRefIdNumber of the document that the inventory transaction refers to.String (20)
InventTransRefId
NoTaxOnNaturalResourcesEntity
InventTransTypeKind of inventory transaction, such as sales order, production or purchase order.Enum
InventTransType (enum)
NoTaxOnNaturalResourcesEntity
InvoiceIdInvoice number.String (50)
InvoiceId
NoTaxOnNaturalResourcesEntity
ItemIdItem the transaction is for.String (20)
ItemId
YesInventTable.ItemIdTaxOnNaturalResourcesEntity
ItemQtyQuantity of the item.Real
Qty
NoTaxOnNaturalResourcesEntity
LineIdUnique GUID of the line.Guid
SysGuid
NoTaxOnNaturalResourcesEntity
NRTaxGroupNatural resources tax group of the transaction.String
LvNRTaxGroup
NoLvNRTaxItemGroupHeading.GroupIdTaxOnNaturalResourcesEntity
PackingMaterialCodePacking material code.String
InventPackingMaterialCode
NoInventPackagingMaterialCode.PackMaterialCodeTaxOnNaturalResourcesEntity
PackingQtyPacking quantity.Real
Qty
NoTaxOnNaturalResourcesEntity
PackingUnitPacking unit.String
InventPackingUnit
NoTaxOnNaturalResourcesEntity
PackingUnitQtyQuantity of packaging units.Real
Qty
NoTaxOnNaturalResourcesEntity
PackingUnitWeightWeight of one packing unit.Real
InventPackingUnitWeight
NoTaxOnNaturalResourcesEntity
PackingWeightWeight of the packing.Real
InventPackagingWeight
NoTaxOnNaturalResourcesEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SalesTaxGroupSales tax group of the transaction.String
TaxGroup
NoTaxGroupHeading.TaxGroupTaxOnNaturalResourcesEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountTax amount.Real
TaxAmount
NoTaxOnNaturalResourcesEntity
TaxBaseAmountAmount that the tax is based on.Real
TaxBase
NoTaxOnNaturalResourcesEntity
TaxCodeSales tax code.String
TaxCode
NoTaxTable.TaxCodeTaxOnNaturalResourcesEntity
TaxValueTax value, such as the rate.Real
TaxValue
NoTaxOnNaturalResourcesEntity
TransDateDate of the transaction.Date
TransDate
YesTaxOnNaturalResourcesEntity
TransRecIdSystem record ID of the source record, such as a customer invoice line.Int64
RefRecId
NoTaxOnNaturalResourcesEntity
TransTableIdID of the table of the source record.Integer
RefTableId
NoTaxOnNaturalResourcesEntity
TransTypeType of tax: on dangerous items or on packing materials.Enum
LvNRTransType (enum)
YesTaxOnNaturalResourcesEntity
VoucherVoucher number of the transaction.String (20)
Voucher
NoTaxOnNaturalResourcesEntity

Indexes (3)

Relations (10)

Each relation joins LvNRTaxTrans to another table on the fields shown.

  • CustInvoice → CustInvoiceTrans

    Join on TransRecId = CustInvoiceTrans.RecId, TransTableId = CustInvoiceTrans.TableId

    Many LvNRTaxTrans records → zero or one CustInvoiceTrans record

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many LvNRTaxTrans records → zero or one InventLocation record

  • InventPackagingMaterialCode → InventPackagingMaterialCode

    Join on PackingMaterialCode = InventPackagingMaterialCode.PackMaterialCode

    Many LvNRTaxTrans records → exactly one InventPackagingMaterialCode record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    One or more LvNRTaxTrans records → exactly one InventTable record

  • InventTrans → InventJournalTrans

    Join on TransRecId = InventJournalTrans.RecId, TransTableId = InventJournalTrans.TableId

    Many LvNRTaxTrans records → zero or one InventJournalTrans record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Many LvNRTaxTrans records → zero or one InventTransOrigin record

  • LvNRTaxItemGroupHeading → LvNRTaxItemGroupHeading

    Join on NRTaxGroup = LvNRTaxItemGroupHeading.GroupId

    Many LvNRTaxTrans records → exactly one LvNRTaxItemGroupHeading record

  • ProjInvoice → ProjInvoiceItem

    Join on TransRecId = ProjInvoiceItem.RecId, TransTableId = ProjInvoiceItem.TableId

    Many LvNRTaxTrans records → zero or one ProjInvoiceItem record

  • TaxGroupHeading → TaxGroupHeading

    Join on SalesTaxGroup = TaxGroupHeading.TaxGroup

    Many LvNRTaxTrans records → exactly one TaxGroupHeading record

  • TaxTable → TaxTable

    Join on TaxCode = TaxTable.TaxCode

    Many LvNRTaxTrans records → zero or one TaxTable record

Get this data out

Tables are not exposed directly. These public entities read from LvNRTaxTrans; use one of them in Power BI, Power Platform or a data management project.

Need help with LvNRTaxTrans in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk