Table

SalesPackingSlipHeaderTmp

Show sales packing slip

Temporary table that holds header-level data for the sales packing slip print. It combines company, customer, delivery, bank, transport and carrier details. It links to the packing slip journal, customer, carrier and sales order.

Table name
SalesPackingSlipHeaderTmp
Module
Sales and marketing
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (83)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AdditionalDeclarationsExtra declarations text for the packing slip.String (255)
CustPackingSlipAdditionalDeclarations
NoNone
AdditionalInstructionsExtra instructions text for the packing slip.String (255)
CustPackingSlipAdditionalInstructions
NoNone
AdditionalNotesExtra notes text for the packing slip.String (255)
CustPackingSlipAdditionalNotes
NoNone
BOLAddressAddress shown on the bill of lading.String (250)
Addressing
NoNone
BOLCarrierNameName of the carrier on the bill of lading, pointing to a carrier.String (140)
WMSCarrierName
NoSalesCarrier.CarrierNameNone
BOLFreightedByWho pays for or arranges the freight. Values: Carrier, Shipper, Recipient.Enum
WMSFreightedBy (enum)
NoNone
CompanyAddressAddress of the company.String (250)
Addressing
NoNone
CompanyBankAccountNameName of the company bank account.String (60)
Name
NoNone
CompanyBankAccountNumCompany bank account number.String (48)
BankAccount
NoNone
CompanyBankAccountRegNumRouting number of the company bank.String (12)
BankRegNum
NoNone
CompanyCommercialRegisterName of the commercial register where the company is kept.String (40)
CommercialRegister
NoNone
CompanyCommercialRegisterInsetNumberInset number in the commercial register.String
CommercialRegisterInsetNumber
NoNone
CompanyCommercialRegisterSectionSection of the commercial register.String
CommercialRegisterSection
NoNone
CompanyCoRegNumTax registration number of the company.String (25)
CompanyCoRegNum
NoNone
CompanyEmailCompany email address.String (80)
Email
NoNone
CompanyEnterpriseCodeEnterprise code of the company.String (50)
EnterpriseCode
NoNone
CompanyEnterpriseNumberEnterprise number of the company for tax purposes.String (50)
TaxEnterpriseNumber
NoNone
CompanyGiroBank giro number of the company.String (48)
GiroNum
NoNone
Container
Bitmap
NoNone
CompanyNameName of the company.String (60)
Name
NoNone
CompanyPhoneCompany telephone number.String (20)
Phone
NoNone
CompanyRegNumCompany registration (routing) number.String (25)
CompanyRegNum
NoNone
CompanyTeleFaxCompany fax number.String (20)
TeleFax
NoNone
CompanyVATNumTax exempt number of the company.String (20)
VATNum
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
CustomerRefReference given by the customer.String (60)
CustRef
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeliveryAddressDelivery address of the customer.String (250)
LogisticsAddressing
NoNone
DeliveryDateDate of the delivery.Date
TransDate
NoNone
DeliveryNameName of the party receiving the delivery.String (160)
CustName
NoNone
DeliveryReasonFree text giving the reason for delivery.String (-1)
DlvReasonTxt
NoNone
DlvModeText of the mode of delivery.String (-1)
DlvModeTxt
NoNone
DlvTermsText of the terms of delivery.String (-1)
DlvTermsTxt
NoNone
Enterpriseregister_NODescription of the enterprise register, used for Norway.low confidenceString (60)
Description
NoNone
FormLetterRemarksFree-form note printed on the document.String (-1)
FormLetterTxt
NoNone
InternalPackingSlipIdInternal packing slip version number.String (20)
SalesInternalPackingSlipId
YesNone
InvoicingAddressInvoicing address of the customer.String (250)
LogisticsAddressing
NoNone
InvoicingNameName of the invoicing customer.String (160)
CustName
NoNone
IsProFormaYes or no flag showing whether the document is a pro forma one.Enum
NoYes (enum)
NoNone
JournalRecIdPoints to the customer packing slip journal by its system record ID.Int64
CustPackingSlipJourRecId
YesCustPackingSlipJour.RecIdNone
MainNotesMain note text for the packing slip.String (-1)
Notes
NoNone
MCRExpediteShort text of 30 characters related to expediting. Meaning is not clear from the metadata.low confidenceString (30)
String30
NoNone
MCRExpeditedOrderYes or no flag showing whether the order is expedited.Enum
MCRExpeditedOrder
NoYes (enum)
NoNone
OrderAccountCustomer account that placed the order, pointing to a customer.String (20)
CustAccount
NoCustTable.AccountNumNone
OrderAccountEnterpriseCodeEnterprise code of the ordering customer.String (50)
EnterpriseCode
NoNone
OrderAccountRegNumRegistration (routing) number of the ordering customer.String (25)
CompanyRegNum
NoNone
OrderAccountVATNumTax exempt number of the ordering customer.String (20)
VATNum
NoNone
PackingSlipIdPacking slip number.String (20)
PackingSlipId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PdsEnabledYes or no flag for the process distribution setting on the report.Enum
PDSReportNoYes
NoYes (enum)
NoNone
PrePrintLevelLevel of pre-printed paper. Values: Blank paper, Partly preprinted, Preprinted.Enum
PrePrintLevel (enum)
NoNone
Enum
NoYes (enum)
NoNone
PrintShippmentYes or no flag for printing shipment details.Enum
NoYes (enum)
NoNone
PrintTransportationDocumentYes or no flag for printing the transportation document.Enum
NoYes (enum)
NoNone
PurchaseOrderCustomer purchase order or requisition number.String (20)
CustPurchaseOrder
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
SalesAdministratorPersonnel number of the person who took the sales order.String (25)
SalesTakerPersonnelNumber
NoNone
SalesIdSales order number, pointing to a sales order.String (20)
SalesIdBase
NoSalesTable.SalesIdNone
ShipCarrierBlindShipmentYes or no flag for a blind shipment.Enum
ShipCarrierBlindShipment
NoYes (enum)
NoNone
ShippingInfoFree text with shipping details.low confidenceString (-1)
FreeTxt
NoNone
ShowCompanyVATNumYes or no flag for showing the company tax number on the print.Enum
NoYesId
NoYes (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransportationCompilerNameName of the person who prepared the transport document.String (160)
DirPartyName
NoNone
TransportationContactPersonNameName of the transport contact person.String (160)
DirPartyName
NoNone
TransportationContactPersonTitleJob title of the transport contact person.String (30)
PersonTitle
NoNone
TransportationContractorAddressAddress of the transport contractor.String (250)
LogisticsAddressing
NoNone
TransportationContractorNameName of the transport contractor.String (160)
DirPartyName
NoNone
TransportationIssuedByNameName of the person who issued the transport document.String (160)
DirPartyName
NoNone
TransportationIssuedByTitleJob title of the person who issued the transport document.String (65)
HcmTitleId
NoNone
TransportationLoadedDateTimeDate and time when the goods were loaded.UtcDateTime
LoadedDateTime
NoNone
TransportationLoaderAddressAddress of the party loading the goods.String (250)
LogisticsAddressing
NoNone
TransportationLoaderNameName of the party loading the goods.String (160)
DirPartyName
NoNone
TransportationOwnerAddressAddress of the goods owner.String (250)
LogisticsAddressing
NoNone
TransportationOwnerNameName of the goods owner.String (160)
DirPartyName
NoNone
TransportationPackageDangerDegreeRisk level of the load.String (60)
TransportationPackageDangerDegree
NoNone
TransportationPackageDescriptionDescription of the package.String (60)
TransportationPackage
NoNone
TransportationVehicleDescriptionDescription of the transport vehicle.String (60)
Description
NoNone
TransportationVehicleDriverNameName of the vehicle driver.String (60)
DriverName_W
NoNone
TransportationVehiclePlateNumberRegistration plate number of the vehicle.String (20)
VehiclePlateNum_W
NoNone
TransportationVehicleTrailerNumberRegistration number of the trailer.String (20)
VehicleTrailerNumber
NoNone

Indexes (2)

Relations (4)

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

  • CustPackingSlipJour → CustPackingSlipJour

    Join on JournalRecId = CustPackingSlipJour.RecId

    Many SalesPackingSlipHeaderTmp records → exactly one CustPackingSlipJour record

  • OrderCustomer → CustTable

    Join on OrderAccount = CustTable.AccountNum

    Many SalesPackingSlipHeaderTmp records → zero or one CustTable record

  • SalesCarrier → SalesCarrier

    Join on BOLCarrierName = SalesCarrier.CarrierName

    Many SalesPackingSlipHeaderTmp records → zero or one SalesCarrier record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many SalesPackingSlipHeaderTmp records → zero or one SalesTable record

Get this data out

No public entity reads from SalesPackingSlipHeaderTmp. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk