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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CarrierCodeCode of the shipping carrier. | String (20)TMSCarrierCode | No | TMSCarrier.CarrierCode | None |
CarrierIdCarrier ID of the shipping carrier. | StringShipCarrierId | No | ShipCarrierTable.CarrierId | None |
CarrierIdDataAreaIdCompany of the carrier record. Used together with the carrier code or ID. | StringDataAreaId | No | ShipCarrierTable.dataAreaIdTMSCarrier.DataAreaId | None |
IsDefaultYes/No flag marking this as the default service term. | EnumNoYes (enum) | Yes | None | |
ItemDataAreaIdCompany of the item record. Used together with the item number. | StringDataAreaId | Yes | InventTable.dataAreaId | None |
ItemIdItem number of the service item. | String (20)ItemId | Yes | InventTable.ItemId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PlanActivityPoints to the plan activity these terms belong to. | Int64RefRecId | Yes | PlanActivity.RecId | None |
PurchAgreementHeaderPoints to the purchase agreement linked to the service. | Int64RefRecId | Yes | PurchAgreementHeader.RecId | None |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ServiceItemInventDimDataAreaIdCompany of the inventory dimension record. Used together with the dimension number. | StringDataAreaId | Yes | InventDim.dataAreaId | None |
ServiceItemInventDimIdInventory dimension number for the service item. | String (20)InventDimId | Yes | InventDim.inventDimId | None |
ServiceQuantityCalculationBaseBasis for the service quantity: job, product quantity conforming, product quantity total or activity time. | EnumPlanActivityServiceQuantityBase (enum) | Yes | None | |
ServiceRatioRatio value for the service. | RealPlanActivityServiceRatio | Yes | None | |
ServiceUnitOfMeasurePoints to the unit used for the service. | Int64UnitOfMeasureRecId | Yes | UnitOfMeasure.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UseOutputColorYes/No flag for using the colour of the output product. | EnumNoYes (enum) | No | None | |
UseOutputConfigurationYes/No flag for using the configuration of the output product. | EnumNoYes (enum) | No | None | |
UseOutputSizeYes/No flag for using the size of the output product. | EnumNoYes (enum) | No | None | |
UseOutputStyleYes/No flag for using the style of the output product. | EnumNoYes (enum) | No | None | |
UseOutputVersionYes/No flag for using the version of the output product. | EnumNoYes (enum) | No | None |
Indexes (6)
PlanActivityIdxNot unique.
InventTableIdxNot unique.
UnitOfMeasureIdxNot unique.
PurchAgreementHeaderIdxNot unique.
InventDimIdxServiceItemInventDimDataAreaId,ServiceItemInventDimIdNot unique.
TMSCarrierIdxCarrierCode,CarrierIdDataAreaIdNot unique.
Relations (7)
Each relation joins PlanActivityService to another table on the fields shown.
InventDim→InventDimJoin on
ServiceItemInventDimDataAreaId = InventDim.dataAreaId,ServiceItemInventDimId = InventDim.inventDimIdMany PlanActivityService records → exactly one InventDim record
InventTable→InventTableJoin on
ItemDataAreaId = InventTable.dataAreaId,ItemId = InventTable.ItemIdMany PlanActivityService records → exactly one InventTable record
PlanActivity→PlanActivityJoin on
PlanActivity = PlanActivity.RecIdMany PlanActivityService records → exactly one PlanActivity record
PurchAgreementHeader→PurchAgreementHeaderJoin on
PurchAgreementHeader = PurchAgreementHeader.RecIdMany PlanActivityService records → exactly one PurchAgreementHeader record
UnitOfMeasure→UnitOfMeasureJoin on
ServiceUnitOfMeasure = UnitOfMeasure.RecIdMany PlanActivityService records → exactly one UnitOfMeasure record
TMSCarrier→TMSCarrierJoin on
CarrierCode = TMSCarrier.CarrierCode,CarrierIdDataAreaId = TMSCarrier.DataAreaIdMany PlanActivityService records → zero or one TMSCarrier record
ShipCarrierTable→ShipCarrierTableJoin on
CarrierIdDataAreaId = ShipCarrierTable.dataAreaId,CarrierId = ShipCarrierTable.CarrierIdMany 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.