Table
PlInventPackageTrans
Return packages transactions
Transactions for returnable packages given to customers. Each record holds a package, a customer, a quantity, a deposit amount and the returned quantity and amount. It links to sales orders, customer invoices and the return packages journal.
- Table name
PlInventPackageTrans- Module
Inventory- 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 (22)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ClosedYes or no value showing whether the package has been returned. | EnumNoYes (enum) | No | None | |
CustAccountCustomer account linked to the package transaction, pointing to the customer record. | String (20)CustAccount | No | CustTable.AccountNum | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DepositAmountDeposit amount for the packages, in accounting currency. | RealAmountMST | No | None | |
InventTransIdLot ID that links to the inventory transaction originator. | String (20)InventTransId | No | InventTransOrigin.InventTransId | None |
InvoiceDateDate of the related customer invoice. | DateTransDate | No | None | |
InvoiceIdNumber of the related customer invoice. | String (20)Num | No | None | |
NumberSequenceGroupIdNumber sequence group, pointing to the number sequence group record. | StringNumberSequenceGroupId | No | NumberSequenceGroup.numberSequenceGroupId | None |
PackageIdPackage code, pointing to the return packages table. | StringPlPackageId | No | PlInventPackageTable.PackageId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PrintedYes or no value. Purpose not clear from the metadata.low confidence | EnumNoYes (enum) | No | None | |
QtyQuantity of packages. | RealInventQty | 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 | |
RefRecIdSystem record ID of the related return packages journal record. | Int64RefRecId | No | None | |
RefTableIdID of the table of the referenced record, related to the return packages journal. | IntegerRefTableId | No | None | |
ReturnedAmountAmount for the returned packages, in accounting currency. | RealAmountMST | No | None | |
ReturnedQtyQuantity of packages that have been returned. | RealInventQty | No | None | |
SalesIdNumber of the sales order, related to the customer invoice journal. | String (20)SalesId | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransDatePosting date of the transaction. | DateTransDate | No | None | |
VoucherVoucher number of the transaction. | String (20)Voucher | No | None |
Indexes (1)
InvoiceDateIdxRefTableId,RefRecId,PackageId,SalesId,InvoiceId,InvoiceDateNot unique.
Relations (9)
Each relation joins PlInventPackageTrans to another table on the fields shown.
CustInvoiceJour→CustInvoiceJourJoin on
SalesId = CustInvoiceJour.SalesId,InvoiceId = CustInvoiceJour.InvoiceId,InvoiceDate = CustInvoiceJour.InvoiceDate,NumberSequenceGroupId = CustInvoiceJour.numberSequenceGroupMany PlInventPackageTrans records → exactly one CustInvoiceJour record
CustPackingSlipJour→CustPackingSlipJourJoin on
InvoiceId = CustPackingSlipJour.PackingSlipId,SalesId = CustPackingSlipJour.SalesId,InvoiceDate = CustPackingSlipJour.DeliveryDateMany PlInventPackageTrans records → exactly one CustPackingSlipJour record
CustTable→CustTableJoin on
CustAccount = CustTable.AccountNumMany PlInventPackageTrans records → exactly one CustTable record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdMany PlInventPackageTrans records → exactly one InventTransOrigin record
NumberSequenceGroup→NumberSequenceGroupJoin on
NumberSequenceGroupId = NumberSequenceGroup.numberSequenceGroupIdMany PlInventPackageTrans records → exactly one NumberSequenceGroup record
PlInventPackageReturn→PlInventPackageReturnJoin on
RefTableId = PlInventPackageReturn.TableId,RefRecId = PlInventPackageReturn.RecIdMany PlInventPackageTrans records → exactly one PlInventPackageReturn record
PlInventPackageTable→PlInventPackageTableJoin on
PackageId = PlInventPackageTable.PackageIdMany PlInventPackageTrans records → exactly one PlInventPackageTable record
SalesLine→SalesLineJoin on
RefTableId = SalesLine.TableId,RefRecId = SalesLine.RecIdMany PlInventPackageTrans records → exactly one SalesLine record
SalesTable→SalesTableJoin on
RefTableId = SalesTable.TableId,RefRecId = SalesTable.RecIdMany PlInventPackageTrans records → exactly one SalesTable record
Get this data out
No public entity reads from PlInventPackageTrans. Its data is only reachable through the application, a custom entity or a database export.
Need help with PlInventPackageTrans in a report, an integration or a migration? Talk to Dr Dynamics.