Table
CustPackingSlipTrans
Customer - packing slip lines
Holds the lines of posted customer packing slips. Each row links to a packing slip header (CustPackingSlipJour), a sales order, an item and inventory dimensions. It stores delivered and remaining quantities, shipping dates, delivery address and Intrastat details. The key is the source document line reference.
- Table name
CustPackingSlipTrans- Module
Sales and marketing- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
RecId- Replacement key
SourceDocumentLineIdx- Key fields
SourceDocumentLine- Model
Foundation
Fields (69)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SourceDocumentLineReference to the source document line record. It is the key of the table. | Int64SourceDocumentLineRecId | No | SourceDocumentLine.RecId | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity |
AmountCurLine amount in the transaction currency. | RealAmountCur | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
CancelledQtyQuantity of the line that was cancelled, in the sales unit. | RealSalesQty | No | None | |
CountryRegionOfShipmentCountry or region that the goods are shipped from. | StringAddressCountryRegionId | No | LogisticsAddressCountryRegion.CountryRegionId | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntityCustPackingSlipTransCDREntity | |
CurrencyCodeCurrency code for the line. | String (3)CurrencyCode | No | Currency.CurrencyCode | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntityScpHistoricalSalesDemandEntity | |
DefaultDimensionDefault financial dimension set for the line. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
DeferredPostInvoiceTransRecIdReference to a customer invoice line related to deferred posting. | Int64CustDeferredPostInvoiceTransRecId | No | CustInvoiceTrans.RecId | None |
DeliveryDateShip date of the line. | DateSalesShippingDate | Yes | BusinessDocumentInvoicedPackingSlipLineV3EntityBusinessDocumentInvoicedPackingSlipLineV2EntityBusinessDocumentInvoicedPackingSlipLineEntityand 8 more | |
DeliveryPostalAddressDelivery address, pointing to a postal address record. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity |
DeliveryTypeShows whether the line is delivered from stock or as a direct delivery. | EnumTradeLineDlvTypeIdTradeLineDlvType (enum) | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
DlvTermCode of the delivery terms. | StringSalesDlvTermId | No | DlvTerm.Code | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity |
ExternalItemIdItem number used by the customer or an outside party. | String (20)SalesExternalItemId | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
FinTagFinancial tag attached to the line. | Int64FinTagRecId | No | FinTag.RecId | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity |
FullyMatchedYes/No flag showing whether the line is fully matched. | EnumTradePackingSlipFullyMatchedNoYes (enum) | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
InterCompanyInventTransIdLot ID used for the intercompany inventory transaction. | String (20)InventTransIdBase | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
IntrastatCommodityCommodity for Intrastat, as a reference to a category record. | Int64IntrastatCommodityId | No | EcoResCategory.RecId | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity |
IntrastatDispatchIdShipment batch used for Intrastat reporting. | String (20)IntrastatDispatchId | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
IntrastatFulfillmentDate_HUIntrastat fulfilment date, used for Hungary. | DateIntrastatFulfillmentDate_HU | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
InventDimIdKey of the inventory dimension combination for the line. | String (20)InventDimId | No | InventDim.inventDimId | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity |
inventQtyQuantity in the inventory unit. | RealInventQty | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntityScpHistoricalSalesDemandEntity | |
InventRefIdNumber of the document that the line refers to, such as an order. | String (20)InventRefId | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
InventRefTransIdLot of the referenced transaction. | String (20)InventRefTransId | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
InventRefTypeType of document that the line refers to, such as sales order or purchase order. | EnumInventRefType (enum) | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
InventTransIdLot ID that links the line to its inventory transaction origin. | String (20)TradeInventTransId | No | InventTransOrigin.InventTransId | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity |
InvoiceTransRefRecIdReference to the customer invoice line that relates to this line. | Int64RefRecId | No | CustInvoiceTrans.RecId | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity |
ItemCodeIdOlder commodity code field for Intrastat. Its name suggests it is no longer in use.low confidence | StringDEL_IntrastatItemCodeId | No | None | |
ItemIdItem number on the line. | String (20)ItemId | No | InventTable.ItemId | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity |
LineHeaderShort heading text for the line. | String (80)LineHeader | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
LineNumPosition number of the line. | RealLineNum | No | BusinessDocumentInvoicedPackingSlipLineV3EntityBusinessDocumentInvoicedPackingSlipLineV2EntityBusinessDocumentInvoicedPackingSlipLineEntityand 8 more | |
NameFree-text description of the line or item. | String (1000)ItemFreeTxt | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
NGPCodesTable_FRNGP code reference, used for France. | Int64NGPCodesTableFRId | No | NGPCodesTable_FR.RecId | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity |
NumberSequenceGroupNumber sequence group used for the line. | StringNumberSequenceGroupId | No | NumberSequenceGroup.numberSequenceGroupId | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity |
OrderedQuantity ordered, in the sales unit. | RealSalesQty | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
OrigCountryRegionIdCountry or region of origin of the item. | StringItemOrigCountryRegionId | No | LogisticsAddressCountryRegion.CountryRegionId | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity |
OrigSalesIdOriginal sales order that the line comes from. | String (20)SalesIdOrig | No | SalesTable.SalesId | BusinessDocumentInvoicedPackingSlipLineV3EntityBusinessDocumentInvoicedPackingSlipLineV2EntityCustPackingSlipTransBiEntityand 5 more |
OrigStateIdState or province of origin of the item. | StringItemOrigStateId | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
PackedExtensionsContainer that stores packed extension data for the record. | ContainerSysExtensionSerializerPackedContainer | No | None | |
PackingSlipIdPacking slip number of the header that the line belongs to. | String (20)PackingSlipId | Yes | BusinessDocumentInvoicedPackingSlipLineV3EntityBusinessDocumentInvoicedPackingSlipLineV2EntityBusinessDocumentInvoicedPackingSlipLineEntityand 8 more | |
ParmLineReference to the sales order line update record used when posting. | Int64SalesParmLineRefRecId | No | SalesParmLine.RecId | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PdsCWQtyQuantity delivered in catch weight units. | RealPdsCWDelivered | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
PdsCWRemainQuantity remaining in catch weight units. | RealPdsCWInventQty | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
PortPort used for Intrastat reporting. | StringIntrastatPortId | No | IntrastatPort.PortId | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity |
PriceUnitNumber of units that the unit price applies to. | RealPriceUnit | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
QtyQuantity delivered in the sales unit. | RealSalesQty | No | BusinessDocumentInvoicedPackingSlipLineV3EntityBusinessDocumentInvoicedPackingSlipLineV2EntityBusinessDocumentInvoicedPackingSlipLineEntityand 9 more | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntityScpHistoricalSalesDemandEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | CustPackingSlipTransBiEntity | |
RemainQuantity still remaining to deliver, in the sales unit. | RealSalesQty | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
RemainInventRemaining quantity in the inventory unit. | RealInventQty | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
SalesCategorySales category of the line, as a reference to a category record. | Int64SalesCategory | No | EcoResCategory.RecId | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity |
SalesGroupCommission sales group assigned to the line. | StringCommissSalesGroup | No | CommissionSalesGroup.GroupId | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity |
SalesIdSales order that the line belongs to. | String (20)SalesId | No | SalesTable.SalesId | BusinessDocumentInvoicedPackingSlipLineV3EntityBusinessDocumentInvoicedPackingSlipLineV2EntityBusinessDocumentInvoicedPackingSlipLineEntityand 8 more |
SalesLineShippingDateConfirmedShip date that was confirmed for the line. | DateSalesShippingDateConfirmed | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
SalesLineShippingDateRequestedShip date that was requested for the line. | DateSalesShippingDateRequested | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
SalesUnitUnit of measure used for selling the item. | StringSalesUnit | No | UnitOfMeasure.Symbol | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntityScpHistoricalSalesDemandEntity |
ScrapYes/No flag marking the line as scrap. | EnumNoYesIdNoYes (enum) | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
StateOfShipmentState or province that the goods are shipped from. | StringLogisticsAddressStateId | No | LogisticsAddressState.StateId | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity |
StatisticValue_LTStatistical value for Intrastat, used for Lithuania. | RealLtIntrastatStatisticValue | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
StatProcIdStatistics procedure code for Intrastat. | StringIntrastatProcId | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
StatValueMSTStatistics amount for Intrastat, in the accounting currency. | RealIntrastatLineAmountMST | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
StockedProductYes/No flag showing whether the item is a stocked product. | EnumTradeStockedProductNoYes (enum) | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransactionCodeTransaction code used for Intrastat reporting. | StringIntrastatTransactionCodeId | No | IntrastatTransactionCode.TransactionCode | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity |
TransportTransport method used for Intrastat reporting. | StringIntrastatTransport | No | IntrastatTransportMode.TransPortCode | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity |
ValueMSTLine value in the accounting currency. | RealAmountMST | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity | |
WeightWeight of the line. | RealWeight | No | CustPackingSlipTransBiEntityCustPackingSlipTransCDREntity |
Indexes (10)
PackingSlipIdxSalesId,DeliveryDate,PackingSlipId,LineNum,RecIdNot unique.
TransIdIdxNot unique.
SourceDocumentLineIdxReplacement keyUnique, alternate key.
CurrencyIdxNot unique.
InvoiceTransRefRecIdIdxNot unique.
DeliveryPostalAddressIdxNot unique.
TransIdCreationIdxInventTransId,CreatedDateTime,DataAreaId,PartitionNot unique.
TransIdCreationQuantityIdxInventTransId,CreatedDateTime,Ordered,RemainNot unique.
TransIdDeliveryCreationIdxInventTransId,DeliveryDate,CreatedDateTime,SalesLineShippingDateRequested,SalesLineShippingDateConfirmed,RecIdNot unique.
DeferredPostInvoiceTransRecIdIdxNot unique.
Relations (28)
Each relation joins CustPackingSlipTrans to another table on the fields shown.
CommissionSalesGroup→CommissionSalesGroupJoin on
SalesGroup = CommissionSalesGroup.GroupIdMany CustPackingSlipTrans records → zero or one CommissionSalesGroup record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany CustPackingSlipTrans records → exactly one Currency record
CustInvoiceTrans→CustInvoiceTransJoin on
InvoiceTransRefRecId = CustInvoiceTrans.RecIdMany CustPackingSlipTrans records → zero or one CustInvoiceTrans record
CustPckSlpJour→CustPackingSlipJourJoin on
SalesId = CustPackingSlipJour.SalesId,PackingSlipId = CustPackingSlipJour.PackingSlipId,DeliveryDate = CustPackingSlipJour.DeliveryDateMany CustPackingSlipTrans records → exactly one CustPackingSlipJour record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany CustPackingSlipTrans records → zero or one DimensionAttributeValueSet record
DeliveryPostalAddress_FK→LogisticsPostalAddressJoin on
DeliveryPostalAddress = LogisticsPostalAddress.RecIdMany CustPackingSlipTrans records → zero or one LogisticsPostalAddress record
DlvTerm→DlvTermJoin on
DlvTerm = DlvTerm.CodeMany CustPackingSlipTrans records → zero or one DlvTerm record
IntrastatCommodity→EcoResCategoryJoin on
IntrastatCommodity = EcoResCategory.RecIdMany CustPackingSlipTrans records → zero or one EcoResCategory record
IntrastatPort→IntrastatPortJoin on
Port = IntrastatPort.PortIdMany CustPackingSlipTrans records → zero or one IntrastatPort record
IntrastatStatProc→IntrastatStatProcJoin on
StatProcId = IntrastatStatProc.StatProcIdMany CustPackingSlipTrans records → zero or one IntrastatStatProc record
IntrastatTransactionCode→IntrastatTransactionCodeJoin on
TransactionCode = IntrastatTransactionCode.TransactionCodeMany CustPackingSlipTrans records → zero or one IntrastatTransactionCode record
IntrastatTransportMode→IntrastatTransportModeJoin on
Transport = IntrastatTransportMode.TransPortCodeMany CustPackingSlipTrans records → zero or one IntrastatTransportMode record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany CustPackingSlipTrans records → zero or one InventDim record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany CustPackingSlipTrans records → zero or one InventTable record
InventTRansOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdMany CustPackingSlipTrans records → zero or one InventTransOrigin record
NGPCodesTable_FR→NGPCodesTable_FRJoin on
NGPCodesTable_FR = NGPCodesTable_FR.RecIdMany CustPackingSlipTrans records → zero or one NGPCodesTable_FR record
NumberSequenceGroup→NumberSequenceGroupJoin on
NumberSequenceGroup = NumberSequenceGroup.numberSequenceGroupIdMany CustPackingSlipTrans records → zero or one NumberSequenceGroup record
OriginCountryRegion→LogisticsAddressCountryRegionJoin on
OrigCountryRegionId = LogisticsAddressCountryRegion.CountryRegionIdMany CustPackingSlipTrans records → zero or one LogisticsAddressCountryRegion record
OriginSalesTable→SalesTableJoin on
OrigSalesId = SalesTable.SalesIdMany CustPackingSlipTrans records → zero or one SalesTable record
RenameSalesTable→SalesTableJoin on
SalesId = SalesTable.SalesIdCardinality not set in the metadata.
SalesCategory→EcoResCategoryJoin on
SalesCategory = EcoResCategory.RecIdMany CustPackingSlipTrans records → zero or one EcoResCategory record
SalesUnit→UnitOfMeasureJoin on
SalesUnit = UnitOfMeasure.SymbolMany CustPackingSlipTrans records → zero or one UnitOfMeasure record
ShipmentCountryRegion→LogisticsAddressCountryRegionJoin on
CountryRegionOfShipment = LogisticsAddressCountryRegion.CountryRegionIdMany CustPackingSlipTrans records → zero or one LogisticsAddressCountryRegion record
SourceDocumentLine→SourceDocumentLineJoin on
SourceDocumentLine = SourceDocumentLine.RecIdZero or one CustPackingSlipTrans record → zero or one SourceDocumentLine record
SalesParmLine→SalesParmLineJoin on
ParmLine = SalesParmLine.RecIdMany CustPackingSlipTrans records → zero or one SalesParmLine record
DeferredPostInvoiceTrans→CustInvoiceTransJoin on
DeferredPostInvoiceTransRecId = CustInvoiceTrans.RecIdMany CustPackingSlipTrans records → zero or one CustInvoiceTrans record
LogisticsAddressState_Shipment→LogisticsAddressStateJoin on
StateOfShipment = LogisticsAddressState.StateId,CountryRegionOfShipment = LogisticsAddressState.CountryRegionIdMany CustPackingSlipTrans records → zero or one LogisticsAddressState record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdMany CustPackingSlipTrans records → zero or one FinTag record
Get this data out
Tables are not exposed directly. These public entities read from CustPackingSlipTrans; use one of them in Power BI, Power Platform or a data management project.
BusinessDocumentInvoicedPackingSlipLineV3Entity· 6 fields from this tableBusinessDocumentInvoicedPackingSlipLineV2Entity· 6 fields from this tableBusinessDocumentInvoicedPackingSlipLineEntity· 5 fields from this tableCustPackingSlipTransBiEntity· 61 fields from this tableCustPackingSlipTransCDREntity· 61 fields from this tableBusinessDocumentNonStockedPackingSlipLineV3Entity· 6 fields from this tableBusinessDocumentStockedPackingSlipLineV3Entity· 6 fields from this tableBusinessDocumentNonStockedPackingSlipLineV2Entity· 6 fields from this tableBusinessDocumentStockedPackingSlipLineV2Entity· 6 fields from this tableBusinessDocumentNonStockedPackingSlipLineEntity· 5 fields from this tableBusinessDocumentStockedPackingSlipLineEntity· 5 fields from this tableScpHistoricalSalesDemandEntity· 5 fields from this table
Need help with CustPackingSlipTrans in a report, an integration or a migration? Talk to Dr Dynamics.