Table

PlanActivityService

Activity service terms

Holds service terms for a plan activity, such as the shipping carrier, service item, unit and ratio. It also has Yes/No flags for using the output product's colour, configuration, size, style and version. It links to items, inventory dimensions, carriers, units and purchase agreements.

Table name
PlanActivityService
Module
Master planning
Table group
Main
Table type
Regular
Data per company
No
Configuration key
LeanManufacturing
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (22)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CarrierCodeCode of the shipping carrier.String (20)
TMSCarrierCode
NoTMSCarrier.CarrierCodeNone
CarrierIdCarrier ID of the shipping carrier.String
ShipCarrierId
NoShipCarrierTable.CarrierIdNone
CarrierIdDataAreaIdCompany of the carrier record. Used together with the carrier code or ID.String
DataAreaId
NoShipCarrierTable.dataAreaIdTMSCarrier.DataAreaIdNone
IsDefaultYes/No flag marking this as the default service term.Enum
NoYes (enum)
YesNone
ItemDataAreaIdCompany of the item record. Used together with the item number.String
DataAreaId
YesInventTable.dataAreaIdNone
ItemIdItem number of the service item.String (20)
ItemId
YesInventTable.ItemIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PlanActivityPoints to the plan activity these terms belong to.Int64
RefRecId
YesPlanActivity.RecIdNone
PurchAgreementHeaderPoints to the purchase agreement linked to the service.Int64
RefRecId
YesPurchAgreementHeader.RecIdNone
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
ServiceItemInventDimDataAreaIdCompany of the inventory dimension record. Used together with the dimension number.String
DataAreaId
YesInventDim.dataAreaIdNone
ServiceItemInventDimIdInventory dimension number for the service item.String (20)
InventDimId
YesInventDim.inventDimIdNone
ServiceQuantityCalculationBaseBasis for the service quantity: job, product quantity conforming, product quantity total or activity time.Enum
PlanActivityServiceQuantityBase (enum)
YesNone
ServiceRatioRatio value for the service.Real
PlanActivityServiceRatio
YesNone
ServiceUnitOfMeasurePoints to the unit used for the service.Int64
UnitOfMeasureRecId
YesUnitOfMeasure.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UseOutputColorYes/No flag for using the colour of the output product.Enum
NoYes (enum)
NoNone
UseOutputConfigurationYes/No flag for using the configuration of the output product.Enum
NoYes (enum)
NoNone
UseOutputSizeYes/No flag for using the size of the output product.Enum
NoYes (enum)
NoNone
UseOutputStyleYes/No flag for using the style of the output product.Enum
NoYes (enum)
NoNone
UseOutputVersionYes/No flag for using the version of the output product.Enum
NoYes (enum)
NoNone

Indexes (6)

Relations (7)

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

  • InventDim → InventDim

    Join on ServiceItemInventDimDataAreaId = InventDim.dataAreaId, ServiceItemInventDimId = InventDim.inventDimId

    Many PlanActivityService records → exactly one InventDim record

  • InventTable → InventTable

    Join on ItemDataAreaId = InventTable.dataAreaId, ItemId = InventTable.ItemId

    Many PlanActivityService records → exactly one InventTable record

  • PlanActivity → PlanActivity

    Join on PlanActivity = PlanActivity.RecId

    Many PlanActivityService records → exactly one PlanActivity record

  • PurchAgreementHeader → PurchAgreementHeader

    Join on PurchAgreementHeader = PurchAgreementHeader.RecId

    Many PlanActivityService records → exactly one PurchAgreementHeader record

  • UnitOfMeasure → UnitOfMeasure

    Join on ServiceUnitOfMeasure = UnitOfMeasure.RecId

    Many PlanActivityService records → exactly one UnitOfMeasure record

  • TMSCarrier → TMSCarrier

    Join on CarrierCode = TMSCarrier.CarrierCode, CarrierIdDataAreaId = TMSCarrier.DataAreaId

    Many PlanActivityService records → zero or one TMSCarrier record

  • ShipCarrierTable → ShipCarrierTable

    Join on CarrierIdDataAreaId = ShipCarrierTable.dataAreaId, CarrierId = ShipCarrierTable.CarrierId

    Many PlanActivityService records → zero or one ShipCarrierTable record

Get this data out

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

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

Email sales@drdynamics.co.uk