Table
ReqTransPoMarkFirmPurchaseLineNumberSequence
Keeps line numbers for purchase orders within an auto-firming run in master planning. The key is the firming run, the purchase order and the line number. Each row also shows whether the number has been used.
- Table name
ReqTransPoMarkFirmPurchaseLineNumberSequence- Module
Master planning- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
Req- Primary index
LineNumberIdx- Replacement key
None- Key fields
FirmingRunId, PurchId, LineNumber- Model
Foundation
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
FirmingRunIdIdentifier of the auto-firming run, linked to the run record. | GuidReqFirmingRunId | Yes | ReqProcessAutoFirmingRun.FirmingRunId | None |
PurchIdPurchase order the line number belongs to. | String (20)PurchId | Yes | PurchTable.PurchId | None |
LineNumberLine number on the purchase order. | Int64TradeLineNumber | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
IsUsedYes/No flag showing whether this line number has been used. | EnumNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
UnusedLineNumberIdxFirmingRunId,PurchId,IsUsed,LineNumberNot unique.
LineNumberIdxPrimary indexFirmingRunId,PurchId,LineNumberUnique.
Relations (2)
Each relation joins ReqTransPoMarkFirmPurchaseLineNumberSequence to another table on the fields shown.
ProcessAutoFirmingRun→ReqProcessAutoFirmingRunJoin on
FirmingRunId = ReqProcessAutoFirmingRun.FirmingRunIdMany ReqTransPoMarkFirmPurchaseLineNumberSequence records → zero or one ReqProcessAutoFirmingRun record
PurchTable→PurchTableJoin on
PurchId = PurchTable.PurchIdMany ReqTransPoMarkFirmPurchaseLineNumberSequence records → zero or one PurchTable record
Get this data out
No public entity reads from ReqTransPoMarkFirmPurchaseLineNumberSequence. Its data is only reachable through the application, a custom entity or a database export.
Need help with ReqTransPoMarkFirmPurchaseLineNumberSequence in a report, an integration or a migration? Talk to Dr Dynamics.