Table
ProdRouteProj
Project production route
Project data for production route operations. It is keyed by production order, operation number, priority and calculation type. Each record links a route operation to a project and holds the cost price, sales price and tax groups. It relates to project hour transactions through ProjTransId.
- Table name
ProdRouteProj- Module
Project management and accounting- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
ProdRouting- Primary index
NumOprNumIdx- Replacement key
NumOprNumIdx- Key fields
ProdId, OprNum, OprPriority, CalcType- Model
Foundation
Fields (22)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ProdIdProduction order the operation belongs to. | String (20)ProdId | Yes | ProdTable.ProdId | None |
OprNumOperation number in the route. | IntegerOprNum | Yes | None | |
OprPriorityPriority of the operation, from primary to secondary 9. | EnumRouteOprPriority (enum) | Yes | None | |
CalcTypeCalculation type of the route line, such as setup, process, item or surcharge. | EnumItemCalcType (enum) | Yes | None | |
ActivityNumberNumber of the activity linked to the operation. | String (50)smmActivityNumber | No | smmActivities.ActivityNumber | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PeriodDateStart date of the period. | DateProjPeriodFrom | No | None | |
ProjCostPriceCost price for the operation. The currency is not stated in the metadata. | RealProjCostPriceCost | No | None | |
ProjIdProject the operation belongs to. | String (20)ProjId | No | ProjTable.ProjId | None |
ProjLinePropertyIdLine property assigned to the operation. | StringProjLinePropertyId | No | ProjLineProperty.LinePropertyId | None |
ProjSalesCurrencyIdCurrency code used for the sales price. | String (3)ProjSalesCurrencyCode | No | Currency.CurrencyCode | None |
ProjSalesPriceSales price for the operation, in the sales currency. | RealProjSalesPriceCost | No | None | |
ProjTaxGroupIdSales tax group for the operation. | StringProjTaxGroup | No | TaxGroupHeading.TaxGroup | None |
ProjTaxItemGroupIdItem sales tax group for the operation. | StringProjTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | None |
ProjTransDateProject date of the transaction. | DateProjTransDate | Yes | None | |
ProjTransIdProject hour transaction ID. | String (20)ProjEmplTransId | No | ProjEmplTrans.TransId | 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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TxtDescription of the transaction. | String (60)TransTxt | No | None |
Indexes (1)
NumOprNumIdxPrimary indexReplacement keyProdId,OprNum,OprPriority,CalcTypeUnique, alternate key.
Relations (8)
Each relation joins ProdRouteProj to another table on the fields shown.
ProdTable→ProdTableJoin on
ProdId = ProdTable.ProdIdMany ProdRouteProj records → exactly one ProdTable record
ProjectSalesCurrency→CurrencyJoin on
ProjSalesCurrencyId = Currency.CurrencyCodeMany ProdRouteProj records → zero or one Currency record
ProjectTaxGroupHeading→TaxGroupHeadingJoin on
ProjTaxGroupId = TaxGroupHeading.TaxGroupMany ProdRouteProj records → zero or one TaxGroupHeading record
ProjectTaxItemGroupHeading→TaxItemGroupHeadingJoin on
ProjTaxItemGroupId = TaxItemGroupHeading.TaxItemGroupMany ProdRouteProj records → zero or one TaxItemGroupHeading record
ProjEmplTrans→ProjEmplTransJoin on
ProjTransId = ProjEmplTrans.TransIdMany ProdRouteProj records → zero or one ProjEmplTrans record
ProjLineProperty→ProjLinePropertyJoin on
ProjLinePropertyId = ProjLineProperty.LinePropertyIdMany ProdRouteProj records → zero or one ProjLineProperty record
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany ProdRouteProj records → zero or one ProjTable record
smmActivities→smmActivitiesJoin on
ActivityNumber = smmActivities.ActivityNumberMany ProdRouteProj records → zero or one smmActivities record
Get this data out
No public entity reads from ProdRouteProj. Its data is only reachable through the application, a custom entity or a database export.
Need help with ProdRouteProj in a report, an integration or a migration? Talk to Dr Dynamics.