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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ClosedYes or no value showing whether the package has been returned.Enum
NoYes (enum)
NoNone
CustAccountCustomer account linked to the package transaction, pointing to the customer record.String (20)
CustAccount
NoCustTable.AccountNumNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DepositAmountDeposit amount for the packages, in accounting currency.Real
AmountMST
NoNone
InventTransIdLot ID that links to the inventory transaction originator.String (20)
InventTransId
NoInventTransOrigin.InventTransIdNone
InvoiceDateDate of the related customer invoice.Date
TransDate
NoNone
InvoiceIdNumber of the related customer invoice.String (20)
Num
NoNone
NumberSequenceGroupIdNumber sequence group, pointing to the number sequence group record.String
NumberSequenceGroupId
NoNumberSequenceGroup.numberSequenceGroupIdNone
PackageIdPackage code, pointing to the return packages table.String
PlPackageId
NoPlInventPackageTable.PackageIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PrintedYes or no value. Purpose not clear from the metadata.low confidenceEnum
NoYes (enum)
NoNone
QtyQuantity of packages.Real
InventQty
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
RefRecIdSystem record ID of the related return packages journal record.Int64
RefRecId
NoNone
RefTableIdID of the table of the referenced record, related to the return packages journal.Integer
RefTableId
NoNone
ReturnedAmountAmount for the returned packages, in accounting currency.Real
AmountMST
NoNone
ReturnedQtyQuantity of packages that have been returned.Real
InventQty
NoNone
SalesIdNumber of the sales order, related to the customer invoice journal.String (20)
SalesId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransDatePosting date of the transaction.Date
TransDate
NoNone
VoucherVoucher number of the transaction.String (20)
Voucher
NoNone

Indexes (1)

Relations (9)

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

  • CustInvoiceJour → CustInvoiceJour

    Join on SalesId = CustInvoiceJour.SalesId, InvoiceId = CustInvoiceJour.InvoiceId, InvoiceDate = CustInvoiceJour.InvoiceDate, NumberSequenceGroupId = CustInvoiceJour.numberSequenceGroup

    Many PlInventPackageTrans records → exactly one CustInvoiceJour record

  • CustPackingSlipJour → CustPackingSlipJour

    Join on InvoiceId = CustPackingSlipJour.PackingSlipId, SalesId = CustPackingSlipJour.SalesId, InvoiceDate = CustPackingSlipJour.DeliveryDate

    Many PlInventPackageTrans records → exactly one CustPackingSlipJour record

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many PlInventPackageTrans records → exactly one CustTable record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Many PlInventPackageTrans records → exactly one InventTransOrigin record

  • NumberSequenceGroup → NumberSequenceGroup

    Join on NumberSequenceGroupId = NumberSequenceGroup.numberSequenceGroupId

    Many PlInventPackageTrans records → exactly one NumberSequenceGroup record

  • PlInventPackageReturn → PlInventPackageReturn

    Join on RefTableId = PlInventPackageReturn.TableId, RefRecId = PlInventPackageReturn.RecId

    Many PlInventPackageTrans records → exactly one PlInventPackageReturn record

  • PlInventPackageTable → PlInventPackageTable

    Join on PackageId = PlInventPackageTable.PackageId

    Many PlInventPackageTrans records → exactly one PlInventPackageTable record

  • SalesLine → SalesLine

    Join on RefTableId = SalesLine.TableId, RefRecId = SalesLine.RecId

    Many PlInventPackageTrans records → exactly one SalesLine record

  • SalesTable → SalesTable

    Join on RefTableId = SalesTable.TableId, RefRecId = SalesTable.RecId

    Many 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.

Email sales@drdynamics.co.uk