Table

ITMLeadTimeTable

Lead times table

Defines lead times between a source field and a target field. A row can be narrowed by delivery mode, ports, container type, shipping company, warehouse or activity. It also holds copy or default settings and default values.

Table name
ITMLeadTimeTable
Module
Cross-module and platform
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
TableFieldIdx
Replacement key
TableFieldIdx
Key fields
TableNumSource, FieldNumSource, TableNumTarget, FieldNumTarget, DlvMode, ShipFromPort, ShipToPort, ShipContainerTypeId, ShipVendAccount, InventLocationId, ShipActivityId
Model
InboundTransportationManagement

Fields (32)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TableNumSourceNumeric ID of the source table.Integer
RefTableId
YesNone
FieldNumSourceNumeric ID of the source field.Integer
FieldId
YesNone
TableNumTargetNumeric ID of the target table.Integer
RefTableId
NoNone
FieldNumTargetNumeric ID of the target field.Integer
FieldId
NoNone
DlvModeMode of delivery that the rule applies to.String
DlvModeId
NoDlvMode.CodeNone
ShipFromPortPort where the leg starts.String (20)
ITMFromPort
NoITMPortTable.ShipPortIdNone
ShipToPortPort where the leg ends.String (20)
ITMToPort
NoITMPortTable.ShipPortIdNone
ShipContainerTypeIdShipping container type that the rule applies to.String (20)
ITMContainerTypeId
NoITMContainerTypeTable.ShipContainerTypeIdNone
ShipVendAccountVendor account of the shipping company.String (20)
ITMVendAccount
NoVendTable.AccountNumNone
InventLocationIdWarehouse that the rule applies to.String
InventLocationId
NoInventLocation.InventLocationIdNone
ShipActivityIdActivity that the rule applies to.String
ITMActivityId
NoITMActivityTable.ActivityIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultValueDateDefault value when the target is a date.DateNoNone
DefaultValueDateTimeDefault value when the target is a date and time.UtcDateTimeNoNone
DefaultValueInt64Default value when the target is a whole number.Int64NoNone
DefaultValueRealDefault value when the target is a decimal number.RealNoNone
FieldLabelSourceDisplay label of the source field.String (250)
RangeFieldLabel
NoNone
FieldLabelTargetDisplay label of the target field.String (250)
RangeFieldLabel
NoNone
LeadTimeTypeKind of creation: blank, lead time or status update.Enum
ITMLeadTimeCreateType (enum)
NoNone
LineNumLine number that orders the rows.Real
LineNum
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
ShipCopyDefaultWhether the target is copied or filled with a default.Enum
ITMCopyDefault (enum)
NoNone
ShipCopyDefaultValueDefault text value used for the target.String (250)
ITMCopyDefaultValue
NoNone
ShipLeadTimeLead time as a whole number.Integer
ITMLeadTime
NoNone
ShipLeadTimeMatchWhether the source, the target or both must match.Enum
ITMLeadTimeMatch (enum)
NoNone
ShipLegIdLeg of the journey that the rule refers to.String (15)
ITMLegId
NoITMLegTable.LegIdNone
ShipServiceProviderService provider, which is a vendor account.String (20)
ITMServiceProvider
NoVendTable.AccountNumNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TableLabelSourceDisplay label of the source table.String (250)
RangeTableLabel
NoNone
TableLabelTargetDisplay label of the target table.String (250)
RangeTableLabel
NoNone

Indexes (3)

Relations (10)

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

  • DlvMode → DlvMode

    Join on DlvMode = DlvMode.Code

    Many ITMLeadTimeTable records → exactly one DlvMode record

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many ITMLeadTimeTable records → exactly one InventLocation record

  • ITMActivityTable → ITMActivityTable

    Join on ShipActivityId = ITMActivityTable.ActivityId

    Many ITMLeadTimeTable records → exactly one ITMActivityTable record

  • ITMContainerTypeTable → ITMContainerTypeTable

    Join on ShipContainerTypeId = ITMContainerTypeTable.ShipContainerTypeId

    Many ITMLeadTimeTable records → exactly one ITMContainerTypeTable record

  • ITMJourneyLine → ITMJourneyLine

    Join on ShipLegId = ITMJourneyLine.LegId, DlvMode = ITMJourneyLine.DlvModeId, ShipFromPort = ITMJourneyLine.FromPort, ShipToPort = ITMJourneyLine.ToPort

    Many ITMLeadTimeTable records → zero or one ITMJourneyLine record

  • ITMLegTable → ITMLegTable

    Join on ShipLegId = ITMLegTable.LegId, DlvMode = ITMLegTable.DlvModeId, ShipFromPort = ITMLegTable.FromPort, ShipToPort = ITMLegTable.ToPort

    Many ITMLeadTimeTable records → zero or one ITMLegTable record

  • ShipFromPort → ITMPortTable

    Join on ShipFromPort = ITMPortTable.ShipPortId

    Many ITMLeadTimeTable records → exactly one ITMPortTable record

  • ShipServiceProvider → VendTable

    Join on ShipServiceProvider = VendTable.AccountNum, VendTable.ITMServicesProvider = NoYes::Yes

    Many ITMLeadTimeTable records → exactly one VendTable record

  • ShipToPort → ITMPortTable

    Join on ShipToPort = ITMPortTable.ShipPortId

    Many ITMLeadTimeTable records → exactly one ITMPortTable record

  • ShipVendAccount → VendTable

    Join on ShipVendAccount = VendTable.AccountNum, VendTable.ITMVendType = ITMVendType::ShipVend

    Many ITMLeadTimeTable records → exactly one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk