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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BOMLineYes/No value showing whether the transaction is for a BOM line. | EnumBOMLineNoYes (enum) | No | TaxOnNaturalResourcesEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventDimIdID of the inventory dimension combination. | String (20)InventDimId | Yes | TaxOnNaturalResourcesEntity | |
InventLocationIdWarehouse of the transaction. | StringInventLocationId | No | InventLocation.InventLocationId | None |
InventTransIdLot ID linking to the inventory transaction origin. | String (20)InventTransId | No | InventTransOrigin.InventTransId | TaxOnNaturalResourcesEntity |
InventTransRefIdNumber of the document that the inventory transaction refers to. | String (20)InventTransRefId | No | TaxOnNaturalResourcesEntity | |
InventTransTypeKind of inventory transaction, such as sales order, production or purchase order. | EnumInventTransType (enum) | No | TaxOnNaturalResourcesEntity | |
InvoiceIdInvoice number. | String (50)InvoiceId | No | TaxOnNaturalResourcesEntity | |
ItemIdItem the transaction is for. | String (20)ItemId | Yes | InventTable.ItemId | TaxOnNaturalResourcesEntity |
ItemQtyQuantity of the item. | RealQty | No | TaxOnNaturalResourcesEntity | |
LineIdUnique GUID of the line. | GuidSysGuid | No | TaxOnNaturalResourcesEntity | |
NRTaxGroupNatural resources tax group of the transaction. | StringLvNRTaxGroup | No | LvNRTaxItemGroupHeading.GroupId | TaxOnNaturalResourcesEntity |
PackingMaterialCodePacking material code. | StringInventPackingMaterialCode | No | InventPackagingMaterialCode.PackMaterialCode | TaxOnNaturalResourcesEntity |
PackingQtyPacking quantity. | RealQty | No | TaxOnNaturalResourcesEntity | |
PackingUnitPacking unit. | StringInventPackingUnit | No | TaxOnNaturalResourcesEntity | |
PackingUnitQtyQuantity of packaging units. | RealQty | No | TaxOnNaturalResourcesEntity | |
PackingUnitWeightWeight of one packing unit. | RealInventPackingUnitWeight | No | TaxOnNaturalResourcesEntity | |
PackingWeightWeight of the packing. | RealInventPackagingWeight | No | TaxOnNaturalResourcesEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SalesTaxGroupSales tax group of the transaction. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | TaxOnNaturalResourcesEntity |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxAmountTax amount. | RealTaxAmount | No | TaxOnNaturalResourcesEntity | |
TaxBaseAmountAmount that the tax is based on. | RealTaxBase | No | TaxOnNaturalResourcesEntity | |
TaxCodeSales tax code. | StringTaxCode | No | TaxTable.TaxCode | TaxOnNaturalResourcesEntity |
TaxValueTax value, such as the rate. | RealTaxValue | No | TaxOnNaturalResourcesEntity | |
TransDateDate of the transaction. | DateTransDate | Yes | TaxOnNaturalResourcesEntity | |
TransRecIdSystem record ID of the source record, such as a customer invoice line. | Int64RefRecId | No | TaxOnNaturalResourcesEntity | |
TransTableIdID of the table of the source record. | IntegerRefTableId | No | TaxOnNaturalResourcesEntity | |
TransTypeType of tax: on dangerous items or on packing materials. | EnumLvNRTransType (enum) | Yes | TaxOnNaturalResourcesEntity | |
VoucherVoucher number of the transaction. | String (20)Voucher | No | TaxOnNaturalResourcesEntity |
Indexes (3)
DimIdIdxNot unique.
TransIdIdxNot unique.
ItemIdxItemId,InvoiceId,InventTransIdNot unique.
Relations (10)
Each relation joins LvNRTaxTrans to another table on the fields shown.
CustInvoice→CustInvoiceTransJoin on
TransRecId = CustInvoiceTrans.RecId,TransTableId = CustInvoiceTrans.TableIdMany LvNRTaxTrans records → zero or one CustInvoiceTrans record
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationIdMany LvNRTaxTrans records → zero or one InventLocation record
InventPackagingMaterialCode→InventPackagingMaterialCodeJoin on
PackingMaterialCode = InventPackagingMaterialCode.PackMaterialCodeMany LvNRTaxTrans records → exactly one InventPackagingMaterialCode record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdOne or more LvNRTaxTrans records → exactly one InventTable record
InventTrans→InventJournalTransJoin on
TransRecId = InventJournalTrans.RecId,TransTableId = InventJournalTrans.TableIdMany LvNRTaxTrans records → zero or one InventJournalTrans record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdMany LvNRTaxTrans records → zero or one InventTransOrigin record
LvNRTaxItemGroupHeading→LvNRTaxItemGroupHeadingJoin on
NRTaxGroup = LvNRTaxItemGroupHeading.GroupIdMany LvNRTaxTrans records → exactly one LvNRTaxItemGroupHeading record
ProjInvoice→ProjInvoiceItemJoin on
TransRecId = ProjInvoiceItem.RecId,TransTableId = ProjInvoiceItem.TableIdMany LvNRTaxTrans records → zero or one ProjInvoiceItem record
TaxGroupHeading→TaxGroupHeadingJoin on
SalesTaxGroup = TaxGroupHeading.TaxGroupMany LvNRTaxTrans records → exactly one TaxGroupHeading record
TaxTable→TaxTableJoin on
TaxCode = TaxTable.TaxCodeMany 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.
TaxOnNaturalResourcesEntity· 26 fields from this table
Need help with LvNRTaxTrans in a report, an integration or a migration? Talk to Dr Dynamics.