Table

HMIMCarrOfMerchByRoad

Carriage of Merchandise by Road

Carriage of Merchandise by Road (CMR) document header. It holds pickup and drop-off details, carrier information, shipping instructions and payment text. It links to a shipment, a customer, a carrier and postal addresses. The key is the CMR document ID.

Table name
HMIMCarrOfMerchByRoad
Module
Sales and marketing
Table group
TransactionHeader
Table type
Regular
Data per company
Yes
Configuration key
HMIMManagement
Primary index
None
Replacement key
CMRDocumentIdIdx
Key fields
CMRDocumentId
Model
Foundation

Fields (33)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CMRDocumentIdUnique ID of the CMR document.String (25)
HMIMCarrOfMerchByRoadId
YesNone
ADRPointsNumeric amount labelled Amount. Its exact meaning is not clear from the metadata.low confidenceReal
Amount
NoNone
CarrierAddressAddress of the carrier.String (250)
LogisticsAddressing
NoNone
CarrierCodeShipping carrier, pointing to the carrier record.String (20)
TMSCarrierCode
NoTMSCarrier.CarrierCodeNone
CarrierNameName of the carrier.String (60)
TMSName
NoNone
CarrierObservationRemarks made by the carrier.String (255)
HMIMCarrierObservation
NoNone
CODCash on delivery text.String (20)
HMIMCOD
NoNone
CompanyNameName of the company.String (60)
CompanyName
NoNone
ConsignorInstructionInstructions from the consignor.String (255)
HMIMConsignorInstruction
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CRMConventionText about the CMR convention.String (255)
HMIMCRMConvention
NoNone
CustAccountCustomer account, pointing to a customer.String (20)
CustAccount
NoCustTable.AccountNumNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeliveryPostalAddressDelivery address, pointing to a postal address record.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
DocumentsText listing the attached documents.String (255)
HMIMDocument
NoNone
DropOffDateDate of drop-off.Date
TransDate
NoNone
DropOffLocAddress of the drop-off location.String (250)
Addressing
NoNone
DropOffNameName of the drop-off party.String (60)
TMSName
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
ParticularOther useful details for the document.String (255)
HMIMParticular
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentPayment text for the carriage.String (20)
HMIMPayment
NoNone
PickupDateDate of pickup.Date
TransDate
NoNone
PickupLocAddress of the pickup location.String (250)
Addressing
NoNone
PickupNameName of the pickup party.String (60)
TMSName
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
ShipmentIdShipment linked to the CMR document.String (20)
WHSShipmentId
YesWHSShipmentTable.ShipmentIdNone
ShippingLocationName of the shipping location.String (60)
HMIMShippingLocation
NoNone
ShippingPostalAddressAddress the goods ship from, pointing to a postal address record.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
SpecialAgreementText of any special agreement.String (255)
HMIMSpecialAgreement
NoNone
SuccessiveCarrierName of the next carrier in the chain.String (50)
HMIMSuccessiveCarrier
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (5)

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

  • WHSShipmentTable → WHSShipmentTable

    Join on ShipmentId = WHSShipmentTable.ShipmentId

    Many HMIMCarrOfMerchByRoad records → exactly one WHSShipmentTable record

  • TMSCarrier → TMSCarrier

    Join on CarrierCode = TMSCarrier.CarrierCode

    Many HMIMCarrOfMerchByRoad records → zero or one TMSCarrier record

  • DeliveryLogisticsPostalAddress → LogisticsPostalAddress

    Join on DeliveryPostalAddress = LogisticsPostalAddress.RecId

    Many HMIMCarrOfMerchByRoad records → zero or one LogisticsPostalAddress record

  • ShippingLogisticsPostalAddress → LogisticsPostalAddress

    Join on ShippingPostalAddress = LogisticsPostalAddress.RecId

    Many HMIMCarrOfMerchByRoad records → zero or one LogisticsPostalAddress record

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many HMIMCarrOfMerchByRoad records → zero or one CustTable record

Get this data out

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

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

Email sales@drdynamics.co.uk